//
// StartPosLayer::getValue from 0x14045f210 to 0x14045f3dd (461 bytes)
//
// 1 xrefs:
// > ??> @ 0x140797920
//
// 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 11:32:32 +0000
//
__int64 __fastcall StartPosLayer::getValue(__int64 a1, int a2)
{
__int64 result; // rax
result = a2 + 16;
switch ( a2 )
{
case -16:
return result;
case -15:
result = *(_QWORD *)(a1 + 1000);
break;
case -14:
result = *(_QWORD *)(a1 + 1000);
break;
case -13:
result = *(_QWORD *)(a1 + 1000);
break;
case -12:
result = *(_QWORD *)(a1 + 1000);
break;
case -11:
result = *(_QWORD *)(a1 + 1000);
break;
case -10:
result = *(unsigned __int8 *)(*(_QWORD *)(*(_QWORD *)(a1 + 1000) + 1856LL) + 473LL);
break;
case -9:
result = *(unsigned __int8 *)(*(_QWORD *)(*(_QWORD *)(a1 + 1000) + 1856LL) + 472LL);
break;
case -8:
result = *(unsigned __int8 *)(*(_QWORD *)(*(_QWORD *)(a1 + 1000) + 1856LL) + 448LL);
break;
case -7:
result = *(unsigned __int8 *)(*(_QWORD *)(*(_QWORD *)(a1 + 1000) + 1856LL) + 370LL);
break;
case -6:
result = *(unsigned __int8 *)(*(_QWORD *)(*(_QWORD *)(a1 + 1000) + 1856LL) + 339LL);
break;
case -5:
result = *(unsigned __int8 *)(*(_QWORD *)(*(_QWORD *)(a1 + 1000) + 1856LL) + 471LL);
break;
case -4:
result = *(unsigned __int8 *)(*(_QWORD *)(*(_QWORD *)(a1 + 1000) + 1856LL) + 338LL);
break;
case -3:
result = *(unsigned __int8 *)(*(_QWORD *)(*(_QWORD *)(a1 + 1000) + 1856LL) + 337LL);
break;
case -2:
result = *(unsigned __int8 *)(*(_QWORD *)(*(_QWORD *)(a1 + 1000) + 1856LL) + 336LL);
break;
case -1:
result = *(unsigned __int8 *)(*(_QWORD *)(*(_QWORD *)(a1 + 1000) + 1856LL) + 369LL);
break;
default:
result = SetupTriggerPopup::getValue(a1);
break;
}
return result;
}