//
// EnhancedGameObject::animationTriggered from 0x1402a1b10 to 0x1402a1b6e (94 bytes)
//
// 43 xrefs:
// > ??> @ 0x14075ee10
// > ??> @ 0x14081f218
// > ??> @ 0x140820190
// > ??> @ 0x1408208e8
// > ??> @ 0x140820fa0
// > ??> @ 0x140821708
// > ??> @ 0x140821dc0
// > ??> @ 0x1408224a0
// > ??> @ 0x140822b58
// > ??> @ 0x140823468
// > ??> @ 0x140823bb0
// > ??> @ 0x140824268
// > ??> @ 0x140824a60
// > ??> @ 0x140825118
// > ??> @ 0x1408257d0
// > ??> @ 0x140826040
// > ??> @ 0x140826838
// > ??> @ 0x140826fe0
// > ??> @ 0x140827710
// > ??> @ 0x140827dc8
// > ??> @ 0x140828520
// > ??> @ 0x140828d68
// > ??> @ 0x140829420
// > ??> @ 0x140829ba0
// > ??> @ 0x14082a320
// > ??> @ 0x14082a9d8
// > ??> @ 0x14082b090
// > ??> @ 0x14082baa0
// > ??> @ 0x14082c1d0
// > ??> @ 0x14082c888
// > ??> @ 0x14082cf40
// > ??> @ 0x14082d5f8
// > ??> @ 0x14082ddc8
// > ??> @ 0x14082e570
// > ??> @ 0x14082ec28
// > ??> @ 0x14082f2e0
// > ??> @ 0x14082f998
// > ??> @ 0x140830050
// > ??> @ 0x140830708
// > ??> @ 0x140830dc0
// > ??> @ 0x1408315e0
// > ??> @ 0x140831d60
// > ??> @ 0x14091d9e4
//
// 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 11:29:15 +0000
//
__int64 __fastcall EnhancedGameObject::animationTriggered(__int64 *a1, __int64 a2)
{
__int64 v3; // rax
__int64 result; // rax
if ( *((_BYTE *)a1 + 1433) && (!*((_BYTE *)a1 + 1456) || *((_BYTE *)a1 + 773)) )
{
v3 = *a1;
*((_BYTE *)a1 + 1441) = 1;
*((_BYTE *)a1 + 774) = 0;
*((_DWORD *)a1 + 362) = -1;
result = (*(__int64 (__fastcall **)(__int64 *, __int64, __int64))(v3 + 1696))(a1, a2, 0xFFFFFFFFLL);
*((_DWORD *)a1 + 342) = 0;
}
return result;
}