//
// sub_100491C24 from 0x100491c24 to 0x100491cdc (184 bytes)
//
// 2 xrefs:
// > sub_10049180C @ 0x100491aa8
// > SetupArtSwitchPopup::selectArtClosed @ 0x100491d68
//
// 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:05:54 +0000
//
_QWORD *__usercall sub_100491C24@(int a1@, _QWORD *a2@)
{
void *v3; // x0
char *CString; // x1
if ( a1 == 2 )
{
v3 = sub_1003065B0("mgIcon_%02d_001.png");
}
else if ( a1 == 1 )
{
v3 = sub_1003065B0("gIcon_%02d_001.png");
}
else
{
if ( a1 )
{
CString = "mgIcon_00_001.png";
return sub_100009900(a2, CString);
}
v3 = sub_1003065B0("bgIcon_%02d_001.png");
}
CString = (char *)cocos2d::CCString::getCString((__int64)v3);
return sub_100009900(a2, CString);
}