//
// GJSearchObject::isLevelSearchObject from 0x806fc0 to 0x80700c (76 bytes)
//
// 3 xrefs:
// > LevelBrowserLayer::init @ 0x7f9f9c
// > LevelBrowserLayer::loadLevelsFinished @ 0x7fce50
// > ??> @ 0x7f450
//
// 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:54:46 +0000
//
bool __fastcall GJSearchObject::isLevelSearchObject(GJSearchObject *this)
{
unsigned int v1; // w1
v1 = *((_DWORD *)this + 79);
if ( v1 > 0xA )
{
if ( v1 != 14 && (v1 < 0xE || v1 - 101 > 1) )
return *((_DWORD *)this + 108) == 0;
}
else if ( v1 < 9 && v1 != 5 )
{
return *((_DWORD *)this + 108) == 0;
}
return 0;
}