//
// EnhancedGameObject::triggerAnimation from 0x65cf96 to 0x65cfd0 (58 bytes)
//
// 1 xrefs:
// > EnhancedGameObject::animationTriggered @ 0x44bdc2
//
// 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:55:34 +0000
//
int __fastcall EnhancedGameObject::triggerAnimation(int this)
{
int v1; // r4
int v2; // r3
v1 = this;
if ( !*(_BYTE *)(this + 1260) || *(_BYTE *)(this + 657) )
{
*(_BYTE *)(this + 1245) = 1;
*(_BYTE *)(this + 658) = 0;
v2 = *(_DWORD *)this;
*(_DWORD *)(this + 1252) = -1;
this = (*(int (__fastcall **)(int, _DWORD))(v2 + 924))(this, 0);
*(_DWORD *)(v1 + 1172) = 0;
}
return this;
}