//
// InfoLayer::updateCommentModeButtons from 0x100894520 to 0x1008945cc (172 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
//
__int64 __fastcall InfoLayer::updateCommentModeButtons(__int64 a1)
{
__int64 v1; // rax
unsigned __int8 GameVariable; // r14
__int64 v3; // rax
const char *v4; // r15
const char *v5; // rsi
__int64 v6; // rax
v1 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v1, "0069");
v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 800) + 1072LL))(*(_QWORD *)(a1 + 800));
v4 = "GJ_button_02.png";
v5 = "GJ_button_01.png";
if ( GameVariable )
{
v5 = "GJ_button_02.png";
v4 = "GJ_button_01.png";
}
ButtonSprite::updateBGImage(v3, (__int64)v5);
v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 808) + 1072LL))(*(_QWORD *)(a1 + 808));
ButtonSprite::updateBGImage(v6, (__int64)v4);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 800) + 1056LL))(*(_QWORD *)(a1 + 800), GameVariable ^ 1u);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 808) + 1056LL))(
*(_QWORD *)(a1 + 808),
GameVariable);
}