//
// GameObject::isStoppableTrigger from 0x1006878e0 to 0x100687a17 (311 bytes)
//
// 1 xrefs:
// > GameObject::customSetup @ 0x10067c0cf
//
// This function is hookable on this platform (idp: pc, 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:35:05 +0000
//
char __fastcall GameObject::isStoppableTrigger(__int64 a1)
{
int v1; // ecx
char result; // al
int v3; // esi
unsigned __int64 v4; // rdx
__int64 v5; // rsi
int v6; // esi
unsigned int v7; // ecx
int v8; // esi
v1 = *(_DWORD *)(a1 + 1028);
result = 1;
if ( v1 > 1912 )
{
if ( v1 > 2902 )
{
v4 = (unsigned int)(v1 - 2999);
if ( (unsigned int)v4 > 0x22 || (v5 = 0x400020F81LL, !_bittest64(&v5, v4)) )
{
if ( (unsigned int)(v1 - 3602) > 0xD || (v6 = 12293, !_bittest(&v6, v1 - 3602)) )
{
if ( v1 != 2903 )
return 0;
}
}
return result;
}
if ( v1 > 2014 )
{
if ( v1 == 2015 || v1 == 2067 )
return result;
}
else if ( v1 == 1913 || v1 == 1916 )
{
return result;
}
return 0;
}
if ( v1 > 1267 )
{
if ( v1 <= 1811 )
{
if ( (unsigned int)(v1 - 1595) > 0x14 || (v8 = 1114113, !_bittest(&v8, v1 - 1595)) )
{
if ( (unsigned int)(v1 - 1346) >= 2 && v1 != 1268 )
return 0;
}
return result;
}
v7 = v1 - 1812;
if ( v7 <= 3 && v7 != 1 )
return result;
return 0;
}
if ( v1 <= 898 )
{
if ( (unsigned int)(v1 - 29) < 2 || v1 == 105 || v1 == 744 )
return result;
return 0;
}
if ( (unsigned int)(v1 - 899) > 0x10 || (v3 = 65543, !_bittest(&v3, v1 - 899)) )
{
if ( (unsigned int)(v1 - 1006) >= 2 )
return 0;
}
return result;
}