//
// UIPOptionsLayer::getValue from 0x1403ac230 to 0x1403ac28c (92 bytes)
//
// 3 xrefs:
// > ??> @ 0x14077e058
// > ??> @ 0x140923a74
// > ??> @ 0x140923a80
//
// 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:31:21 +0000
//
// Hidden C++ exception states: #wind=1
float __fastcall UIPOptionsLayer::getValue(__int64 a1, int a2)
{
__int64 v3; // rax
void *v4; // [rsp+40h] [rbp+18h]
if ( a2 != -29 )
return 0.0;
v3 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v4 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v3 = qword_14090BFD0;
}
return *(float *)(v3 + 1760);
}