//
// GJSearchObject::isLevelSearchObject from 0x10058e480 to 0x10058e4b1 (49 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::init @ 0x100481d75
// > LevelBrowserLayer::loadLevelsFinished @ 0x10048674d
//
// 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:32:25 +0000
//
bool __fastcall GJSearchObject::isLevelSearchObject(__int64 a1)
{
unsigned int v1; // ecx
bool result; // al
int v3; // edx
v1 = *(_DWORD *)(a1 + 316);
result = 0;
if ( v1 > 0xE || (v3 = 17952, !_bittest(&v3, v1)) )
{
if ( v1 - 101 >= 2 )
return *(_DWORD *)(a1 + 432) == 0;
}
return result;
}