//
// sub_1003F0364 from 0x1003f0364 to 0x1003f0408 (164 bytes)
//
// 1 xrefs:
// > InfoLayer::init @ 0x1003ef4c0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:04:30 +0000
//
__int64 __fastcall sub_1003F0364(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x20
int v4; // w0
__int64 v5; // x20
int v6; // w1
__int64 v7; // x0
int v8; // w2
v2 = GameManager::sharedState();
GameManager::toggleGameVariable(v2, "0088");
v3 = GameLevelManager::sharedState();
v4 = sub_1003F055C(a1);
sub_1000C1F7C(v3, v4, *(_DWORD *)(a1 + 876));
if ( InfoLayer::canToggleModRoom(a1) )
{
v5 = GameLevelManager::sharedState();
v6 = sub_1003F055C(a1);
v7 = v5;
v8 = 4;
LABEL_6:
sub_1000C1F7C(v7, v6, v8);
return sub_1003F1D70(a1);
}
if ( *(_QWORD *)(a1 + 704) && *(_BYTE *)(a1 + 880) == 1 )
{
v7 = GameLevelManager::sharedState();
v6 = *(_DWORD *)(*(_QWORD *)(a1 + 704) + 376LL);
v8 = 5;
goto LABEL_6;
}
return sub_1003F1D70(a1);
}