{"type": "func", "start": 5369326096, "end": 5369326298, "name": "ConfigureHSVWidget::create", "pseudocode": "// \n// ConfigureHSVWidget::create from 0x140096a10 to 0x140096ada (202 bytes)\n// \n// 5 xrefs:\n// > ColorSelectPopup::init @ 0x14008f839\n// > HSVWidgetPopup::init @ 0x140096886\n// > HSVLiveOverlay::createHSVWidget @ 0x1402ba1d8\n// > SetupPulsePopup::init @ 0x14043a247\n// > <???> @ 0x1406c72c0\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\nConfigureHSVWidget *ConfigureHSVWidget::create(cocos2d::ccHSVValue *a1, bool a2, bool a3)\n{\n  ConfigureHSVWidget *v5; // rsi\n  cocos2d::ccHSVValue v7; // [rsp+20h] [rbp-18h] BYREF\n\n  v5 = (ConfigureHSVWidget *)operator new(0x1A8u);\n  cocos2d::CCNode::CCNode(v5);\n  v5->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ConfigureHSVWidget_vtbl *)&ConfigureHSVWidget::`vftable';\n  v5->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&ConfigureHSVWidget::`vftable';\n  v5->m_mixed = 0;\n  v5->m_delegate = nullptr;\n  *(_WORD *)&v5->m_addInputs = 0;\n  v5->m_inputs = nullptr;\n  v7 = *a1;\n  if ( ConfigureHSVWidget::init(v5, &v7, 0, a3) )\n  {\n    cocos2d::CCObject::autorelease(v5);\n    return v5;\n  }\n  else\n  {\n    ((void (__fastcall *)(ConfigureHSVWidget *, __int64))v5->~ConfigureHSVWidget)(v5, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; ConfigureHSVWidget::create from 0x140096a10 to 0x140096ada (202 bytes)\n; \n; 5 xrefs:\n; > ColorSelectPopup::init @ 0x14008f839\n; > HSVWidgetPopup::init @ 0x140096886\n; > HSVLiveOverlay::createHSVWidget @ 0x1402ba1d8\n; > SetupPulsePopup::init @ 0x14043a247\n; > <???> @ 0x1406c72c0\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, 0x140096a10\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140096a15\npush    rdi                                                            ; +0xa, 0x140096a1a\nsub     rsp, 30h                                                       ; +0xb, 0x140096a1b\nmovzx   edi, r8b                                                       ; +0xf, 0x140096a1f\nmov     rbx, rcx                                                       ; +0x13, 0x140096a23\nmov     ecx, 1A8h; Size                                                ; +0x16, 0x140096a26\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1b, 0x140096a2b\nmov     rsi, rax                                                       ; +0x20, 0x140096a30\nmov     [rsp+38h+arg_18], rax                                          ; +0x23, 0x140096a33\nmov     rcx, rax                                                       ; +0x28, 0x140096a38\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x2b, 0x140096a3b\nlea     rax, ??_7ConfigureHSVWidget@@6B@; const ConfigureHSVWidget::`vftable' ; +0x31, 0x140096a41\nmov     [rsi], rax                                                     ; +0x38, 0x140096a48\nlea     rax, ??_7ConfigureHSVWidget@@6B@_0; const ConfigureHSVWidget::`vftable' ; +0x3b, 0x140096a4b\nmov     [rsi+140h], rax                                                ; +0x42, 0x140096a52\nmov     byte ptr [rsi+188h], 0                                         ; +0x49, 0x140096a59\nmov     qword ptr [rsi+190h], 0                                        ; +0x50, 0x140096a60\nmov     word ptr [rsi+198h], 0                                         ; +0x5b, 0x140096a6b\nmov     qword ptr [rsi+1A0h], 0                                        ; +0x64, 0x140096a74\nmovaps  xmm0, xmmword ptr [rbx]                                        ; +0x6f, 0x140096a7f\nmovdqa  xmmword ptr [rsp+38h+var_18.h], xmm0                           ; +0x72, 0x140096a82\nmovzx   r9d, dil                                                       ; +0x78, 0x140096a88\nxor     r8d, r8d                                                       ; +0x7c, 0x140096a8c\nlea     rdx, [rsp+38h+var_18]                                          ; +0x7f, 0x140096a8f\nmov     rcx, rsi                                                       ; +0x84, 0x140096a94\ncall    ConfigureHSVWidget__init                                       ; +0x87, 0x140096a97\nmov     rcx, rsi                                                       ; +0x8c, 0x140096a9c\ntest    al, al                                                         ; +0x8f, 0x140096a9f\njz      short loc_140096ABC                                            ; +0x91, 0x140096aa1\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x93, 0x140096aa3\nmov     rax, rsi                                                       ; +0x99, 0x140096aa9\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x9c, 0x140096aac\nmov     rsi, [rsp+38h+arg_8]                                           ; +0xa1, 0x140096ab1\nadd     rsp, 30h                                                       ; +0xa6, 0x140096ab6\npop     rdi                                                            ; +0xaa, 0x140096aba\nretn                                                                   ; +0xab, 0x140096abb\nmov     r8, [rsi]                                                      ; +0xac, 0x140096abc\nmov     edx, 1                                                         ; +0xaf, 0x140096abf\ncall    qword ptr [r8+8]                                               ; +0xb4, 0x140096ac4\nxor     eax, eax                                                       ; +0xb8, 0x140096ac8\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xba, 0x140096aca\nmov     rsi, [rsp+38h+arg_8]                                           ; +0xbf, 0x140096acf\nadd     rsp, 30h                                                       ; +0xc4, 0x140096ad4\npop     rdi                                                            ; +0xc8, 0x140096ad8\nretn                                                                   ; +0xc9, 0x140096ad9", "xrefs": ["ColorSelectPopup::init @ 0x14008f839", "HSVWidgetPopup::init @ 0x140096886", "HSVLiveOverlay::createHSVWidget @ 0x1402ba1d8", "SetupPulsePopup::init @ 0x14043a247", "<???> @ 0x1406c72c0"], "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"}