//
// LevelBrowserLayer::isSafeType from 0x4a4bf8 to 0x4a4c24 (44 bytes)
//
// 3 xrefs:
// > LevelBrowserLayer::init @ 0x4a6fd2
// > LevelBrowserLayer::init @ 0x4a73c2
// > LevelBrowserLayer::init @ 0x4a7974
//
// 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:53 +0000
//
int __fastcall LevelBrowserLayer::isSafeType(LevelBrowserLayer *this, int a2)
{
int v2; // r3
int v3; // r4
int result; // r0
v2 = *((_DWORD *)this + 125);
if ( !v2 )
return 0;
v3 = *(_DWORD *)(v2 + 264);
result = LevelBrowserLayer::isVaultType(this, a2);
if ( !result )
return (unsigned int)(v3 - 21) <= 1 || v3 == 23;
return result;
}