//
// EnhancedGameObject::deactivateObject from 0x76d710 to 0x76d778 (104 bytes)
//
// 44 xrefs:
// > ParticleGameObject::deactivateObject @ 0x870190
// > AnimatedGameObject::deactivateObject @ 0x89c7f8
// > ??> @ 0xf1258
// > ??> @ 0x1434d90
// > ??> @ 0x1443900
// > ??> @ 0x1444110
// > ??> @ 0x1444920
// > ??> @ 0x1445130
// > ??> @ 0x1445940
// > ??> @ 0x1446150
// > ??> @ 0x1446960
// > ??> @ 0x1448160
// > ??> @ 0x1448970
// > ??> @ 0x1449180
// > ??> @ 0x144a1e0
// > ??> @ 0x144a9f0
// > ??> @ 0x144b200
// > ??> @ 0x144ba10
// > ??> @ 0x144c220
// > ??> @ 0x144ca40
// > ??> @ 0x144d250
// > ??> @ 0x144da60
// > ??> @ 0x144e270
// > ??> @ 0x144ea80
// > ??> @ 0x144f290
// > ??> @ 0x144faa0
// > ??> @ 0x14502b0
// > ??> @ 0x1450ac0
// > ??> @ 0x14512d0
// > ??> @ 0x1451ae0
// > ??> @ 0x14522f0
// > ??> @ 0x1452b00
// > ??> @ 0x1453310
// > ??> @ 0x1453b20
// > ??> @ 0x1454330
// > ??> @ 0x1454b40
// > ??> @ 0x1455350
// > ??> @ 0x1455b60
// > ??> @ 0x1456370
// > ??> @ 0x1456b80
// > ??> @ 0x1457390
// > ??> @ 0x1457ba0
// > ??> @ 0x14583b0
// > ??> @ 0x1458bc0
//
// 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 12:53:11 +0000
//
__int64 __fastcall EnhancedGameObject::deactivateObject(EnhancedGameObject *this, char a2)
{
int v3; // w20
__int64 result; // x0
v3 = *((unsigned __int8 *)this + 773);
result = (__int64)GameObject::deactivateObject(this, a2);
if ( v3 )
{
result = *((unsigned __int8 *)this + 773);
if ( !*((_BYTE *)this + 773) )
{
result = *((unsigned __int8 *)this + 1417);
if ( *((_BYTE *)this + 1417) )
{
result = *((unsigned __int8 *)this + 1386);
if ( *((_BYTE *)this + 1386) )
{
(*(void (__fastcall **)(EnhancedGameObject *, __int64, float))(*(_QWORD *)this + 1848LL))(
this,
0xFFFFFFFFLL,
0.0);
return EnhancedGameObject::waitForAnimationTrigger(this);
}
}
}
}
return result;
}