{"type": "func", "start": 6442486688, "end": 6442486814, "name": "cocos2d::extension::CCControlHuePicker::ccTouchBegan", "pseudocode": "// \n// cocos2d::extension::CCControlHuePicker::ccTouchBegan from 0x180008ba0 to 0x180008c1e (126 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180024910\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049918\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nchar __fastcall cocos2d::extension::CCControlHuePicker::ccTouchBegan(\n        cocos2d::extension::CCControlHuePicker *this,\n        struct cocos2d::CCTouch *a2,\n        struct cocos2d::CCEvent *a3)\n{\n  __int64 *v3; // rbx\n  float *v5; // rax\n  char v7; // [rsp+30h] [rbp+8h] BYREF\n  char v8; // [rsp+48h] [rbp+20h] BYREF\n\n  v3 = (__int64 *)((char *)this - 320);\n  if ( !(*(unsigned __int8 (__fastcall **)(char *, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))(*((_QWORD *)this - 40) + 1024LL))(\n          (char *)this - 320,\n          a2,\n          a3)\n    || !(*(unsigned __int8 (__fastcall **)(__int64 *))(*v3 + 328))(v3) )\n  {\n    return 0;\n  }\n  (*(void (__fastcall **)(__int64 *, char *, struct cocos2d::CCTouch *))(*v3 + 1096))(v3, &v7, a2);\n  v5 = (float *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, (const struct cocos2d::CCPoint *)&v7);\n  return cocos2d::extension::CCControlHuePicker::checkSliderPosition(v3, v5, 0);\n}", "assembly": "; \n; cocos2d::extension::CCControlHuePicker::ccTouchBegan from 0x180008ba0 to 0x180008c1e (126 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180024910\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049918\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180008ba0\npush    rdi                                                            ; +0x5, 0x180008ba5\nsub     rsp, 20h                                                       ; +0x6, 0x180008ba6\nlea     rbx, [rcx-140h]                                                ; +0xa, 0x180008baa\nmov     rdi, rdx                                                       ; +0x11, 0x180008bb1\nmov     rax, [rbx]                                                     ; +0x14, 0x180008bb4\nmov     rcx, rbx                                                       ; +0x17, 0x180008bb7\ncall    qword ptr [rax+400h]                                           ; +0x1a, 0x180008bba\ntest    al, al                                                         ; +0x20, 0x180008bc0\njz      short loc_180008C11                                            ; +0x22, 0x180008bc2\nmov     rax, [rbx]                                                     ; +0x24, 0x180008bc4\nmov     rcx, rbx                                                       ; +0x27, 0x180008bc7\ncall    qword ptr [rax+148h]                                           ; +0x2a, 0x180008bca\ntest    al, al                                                         ; +0x30, 0x180008bd0\njz      short loc_180008C11                                            ; +0x32, 0x180008bd2\nmov     rax, [rbx]                                                     ; +0x34, 0x180008bd4\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x37, 0x180008bd7\nmov     r8, rdi                                                        ; +0x3c, 0x180008bdc\nmov     rcx, rbx                                                       ; +0x3f, 0x180008bdf\ncall    qword ptr [rax+448h]                                           ; +0x42, 0x180008be2\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x48, 0x180008be8\nlea     rcx, [rsp+28h+arg_18]                                          ; +0x4d, 0x180008bed\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x52, 0x180008bf2\nxor     r8d, r8d                                                       ; +0x58, 0x180008bf8\nmov     rcx, rbx                                                       ; +0x5b, 0x180008bfb\nmov     rdx, rax                                                       ; +0x5e, 0x180008bfe\ncall    ?checkSliderPosition@CCControlHuePicker@extension@cocos2d@@IEAA_NVCCPoint@3@_N@Z; cocos2d::extension::CCControlHuePicker::checkSliderPosition(cocos2d::CCPoint,bool) ; +0x61, 0x180008c01\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x66, 0x180008c06\nadd     rsp, 20h                                                       ; +0x6b, 0x180008c0b\npop     rdi                                                            ; +0x6f, 0x180008c0f\nretn                                                                   ; +0x70, 0x180008c10\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x71, 0x180008c11\nxor     al, al                                                         ; +0x76, 0x180008c16\nadd     rsp, 20h                                                       ; +0x78, 0x180008c18\npop     rdi                                                            ; +0x7c, 0x180008c1c\nretn                                                                   ; +0x7d, 0x180008c1d", "xrefs": ["<???> @ 0x180024910", "<???> @ 0x18002fdf8", "<???> @ 0x180049918"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}