//
// SelectSettingLayer::idxToValue from 0xb637f8 to 0xb63828 (48 bytes)
//
// 3 xrefs:
// > SelectSettingLayer::getSelectedValue @ 0xb63834
// > StartPosLayer::addSpeedButtons @ 0xb65104
// > ??> @ 0xe5780
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:02:13 +0000
//
__int64 __fastcall SelectSettingLayer::idxToValue(int a1, unsigned int a2)
{
bool v2; // zf
__int64 result; // x0
v2 = a1 == 2;
result = a2;
if ( v2 )
{
result = 0;
if ( a2 <= 4 )
return dword_1190550[a2];
}
return result;
}