//
// GameObject::isBasicTrigger from 0x773148 to 0x7731d4 (140 bytes)
//
// 4 xrefs:
// > EditorUI::editButtonUsable @ 0x7c49fc
// > EditorUI::editObject @ 0x7c8fc4
// > EditorUI::editObject @ 0x7c9894
// > ??> @ 0xa7548
//
// 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::isBasicTrigger(GameObject *this)
{
int v1; // w0
v1 = *((_DWORD *)this + 257);
if ( v1 <= 1613 )
{
if ( v1 < 1612 )
{
if ( v1 <= 33 )
return v1 >= 32 || (unsigned int)(v1 - 22) <= 6;
if ( (unsigned int)(v1 - 55) > 4 )
return 0;
}
return 1;
}
if ( v1 == 1915 )
return 1;
if ( v1 > 1915 )
return v1 >= 3017 && (v1 <= 3021 || v1 == 3023);
return (unsigned int)(v1 - 1818) <= 1;
}