//
// SelectSettingLayer::getSelectedValue from 0x10017bd98 to 0x10017bdc8 (48 bytes)
//
// 2 xrefs:
// > LevelSettingsLayer::selectSettingClosed @ 0x10017bc7c
// > SetupAudioLineGuidePopup::selectSettingClosed @ 0x1004100ac
//
// 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
//
int __fastcall SelectSettingLayer::getSelectedValue(SelectSettingLayer *a1)
{
SelectSettingType m_type; // w8
int result; // w0
m_type = a1->m_type;
result = a1->m_settingID;
if ( m_type == StartingSpeed )
{
if ( (unsigned int)result > 4 )
return 0;
else
return dword_100638F1C[result];
}
return result;
}