//
// StartPosLayer::getValue from 0xb620c8 to 0xb62224 (348 bytes)
//
// 2 xrefs:
// > ??> @ 0xf7708
// > ??> @ 0x14c6538
//
// 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:12 +0000
//
float __fastcall StartPosLayer::getValue(StartPosLayer *this, int a2)
{
float result; // s0
switch ( a2 )
{
case -16:
result = 0.0;
break;
case -15:
result = (float)*(int *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 468LL);
break;
case -14:
result = (float)*(int *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 472LL);
break;
case -13:
result = *(float *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 476LL);
break;
case -12:
result = (float)*(int *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 376LL);
break;
case -11:
result = (float)*(int *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 372LL);
break;
case -10:
result = (float)*(unsigned __int8 *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 465LL);
break;
case -9:
result = (float)*(unsigned __int8 *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 464LL);
break;
case -8:
result = (float)*(unsigned __int8 *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 440LL);
break;
case -7:
result = (float)*(unsigned __int8 *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 370LL);
break;
case -6:
result = (float)*(unsigned __int8 *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 339LL);
break;
case -5:
result = (float)*(unsigned __int8 *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 463LL);
break;
case -4:
result = (float)*(unsigned __int8 *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 338LL);
break;
case -3:
result = (float)*(unsigned __int8 *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 337LL);
break;
case -2:
result = (float)*(unsigned __int8 *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 336LL);
break;
case -1:
result = (float)*(unsigned __int8 *)(*(_QWORD *)(*((_QWORD *)this + 127) + 1840LL) + 369LL);
break;
default:
JUMPOUT(0xB1DB08);
}
return result;
}