//
// cocos2d::extension::CCControlSlider::sliderEnded from 0x7a9cdc to 0x7a9d4c (112 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCControlSlider::ccTouchEnded @ 0x7a9d72
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:01 +0000
//
int __fastcall cocos2d::extension::CCControlSlider::sliderEnded(_DWORD **a1)
{
void (__fastcall *v2)(_DWORD **, int); // r7
const cocos2d::CCPoint *v3; // r0
int v4; // r0
float v6[2]; // [sp+4h] [bp-10h] BYREF
if ( ((int (__fastcall *)(_DWORD **))(*a1)[161])(a1) )
{
v2 = (void (__fastcall *)(_DWORD **, int))(*a1)[170];
v3 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD *))(*a1[94] + 96))(a1[94]);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, v3);
v4 = cocos2d::extension::CCControlSlider::valueForLocation((int)a1, v6);
v2(a1, v4);
}
(*(void (__fastcall **)(_DWORD *, void *))(*a1[94] + 480))(a1[94], &unk_BF156B);
return ((int (__fastcall *)(_DWORD **, _DWORD))(*a1)[160])(a1, 0);
}