//
// SelectSettingLayer::valueToIdx from 0x10025afc0 to 0x10025afe5 (37 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:27:28 +0000
//
__int64 __fastcall SelectSettingLayer::valueToIdx(int a1, unsigned int a2)
{
__int64 result; // rax
if ( a1 != 2 )
return a2;
result = 1;
if ( a2 <= 4 )
return (unsigned int)dword_100A06AF0[a2];
return result;
}