// // cocos2d::CCTargetedAction::initWithTarget from 0x1003bcd80 to 0x1003bcdeb (107 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::CCTargetedAction::initWithTarget( cocos2d::CCTargetedAction *a1, cocos2d::CCNode *a2, cocos2d::CCFiniteTimeAction *a3) { __m128 m_fDuration_low; // xmm0 __m128 v5; // xmm1 m_fDuration_low = (__m128)LODWORD(a3->m_fDuration); v5 = _mm_cmpeq_ss((__m128)0LL, m_fDuration_low); *(_QWORD *)&a1->m_fDuration = _mm_andnot_ps(v5, m_fDuration_low).u32[0] | v5.i32[0] & 0x34000000; a1->m_bFirstTick = 1; if ( a2 ) cocos2d::CCObject::retain(a2); a1[1].__vftable = (cocos2d::CCTargetedAction_vtbl *)a2; cocos2d::CCObject::retain(a3); *(_QWORD *)&a1[1].m_uID = a3; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source