{"type": "func", "start": 4299279376, "end": 4299279568, "name": "ConfigureHSVWidget::create", "pseudocode": "// \n// ConfigureHSVWidget::create from 0x10041cc10 to 0x10041ccd0 (192 bytes)\n// \n// 3 xrefs:\n// > HSVLiveOverlay::createHSVWidget @ 0x100255076\n// > SetupPulsePopup::init @ 0x1003960e5\n// > ColorSelectPopup::init @ 0x10080568e\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:30:13 +0000\n// \n\n_QWORD *__fastcall ConfigureHSVWidget::create(__int64 a1, unsigned __int8 a2, unsigned __int8 a3, double a4)\n{\n  _QWORD *v5; // rbx\n\n  v5 = operator new(0x1C8u);\n  cocos2d::CCNode::CCNode((__int64)v5);\n  *v5 = off_100B3FF00;\n  v5[40] = off_100B402B8;\n  *((_BYTE *)v5 + 392) = 0;\n  v5[50] = 0;\n  *((_WORD *)v5 + 204) = 0;\n  v5[52] = 0;\n  *((_OWORD *)v5 + 27) = 0;\n  *((_BYTE *)v5 + 448) = 0;\n  if ( (unsigned __int8)ConfigureHSVWidget::init(v5, a1, a2, a3, a4) )\n  {\n    cocos2d::CCObject::autorelease(v5);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v5 + 16LL))(v5);\n    return nullptr;\n  }\n  return v5;\n}", "assembly": "; \n; ConfigureHSVWidget::create from 0x10041cc10 to 0x10041ccd0 (192 bytes)\n; \n; 3 xrefs:\n; > HSVLiveOverlay::createHSVWidget @ 0x100255076\n; > SetupPulsePopup::init @ 0x1003960e5\n; > ColorSelectPopup::init @ 0x10080568e\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:30:13 +0000\n; \npush    rbp                                                            ; +0x0, 0x10041cc10\nmov     rbp, rsp                                                       ; +0x1, 0x10041cc11\npush    r15                                                            ; +0x4, 0x10041cc14\npush    r14                                                            ; +0x6, 0x10041cc16\npush    r12                                                            ; +0x8, 0x10041cc18\npush    rbx                                                            ; +0xa, 0x10041cc1a\nsub     rsp, 10h                                                       ; +0xb, 0x10041cc1b\nmov     r15d, edx                                                      ; +0xf, 0x10041cc1f\nmov     r12d, esi                                                      ; +0x12, 0x10041cc22\nmov     r14, rdi                                                       ; +0x15, 0x10041cc25\nmovaps  [rbp+var_30], xmm0                                             ; +0x18, 0x10041cc28\nmov     edi, 1C8h; __sz                                                ; +0x1c, 0x10041cc2c\ncall    __Znwm; operator new(ulong)                                    ; +0x21, 0x10041cc31\nmov     rbx, rax                                                       ; +0x26, 0x10041cc36\nmov     rdi, rax                                                       ; +0x29, 0x10041cc39\ncall    cocos2d__CCNode__CCNode                                        ; +0x2c, 0x10041cc3c\nlea     rax, off_100B3FF00                                             ; +0x31, 0x10041cc41\nmov     [rbx], rax                                                     ; +0x38, 0x10041cc48\nlea     rax, off_100B402B8                                             ; +0x3b, 0x10041cc4b\nmov     [rbx+140h], rax                                                ; +0x42, 0x10041cc52\nmov     byte ptr [rbx+188h], 0                                         ; +0x49, 0x10041cc59\nmov     qword ptr [rbx+190h], 0                                        ; +0x50, 0x10041cc60\nmov     word ptr [rbx+198h], 0                                         ; +0x5b, 0x10041cc6b\nmov     qword ptr [rbx+1A0h], 0                                        ; +0x64, 0x10041cc74\nxorps   xmm0, xmm0                                                     ; +0x6f, 0x10041cc7f\nmovups  xmmword ptr [rbx+1B0h], xmm0                                   ; +0x72, 0x10041cc82\nmov     byte ptr [rbx+1C0h], 0                                         ; +0x79, 0x10041cc89\nmovzx   edx, r12b                                                      ; +0x80, 0x10041cc90\nmovzx   ecx, r15b                                                      ; +0x84, 0x10041cc94\nmov     rdi, rbx                                                       ; +0x88, 0x10041cc98\nmovaps  xmm0, [rbp+var_30]                                             ; +0x8b, 0x10041cc9b\nmov     rsi, r14                                                       ; +0x8f, 0x10041cc9f\ncall    ConfigureHSVWidget__init                                       ; +0x92, 0x10041cca2\ntest    al, al                                                         ; +0x97, 0x10041cca7\njz      short loc_10041CCB5                                            ; +0x99, 0x10041cca9\nmov     rdi, rbx                                                       ; +0x9b, 0x10041ccab\ncall    cocos2d__CCObject__autorelease                                 ; +0x9e, 0x10041ccae\njmp     short loc_10041CCC0                                            ; +0xa3, 0x10041ccb3\nmov     rax, [rbx]                                                     ; +0xa5, 0x10041ccb5\nmov     rdi, rbx                                                       ; +0xa8, 0x10041ccb8\ncall    qword ptr [rax+10h]                                            ; +0xab, 0x10041ccbb\nxor     ebx, ebx                                                       ; +0xae, 0x10041ccbe\nmov     rax, rbx                                                       ; +0xb0, 0x10041ccc0\nadd     rsp, 10h                                                       ; +0xb3, 0x10041ccc3\npop     rbx                                                            ; +0xb7, 0x10041ccc7\npop     r12                                                            ; +0xb8, 0x10041ccc8\npop     r14                                                            ; +0xba, 0x10041ccca\npop     r15                                                            ; +0xbc, 0x10041cccc\npop     rbp                                                            ; +0xbe, 0x10041ccce\nretn                                                                   ; +0xbf, 0x10041cccf", "xrefs": ["HSVLiveOverlay::createHSVWidget @ 0x100255076", "SetupPulsePopup::init @ 0x1003960e5", "ColorSelectPopup::init @ 0x10080568e"], "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"}