//
// sub_1004508E0 from 0x1004508e0 to 0x1004509b8 (216 bytes)
//
// 1 xrefs:
// > sub_1004500BC @ 0x100450354
//
// 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:05:20 +0000
//
__int64 __fastcall sub_1004508E0(float *a1, float *a2)
{
float Value; // s8
Value = SliderThumb::getValue(a2);
if ( (*(unsigned int (__fastcall **)(float *))(*(_QWORD *)a2 + 64LL))(a2) == 3 )
{
a1[258] = Value + Value;
sub_100450DF8(a1);
return sub_100450A90(a1, 1);
}
else if ( (*(unsigned int (__fastcall **)(float *))(*(_QWORD *)a2 + 64LL))(a2) == 7 )
{
a1[270] = Value * 0.1;
sub_100450E60(a1);
return sub_100450B68(a1, 1);
}
else
{
a1[264] = Value * 5.0;
sub_100450EC8(a1);
return sub_1004509B8(a1, 1);
}
}