//
// GameObject::isBasicTrigger from 0x10069d350 to 0x10069d3b1 (97 bytes)
//
// 3 xrefs:
// > EditorUI::editObject @ 0x100009566
// > EditorUI::editObject @ 0x10000a3dd
// > EditorUI::editButtonUsable @ 0x100017c03
//
// 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:16 +0000
//
char __fastcall GameObject::isBasicTrigger(__int64 a1)
{
int v1; // ecx
char result; // al
__int64 v3; // rsi
v1 = *(_DWORD *)(a1 + 1028);
result = 1;
if ( v1 > 1817 )
{
if ( ((unsigned int)(v1 - 3017) > 6 || v1 == 3022) && (unsigned int)(v1 - 1818) >= 2 && v1 != 1915 )
return 0;
}
else if ( (unsigned int)v1 > 0x3B || (v3 = 0xF8000031FC00000LL, !_bittest64(&v3, (unsigned int)v1)) )
{
if ( (unsigned int)(v1 - 1612) >= 2 )
return 0;
}
return result;
}