//
// AnimatedGameObject::resetObject from 0x1001b8f30 to 0x1001b8f95 (101 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c4560
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall AnimatedGameObject::resetObject(AnimatedGameObject *a1)
{
a1->m_animationID = 0;
*(_WORD *)&a1->m_finishedAnimating = 0;
if ( (a1->m_currentAnimation.m_data.m_short.sizex2 & 1) != 0 )
{
*a1->m_currentAnimation.m_data.m_long.longStorage = 0;
a1->m_currentAnimation.m_data.m_long.size = 0;
}
else
{
*(_WORD *)&a1->m_currentAnimation.m_data.m_short.sizex2 = 0;
}
if ( a1->m_isActivated )
AnimatedGameObject::updateObjectAnimation(a1);
EnhancedGameObject::resetObject(a1);
}