//
// GJSearchObject::isLevelSearchObject from 0x4ac080 to 0x4ac0ae (46 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::init @ 0x4a7bc0
// > LevelBrowserLayer::loadLevelsFinished @ 0x4a92e6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:59 +0000
//
bool __fastcall GJSearchObject::isLevelSearchObject(GJSearchObject *this)
{
unsigned int v1; // r3
v1 = *((_DWORD *)this + 66);
if ( v1 > 0xA )
{
if ( v1 == 14 || v1 >= 0xE && v1 - 101 <= 1 )
return 0;
return *((_DWORD *)this + 86) == 0;
}
if ( v1 < 9 && v1 != 5 )
return *((_DWORD *)this + 86) == 0;
return 0;
}