//
// cocos2d::extension::CCControlSlider::sliderEnded from 0xd10804 to 0xd108d8 (212 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCControlSlider::ccTouchEnded @ 0xd10918
// > ??> @ 0x60e20
//
// 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 13:07:02 +0000
//
__int64 __fastcall cocos2d::extension::CCControlSlider::sliderEnded(_QWORD **a1)
{
void (__fastcall *v2)(_QWORD **, float); // x22
const cocos2d::CCPoint *v3; // x0
float v4; // s0
float v6; // [xsp+30h] [xbp+30h] BYREF
if ( ((unsigned __int8 (__fastcall *)(_QWORD **))(*a1)[161])(a1) )
{
v2 = (void (__fastcall *)(_QWORD **, float))(*a1)[170];
v3 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD *))(*a1[62] + 192LL))(a1[62]);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v6, v3);
v4 = cocos2d::extension::CCControlSlider::valueForLocation((__int64)a1, &v6);
v2(a1, v4);
}
(*(void (__fastcall **)(_QWORD *, void *))(*a1[62] + 960LL))(a1[62], &unk_11A6018);
((void (__fastcall *)(_QWORD **, _QWORD))(*a1)[160])(a1, 0);
return _stack_chk_guard;
}