//
// GJSearchObject::isLevelSearchObject from 0x1402709b0 to 0x1402709eb (59 bytes)
//
// 3 xrefs:
// > LevelBrowserLayer::init @ 0x1403e3c0b
// > LevelBrowserLayer::loadLevelsFinished @ 0x1403e6061
// > LevelListLayer::loadLevelsFinished @ 0x14042e929
//
// 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 11:28:54 +0000
//
bool __fastcall GJSearchObject::isLevelSearchObject(__int64 a1)
{
bool result; // al
switch ( *(_DWORD *)(a1 + 320) )
{
case 5:
case 9:
case 0xA:
case 0xE:
case 0x65:
case 0x66:
result = 0;
break;
default:
result = *(_DWORD *)(a1 + 464) == 0;
break;
}
return result;
}