//
// GameObject::isStoppableTrigger from 0x7727e8 to 0x772948 (352 bytes)
//
// 2 xrefs:
// > GameObject::customSetup @ 0x779250
// > ??> @ 0x104e30
//
// 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 12:53:13 +0000
//
bool __fastcall GameObject::isStoppableTrigger(GameObject *this)
{
int v1; // w0
v1 = *((_DWORD *)this + 257);
if ( v1 == 1812 )
return 1;
if ( v1 <= 1812 )
{
if ( v1 <= 1007 )
{
if ( v1 >= 1006 || v1 == 744 )
return 1;
if ( v1 > 744 )
{
if ( v1 >= 899 )
return v1 <= 901 || v1 == 915;
}
else if ( v1 >= 29 )
{
return v1 <= 30 || v1 == 105;
}
return 0;
}
if ( v1 > 1347 )
return v1 == 1611 || v1 == 1615 || v1 == 1595;
return v1 >= 1346 || v1 == 1268;
}
else
{
if ( v1 == 2999 )
return 1;
if ( v1 <= 2999 )
{
if ( v1 == 1916 )
return 1;
if ( v1 > 1916 )
return v1 == 2067 || v1 == 2903 || v1 == 2015;
if ( v1 >= 1814 )
return v1 <= 1815 || v1 == 1913;
return 0;
}
if ( v1 == 3033 )
return 1;
if ( v1 <= 3033 )
return v1 >= 3006 && (v1 <= 3010 || v1 == 3016);
if ( v1 == 3604 )
return 1;
if ( v1 <= 3604 )
return v1 == 3602;
return (unsigned int)(v1 - 3614) <= 1;
}
}