{"type": "func", "start": 4945656, "end": 4945786, "name": "ConfigureHSVWidget::create", "pseudocode": "// \n// ConfigureHSVWidget::create from 0x4b76f8 to 0x4b777a (130 bytes)\n// \n// 4 xrefs:\n// > ColorSelectPopup::init @ 0x3dbbe4\n// > HSVWidgetPopup::init @ 0x4b7944\n// > SetupPulsePopup::init @ 0x4c018a\n// > HSVLiveOverlay::createHSVWidget @ 0x5644c8\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 *ConfigureHSVWidget::create(cocos2d::ccHSVValue a1, bool a2, bool a3)\n{\n  ConfigureHSVWidget *v3; // r4\n  ConfigureHSVWidget_vtbl *v4; // r3\n  ConfigureHSVWidget *v5; // r0\n\n  v3 = (ConfigureHSVWidget *)operator new(0x144u);\n  cocos2d::CCNode::CCNode(v3);\n  v3->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A7181C;\n  v3->m_mixed = 0;\n  v3->m_delegate = nullptr;\n  v3->m_addInputs = 0;\n  v3->m_updating = 0;\n  v3->m_inputs = nullptr;\n  v3->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ConfigureHSVWidget_vtbl *)&off_A71650;\n  if ( ConfigureHSVWidget::init(v3, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease(v3);\n  }\n  else\n  {\n    v4 = v3->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v5 = v3;\n    v3 = nullptr;\n    v4->~ConfigureHSVWidget_0(v5);\n  }\n  return v3;\n}", "assembly": "; \n; ConfigureHSVWidget::create from 0x4b76f8 to 0x4b777a (130 bytes)\n; \n; 4 xrefs:\n; > ColorSelectPopup::init @ 0x3dbbe4\n; > HSVWidgetPopup::init @ 0x4b7944\n; > SetupPulsePopup::init @ 0x4c018a\n; > HSVLiveOverlay::createHSVWidget @ 0x5644c8\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            {R4,R5,LR}                                             ; +0x0, 0x4b76f8\nSUB             SP, SP, #0x24                                          ; +0x2, 0x4b76fa\nADD             R5, SP, #0x24+var_14                                   ; +0x4, 0x4b76fc\nSTM.W           R5, {R0-R3}                                            ; +0x6, 0x4b76fe\nMOV.W           R0, #0x144; unsigned int                               ; +0xa, 0x4b7702\nBL              _Znwj; operator new(uint)                              ; +0xe, 0x4b7706\nMOV             R4, R0                                                 ; +0x12, 0x4b770a\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x14, 0x4b770c\nLDR             R3, =(_ZTV18ConfigureHSVWidget_ptr - 0x4B7718)         ; +0x18, 0x4b7710\nMOV             R0, R4                                                 ; +0x1a, 0x4b7712\nADD             R3, PC; _ZTV18ConfigureHSVWidget_ptr                   ; +0x1c, 0x4b7714\nLDR             R3, [R3]; `vtable for'ConfigureHSVWidget ...           ; +0x1e, 0x4b7716\nADD.W           R2, R3, #8                                             ; +0x20, 0x4b7718\nADD.W           R3, R3, #0x1D4                                         ; +0x24, 0x4b771c\nSTR.W           R3, [R4,#0x108]                                        ; +0x28, 0x4b7720\nMOVS            R3, #0                                                 ; +0x2c, 0x4b7724\nSTRB.W          R3, [R4,#0x134]                                        ; +0x2e, 0x4b7726\nSTR.W           R3, [R4,#0x138]                                        ; +0x32, 0x4b772a\nSTRB.W          R3, [R4,#0x13C]                                        ; +0x36, 0x4b772e\nSTRB.W          R3, [R4,#0x13D]                                        ; +0x3a, 0x4b7732\nSTR.W           R3, [R4,#0x140]                                        ; +0x3e, 0x4b7736\nLDRB.W          R3, [SP,#0x24+arg_0]                                   ; +0x42, 0x4b773a\nSTR             R2, [R4]                                               ; +0x46, 0x4b773e\nSTR             R3, [SP,#0x24+var_20]                                  ; +0x48, 0x4b7740\nLDRB.W          R3, [SP,#0x24+arg_4]                                   ; +0x4a, 0x4b7742\nSTR             R3, [SP,#0x24+var_1C]                                  ; +0x4e, 0x4b7746\nLDR             R3, [SP,#0x24+var_8]                                   ; +0x50, 0x4b7748\nSTR             R3, [SP,#0x24+var_24]                                  ; +0x52, 0x4b774a\nLDM.W           R5, {R1-R3}                                            ; +0x54, 0x4b774c\nBL              _ZN18ConfigureHSVWidget4initEN7cocos2d11_ccHSVValueEbb; ConfigureHSVWidget::init(cocos2d::_ccHSVValue,bool,bool) ; +0x58, 0x4b7750\nMOV             R5, R0                                                 ; +0x5c, 0x4b7754\nCBZ             R0, loc_4B776A                                         ; +0x5e, 0x4b7756\nMOV             R0, R4; this                                           ; +0x60, 0x4b7758\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x62, 0x4b775a\nB               loc_4B7774                                             ; +0x66, 0x4b775e\nMOV             R0, R4; p                                              ; +0x68, 0x4b7760\nBL              _ZdlPv; operator delete(void *)                        ; +0x6a, 0x4b7762\nBL              __cxa_end_cleanup                                      ; +0x6e, 0x4b7766\nLDR             R3, [R4]                                               ; +0x72, 0x4b776a\nMOV             R0, R4                                                 ; +0x74, 0x4b776c\nMOV             R4, R5                                                 ; +0x76, 0x4b776e\nLDR             R3, [R3,#8]                                            ; +0x78, 0x4b7770\nBLX             R3                                                     ; +0x7a, 0x4b7772\nMOV             R0, R4                                                 ; +0x7c, 0x4b7774\nADD             SP, SP, #0x24 ; '$'                                    ; +0x7e, 0x4b7776\nPOP             {R4,R5,PC}                                             ; +0x80, 0x4b7778", "xrefs": ["ColorSelectPopup::init @ 0x3dbbe4", "HSVWidgetPopup::init @ 0x4b7944", "SetupPulsePopup::init @ 0x4c018a", "HSVLiveOverlay::createHSVWidget @ 0x5644c8"], "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"}