//
// sub_1004111F4 from 0x1004111f4 to 0x1004112ac (184 bytes)
//
// 2 xrefs:
// > SetupArtSwitchPopup::init @ 0x100411078
// > SetupArtSwitchPopup::selectArtClosed @ 0x100411338
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_QWORD *__usercall sub_1004111F4@(int a1@, _QWORD *a2@)
{
cocos2d::CCString *v3; // x0
char *CString; // x1
if ( a1 == 2 )
{
v3 = (cocos2d::CCString *)sub_100268F4C("mgIcon_%02d_001.png");
}
else if ( a1 == 1 )
{
v3 = (cocos2d::CCString *)sub_100268F4C("gIcon_%02d_001.png");
}
else
{
if ( a1 )
{
CString = "mgIcon_00_001.png";
return sub_100009900(a2, CString);
}
v3 = (cocos2d::CCString *)sub_100268F4C("bgIcon_%02d_001.png");
}
CString = (char *)cocos2d::CCString::getCString(v3);
return sub_100009900(a2, CString);
}