//
// SelectSettingLayer::frameForItem from 0x10017d474 to 0x10017d4d4 (96 bytes)
//
// 6 xrefs:
// > SelectSettingLayer::frameForValue @ 0x10017ba18
// > SelectSettingLayer::frameForValue @ 0x10017ba20
// > LevelSettingsLayer::selectSettingClosed @ 0x10017bca8
// > LevelSettingsLayer::selectSettingClosed @ 0x10017bd18
// > SelectSettingLayer::getSelectedFrame @ 0x10017bdd4
// > SelectSettingLayer::init @ 0x10017d214
//
// 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 SelectSettingLayer::frameForItem@(unsigned int a1@, unsigned int a2@, _QWORD *a3@)
{
char **v5; // x8
char *v6; // x1
if ( a1 > 1 )
{
if ( a1 == 2 )
{
if ( a2 >= 5 )
{
v6 = "boost_02_001.png";
return sub_100009900(a3, v6);
}
v5 = off_1007A2AB0;
goto LABEL_7;
}
LABEL_9:
v6 = "";
return sub_100009900(a3, v6);
}
if ( a2 >= 8 )
goto LABEL_9;
v5 = off_1007A2A70;
LABEL_7:
v6 = v5[a2];
return sub_100009900(a3, v6);
}