//
// SelectSettingLayer::idxToValue from 0x100271280 to 0x1002712a2 (34 bytes)
//
// 0 xrefs:
//
// 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::idxToValue(SelectSettingType a1, int a2)
{
int result; // eax
if ( a1 != StartingSpeed )
return a2;
result = 0;
if ( (unsigned int)a2 <= 4 )
return dword_1008185F0[a2];
return result;
}