//
// sub_1003F04AC from 0x1003f04ac to 0x1003f0550 (164 bytes)
//
// 3 xrefs:
// > InfoLayer::init @ 0x1003ef1f8
// > sub_1003F02D8 @ 0x1003f0318
// > InfoLayer::commentUploadFinished @ 0x1003f1c70
//
// 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 11:04:30 +0000
//
__int64 __fastcall sub_1003F04AC(__int64 a1)
{
__int64 v2; // x0
_BOOL8 GameVariable; // x20
__int64 v4; // x0
const char *v5; // x1
const char *v6; // x21
__int64 v7; // x0
v2 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v2, "0069");
v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 800) + 1072LL))(*(_QWORD *)(a1 + 800));
if ( GameVariable )
v5 = "GJ_button_02.png";
else
v5 = "GJ_button_01.png";
if ( GameVariable )
v6 = "GJ_button_01.png";
else
v6 = "GJ_button_02.png";
ButtonSprite::updateBGImage(v4, (__int64)v5);
v7 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 808) + 1072LL))(*(_QWORD *)(a1 + 808));
ButtonSprite::updateBGImage(v7, (__int64)v6);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 800) + 1056LL))(
*(_QWORD *)(a1 + 800),
(unsigned int)GameVariable ^ 1);
return (*(__int64 (__fastcall **)(_QWORD, _BOOL8))(**(_QWORD **)(a1 + 808) + 1056LL))(
*(_QWORD *)(a1 + 808),
GameVariable);
}