// // GJBaseGameLayer::updatePlayerCollisionBlocks from 0x5930ec to 0x5931a4 (184 bytes) // // 2 xrefs: // > PlayLayer::resetLevel @ 0x412858 // > GJBaseGameLayer::updateCollisionBlocks @ 0x5931ce // // 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:53:07 +0000 // int __fastcall GJBaseGameLayer::updatePlayerCollisionBlocks(GJBaseGameLayer *this) { _DWORD *v1; // r5 GameObject **v2; // r8 GameObject *v3; // r4 int i; // r9 void (__fastcall *v6)(GameObject *, _BYTE *); // r11 int v7; // r3 int result; // r0 _BYTE v9[8]; // [sp+4h] [bp-10h] BYREF v1 = *((_DWORD **)this + 519); v2 = (GameObject **)((char *)this + 10620); v3 = *((GameObject **)this + 2654); for ( i = 0; ; i = 1 ) { v6 = *(void (__fastcall **)(GameObject *, _BYTE *))(*(_DWORD *)v3 + 684); (*(void (__fastcall **)(_BYTE *, _DWORD *))(*v1 + 680))(v9, v1); v6(v3, v9); *((_DWORD *)v3 + 209) = (*(int (__fastcall **)(_DWORD *))(*v1 + 184))(v1); *((_DWORD *)v3 + 210) = (*(int (__fastcall **)(_DWORD *))(*v1 + 184))(v1); *((_DWORD *)v3 + 193) = v1[193]; *((_DWORD *)v3 + 252) = v1[252]; *((_DWORD *)v3 + 194) = v1[194]; v7 = v1[253]; *((_BYTE *)v3 + 733) = 1; *((_DWORD *)v3 + 253) = v7; GameObject::calculateOrientedBox(v3); result = GJBaseGameLayer::reorderObjectSection(this, v3); if ( i == 1 ) break; v3 = *v2; v1 = *((_DWORD **)this + 520); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source