{"type": "func", "start": 6442494144, "end": 6442494316, "name": "cocos2d::extension::CCControlSlider::sliderBegan", "pseudocode": "// \n// cocos2d::extension::CCControlSlider::sliderBegan from 0x18000a8c0 to 0x18000a96c (172 bytes)\n// \n// 3 xrefs:\n// > cocos2d::extension::CCControlSlider::ccTouchBegan @ 0x18000a67e\n// > <???> @ 0x180032408\n// > <???> @ 0x18004bac8\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::sliderBegan(__int64 a1, const struct cocos2d::CCPoint *a2)\n{\n  const struct cocos2d::CCPoint *v2; // rbx\n  char v5; // [rsp+30h] [rbp+8h] BYREF\n\n  v2 = a2;\n  LOBYTE(a2) = 1;\n  (*(void (__fastcall **)(__int64, const struct cocos2d::CCPoint *))(*(_QWORD *)a1 + 1048LL))(a1, a2);\n  (**(void (__fastcall ***)(__int64, void *))(*(_QWORD *)(a1 + 496) + 320LL))(\n    *(_QWORD *)(a1 + 496) + 320LL,\n    &unk_180025A1C);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, v2);\n  (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 512) + 320LL))(*(_QWORD *)(a1 + 512));\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1128LL))(a1);\n}", "assembly": "; \n; cocos2d::extension::CCControlSlider::sliderBegan from 0x18000a8c0 to 0x18000a96c (172 bytes)\n; \n; 3 xrefs:\n; > cocos2d::extension::CCControlSlider::ccTouchBegan @ 0x18000a67e\n; > <???> @ 0x180032408\n; > <???> @ 0x18004bac8\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_8], rbx                                               ; +0x0, 0x18000a8c0\npush    rdi                                                            ; +0x5, 0x18000a8c5\nsub     rsp, 20h                                                       ; +0x6, 0x18000a8c6\nmov     rax, [rcx]                                                     ; +0xa, 0x18000a8ca\nmov     rbx, rdx                                                       ; +0xd, 0x18000a8cd\nmov     dl, 1                                                          ; +0x10, 0x18000a8d0\nmov     rdi, rcx                                                       ; +0x12, 0x18000a8d2\ncall    qword ptr [rax+418h]                                           ; +0x15, 0x18000a8d5\nmov     rcx, [rdi+1F0h]                                                ; +0x1b, 0x18000a8db\nlea     rdx, unk_180025A1C                                             ; +0x22, 0x18000a8e2\nadd     rcx, 140h                                                      ; +0x29, 0x18000a8e9\nmov     rax, [rcx]                                                     ; +0x30, 0x18000a8f0\ncall    qword ptr [rax]                                                ; +0x33, 0x18000a8f3\nmov     rdx, rbx                                                       ; +0x35, 0x18000a8f5\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x38, 0x18000a8f8\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3d, 0x18000a8fd\nmov     rcx, [rdi+200h]                                                ; +0x43, 0x18000a903\nmov     rbx, rax                                                       ; +0x4a, 0x18000a90a\nmov     rdx, [rcx]                                                     ; +0x4d, 0x18000a90d\ncall    qword ptr [rdx+140h]                                           ; +0x50, 0x18000a910\nmovss   xmm1, dword ptr [rdi+1DCh]                                     ; +0x56, 0x18000a916\nmovss   xmm0, dword ptr [rdi+1E0h]                                     ; +0x5e, 0x18000a91e\nmovss   xmm2, dword ptr [rbx]                                          ; +0x66, 0x18000a926\nsubss   xmm0, xmm1                                                     ; +0x6a, 0x18000a92a\ndivss   xmm2, dword ptr [rax]                                          ; +0x6e, 0x18000a92e\nmulss   xmm2, xmm0                                                     ; +0x72, 0x18000a932\nmovss   xmm0, dword ptr [rdi+1E4h]                                     ; +0x76, 0x18000a936\naddss   xmm2, xmm1                                                     ; +0x7e, 0x18000a93e\nminss   xmm2, dword ptr [rdi+1E8h]                                     ; +0x82, 0x18000a942\ncomiss  xmm2, xmm0                                                     ; +0x8a, 0x18000a94a\nja      short loc_18000A952                                            ; +0x8d, 0x18000a94d\nmovaps  xmm2, xmm0                                                     ; +0x8f, 0x18000a94f\nmov     rax, [rdi]                                                     ; +0x92, 0x18000a952\nmovaps  xmm1, xmm2                                                     ; +0x95, 0x18000a955\nmov     rcx, rdi                                                       ; +0x98, 0x18000a958\ncall    qword ptr [rax+468h]                                           ; +0x9b, 0x18000a95b\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xa1, 0x18000a961\nadd     rsp, 20h                                                       ; +0xa6, 0x18000a966\npop     rdi                                                            ; +0xaa, 0x18000a96a\nretn                                                                   ; +0xab, 0x18000a96b", "xrefs": ["cocos2d::extension::CCControlSlider::ccTouchBegan @ 0x18000a67e", "<???> @ 0x180032408", "<???> @ 0x18004bac8"], "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"}