// // cocos2d::CCFollow::step from 0x7b6470 to 0x7b650c (156 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:11 +0000 // int __fastcall cocos2d::CCFollow::step(int this, float a2) { int v2; // r4 int v3; // r0 float *v4; // r6 int (__fastcall *v5)(float *, _BYTE *); // r7 float v6; // r8 float v7; // r3 float v8; // r0 int v9; // r7 int (__fastcall *v10)(int, _BYTE *); // r8 int v11; // r0 cocos2d *v12[2]; // [sp+4h] [bp-14h] BYREF _BYTE v13[8]; // [sp+Ch] [bp-Ch] BYREF v2 = this; if ( *(_BYTE *)(this + 72) ) { if ( !*(_BYTE *)(this + 73) ) { v3 = (*(int (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(this + 68) + 96))(*(_DWORD *)(this + 68), LODWORD(a2)); cocos2d::CCPoint::operator-(v12, v2 + 76, v3); v4 = *(float **)(v2 + 56); v5 = *(int (__fastcall **)(float *, _BYTE *))(*(_DWORD *)v4 + 92); v6 = COERCE_FLOAT(cocos2d::clampf(v12[0], *(float *)(v2 + 92), *(float *)(v2 + 96), *v4)); v8 = COERCE_FLOAT(cocos2d::clampf(v12[1], *(float *)(v2 + 104), *(float *)(v2 + 100), v7)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, v6, v8); return v5(v4, v13); } } else { v9 = *(_DWORD *)(this + 56); v10 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v9 + 92); v11 = (*(int (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(this + 68) + 96))(*(_DWORD *)(this + 68), LODWORD(a2)); cocos2d::CCPoint::operator-(v13, v2 + 76, v11); return v10(v9, v13); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source