//
// sub_10020CB80 from 0x10020cb80 to 0x10020cc30 (176 bytes)
//
// 2 xrefs:
// > LevelSettingsLayer::init @ 0x10020b928
// > sub_10020CB40 @ 0x10020cb7c
//
// 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:01:00 +0000
//
void *__fastcall sub_10020CB80(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x21
int v4; // w22
const char *v5; // x1
const char *v6; // x23
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 880) + 1072LL))(*(_QWORD *)(a1 + 880));
v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 888) + 1072LL))(*(_QWORD *)(a1 + 888));
v4 = *(unsigned __int8 *)(*(_QWORD *)(a1 + 816) + 341LL);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 880) + 1056LL))(
*(_QWORD *)(a1 + 880),
*(unsigned __int8 *)(*(_QWORD *)(a1 + 816) + 341LL));
if ( v4 )
v5 = "GJ_button_04.png";
else
v5 = "GJ_button_01.png";
if ( v4 )
v6 = "GJ_button_01.png";
else
v6 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v2, (__int64)v5);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 888) + 1056LL))(*(_QWORD *)(a1 + 888), v4 ^ 1u);
return ButtonSprite::updateBGImage(v3, (__int64)v6);
}