//
// GameObject::usesFreezeAnimation from 0xaf2eb0 to 0xaf2fb8 (264 bytes)
//
// 2 xrefs:
// > EnhancedGameObject::setupAnimationVariables @ 0xaf39e4
// > ??> @ 0xe83c0
//
// 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 13:01:14 +0000
//
bool __fastcall GameObject::usesFreezeAnimation(GameObject *this)
{
int v1; // w0
v1 = *((_DWORD *)this + 257);
if ( v1 == 2033 )
return 1;
if ( v1 > 2033 )
{
if ( v1 <= 2878 )
{
if ( v1 < 2875 )
{
if ( v1 > 2055 )
{
if ( (unsigned int)(v1 - 2867) > 5 )
return 0;
}
else if ( v1 < 2043 && (unsigned int)(v1 - 2035) > 5 )
{
return 0;
}
}
return 1;
}
if ( v1 <= 2883 )
return v1 >= 2882 || v1 == 2880;
return (unsigned int)(v1 - 2885) <= 2;
}
else
{
if ( v1 <= 1856 )
{
if ( v1 < 1854 && v1 != 1618 )
{
if ( v1 <= 1618 )
return v1 == 921 || v1 == 1519;
if ( (unsigned int)(v1 - 1851) > 1 )
return 0;
}
return 1;
}
if ( v1 <= 2022 )
return v1 >= 2020 || v1 == 1860;
return (unsigned int)(v1 - 2024) <= 7;
}
}