//
// EnhancedGameObject::deactivateObject from 0x44c080 to 0x44c0bc (60 bytes)
//
// 2 xrefs:
// > ParticleGameObject::deactivateObject @ 0x4e69a8
// > AnimatedGameObject::deactivateObject @ 0x4f6f9c
//
// 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:48:34 +0000
//
_BYTE *__fastcall EnhancedGameObject::deactivateObject(EnhancedGameObject *this, bool a2)
{
int v3; // r5
_BYTE *result; // r0
v3 = *((unsigned __int8 *)this + 657);
result = GameObject::deactivateObject(this, a2);
if ( v3 && !*((_BYTE *)this + 657) && *((_BYTE *)this + 1237) )
{
if ( *((_BYTE *)this + 1206) )
{
(*(void (__fastcall **)(EnhancedGameObject *, _DWORD, int))(*(_DWORD *)this + 924))(this, 0, -1);
return (_BYTE *)EnhancedGameObject::waitForAnimationTrigger(this);
}
}
return result;
}