{"type": "func", "start": 6184248, "end": 6184390, "name": "ConfigureHSVWidget::create", "pseudocode": "// \n// ConfigureHSVWidget::create from 0x5e5d38 to 0x5e5dc6 (142 bytes)\n// \n// 4 xrefs:\n// > ColorSelectPopup::init @ 0x4e0e24\n// > HSVWidgetPopup::init @ 0x5e5fd8\n// > SetupPulsePopup::init @ 0x5eec96\n// > HSVLiveOverlay::createHSVWidget @ 0x69c3b8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:54:19 +0000\n// \n\nint __fastcall ConfigureHSVWidget::create(int a1, int a2, const char *a3, int a4, char a5, char a6)\n{\n  int v6; // r4\n  int v7; // r3\n  int v8; // r0\n\n  v6 = operator new(0x154u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v6);\n  *(_DWORD *)(v6 + 264) = &off_CBD0F4;\n  *(_BYTE *)(v6 + 308) = 0;\n  *(_DWORD *)(v6 + 312) = 0;\n  *(_BYTE *)(v6 + 316) = 0;\n  *(_BYTE *)(v6 + 317) = 0;\n  *(_DWORD *)(v6 + 320) = 0;\n  *(_DWORD *)(v6 + 328) = 0;\n  *(_DWORD *)(v6 + 332) = 0;\n  *(_BYTE *)(v6 + 336) = 0;\n  *(_DWORD *)v6 = &off_CBCF18;\n  if ( ConfigureHSVWidget::init(v6, a1, a2, a3, a4, a5, a6) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);\n  }\n  else\n  {\n    v7 = *(_DWORD *)v6;\n    v8 = v6;\n    v6 = 0;\n    (*(void (__fastcall **)(int))(v7 + 8))(v8);\n  }\n  return v6;\n}", "assembly": "; \n; ConfigureHSVWidget::create from 0x5e5d38 to 0x5e5dc6 (142 bytes)\n; \n; 4 xrefs:\n; > ColorSelectPopup::init @ 0x4e0e24\n; > HSVWidgetPopup::init @ 0x5e5fd8\n; > SetupPulsePopup::init @ 0x5eec96\n; > HSVLiveOverlay::createHSVWidget @ 0x69c3b8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:54:19 +0000\n; \nPUSH            {R4,R5,LR}                                             ; +0x0, 0x5e5d38\nSUB             SP, SP, #0x24                                          ; +0x2, 0x5e5d3a\nADD             R5, SP, #0x24+var_14                                   ; +0x4, 0x5e5d3c\nSTM.W           R5, {R0-R3}                                            ; +0x6, 0x5e5d3e\nMOV.W           R0, #0x154; unsigned int                               ; +0xa, 0x5e5d42\nBL              _Znwj; operator new(uint)                              ; +0xe, 0x5e5d46\nMOV             R4, R0                                                 ; +0x12, 0x5e5d4a\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x14, 0x5e5d4c\nLDR             R3, =(_ZTV18ConfigureHSVWidget_ptr - 0x5E5D58)         ; +0x18, 0x5e5d50\nMOV             R0, R4                                                 ; +0x1a, 0x5e5d52\nADD             R3, PC; _ZTV18ConfigureHSVWidget_ptr                   ; +0x1c, 0x5e5d54\nLDR             R3, [R3]; `vtable for'ConfigureHSVWidget ...           ; +0x1e, 0x5e5d56\nADD.W           R2, R3, #8                                             ; +0x20, 0x5e5d58\nADD.W           R3, R3, #0x1E4                                         ; +0x24, 0x5e5d5c\nSTR.W           R3, [R4,#0x108]                                        ; +0x28, 0x5e5d60\nMOVS            R3, #0                                                 ; +0x2c, 0x5e5d64\nSTRB.W          R3, [R4,#0x134]                                        ; +0x2e, 0x5e5d66\nSTR.W           R3, [R4,#0x138]                                        ; +0x32, 0x5e5d6a\nSTRB.W          R3, [R4,#0x13C]                                        ; +0x36, 0x5e5d6e\nSTRB.W          R3, [R4,#0x13D]                                        ; +0x3a, 0x5e5d72\nSTR.W           R3, [R4,#0x140]                                        ; +0x3e, 0x5e5d76\nSTR.W           R3, [R4,#0x148]                                        ; +0x42, 0x5e5d7a\nSTR.W           R3, [R4,#0x14C]                                        ; +0x46, 0x5e5d7e\nSTRB.W          R3, [R4,#0x150]                                        ; +0x4a, 0x5e5d82\nLDRB.W          R3, [SP,#0x24+arg_0]                                   ; +0x4e, 0x5e5d86\nSTR             R2, [R4]                                               ; +0x52, 0x5e5d8a\nSTR             R3, [SP,#0x24+var_20]                                  ; +0x54, 0x5e5d8c\nLDRB.W          R3, [SP,#0x24+arg_4]                                   ; +0x56, 0x5e5d8e\nSTR             R3, [SP,#0x24+var_1C]                                  ; +0x5a, 0x5e5d92\nLDR             R3, [SP,#0x24+var_8]                                   ; +0x5c, 0x5e5d94\nSTR             R3, [SP,#0x24+var_24]                                  ; +0x5e, 0x5e5d96\nLDM.W           R5, {R1-R3}                                            ; +0x60, 0x5e5d98\nBL              _ZN18ConfigureHSVWidget4initEN7cocos2d11_ccHSVValueEbb; ConfigureHSVWidget::init(cocos2d::_ccHSVValue,bool,bool) ; +0x64, 0x5e5d9c\nMOV             R5, R0                                                 ; +0x68, 0x5e5da0\nCBZ             R0, loc_5E5DB6                                         ; +0x6a, 0x5e5da2\nMOV             R0, R4; this                                           ; +0x6c, 0x5e5da4\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x6e, 0x5e5da6\nB               loc_5E5DC0                                             ; +0x72, 0x5e5daa\nMOV             R0, R4; void *                                         ; +0x74, 0x5e5dac\nBL              _ZdlPv; operator delete(void *)                        ; +0x76, 0x5e5dae\nBL              __cxa_end_cleanup                                      ; +0x7a, 0x5e5db2\nLDR             R3, [R4]                                               ; +0x7e, 0x5e5db6\nMOV             R0, R4                                                 ; +0x80, 0x5e5db8\nMOV             R4, R5                                                 ; +0x82, 0x5e5dba\nLDR             R3, [R3,#8]                                            ; +0x84, 0x5e5dbc\nBLX             R3                                                     ; +0x86, 0x5e5dbe\nMOV             R0, R4                                                 ; +0x88, 0x5e5dc0\nADD             SP, SP, #0x24 ; '$'                                    ; +0x8a, 0x5e5dc2\nPOP             {R4,R5,PC}                                             ; +0x8c, 0x5e5dc4", "xrefs": ["ColorSelectPopup::init @ 0x4e0e24", "HSVWidgetPopup::init @ 0x5e5fd8", "SetupPulsePopup::init @ 0x5eec96", "HSVLiveOverlay::createHSVWidget @ 0x69c3b8"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}