//
// sub_1002446B0 from 0x1002446b0 to 0x100244764 (180 bytes)
//
// 1 xrefs:
// > sub_100244664 @ 0x1002446ac
//
// 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:25 +0000
//
void *__fastcall sub_1002446B0(__int64 a1, __int64 a2)
{
void *result; // x0
__int64 v5; // x21
__int64 v6; // x22
const char *v7; // x1
result = (void *)sub_1002E757C(*(_QWORD *)(a1 + 680));
if ( (_DWORD)result )
{
v5 = 0;
do
{
v6 = sub_1002E75A0(*(_QWORD *)(a1 + 680), v5);
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v6 + 64LL))(v6) == 1008 )
v7 = "GJ_button_05.png";
else
v7 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v6, (__int64)v7);
v5 = (unsigned int)(v5 + 1);
result = (void *)sub_1002E757C(*(_QWORD *)(a1 + 680));
}
while ( (unsigned int)v5 < (unsigned int)result );
}
if ( a2 )
return ButtonSprite::updateBGImage(a2, (__int64)"GJ_button_02.png");
return result;
}