//
// cocos2d::extension::CCControlSlider::sliderEnded from 0x18000aa00 to 0x18000aad7 (215 bytes)
//
// 5 xrefs:
// > cocos2d::extension::CCControlSlider::ccTouchEnded @ 0x18000a785
// > ??> @ 0x180030334
// > ??> @ 0x180030344
// > ??> @ 0x180032408
// > ??> @ 0x18004bae0
//
// This function is hookable on this platform (idp: pc, 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 12:15:37 +0000
//
__int64 __fastcall cocos2d::extension::CCControlSlider::sliderEnded(_QWORD *a1)
{
const struct cocos2d::CCPoint *v2; // rax
char v4; // [rsp+30h] [rbp+8h] BYREF
if ( (*(unsigned __int8 (__fastcall **)(_QWORD *))(*a1 + 1056LL))(a1) )
{
v2 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[62] + 200LL))(a1[62]);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v4, v2);
(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[64] + 320LL))(a1[64]);
(*(void (__fastcall **)(_QWORD *))(*a1 + 1128LL))(a1);
}
(**(void (__fastcall ***)(__int64, void *))(a1[62] + 320LL))(a1[62] + 320LL, &unk_180025A18);
return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1048LL))(a1, 0);
}