//
// sub_1001AE9A8 from 0x1001ae9a8 to 0x1001aea10 (104 bytes)
//
// 1 xrefs:
// > SetupTriggerPopup::triggerSliderChanged @ 0x1001ae948
//
// 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:00:07 +0000
//
float __fastcall sub_1001AE9A8(__int64 a1, int a2, float a3)
{
__int64 v4; // x0
int v5; // w8
float v6; // s0
v4 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 760), a2);
if ( v4 )
{
v5 = *(_DWORD *)(v4 + 704);
if ( v5 <= 0 )
{
return (float)(int)a3;
}
else
{
v6 = 10.0;
if ( v5 != 1 )
v6 = __exp10f((float)(unsigned int)v5);
return roundf(v6 * a3) / v6;
}
}
return a3;
}