//
// GJSearchObject::isLevelSearchObject from 0x1000b0c80 to 0x1000b0cc8 (72 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::init @ 0x10041548c
// > LevelBrowserLayer::loadLevelsFinished @ 0x10041891c
//
// 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 __fastcall GJSearchObject::isLevelSearchObject(GJSearchObject *a1)
{
bool result; // w0
SearchType m_searchType; // w9
result = 0;
m_searchType = a1->m_searchType;
if ( ((unsigned int)m_searchType > Users || ((1 << m_searchType) & 0x4620) == 0)
&& (unsigned int)(m_searchType - 101) >= 2 )
{
return a1->m_searchMode == 0;
}
return result;
}