//
// GameLevelManager::searchTypeIsCurated from 0x4aab70 to 0x4aaba6 (54 bytes)
//
// 1 xrefs:
// > LevelBrowserLayer::init @ 0x4a6d0c
//
// 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:58 +0000
//
int __fastcall GameLevelManager::searchTypeIsCurated(int a1, unsigned int a2)
{
unsigned int v2; // r1
bool v3; // cc
if ( a2 <= 0x17 )
{
if ( a2 >= 0x15 )
return 1;
if ( a2 <= 0xA )
return a2 >= 9 || a2 == 6;
v2 = a2 - 16;
goto LABEL_11;
}
if ( a2 <= 0x22 )
{
if ( a2 >= 0x20 )
return 1;
v2 = a2 - 28;
LABEL_11:
v3 = v2 > 1;
return !v3;
}
v3 = a2 - 98 > 3;
return !v3;
}