TypedValue* tg_12SpoofChecker_isSuspicious(HPHP::VM::ActRec *ar) { TypedValue rv; int64_t count = ar->numArgs(); TypedValue* args UNUSED = ((TypedValue*)ar) - 1; ObjectData* this_ = (ar->hasThis() ? ar->getThis() : NULL); if (this_) { if (count >= 1LL && count <= 2LL) { if (IS_STRING_TYPE((args-0)->m_type)) { rv._count = 0; rv.m_type = KindOfBoolean; VRefParamValue defVal1 = null; rv.m_data.num = (th_12SpoofChecker_isSuspicious((this_), (Value*)(args-0), (count > 1) ? (args-1) : (TypedValue*)(&defVal1))) ? 1LL : 0LL; frame_free_locals_inl(ar, 2); memcpy(&ar->m_r, &rv, sizeof(TypedValue)); return &ar->m_r; } else { tg1_12SpoofChecker_isSuspicious(&rv, ar, count , this_); frame_free_locals_inl(ar, 2); memcpy(&ar->m_r, &rv, sizeof(TypedValue)); return &ar->m_r; } } else { throw_wrong_arguments_nr("SpoofChecker::isSuspicious", count, 1, 2, 1); } } else { throw_instance_method_fatal("SpoofChecker::isSuspicious"); } rv.m_data.num = 0LL; rv._count = 0; rv.m_type = KindOfNull; frame_free_locals_inl(ar, 2); memcpy(&ar->m_r, &rv, sizeof(TypedValue)); return &ar->m_r; return &ar->m_r; }
TypedValue* tg_12SpoofChecker_isSuspicious(ActRec* ar) { TypedValue rvSpace; TypedValue* rv = &rvSpace; int32_t count = ar->numArgs(); TypedValue* args UNUSED = ((TypedValue*)ar) - 1; ObjectData* this_ = (ar->hasThis() ? ar->getThis() : nullptr); if (this_) { if (count >= 1 && count <= 2) { if (IS_STRING_TYPE((args - 0)->m_type)) { rv->m_type = KindOfBoolean; VRefParamValue defVal1 = uninit_null(); rv->m_data.num = (th_12SpoofChecker_isSuspicious((this_), &args[-0].m_data, (count > 1) ? (args-1) : (TypedValue*)(&defVal1))) ? 1LL : 0LL; } else { tg1_12SpoofChecker_isSuspicious(rv, ar, count, this_); } } else { throw_wrong_arguments_nr("SpoofChecker::isSuspicious", count, 1, 2, 1); rv->m_data.num = 0LL; rv->m_type = KindOfNull; } } else { throw_instance_method_fatal("SpoofChecker::isSuspicious"); } frame_free_locals_inl(ar, 2); memcpy(&ar->m_r, rv, sizeof(TypedValue)); return &ar->m_r; }
void tg1_12SpoofChecker_isSuspicious(TypedValue* rv, ActRec* ar, int32_t count, ObjectData* this_) { TypedValue* args UNUSED = ((TypedValue*)ar) - 1; tvCastToStringInPlace(args-0); rv->m_type = KindOfBoolean; VRefParamValue defVal1 = uninit_null(); rv->m_data.num = (th_12SpoofChecker_isSuspicious((this_), &args[-0].m_data, (count > 1) ? (args-1) : (TypedValue*)(&defVal1))) ? 1LL : 0LL; }
TypedValue* tg1_12SpoofChecker_isSuspicious(TypedValue* rv, HPHP::VM::ActRec* ar, int64_t count, ObjectData* this_) { TypedValue* args UNUSED = ((TypedValue*)ar) - 1; rv->_count = 0; rv->m_type = KindOfBoolean; tvCastToStringInPlace(args-0); VRefParamValue defVal1 = null; rv->m_data.num = (th_12SpoofChecker_isSuspicious((this_), (Value*)(args-0), (count > 1) ? (args-1) : (TypedValue*)(&defVal1))) ? 1LL : 0LL; return rv; }