//
// sub_10036E784 from 0x10036e784 to 0x10036e854 (208 bytes)
//
// 1 xrefs:
// > sub_10036D4D8 @ 0x10036d894
//
// 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 11:03:21 +0000
//
void __fastcall sub_10036E784(__int64 a1, __int64 a2)
{
float Value; // s8
__int64 v5; // x20
__int64 v6; // x0
float v7; // s0
float v8; // s0
bool v9; // zf
float v10; // s0
Value = SliderThumb::getValue(a2);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v6 = sub_10036FF18(v5, v5);
v8 = v7 + (float)((float)(sub_10036FF38(v6, v5) - v7) * Value);
if ( (unsigned int)(v5 - 5) >= 0x15
&& ((unsigned int)v5 <= 0x37 ? (v9 = ((1LL << v5) & 0xFC000000000002LL) == 0) : (v9 = 1), v9) )
{
v10 = roundf(v8 * 100.0) / 100.0;
}
else
{
v10 = roundf(v8);
}
sub_10036EA40(a1, v5, 0, v10);
sub_10036E854(a1, v5);
sub_10036E630(a1, v5);
}