//
// GameObject::usesFreezeAnimation from 0x52a41c to 0x52a4ce (178 bytes)
//
// 1 xrefs:
// > EnhancedGameObject::setupAnimationVariables @ 0x52e406
//
// 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
//
bool GameObject::usesFreezeAnimation(GameObject *a1)
{
int m_objectID; // r3
int v2; // r2
int v3; // r3
bool v4; // cf
bool v5; // zf
bool v6; // zf
unsigned int v7; // r3
unsigned int v8; // r3
unsigned int v9; // r3
m_objectID = a1->m_objectID;
if ( m_objectID == 2033 )
return 1;
if ( m_objectID > 2033 )
{
if ( m_objectID > 2878 )
{
if ( m_objectID <= 2883 )
{
if ( m_objectID >= 2882 )
return 1;
v6 = m_objectID == 2880;
goto LABEL_25;
}
v9 = m_objectID - 2885;
v4 = v9 >= 2;
v5 = v9 == 2;
}
else
{
if ( m_objectID >= 2875 )
return 1;
if ( m_objectID > 2055 )
{
v8 = m_objectID - 2867;
}
else
{
if ( m_objectID >= 2043 )
return 1;
v8 = m_objectID - 2035;
}
v4 = v8 >= 5;
v5 = v8 == 5;
}
return v5 || !v4;
}
if ( m_objectID > 1856 )
{
if ( m_objectID <= 2022 )
{
if ( m_objectID >= 2020 )
return 1;
v2 = 1860;
goto LABEL_13;
}
v7 = m_objectID - 2024;
v4 = v7 >= 7;
v5 = v7 == 7;
return v5 || !v4;
}
if ( m_objectID >= 1854 || m_objectID == 1618 )
return 1;
if ( m_objectID > 1618 )
{
v3 = m_objectID - 1851;
v4 = v3 != 0;
v5 = v3 == 1;
return v5 || !v4;
}
if ( m_objectID != 921 )
{
v2 = 1519;
LABEL_13:
v6 = m_objectID == v2;
LABEL_25:
if ( !v6 )
return 0;
}
return 1;
}