{"type": "func", "start": 6442489584, "end": 6442489701, "name": "cocos2d::extension::CCControlSaturationBrightnessPicker::create", "pseudocode": "// \n// cocos2d::extension::CCControlSaturationBrightnessPicker::create from 0x1800096f0 to 0x180009765 (117 bytes)\n// \n// 3 xrefs:\n// > cocos2d::extension::CCControlColourPicker::init @ 0x18000785b\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b990\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// Hidden C++ exception states: #wind=1\ncocos2d::extension::CCControlSaturationBrightnessPicker *__fastcall cocos2d::extension::CCControlSaturationBrightnessPicker::create(\n        __int64 a1,\n        const struct cocos2d::CCPoint *a2)\n{\n  cocos2d::extension::CCControlSaturationBrightnessPicker *v4; // rdi\n  __int64 v5; // rbx\n  __int64 v6; // rax\n  cocos2d::extension::CCControlSaturationBrightnessPicker *v8; // [rsp+40h] [rbp+18h] BYREF\n\n  v8 = (cocos2d::extension::CCControlSaturationBrightnessPicker *)sub_18001F040(0x210u);\n  v4 = cocos2d::extension::CCControlSaturationBrightnessPicker::CCControlSaturationBrightnessPicker(v8);\n  v5 = *(_QWORD *)v4;\n  v6 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, a2);\n  (*(void (__fastcall **)(cocos2d::extension::CCControlSaturationBrightnessPicker *, __int64, __int64))(v5 + 1128))(\n    v4,\n    a1,\n    v6);\n  cocos2d::CCObject::autorelease(v4);\n  return v4;\n}", "assembly": "; \n; cocos2d::extension::CCControlSaturationBrightnessPicker::create from 0x1800096f0 to 0x180009765 (117 bytes)\n; \n; 3 xrefs:\n; > cocos2d::extension::CCControlColourPicker::init @ 0x18000785b\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b990\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_0], rbx                                               ; +0x0, 0x1800096f0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800096f5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x1800096fa\npush    rdi                                                            ; +0xf, 0x1800096ff\nsub     rsp, 20h                                                       ; +0x10, 0x180009700\nmov     rsi, rdx                                                       ; +0x14, 0x180009704\nmov     rbp, rcx                                                       ; +0x17, 0x180009707\nmov     ecx, 210h; Size                                                ; +0x1a, 0x18000970a\ncall    sub_18001F040                                                  ; +0x1f, 0x18000970f\nmov     [rsp+28h+arg_10], rax                                          ; +0x24, 0x180009714\nmov     rcx, rax; this                                                 ; +0x29, 0x180009719\ncall    ??0CCControlSaturationBrightnessPicker@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControlSaturationBrightnessPicker::CCControlSaturationBrightnessPicker(void) ; +0x2c, 0x18000971c\nmov     rdi, rax                                                       ; +0x31, 0x180009721\nmov     rbx, [rax]                                                     ; +0x34, 0x180009724\nmov     rdx, rsi                                                       ; +0x37, 0x180009727\nlea     rcx, [rsp+28h+arg_10]                                          ; +0x3a, 0x18000972a\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3f, 0x18000972f\nmov     r8, rax                                                        ; +0x45, 0x180009735\nmov     rdx, rbp                                                       ; +0x48, 0x180009738\nmov     rcx, rdi                                                       ; +0x4b, 0x18000973b\ncall    qword ptr [rbx+468h]                                           ; +0x4e, 0x18000973e\nmov     rcx, rdi                                                       ; +0x54, 0x180009744\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x57, 0x180009747\nmov     rax, rdi                                                       ; +0x5d, 0x18000974d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x60, 0x180009750\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x65, 0x180009755\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x6a, 0x18000975a\nadd     rsp, 20h                                                       ; +0x6f, 0x18000975f\npop     rdi                                                            ; +0x73, 0x180009763\nretn                                                                   ; +0x74, 0x180009764", "xrefs": ["cocos2d::extension::CCControlColourPicker::init @ 0x18000785b", "<???> @ 0x180032408", "<???> @ 0x18004b990"], "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"}