//
// InfoLayer::canToggleModRoom from 0x907aec to 0x907b64 (120 bytes)
//
// 3 xrefs:
// > InfoLayer::init @ 0x90c5f8
// > InfoLayer::toggleSmallCommentMode @ 0x90d42c
// > ??> @ 0xb8ac8
//
// 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 12:57:09 +0000
//
GameManager *__fastcall InfoLayer::canToggleModRoom(InfoLayer *this)
{
GameManager *v2; // x0
GameManager *result; // x0
__int64 v4; // x0
v2 = (GameManager *)GameManager::sharedState(this);
result = (GameManager *)(unsigned __int8)GameManager::getGameVariable(v2, "0235");
if ( (_BYTE)result )
return nullptr;
if ( *((_QWORD *)this + 87) )
{
if ( !*((_DWORD *)this + 219) )
{
v4 = GameManager::sharedState(result);
return (GameManager *)(*(_DWORD *)(v4 + 1032) - *(_DWORD *)(v4 + 1036) > 0);
}
}
return result;
}