{"type": "func", "start": 4299356736, "end": 4299356911, "name": "ConfigureHSVWidget::create", "pseudocode": "// \n// ConfigureHSVWidget::create from 0x10042fa40 to 0x10042faef (175 bytes)\n// \n// 3 xrefs:\n// > HSVLiveOverlay::createHSVWidget @ 0x10026af96\n// > SetupPulsePopup::init @ 0x1003acb93\n// > ColorSelectPopup::init @ 0x10072688b\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\nConfigureHSVWidget *__fastcall ConfigureHSVWidget::create(cocos2d::ccHSVValue a1, bool a2, bool a3)\n{\n  ConfigureHSVWidget *v4; // rbx\n\n  v4 = (ConfigureHSVWidget *)operator new(0x1A8u);\n  cocos2d::CCNode::CCNode((__int64)v4);\n  v4->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ConfigureHSVWidget_vtbl *)off_1009361C8;\n  v4->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_100936560;\n  v4->m_mixed = 0;\n  v4->m_delegate = nullptr;\n  *(_WORD *)&v4->m_addInputs = 0;\n  v4->m_inputs = nullptr;\n  if ( ConfigureHSVWidget::init(v4, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n  }\n  else\n  {\n    ((void (__fastcall *)(ConfigureHSVWidget *))v4->~ConfigureHSVWidget_0)(v4);\n    return nullptr;\n  }\n  return v4;\n}", "assembly": "; \n; ConfigureHSVWidget::create from 0x10042fa40 to 0x10042faef (175 bytes)\n; \n; 3 xrefs:\n; > HSVLiveOverlay::createHSVWidget @ 0x10026af96\n; > SetupPulsePopup::init @ 0x1003acb93\n; > ColorSelectPopup::init @ 0x10072688b\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\npush    rbp                                                            ; +0x0, 0x10042fa40\nmov     rbp, rsp                                                       ; +0x1, 0x10042fa41\npush    r15                                                            ; +0x4, 0x10042fa44\npush    r14                                                            ; +0x6, 0x10042fa46\npush    r12                                                            ; +0x8, 0x10042fa48\npush    rbx                                                            ; +0xa, 0x10042fa4a\nsub     rsp, 10h                                                       ; +0xb, 0x10042fa4b\nmov     r15d, edx                                                      ; +0xf, 0x10042fa4f\nmov     r12d, esi                                                      ; +0x12, 0x10042fa52\nmov     r14, rdi                                                       ; +0x15, 0x10042fa55\nmovaps  [rbp+var_30], xmm0                                             ; +0x18, 0x10042fa58\nmov     edi, 1A8h; __sz                                                ; +0x1c, 0x10042fa5c\ncall    __Znwm; operator new(ulong)                                    ; +0x21, 0x10042fa61\nmov     rbx, rax                                                       ; +0x26, 0x10042fa66\nmov     rdi, rax                                                       ; +0x29, 0x10042fa69\ncall    cocos2d__CCNode__CCNode                                        ; +0x2c, 0x10042fa6c\nlea     rax, off_1009361C8                                             ; +0x31, 0x10042fa71\nmov     [rbx], rax                                                     ; +0x38, 0x10042fa78\nlea     rax, off_100936560                                             ; +0x3b, 0x10042fa7b\nmov     [rbx+140h], rax                                                ; +0x42, 0x10042fa82\nmov     byte ptr [rbx+188h], 0                                         ; +0x49, 0x10042fa89\nmov     qword ptr [rbx+190h], 0                                        ; +0x50, 0x10042fa90\nmov     word ptr [rbx+198h], 0                                         ; +0x5b, 0x10042fa9b\nmov     qword ptr [rbx+1A0h], 0                                        ; +0x64, 0x10042faa4\nmovzx   edx, r12b                                                      ; +0x6f, 0x10042faaf\nmovzx   ecx, r15b                                                      ; +0x73, 0x10042fab3\nmov     rdi, rbx                                                       ; +0x77, 0x10042fab7\nmovaps  xmm0, [rbp+var_30]                                             ; +0x7a, 0x10042faba\nmov     rsi, r14                                                       ; +0x7e, 0x10042fabe\ncall    ConfigureHSVWidget__init                                       ; +0x81, 0x10042fac1\ntest    al, al                                                         ; +0x86, 0x10042fac6\njz      short loc_10042FAD4                                            ; +0x88, 0x10042fac8\nmov     rdi, rbx                                                       ; +0x8a, 0x10042faca\ncall    cocos2d__CCObject__autorelease                                 ; +0x8d, 0x10042facd\njmp     short loc_10042FADF                                            ; +0x92, 0x10042fad2\nmov     rax, [rbx]                                                     ; +0x94, 0x10042fad4\nmov     rdi, rbx                                                       ; +0x97, 0x10042fad7\ncall    qword ptr [rax+10h]                                            ; +0x9a, 0x10042fada\nxor     ebx, ebx                                                       ; +0x9d, 0x10042fadd\nmov     rax, rbx                                                       ; +0x9f, 0x10042fadf\nadd     rsp, 10h                                                       ; +0xa2, 0x10042fae2\npop     rbx                                                            ; +0xa6, 0x10042fae6\npop     r12                                                            ; +0xa7, 0x10042fae7\npop     r14                                                            ; +0xa9, 0x10042fae9\npop     r15                                                            ; +0xab, 0x10042faeb\npop     rbp                                                            ; +0xad, 0x10042faed\nretn                                                                   ; +0xae, 0x10042faee", "xrefs": ["HSVLiveOverlay::createHSVWidget @ 0x10026af96", "SetupPulsePopup::init @ 0x1003acb93", "ColorSelectPopup::init @ 0x10072688b"], "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"}