//
// GJSearchObject::isLevelSearchObject from 0x1401751f0 to 0x14017522b (59 bytes)
//
// 3 xrefs:
// > LevelBrowserLayer::init @ 0x1402c9c60
// > LevelBrowserLayer::loadLevelsFinished @ 0x1402cc475
// > LevelListLayer::loadLevelsFinished @ 0x140306b43
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool GJSearchObject::isLevelSearchObject(GJSearchObject *a1)
{
bool result; // al
switch ( a1->m_searchType )
{
case UsersLevels:
case Sends|Downloaded:
case MapPackOnClick:
case Users:
case SmartTemplates:
case MyLists:
result = 0;
break;
default:
result = a1->m_searchMode == 0;
break;
}
return result;
}