// // cocos2d::CCFollow::step from 0xd25830 to 0xd2595c (300 bytes) // // 2 xrefs: // > @ 0xb8900 // > @ 0x1510dc8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:07:14 +0000 // __int64 __fastcall cocos2d::CCFollow::step(cocos2d::CCFollow *this, float a2) { __int64 v4; // x22 void (__fastcall *v5)(__int64, __int64 *); // x23 __int64 v6; // x0 long double v7; // q0 __int64 v8; // x0 long double v9; // q0 cocos2d **v10; // x22 void (__fastcall *v11)(cocos2d **, __int64 *); // x23 cocos2d *v12; // x0 float v13; // s0 float v14; // s8 float v15; // s0 __int64 v16; // [xsp+58h] [xbp+58h] BYREF __int64 v17; // [xsp+60h] [xbp+60h] BYREF if ( *((_BYTE *)this + 88) ) { if ( !*((_BYTE *)this + 89) ) { v8 = (*(__int64 (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 10) + 192LL))(*((_QWORD *)this + 10), a2); cocos2d::CCPoint::operator-(&v16, (char *)this + 92, v8, v9); v10 = *((cocos2d ***)this + 8); v11 = *((void (__fastcall **)(cocos2d **, __int64 *))*v10 + 23); v12 = (cocos2d *)cocos2d::clampf(*v10, *(float *)&v16, *((float *)this + 27), *((float *)this + 28)); v14 = v13; cocos2d::clampf(v12, *((float *)&v16 + 1), *((float *)this + 30), *((float *)this + 29)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v17, v14, v15); v11(v10, &v17); } } else { v4 = *((_QWORD *)this + 8); v5 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v4 + 184LL); v6 = (*(__int64 (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 10) + 192LL))(*((_QWORD *)this + 10), a2); cocos2d::CCPoint::operator-(&v17, (char *)this + 92, v6, v7); v5(v4, &v17); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source