//
// GameLevelManager::vaultTimedType from 0x4aaba6 to 0x4aabc8 (34 bytes)
//
// 4 xrefs:
// > LevelBrowserLayer::isVaultType @ 0x4a4bde
// > LevelBrowserLayer::updateBackgroundColor @ 0x4a4c5a
// > GJSearchObject::getSearchKey @ 0x4bb3ae
// > GameLevelManager::getOnlineLevels @ 0x4c0e0a
//
// 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::vaultTimedType(int a1, _DWORD *a2)
{
bool v2; // zf
int result; // r0
if ( a1 == 33 )
{
*a2 = 1;
return 1;
}
if ( a1 == 34 )
{
*a2 = 2;
return 1;
}
v2 = a1 == 32;
result = 0;
if ( v2 )
{
*a2 = 0;
return 1;
}
return result;
}