// // PlayerObject::enablePlayerControls from 0x44a2f0 to 0x44a36a (122 bytes) // // 1 xrefs: // > GJBaseGameLayer::toggleLockPlayer @ 0x595c88 // // 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:33 +0000 // _DWORD *__fastcall PlayerObject::enablePlayerControls(PlayerObject *this, int a2) { char *v2; // r7 int v4; // r8 int v5; // r2 _DWORD *result; // r0 int v7; // r2 int v8[2]; // [sp+0h] [bp-8h] BYREF v8[1] = a2; v2 = (char *)this + 2384; v4 = 2; v8[0] = 2; *((_BYTE *)this + 2067) = 0; if ( *(_BYTE *)std::map::operator[]((int)this + 2384, v8) || (v4 = 3, v8[0] = 3, *(_BYTE *)std::map::operator[]((int)v2, v8)) ) { PlayerObject::switchedDirTo((int)this, v4, v5); } v8[0] = 1; result = std::map::operator[]((int)v2, v8); if ( *(_BYTE *)result ) return (_DWORD *)PlayerObject::pushButton(this, 1, v7); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source