//
// EnhancedGameObject::triggerAnimation from 0x100247830 to 0x100247888 (88 bytes)
//
// 1 xrefs:
// > EnhancedGameObject::animationTriggered @ 0x10069d9ee
//
// 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:27:20 +0000
//
__int64 __fastcall EnhancedGameObject::triggerAnimation(__int64 a1)
{
__int64 result; // rax
if ( *(_BYTE *)(a1 + 1440) != 1 || *(_BYTE *)(a1 + 773) == 1 )
{
*(_BYTE *)(a1 + 1425) = 1;
*(_BYTE *)(a1 + 774) = 0;
*(_DWORD *)(a1 + 1432) = -1;
result = (*(__int64 (__fastcall **)(__int64, __int64, double))(*(_QWORD *)a1 + 1848LL))(a1, 0xFFFFFFFFLL, 0.0);
*(_DWORD *)(a1 + 1352) = 0;
}
return result;
}