//
// GJBaseGameLayer::toggleLockPlayer from 0x10013cee0 to 0x10013cf24 (68 bytes)
//
// 0 xrefs:
//
// 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 __fastcall GJBaseGameLayer::toggleLockPlayer(GJBaseGameLayer *a1, bool a2, bool a3)
{
if ( a2 )
{
if ( a3 )
PlayerObject::disablePlayerControls(a1->m_player1);
else
PlayerObject::disablePlayerControls(a1->m_player2);
}
else if ( a3 )
{
PlayerObject::enablePlayerControls(a1->m_player1);
}
else
{
PlayerObject::enablePlayerControls(a1->m_player2);
}
}