//
// InfoLayer::canToggleModRoom from 0x1008940a0 to 0x1008940f8 (88 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:37:06 +0000
//
bool __fastcall InfoLayer::canToggleModRoom(__int64 a1)
{
__int64 v1; // rax
__int64 v3; // rax
v1 = GameManager::sharedState();
if ( (unsigned __int8)GameManager::getGameVariable(v1, "0235") || !*(_QWORD *)(a1 + 696) || *(_DWORD *)(a1 + 876) )
return 0;
v3 = GameManager::sharedState();
return *(_DWORD *)(v3 + 1032) > *(_DWORD *)(v3 + 1036);
}