//
// EnhancedGameObject::updateState from 0x6526cc to 0x652708 (60 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::processStateObjects @ 0x85b104
// > ??> @ 0xc74e8
//
// 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 EnhancedGameObject::updateState(EnhancedGameObject *a1, int a2)
{
if ( a1->m_state < a2 )
{
a1->m_poweredOn = 0;
LABEL_3:
a1->powerOffObject(a1);
return;
}
if ( !a1->m_poweredOn )
goto LABEL_3;
}