{"type": "func", "start": 4296161784, "end": 4296161964, "name": "ConfigureHSVWidget::create", "pseudocode": "// \n// ConfigureHSVWidget::create from 0x1001239f8 to 0x100123aac (180 bytes)\n// \n// 4 xrefs:\n// > HSVWidgetPopup::init @ 0x1001238c4\n// > HSVLiveOverlay::createHSVWidget @ 0x100234de8\n// > sub_10045A37C @ 0x10045c3d8\n// > sub_10049E474 @ 0x10049fae4\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:16 +0000\n// \n\n_QWORD *__fastcall ConfigureHSVWidget::create(__int64 a1, __int64 a2, __int64 a3, __int64 a4)\n{\n  _QWORD *v8; // x19\n\n  v8 = operator new(0x1C8u);\n  cocos2d::CCNode::CCNode();\n  *v8 = off_1008D5B70;\n  v8[40] = off_1008D5F28;\n  *((_BYTE *)v8 + 392) = 0;\n  v8[50] = 0;\n  *((_WORD *)v8 + 204) = 0;\n  v8[52] = 0;\n  v8[54] = 0;\n  v8[55] = 0;\n  *((_BYTE *)v8 + 448) = 0;\n  if ( (unsigned int)ConfigureHSVWidget::init(v8, a1, a2, a3, a4) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v8);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v8 + 16LL))(v8);\n    return nullptr;\n  }\n  return v8;\n}", "assembly": "; \n; ConfigureHSVWidget::create from 0x1001239f8 to 0x100123aac (180 bytes)\n; \n; 4 xrefs:\n; > HSVWidgetPopup::init @ 0x1001238c4\n; > HSVLiveOverlay::createHSVWidget @ 0x100234de8\n; > sub_10045A37C @ 0x10045c3d8\n; > sub_10049E474 @ 0x10049fae4\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:16 +0000\n; \nSTP             X24, X23, [SP,#-0x10+var_30]!                          ; +0x0, 0x1001239f8\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x1001239fc\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x100123a00\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x100123a04\nADD             X29, SP, #0x30                                         ; +0x10, 0x100123a08\nMOV             X20, X3                                                ; +0x14, 0x100123a0c\nMOV             X21, X2                                                ; +0x18, 0x100123a10\nMOV             X22, X1                                                ; +0x1c, 0x100123a14\nMOV             X23, X0                                                ; +0x20, 0x100123a18\nMOV             W0, #0x1C8; __sz                                       ; +0x24, 0x100123a1c\nBL              __Znwm; operator new(ulong)                            ; +0x28, 0x100123a20\nMOV             X19, X0                                                ; +0x2c, 0x100123a24\nBL              cocos2d__CCNode__CCNode                                ; +0x30, 0x100123a28\nADRL            X8, off_1008D5B70                                      ; +0x34, 0x100123a2c\nSTR             X8, [X19]                                              ; +0x3c, 0x100123a34\nADD             X8, X8, #(off_1008D5F28 - 0x1008D5B70)                 ; +0x40, 0x100123a38\nSTR             X8, [X19,#0x140]                                       ; +0x44, 0x100123a3c\nSTRB            WZR, [X19,#0x188]                                      ; +0x48, 0x100123a40\nSTR             XZR, [X19,#0x190]                                      ; +0x4c, 0x100123a44\nSTRH            WZR, [X19,#0x198]                                      ; +0x50, 0x100123a48\nSTR             XZR, [X19,#0x1A0]                                      ; +0x54, 0x100123a4c\nSTP             XZR, XZR, [X19,#0x1B0]                                 ; +0x58, 0x100123a50\nSTRB            WZR, [X19,#0x1C0]                                      ; +0x5c, 0x100123a54\nMOV             X0, X19                                                ; +0x60, 0x100123a58\nMOV             X1, X23                                                ; +0x64, 0x100123a5c\nMOV             X2, X22                                                ; +0x68, 0x100123a60\nMOV             X3, X21                                                ; +0x6c, 0x100123a64\nMOV             X4, X20                                                ; +0x70, 0x100123a68\nBL              ConfigureHSVWidget__init                               ; +0x74, 0x100123a6c\nCBZ             W0, loc_100123A80                                      ; +0x78, 0x100123a70\nMOV             X0, X19                                                ; +0x7c, 0x100123a74\nBL              cocos2d__CCObject__autorelease                         ; +0x80, 0x100123a78\nB               loc_100123A94                                          ; +0x84, 0x100123a7c\nLDR             X8, [X19]                                              ; +0x88, 0x100123a80\nLDR             X8, [X8,#0x10]                                         ; +0x8c, 0x100123a84\nMOV             X0, X19                                                ; +0x90, 0x100123a88\nBLR             X8                                                     ; +0x94, 0x100123a8c\nMOV             X19, #0                                                ; +0x98, 0x100123a90\nMOV             X0, X19                                                ; +0x9c, 0x100123a94\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xa0, 0x100123a98\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xa4, 0x100123a9c\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0xa8, 0x100123aa0\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0xac, 0x100123aa4\nRET                                                                    ; +0xb0, 0x100123aa8", "xrefs": ["HSVWidgetPopup::init @ 0x1001238c4", "HSVLiveOverlay::createHSVWidget @ 0x100234de8", "sub_10045A37C @ 0x10045c3d8", "sub_10049E474 @ 0x10049fae4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}