//
// sub_100529874 from 0x100529874 to 0x1005298e4 (112 bytes)
//
// 2 xrefs:
// > sub_100527F18 @ 0x100528b04
// > sub_100529B54 @ 0x100529b84
//
// 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:07:16 +0000
//
void *__fastcall sub_100529874(__int64 a1)
{
void *result; // x0
int v3; // w8
const char *v4; // x20
__int64 v5; // x0
result = *(void **)(a1 + 760);
if ( result )
{
v3 = *(_DWORD *)(a1 + 728);
if ( v3 <= 0 )
v4 = "GJ_button_04.png";
else
v4 = "GJ_button_01.png";
(*(void (__fastcall **)(void *, bool))(*(_QWORD *)result + 1056LL))(result, v3 > 0);
v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 1072LL))(*(_QWORD *)(a1 + 760));
return ButtonSprite::updateBGImage(v5, (__int64)v4);
}
return result;
}