//
// EnhancedGameObject::updateAnimateOnTrigger from 0x1003e7468 to 0x1003e7534 (204 bytes)
//
// 42 xrefs:
// > ??> @ 0x100929280
// > ??> @ 0x10094da60
// > ??> @ 0x10094e2a8
// > ??> @ 0x10094eab0
// > ??> @ 0x10094f2b8
// > ??> @ 0x10094fac0
// > ??> @ 0x1009502c8
// > ??> @ 0x100950ad0
// > ??> @ 0x1009522f0
// > ??> @ 0x100952b68
// > ??> @ 0x100953388
// > ??> @ 0x100953ba8
// > ??> @ 0x1009543c8
// > ??> @ 0x100954be8
// > ??> @ 0x100955408
// > ??> @ 0x100955c28
// > ??> @ 0x100956448
// > ??> @ 0x100956c68
// > ??> @ 0x100957488
// > ??> @ 0x100957cc0
// > ??> @ 0x100958528
// > ??> @ 0x100958d60
// > ??> @ 0x100959598
// > ??> @ 0x100959dd0
// > ??> @ 0x10095a608
// > ??> @ 0x10095ae28
// > ??> @ 0x10095b648
// > ??> @ 0x10095be68
// > ??> @ 0x10095c688
// > ??> @ 0x10095cea8
// > ??> @ 0x10095d6c8
// > ??> @ 0x10095dee8
// > ??> @ 0x10095e708
// > ??> @ 0x10095ef28
// > ??> @ 0x10095f748
// > ??> @ 0x10095ff68
// > ??> @ 0x100960788
// > ??> @ 0x100960fa8
// > ??> @ 0x1009617c8
// > ??> @ 0x100961fe8
// > ??> @ 0x100962808
// > ??> @ 0x100963028
//
// 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 11:04:26 +0000
//
__int64 __fastcall EnhancedGameObject::updateAnimateOnTrigger(__int64 result, char a2)
{
__int64 v2; // x19
__int64 v3; // x0
__int64 v4; // x0
__int64 v5; // x1
if ( *(_BYTE *)(result + 1386) == 1 )
{
v2 = result;
if ( *(_BYTE *)(result + 1417) == 1 )
{
if ( (a2 & 1) != 0 )
{
*(_BYTE *)(result + 774) = 0;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 912LL))(result, 255);
*(_DWORD *)(v2 + 1432) = -1;
*(_BYTE *)(v2 + 1417) = 0;
v3 = GameManager::sharedState();
cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(v3 + 408), *(int *)(v2 + 1028));
if ( v4 )
v5 = *(unsigned int *)(v4 + 56);
else
v5 = 1;
result = (*(__int64 (__fastcall **)(__int64, __int64, float))(*(_QWORD *)v2 + 1848LL))(v2, v5, 0.0);
*(_BYTE *)(v2 + 1417) = 1;
}
else
{
*(_BYTE *)(result + 1425) = 0;
*(_OWORD *)(result + 1352) = 0u;
*(_BYTE *)(result + 774) = 1;
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 912LL))(result, 0);
}
}
}
return result;
}