{"type": "func", "start": 6442483792, "end": 6442483909, "name": "cocos2d::extension::CCControlHuePicker::create", "pseudocode": "// \n// cocos2d::extension::CCControlHuePicker::create from 0x180008050 to 0x1800080c5 (117 bytes)\n// \n// 4 xrefs:\n// > cocos2d::extension::CCControlColourPicker::init @ 0x180007820\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b7bc\n// > <???> @ 0x18004b7c8\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\n// Hidden C++ exception states: #wind=1\ncocos2d::extension::CCControlHuePicker *__fastcall cocos2d::extension::CCControlHuePicker::create(\n        __int64 a1,\n        const struct cocos2d::CCPoint *a2)\n{\n  cocos2d::extension::CCControlHuePicker *v4; // rdi\n  __int64 v5; // rbx\n  __int64 v6; // rax\n  cocos2d::extension::CCControlHuePicker *v8; // [rsp+40h] [rbp+18h] BYREF\n\n  v8 = (cocos2d::extension::CCControlHuePicker *)sub_18001F040(0x1F8u);\n  v4 = cocos2d::extension::CCControlHuePicker::CCControlHuePicker(v8);\n  v5 = *(_QWORD *)v4;\n  v6 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, a2);\n  (*(void (__fastcall **)(cocos2d::extension::CCControlHuePicker *, __int64, __int64))(v5 + 1144))(v4, a1, v6);\n  cocos2d::CCObject::autorelease(v4);\n  return v4;\n}", "assembly": "; \n; cocos2d::extension::CCControlHuePicker::create from 0x180008050 to 0x1800080c5 (117 bytes)\n; \n; 4 xrefs:\n; > cocos2d::extension::CCControlColourPicker::init @ 0x180007820\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b7bc\n; > <???> @ 0x18004b7c8\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_0], rbx                                               ; +0x0, 0x180008050\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180008055\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x18000805a\npush    rdi                                                            ; +0xf, 0x18000805f\nsub     rsp, 20h                                                       ; +0x10, 0x180008060\nmov     rsi, rdx                                                       ; +0x14, 0x180008064\nmov     rbp, rcx                                                       ; +0x17, 0x180008067\nmov     ecx, 1F8h; Size                                                ; +0x1a, 0x18000806a\ncall    sub_18001F040                                                  ; +0x1f, 0x18000806f\nmov     [rsp+28h+arg_10], rax                                          ; +0x24, 0x180008074\nmov     rcx, rax; this                                                 ; +0x29, 0x180008079\ncall    ??0CCControlHuePicker@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControlHuePicker::CCControlHuePicker(void) ; +0x2c, 0x18000807c\nmov     rdi, rax                                                       ; +0x31, 0x180008081\nmov     rbx, [rax]                                                     ; +0x34, 0x180008084\nmov     rdx, rsi                                                       ; +0x37, 0x180008087\nlea     rcx, [rsp+28h+arg_10]                                          ; +0x3a, 0x18000808a\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3f, 0x18000808f\nmov     r8, rax                                                        ; +0x45, 0x180008095\nmov     rdx, rbp                                                       ; +0x48, 0x180008098\nmov     rcx, rdi                                                       ; +0x4b, 0x18000809b\ncall    qword ptr [rbx+478h]                                           ; +0x4e, 0x18000809e\nmov     rcx, rdi                                                       ; +0x54, 0x1800080a4\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x57, 0x1800080a7\nmov     rax, rdi                                                       ; +0x5d, 0x1800080ad\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x60, 0x1800080b0\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x65, 0x1800080b5\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x6a, 0x1800080ba\nadd     rsp, 20h                                                       ; +0x6f, 0x1800080bf\npop     rdi                                                            ; +0x73, 0x1800080c3\nretn                                                                   ; +0x74, 0x1800080c4", "xrefs": ["cocos2d::extension::CCControlColourPicker::init @ 0x180007820", "<???> @ 0x180032408", "<???> @ 0x18004b7bc", "<???> @ 0x18004b7c8"], "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"}