//
// sub_10036CCF4 from 0x10036ccf4 to 0x10036cdac (184 bytes)
//
// 1 xrefs:
// > sub_100369218 @ 0x100369ac4
//
// 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:03:21 +0000
//
void *__fastcall sub_10036CCF4(__int64 a1, __int64 a2)
{
int v3; // w0
int v4; // w8
__int64 v5; // x0
const char *v6; // x1
__int64 v7; // x0
const char *v8; // x1
__int64 v9; // x0
const char *v10; // x1
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( v3 == *(_DWORD *)(a1 + 828) )
v4 = 0;
else
v4 = v3;
*(_DWORD *)(a1 + 828) = v4;
*(_DWORD *)(*(_QWORD *)(a1 + 792) + 544LL) = v4;
v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 800) + 1072LL))(*(_QWORD *)(a1 + 800));
if ( *(_DWORD *)(a1 + 828) == 1 )
v6 = "GJ_button_01.png";
else
v6 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v5, (__int64)v6);
v7 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 808) + 1072LL))(*(_QWORD *)(a1 + 808));
if ( *(_DWORD *)(a1 + 828) == 2 )
v8 = "GJ_button_01.png";
else
v8 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v7, (__int64)v8);
v9 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 816) + 1072LL))(*(_QWORD *)(a1 + 816));
if ( *(_DWORD *)(a1 + 828) == 3 )
v10 = "GJ_button_01.png";
else
v10 = "GJ_button_04.png";
return ButtonSprite::updateBGImage(v9, (__int64)v10);
}