//
// sub_10045CAE4 from 0x10045cae4 to 0x10045cbe0 (252 bytes)
//
// 3 xrefs:
// > sub_10045A37C @ 0x10045a7f0
// > sub_10045A37C @ 0x10045ab50
// > sub_10045A37C @ 0x10045aea8
//
// 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:27 +0000
//
__int64 __fastcall sub_10045CAE4(float *a1, float *a2)
{
float Value; // s0
void *v5; // x0
float v6; // s8
__int64 result; // x0
Value = SliderThumb::getValue(a2);
v5 = sub_1003065B0("%.01f", (float)(Value * 10.0));
v6 = cocos2d::CCString::floatValue((__int64)v5);
result = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)a2 + 64LL))(a2);
switch ( (_DWORD)result )
{
case 3:
a1[322] = v6;
sub_10045DFD0(a1);
return sub_10045CD90(a1, 1);
case 2:
a1[321] = v6;
sub_10045DF64(a1);
return sub_10045CCB8(a1, 1);
case 1:
a1[320] = v6;
sub_10045DEF8(a1);
return sub_10045CBE0(a1, 1);
}
return result;
}