//
// EnhancedGameObject::triggerAnimation from 0xaf1524 to 0xaf157c (88 bytes)
//
// 2 xrefs:
// > EnhancedGameObject::animationTriggered @ 0x76d2bc
// > ??> @ 0xe43d0
//
// 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 13:01:12 +0000
//
float __fastcall EnhancedGameObject::triggerAnimation(EnhancedGameObject *this)
{
__int64 v2; // x2
float result; // s0
if ( !*((_BYTE *)this + 1440) || *((_BYTE *)this + 773) )
{
v2 = *(_QWORD *)this;
*((_BYTE *)this + 774) = 0;
*((_DWORD *)this + 358) = -1;
*((_BYTE *)this + 1425) = 1;
(*(void (__fastcall **)(float))(v2 + 1848))(0.0);
*((_DWORD *)this + 338) = 0;
return 0.0;
}
return result;
}