{"type": "func", "start": 6442491056, "end": 6442491182, "name": "cocos2d::extension::CCControlSaturationBrightnessPicker::ccTouchBegan", "pseudocode": "// \n// cocos2d::extension::CCControlSaturationBrightnessPicker::ccTouchBegan from 0x180009cb0 to 0x180009d2e (126 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180027a60\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b9d8\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\nchar __fastcall cocos2d::extension::CCControlSaturationBrightnessPicker::ccTouchBegan(\n        cocos2d::extension::CCControlSaturationBrightnessPicker *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::CCControlSaturationBrightnessPicker::checkSliderPosition((__int64)v3, v5, 0);\n}", "assembly": "; \n; cocos2d::extension::CCControlSaturationBrightnessPicker::ccTouchBegan from 0x180009cb0 to 0x180009d2e (126 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180027a60\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b9d8\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, 0x180009cb0\npush    rdi                                                            ; +0x5, 0x180009cb5\nsub     rsp, 20h                                                       ; +0x6, 0x180009cb6\nlea     rbx, [rcx-140h]                                                ; +0xa, 0x180009cba\nmov     rdi, rdx                                                       ; +0x11, 0x180009cc1\nmov     rax, [rbx]                                                     ; +0x14, 0x180009cc4\nmov     rcx, rbx                                                       ; +0x17, 0x180009cc7\ncall    qword ptr [rax+410h]                                           ; +0x1a, 0x180009cca\ntest    al, al                                                         ; +0x20, 0x180009cd0\njz      short loc_180009D21                                            ; +0x22, 0x180009cd2\nmov     rax, [rbx]                                                     ; +0x24, 0x180009cd4\nmov     rcx, rbx                                                       ; +0x27, 0x180009cd7\ncall    qword ptr [rax+158h]                                           ; +0x2a, 0x180009cda\ntest    al, al                                                         ; +0x30, 0x180009ce0\njz      short loc_180009D21                                            ; +0x32, 0x180009ce2\nmov     rax, [rbx]                                                     ; +0x34, 0x180009ce4\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x37, 0x180009ce7\nmov     r8, rdi                                                        ; +0x3c, 0x180009cec\nmov     rcx, rbx                                                       ; +0x3f, 0x180009cef\ncall    qword ptr [rax+458h]                                           ; +0x42, 0x180009cf2\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x48, 0x180009cf8\nlea     rcx, [rsp+28h+arg_18]                                          ; +0x4d, 0x180009cfd\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x52, 0x180009d02\nxor     r8d, r8d                                                       ; +0x58, 0x180009d08\nmov     rcx, rbx                                                       ; +0x5b, 0x180009d0b\nmov     rdx, rax                                                       ; +0x5e, 0x180009d0e\ncall    ?checkSliderPosition@CCControlSaturationBrightnessPicker@extension@cocos2d@@IEAA_NVCCPoint@3@_N@Z; cocos2d::extension::CCControlSaturationBrightnessPicker::checkSliderPosition(cocos2d::CCPoint,bool) ; +0x61, 0x180009d11\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x66, 0x180009d16\nadd     rsp, 20h                                                       ; +0x6b, 0x180009d1b\npop     rdi                                                            ; +0x6f, 0x180009d1f\nretn                                                                   ; +0x70, 0x180009d20\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x71, 0x180009d21\nxor     al, al                                                         ; +0x76, 0x180009d26\nadd     rsp, 20h                                                       ; +0x78, 0x180009d28\npop     rdi                                                            ; +0x7c, 0x180009d2c\nretn                                                                   ; +0x7d, 0x180009d2d", "xrefs": ["<???> @ 0x180027a60", "<???> @ 0x180032408", "<???> @ 0x18004b9d8"], "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"}