{"type": "func", "start": 6442485328, "end": 6442485454, "name": "cocos2d::extension::CCControlHuePicker::ccTouchBegan", "pseudocode": "// \n// cocos2d::extension::CCControlHuePicker::ccTouchBegan from 0x180008650 to 0x1800086ce (126 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180026e88\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b84c\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:36 +0000\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  char *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 = (char *)this - 320;\n  if ( !(*(unsigned __int8 (__fastcall **)(char *, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))(*((_QWORD *)this - 40) + 1040LL))(\n          (char *)this - 320,\n          a2,\n          a3)\n    || !(*(unsigned __int8 (__fastcall **)(char *))(*(_QWORD *)v3 + 344LL))(v3) )\n  {\n    return 0;\n  }\n  (*(void (__fastcall **)(char *, char *, struct cocos2d::CCTouch *))(*(_QWORD *)v3 + 1112LL))(v3, &v7, a2);\n  v5 = (float *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, (const struct cocos2d::CCPoint *)&v7);\n  return cocos2d::extension::CCControlHuePicker::checkSliderPosition((__int64)v3, v5, 0);\n}", "assembly": "; \n; cocos2d::extension::CCControlHuePicker::ccTouchBegan from 0x180008650 to 0x1800086ce (126 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180026e88\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b84c\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:36 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180008650\npush    rdi                                                            ; +0x5, 0x180008655\nsub     rsp, 20h                                                       ; +0x6, 0x180008656\nlea     rbx, [rcx-140h]                                                ; +0xa, 0x18000865a\nmov     rdi, rdx                                                       ; +0x11, 0x180008661\nmov     rax, [rbx]                                                     ; +0x14, 0x180008664\nmov     rcx, rbx                                                       ; +0x17, 0x180008667\ncall    qword ptr [rax+410h]                                           ; +0x1a, 0x18000866a\ntest    al, al                                                         ; +0x20, 0x180008670\njz      short loc_1800086C1                                            ; +0x22, 0x180008672\nmov     rax, [rbx]                                                     ; +0x24, 0x180008674\nmov     rcx, rbx                                                       ; +0x27, 0x180008677\ncall    qword ptr [rax+158h]                                           ; +0x2a, 0x18000867a\ntest    al, al                                                         ; +0x30, 0x180008680\njz      short loc_1800086C1                                            ; +0x32, 0x180008682\nmov     rax, [rbx]                                                     ; +0x34, 0x180008684\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x37, 0x180008687\nmov     r8, rdi                                                        ; +0x3c, 0x18000868c\nmov     rcx, rbx                                                       ; +0x3f, 0x18000868f\ncall    qword ptr [rax+458h]                                           ; +0x42, 0x180008692\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x48, 0x180008698\nlea     rcx, [rsp+28h+arg_18]                                          ; +0x4d, 0x18000869d\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x52, 0x1800086a2\nxor     r8d, r8d                                                       ; +0x58, 0x1800086a8\nmov     rcx, rbx                                                       ; +0x5b, 0x1800086ab\nmov     rdx, rax                                                       ; +0x5e, 0x1800086ae\ncall    ?checkSliderPosition@CCControlHuePicker@extension@cocos2d@@IEAA_NVCCPoint@3@_N@Z; cocos2d::extension::CCControlHuePicker::checkSliderPosition(cocos2d::CCPoint,bool) ; +0x61, 0x1800086b1\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x66, 0x1800086b6\nadd     rsp, 20h                                                       ; +0x6b, 0x1800086bb\npop     rdi                                                            ; +0x6f, 0x1800086bf\nretn                                                                   ; +0x70, 0x1800086c0\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x71, 0x1800086c1\nxor     al, al                                                         ; +0x76, 0x1800086c6\nadd     rsp, 20h                                                       ; +0x78, 0x1800086c8\npop     rdi                                                            ; +0x7c, 0x1800086cc\nretn                                                                   ; +0x7d, 0x1800086cd", "xrefs": ["<???> @ 0x180026e88", "<???> @ 0x180032408", "<???> @ 0x18004b84c"], "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"}