//
// PlayerObject::disablePlayerControls from 0x34ddf8 to 0x34de30 (56 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::toggleLockPlayer @ 0x47669a
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void PlayerObject::disablePlayerControls(PlayerObject *a1)
{
a1->m_controlsDisabled = 0;
a1->m_inputsLocked = 1;
PlayerObject::releaseButton(a1, Jump);
PlayerObject::releaseButton(a1, (PlayerButton)2);
PlayerObject::releaseButton(a1, (PlayerButton)3);
PlayerObject::releaseButton(a1, (PlayerButton)5);
a1->m_inputsLocked = 0;
a1->m_controlsDisabled = 1;
}