//
// SelectSettingLayer::getSelectedValue from 0x10026ec40 to 0x10026ec6a (42 bytes)
//
// 1 xrefs:
// > SetupAudioLineGuidePopup::selectSettingClosed @ 0x10058446a
//
// 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)
{
__int64 m_settingID; // rcx
int result; // eax
m_settingID = (unsigned int)a1->m_settingID;
if ( a1->m_type != StartingSpeed )
return a1->m_settingID;
result = 0;
if ( (unsigned int)m_settingID <= 4 )
return dword_1008185F0[m_settingID];
return result;
}