//
// PlayerObject::disablePlayerControls from 0x1002c9610 to 0x1002c966c (92 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::processOptionsTrigger @ 0x10028ddb4
// > GJBaseGameLayer::processOptionsTrigger @ 0x10028ddd8
//
// This function is hookable on this platform (idp: arm, 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 11:02:34 +0000
//
__int64 __fastcall PlayerObject::disablePlayerControls(__int64 a1)
{
__int64 result; // x0
*(_BYTE *)(a1 + 2531) = 0;
*(_BYTE *)(a1 + 2936) = 1;
PlayerObject::releaseButton(a1, 1);
PlayerObject::releaseButton(a1, 2);
PlayerObject::releaseButton(a1, 3);
result = PlayerObject::releaseButton(a1, 5);
*(_BYTE *)(a1 + 2936) = 0;
*(_BYTE *)(a1 + 2531) = 1;
return result;
}