//
// sub_1001AE758 from 0x1001ae758 to 0x1001ae7bc (100 bytes)
//
// 6 xrefs:
// > SetupTriggerPopup::sliderBegan @ 0x1001ae800
// > SetupTriggerPopup::sliderBegan @ 0x1001ae820
// > SetupTriggerPopup::sliderBegan @ 0x1001ae83c
// > SetupTriggerPopup::sliderEnded @ 0x1001ae898
// > SetupTriggerPopup::sliderEnded @ 0x1001ae8b8
// > SetupTriggerPopup::sliderEnded @ 0x1001ae8d8
//
// 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:06 +0000
//
double __fastcall sub_1001AE758(__int64 a1, double result, float a3)
{
float v4; // s9
__int64 v6; // x20
if ( a1 )
{
v4 = *(float *)&result;
cocos2d::CCNode::stopActionByTag(a1, 2);
v6 = cocos2d::CCFadeTo::create((unsigned int)(int)v4, a3);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 72LL))(v6, 2);
*(_QWORD *)&result = cocos2d::CCNode::runAction(a1, v6).n128_u64[0];
}
return result;
}