//
// AnimatedGameObject::resetObject from 0x4ec5c0 to 0x4ec604 (68 bytes)
//
// 0 xrefs:
//
// 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:51:09 +0000
//
int __fastcall AnimatedGameObject::resetObject(AnimatedGameObject *this)
{
char v1; // r3
bool v3; // zf
_BYTE *v4; // r3
int v5; // r3
v1 = *((_BYTE *)this + 1292);
*((_DWORD *)this + 327) = 0;
v4 = (_BYTE *)(v1 & 1);
v3 = v4 == nullptr;
*((_BYTE *)this + 1288) = 0;
*((_BYTE *)this + 1289) = 0;
if ( v4 )
{
v4 = *((_BYTE **)this + 325);
}
else
{
*((_BYTE *)this + 1293) = 0;
*((_BYTE *)this + 1292) = 0;
}
if ( !v3 )
*v4 = 0;
v5 = *((unsigned __int8 *)this + 657);
if ( !v3 )
*((_DWORD *)this + 324) = 0;
if ( v5 )
AnimatedGameObject::updateObjectAnimation(this);
return EnhancedGameObject::resetObject(this);
}