// // cocos2d::CCFollow::step from 0x180024520 to 0x1800245fc (220 bytes) // // 5 xrefs: // > @ 0x1800e7470 // > @ 0x180134270 // > @ 0x180134280 // > @ 0x1801438a8 // > @ 0x1801af184 // // 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 // void __fastcall cocos2d::CCFollow::step(cocos2d::CCFollow *this, float a2, __int64 a3, float a4) { float *v5; // rax cocos2d::CCNode_vtbl *v6; // rbx cocos2d *v7; // rcx float v8; // xmm6_4 cocos2d *v9; // rcx float v10; // xmm0_4 float *v11; // rax float *v12; // rax int v13; // [rsp+40h] [rbp+8h] BYREF float v14; // [rsp+50h] [rbp+18h] BYREF if ( *((_BYTE *)this + 88) ) { if ( !*((_BYTE *)this + 89) ) { v5 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 10) + 200LL))(*((_QWORD *)this + 10)); cocos2d::CCSize::operator-((float *)this + 23, (float *)&v13, v5); v6 = this->m_pTarget->cocos2d::CCAction::__vftable; v8 = cocos2d::clampf(v7, *((float *)this + 30), *((float *)this + 29), a4); v10 = cocos2d::clampf(v9, *((float *)this + 27), *((float *)this + 28), a4); v11 = kmVec2Fill(&v14, v10, v8); ((void (__fastcall *)(cocos2d::CCNode *, float *))v6->setPosition_0)(this->m_pTarget, v11); } } else { v12 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 10) + 200LL))(*((_QWORD *)this + 10)); cocos2d::CCSize::operator-((float *)this + 23, (float *)&v13, v12); ((void (__fastcall *)(cocos2d::CCNode *, int *))this->m_pTarget->setPosition_0)(this->m_pTarget, &v13); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source