//
// InfoLayer::toggleSmallCommentMode from 0x1008942f0 to 0x100894464 (372 bytes)
//
// 1 xrefs:
// > InfoLayer::init @ 0x100892b80
//
// 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
//
__int64 __fastcall InfoLayer::toggleSmallCommentMode(__int64 a1)
{
__int64 v2; // rax
__int64 v3; // rax
__int64 v4; // rax
__int64 v5; // rax
__int64 v6; // rdi
v2 = GameManager::sharedState();
GameManager::toggleGameVariable(v2, "0088");
v3 = GameLevelManager::sharedState();
GameLevelManager::resetCommentTimersForLevelID(v3);
v4 = GameManager::sharedState();
if ( !(unsigned __int8)GameManager::getGameVariable(v4, "0235")
&& *(_QWORD *)(a1 + 696)
&& !*(_DWORD *)(a1 + 876)
&& (v5 = GameManager::sharedState(), *(_DWORD *)(v5 + 1032) > *(_DWORD *)(v5 + 1036))
|| *(_QWORD *)(a1 + 704) && *(_BYTE *)(a1 + 880) == 1 )
{
v6 = GameLevelManager::sharedState();
GameLevelManager::resetCommentTimersForLevelID(v6);
}
return sub_100896C50(a1);
}