//
// EnhancedGameObject::updateState from 0x774ed4 to 0x774f10 (60 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::processStateObjects @ 0x99f1bc
// > ??> @ 0x103420
//
// 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 12:53:14 +0000
//
__int64 __fastcall EnhancedGameObject::updateState(__int64 this, int a2)
{
if ( *(_DWORD *)(this + 1348) < a2 )
{
*(_BYTE *)(this + 1347) = 0;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)this + 1832LL))(this);
}
if ( !*(_BYTE *)(this + 1347) )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)this + 1832LL))(this);
return this;
}