{"type": "func", "start": 6442490944, "end": 6442491061, "name": "cocos2d::extension::CCControlSaturationBrightnessPicker::create", "pseudocode": "// \n// cocos2d::extension::CCControlSaturationBrightnessPicker::create from 0x180009c40 to 0x180009cb5 (117 bytes)\n// \n// 3 xrefs:\n// > cocos2d::extension::CCControlColourPicker::init @ 0x180007da0\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049a5c\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\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 *)operator new(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 + 1112))(\n    v4,\n    a1,\n    v6);\n  cocos2d::CCObject::autorelease(v4);\n  return v4;\n}", "assembly": "; \n; cocos2d::extension::CCControlSaturationBrightnessPicker::create from 0x180009c40 to 0x180009cb5 (117 bytes)\n; \n; 3 xrefs:\n; > cocos2d::extension::CCControlColourPicker::init @ 0x180007da0\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049a5c\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_0], rbx                                               ; +0x0, 0x180009c40\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180009c45\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x180009c4a\npush    rdi                                                            ; +0xf, 0x180009c4f\nsub     rsp, 20h                                                       ; +0x10, 0x180009c50\nmov     rsi, rdx                                                       ; +0x14, 0x180009c54\nmov     rbp, rcx                                                       ; +0x17, 0x180009c57\nmov     ecx, 210h; Size                                                ; +0x1a, 0x180009c5a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1f, 0x180009c5f\nmov     [rsp+28h+arg_10], rax                                          ; +0x24, 0x180009c64\nmov     rcx, rax; this                                                 ; +0x29, 0x180009c69\ncall    ??0CCControlSaturationBrightnessPicker@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControlSaturationBrightnessPicker::CCControlSaturationBrightnessPicker(void) ; +0x2c, 0x180009c6c\nmov     rdi, rax                                                       ; +0x31, 0x180009c71\nmov     rbx, [rax]                                                     ; +0x34, 0x180009c74\nmov     rdx, rsi                                                       ; +0x37, 0x180009c77\nlea     rcx, [rsp+28h+arg_10]                                          ; +0x3a, 0x180009c7a\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3f, 0x180009c7f\nmov     r8, rax                                                        ; +0x45, 0x180009c85\nmov     rdx, rbp                                                       ; +0x48, 0x180009c88\nmov     rcx, rdi                                                       ; +0x4b, 0x180009c8b\ncall    qword ptr [rbx+458h]                                           ; +0x4e, 0x180009c8e\nmov     rcx, rdi                                                       ; +0x54, 0x180009c94\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x57, 0x180009c97\nmov     rax, rdi                                                       ; +0x5d, 0x180009c9d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x60, 0x180009ca0\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x65, 0x180009ca5\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x6a, 0x180009caa\nadd     rsp, 20h                                                       ; +0x6f, 0x180009caf\npop     rdi                                                            ; +0x73, 0x180009cb3\nretn                                                                   ; +0x74, 0x180009cb4", "xrefs": ["cocos2d::extension::CCControlColourPicker::init @ 0x180007da0", "<???> @ 0x18002fdf8", "<???> @ 0x180049a5c"], "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"}