//
// GJSearchObject::isLevelSearchObject from 0x1000d5f80 to 0x1000d5fc8 (72 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::init @ 0x1004967c0
// > LevelBrowserLayer::loadLevelsFinished @ 0x100499d88
//
// 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 10:58:56 +0000
//
bool __fastcall GJSearchObject::isLevelSearchObject(__int64 a1)
{
_BOOL8 result; // x0
unsigned int v3; // w9
result = 0;
v3 = *(_DWORD *)(a1 + 316);
if ( (v3 > 0xE || ((1 << v3) & 0x4620) == 0) && v3 - 101 >= 2 )
return *(_DWORD *)(a1 + 432) == 0;
return result;
}