//
// EnhancedGameObject::updateState from 0x4521dc to 0x4521fa (30 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::processStateObjects @ 0x58f87e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:37 +0000
//
int __fastcall EnhancedGameObject::updateState(int this, int a2)
{
if ( *(_DWORD *)(this + 1168) < a2 )
*(_BYTE *)(this + 1167) = 0;
if ( !*(_BYTE *)(this + 1167) )
return (*(int (__fastcall **)(int))(*(_DWORD *)this + 916))(this);
return this;
}