//
// cocos2d::extension::CCControlSlider::sliderEnded from 0x18000af10 to 0x18000af9f (143 bytes)
//
// 5 xrefs:
// > cocos2d::extension::CCControlSlider::ccTouchEnded @ 0x18000ad15
// > ??> @ 0x18002de6c
// > ??> @ 0x18002de7c
// > ??> @ 0x18002fdf8
// > ??> @ 0x180049c00
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall cocos2d::extension::CCControlSlider::sliderEnded(__int64 *a1)
{
__int64 v2; // rbx
const struct cocos2d::CCPoint *v3; // rax
__int64 v4; // rax
char v6; // [rsp+30h] [rbp+8h] BYREF
if ( (*(unsigned __int8 (__fastcall **)(__int64 *))(*a1 + 1040))(a1) )
{
v2 = *a1;
v3 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1[62] + 200LL))(a1[62]);
v4 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v6, v3);
cocos2d::extension::CCControlSlider::valueForLocation(a1, v4);
(*(void (__fastcall **)(__int64 *))(v2 + 1112))(a1);
}
(**(void (__fastcall ***)(__int64, void *))(a1[62] + 320))(a1[62] + 320, &unk_1800234A8);
return (*(__int64 (__fastcall **)(__int64 *, _QWORD))(*a1 + 1032))(a1, 0);
}