{"type": "func", "start": 6442494464, "end": 6442494679, "name": "cocos2d::extension::CCControlSlider::sliderEnded", "pseudocode": "// \n// cocos2d::extension::CCControlSlider::sliderEnded from 0x18000aa00 to 0x18000aad7 (215 bytes)\n// \n// 5 xrefs:\n// > cocos2d::extension::CCControlSlider::ccTouchEnded @ 0x18000a785\n// > <???> @ 0x180030334\n// > <???> @ 0x180030344\n// > <???> @ 0x180032408\n// > <???> @ 0x18004bae0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:15:37 +0000\n// \n\n__int64 __fastcall cocos2d::extension::CCControlSlider::sliderEnded(_QWORD *a1)\n{\n  const struct cocos2d::CCPoint *v2; // rax\n  char v4; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( (*(unsigned __int8 (__fastcall **)(_QWORD *))(*a1 + 1056LL))(a1) )\n  {\n    v2 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[62] + 200LL))(a1[62]);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v4, v2);\n    (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[64] + 320LL))(a1[64]);\n    (*(void (__fastcall **)(_QWORD *))(*a1 + 1128LL))(a1);\n  }\n  (**(void (__fastcall ***)(__int64, void *))(a1[62] + 320LL))(a1[62] + 320LL, &unk_180025A18);\n  return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1048LL))(a1, 0);\n}", "assembly": "; \n; cocos2d::extension::CCControlSlider::sliderEnded from 0x18000aa00 to 0x18000aad7 (215 bytes)\n; \n; 5 xrefs:\n; > cocos2d::extension::CCControlSlider::ccTouchEnded @ 0x18000a785\n; > <???> @ 0x180030334\n; > <???> @ 0x180030344\n; > <???> @ 0x180032408\n; > <???> @ 0x18004bae0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:15:37 +0000\n; \nmov     [rsp+arg_10], rsi                                              ; +0x0, 0x18000aa00\npush    rdi                                                            ; +0x5, 0x18000aa05\nsub     rsp, 20h                                                       ; +0x6, 0x18000aa06\nmov     rax, [rcx]                                                     ; +0xa, 0x18000aa0a\nmov     rdi, rcx                                                       ; +0xd, 0x18000aa0d\ncall    qword ptr [rax+420h]                                           ; +0x10, 0x18000aa10\ntest    al, al                                                         ; +0x16, 0x18000aa16\njz      loc_18000AAA4                                                  ; +0x18, 0x18000aa18\nmov     rcx, [rdi+1F0h]                                                ; +0x1e, 0x18000aa1e\nmov     [rsp+28h+arg_8], rbx                                           ; +0x25, 0x18000aa25\nmov     rax, [rcx]                                                     ; +0x2a, 0x18000aa2a\ncall    qword ptr [rax+0C8h]                                           ; +0x2d, 0x18000aa2d\nmov     rdx, rax                                                       ; +0x33, 0x18000aa33\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x36, 0x18000aa36\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3b, 0x18000aa3b\nmov     rcx, [rdi+200h]                                                ; +0x41, 0x18000aa41\nmov     rbx, rax                                                       ; +0x48, 0x18000aa48\nmov     rdx, [rcx]                                                     ; +0x4b, 0x18000aa4b\ncall    qword ptr [rdx+140h]                                           ; +0x4e, 0x18000aa4e\nmovss   xmm0, dword ptr [rbx]                                          ; +0x54, 0x18000aa54\nmovss   xmm1, dword ptr [rdi+1DCh]                                     ; +0x58, 0x18000aa58\nmovss   xmm2, dword ptr [rdi+1E0h]                                     ; +0x60, 0x18000aa60\ndivss   xmm0, dword ptr [rax]                                          ; +0x68, 0x18000aa68\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x6c, 0x18000aa6c\nsubss   xmm2, xmm1                                                     ; +0x71, 0x18000aa71\nmulss   xmm2, xmm0                                                     ; +0x75, 0x18000aa75\nmovss   xmm0, dword ptr [rdi+1E4h]                                     ; +0x79, 0x18000aa79\naddss   xmm2, xmm1                                                     ; +0x81, 0x18000aa81\nminss   xmm2, dword ptr [rdi+1E8h]                                     ; +0x85, 0x18000aa85\ncomiss  xmm2, xmm0                                                     ; +0x8d, 0x18000aa8d\nja      short loc_18000AA95                                            ; +0x90, 0x18000aa90\nmovaps  xmm2, xmm0                                                     ; +0x92, 0x18000aa92\nmov     rax, [rdi]                                                     ; +0x95, 0x18000aa95\nmovaps  xmm1, xmm2                                                     ; +0x98, 0x18000aa98\nmov     rcx, rdi                                                       ; +0x9b, 0x18000aa9b\ncall    qword ptr [rax+468h]                                           ; +0x9e, 0x18000aa9e\nmov     rcx, [rdi+1F0h]                                                ; +0xa4, 0x18000aaa4\nlea     rdx, unk_180025A18                                             ; +0xab, 0x18000aaab\nadd     rcx, 140h                                                      ; +0xb2, 0x18000aab2\nmov     rax, [rcx]                                                     ; +0xb9, 0x18000aab9\ncall    qword ptr [rax]                                                ; +0xbc, 0x18000aabc\nmov     rax, [rdi]                                                     ; +0xbe, 0x18000aabe\nxor     edx, edx                                                       ; +0xc1, 0x18000aac1\nmov     rcx, rdi                                                       ; +0xc3, 0x18000aac3\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xc6, 0x18000aac6\nadd     rsp, 20h                                                       ; +0xcb, 0x18000aacb\npop     rdi                                                            ; +0xcf, 0x18000aacf\njmp     qword ptr [rax+418h]                                           ; +0xd0, 0x18000aad0", "xrefs": ["cocos2d::extension::CCControlSlider::ccTouchEnded @ 0x18000a785", "<???> @ 0x180030334", "<???> @ 0x180030344", "<???> @ 0x180032408", "<???> @ 0x18004bae0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}