//
// EnhancedGameObject::updateState from 0x10069d8c0 to 0x10069d8ea (42 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::processStateObjects @ 0x10010875a
// > GJBaseGameLayer::update @ 0x100130769
//
// This function is hookable on this platform (idp: pc, 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:35:16 +0000
//
__int64 __fastcall EnhancedGameObject::updateState(__int64 a1, int a2)
{
__int64 result; // rax
if ( *(_DWORD *)(a1 + 1348) >= a2 )
{
if ( (*(_BYTE *)(a1 + 1347) & 1) != 0 )
return result;
}
else
{
*(_BYTE *)(a1 + 1347) = 0;
}
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1832LL))(a1);
}