// // cocos2d::CCRepeat::initWithAction from 0x1003b6360 to 0x1003b63e3 (131 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall cocos2d::CCRepeat::initWithAction( cocos2d::CCRepeat *a1, cocos2d::CCFiniteTimeAction *a2, unsigned int a3) { __m128 v3; // xmm0 __m128 v4; // xmm1 void *v5; // rax v3.f32[0] = (float)(int)a3 * a2->m_fDuration; v4 = _mm_cmpeq_ss((__m128)0LL, v3); *(_QWORD *)&a1->m_fDuration = v4.i32[0] & 0x34000000 | _mm_andnot_ps(v4, v3).u32[0]; a1->m_bFirstTick = 1; *((_DWORD *)&a1->m_bFirstTick + 1) = a3; *(_QWORD *)&a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = a2; cocos2d::CCObject::retain(a2); v5 = __dynamic_cast( a2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCFiniteTimeAction, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCActionInstant, 0); LOBYTE(a1[1].m_uID) = v5 != nullptr; if ( v5 ) --*((_DWORD *)&a1->m_bFirstTick + 1); LODWORD(a1[1].__vftable) = 0; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source