//
// InfoLayer::updateCommentModeButtons from 0x53ce48 to 0x53ceb6 (110 bytes)
//
// 3 xrefs:
// > InfoLayer::commentUploadFinished @ 0x53ec04
// > InfoLayer::toggleCommentMode @ 0x53ec4e
// > InfoLayer::init @ 0x53fe14
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:15 +0000
//
int __fastcall InfoLayer::updateCommentModeButtons(InfoLayer *this)
{
GameManager *v2; // r0
int GameVariable; // r4
char *v4; // r0
const char *v5; // r1
char *v6; // r0
const char *v7; // r1
v2 = (GameManager *)GameManager::sharedState(this);
GameVariable = GameManager::getGameVariable(v2, "0069");
v4 = (char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 147) + 536))(*((_DWORD *)this + 147));
if ( GameVariable )
v5 = "GJ_button_02.png";
else
v5 = "GJ_button_01.png";
ButtonSprite::updateBGImage(v4, v5);
v6 = (char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 148) + 536))(*((_DWORD *)this + 148));
if ( GameVariable )
v7 = "GJ_button_01.png";
else
v7 = "GJ_button_02.png";
ButtonSprite::updateBGImage(v6, v7);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 147) + 528))(
*((_DWORD *)this + 147),
(unsigned __int8)GameVariable ^ 1);
return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 148) + 528))(*((_DWORD *)this + 148), GameVariable);
}