// // PlayerObject::disablePlayerControls from 0x1004075c0 to 0x10040761d (93 bytes) // // 4 xrefs: // > GJBaseGameLayer::processOptionsTrigger @ 0x10011a1fb // > GJBaseGameLayer::processOptionsTrigger @ 0x10011a234 // > GJBaseGameLayer::toggleLockPlayer @ 0x10011a3a4 // > GJBaseGameLayer::toggleLockPlayer @ 0x10011a3c2 // // This function is hookable on this platform (idp: pc, 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 12:30:05 +0000 // __int64 __fastcall PlayerObject::disablePlayerControls(__int64 a1, __m128 a2, __m128 a3) { __int64 result; // rax *(_BYTE *)(a1 + 2531) = 0; *(_BYTE *)(a1 + 2936) = 1; PlayerObject::releaseButton(a1, 1, a2, a3); PlayerObject::releaseButton(a1, 2, a2, a3); PlayerObject::releaseButton(a1, 3, a2, a3); result = PlayerObject::releaseButton(a1, 5, a2, a3); *(_BYTE *)(a1 + 2936) = 0; *(_BYTE *)(a1 + 2531) = 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source