//
// SelectSettingLayer::idxToValue from 0x6a9f58 to 0x6a9f74 (28 bytes)
//
// 2 xrefs:
// > SelectSettingLayer::getSelectedValue @ 0x6a9f82
// > StartPosLayer::addSpeedButtons @ 0x6aadf2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:56:34 +0000
//
unsigned int __fastcall SelectSettingLayer::idxToValue(int a1, unsigned int a2)
{
if ( a1 != 2 )
return a2;
if ( a2 > 4 )
return 0;
return *((char *)&word_BEF9C4 + a2 + 12);
}