// // sub_4242A8 from 0x4242a8 to 0x42434a (162 bytes) // // 2 xrefs: // > sub_4249D4 @ 0x424a4c // > GJThreadCell::loadFromThread @ 0x42b75a // // 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 11:48:03 +0000 // int __fastcall sub_4242A8(int a1, float *a2) { int v4; // r6 const cocos2d::CCSize *v5; // r0 int (__fastcall *v6)(int, _BYTE *); // r8 int v7; // r9 float v9[2]; // [sp+4h] [bp-20h] BYREF _BYTE v10[8]; // [sp+Ch] [bp-18h] BYREF _BYTE v11[8]; // [sp+14h] [bp-10h] BYREF v4 = (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 536))(a1); v5 = (const cocos2d::CCSize *)(*(int (__fastcall **)(int))(*(_DWORD *)a1 + 164))(a1); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v9, v5); (*(void (__fastcall **)(int, float *))(*(_DWORD *)a1 + 160))(a1, a2); v6 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 92); v7 = (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 96))(v4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, (float)(*a2 - v9[0]) * 0.5, (float)(a2[1] - v9[1]) * 0.5); cocos2d::CCPoint::operator+(v11, v7, v10); return v6(v4, v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source