//
// InfoLayer::canToggleModRoom from 0x1003f0194 to 0x1003f01f0 (92 bytes)
//
// 2 xrefs:
// > InfoLayer::init @ 0x1003eefd0
// > sub_1003F0364 @ 0x1003f03a8
//
// 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
//
bool __fastcall InfoLayer::canToggleModRoom(__int64 a1)
{
__int64 v2; // x0
__int64 v4; // x0
v2 = GameManager::sharedState();
if ( GameManager::getGameVariable(v2, "0235") || !*(_QWORD *)(a1 + 696) || *(_DWORD *)(a1 + 876) )
return 0;
v4 = GameManager::sharedState();
return *(_DWORD *)(v4 + 1032) > *(_DWORD *)(v4 + 1036);
}