{"type": "func", "start": 4296669420, "end": 4296669636, "name": "HSVLiveOverlay::create", "pseudocode": "// \n// HSVLiveOverlay::create from 0x10019f8ec to 0x10019f9c4 (216 bytes)\n// \n// 1 xrefs:\n// > EditorUI::editHSV @ 0x1003edd00\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\nHSVLiveOverlay *__fastcall HSVLiveOverlay::create(GameObject *a1, cocos2d::CCArray *a2)\n{\n  char *v4; // x19\n\n  v4 = (char *)operator new(0x2C0u);\n  FLAlertLayer::FLAlertLayer((FLAlertLayer *)v4);\n  *(_QWORD *)v4 = off_1007AB098;\n  *((_QWORD *)v4 + 40) = off_1007AB5C0;\n  *((_QWORD *)v4 + 41) = &off_1007AB630;\n  *((_QWORD *)v4 + 42) = off_1007AB648;\n  *((_QWORD *)v4 + 43) = off_1007AB668;\n  *((_QWORD *)v4 + 44) = off_1007AB688;\n  *((_QWORD *)v4 + 51) = off_1007AB6B0;\n  *((_QWORD *)v4 + 54) = off_1007AB730;\n  *((_QWORD *)v4 + 79) = off_1007AB750;\n  *((_OWORD *)v4 + 40) = 0u;\n  *(_OWORD *)(v4 + 664) = 0u;\n  *((_DWORD *)v4 + 170) = -1;\n  *((_QWORD *)v4 + 86) = 0;\n  *(_DWORD *)(v4 + 695) = 0;\n  if ( HSVLiveOverlay::init((HSVLiveOverlay *)v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);\n    return nullptr;\n  }\n  return (HSVLiveOverlay *)v4;\n}", "assembly": "; \n; HSVLiveOverlay::create from 0x10019f8ec to 0x10019f9c4 (216 bytes)\n; \n; 1 xrefs:\n; > EditorUI::editHSV @ 0x1003edd00\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10019f8ec\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10019f8f0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10019f8f4\nADD             X29, SP, #0x20                                         ; +0xc, 0x10019f8f8\nMOV             X20, X1                                                ; +0x10, 0x10019f8fc\nMOV             X21, X0                                                ; +0x14, 0x10019f900\nMOV             W0, #0x2C0; __sz                                       ; +0x18, 0x10019f904\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x10019f908\nMOV             X19, X0                                                ; +0x20, 0x10019f90c\nBL              FLAlertLayer__FLAlertLayer                             ; +0x24, 0x10019f910\nADRL            X8, off_1007AB098                                      ; +0x28, 0x10019f914\nSTR             X8, [X19]                                              ; +0x30, 0x10019f91c\nADD             X9, X8, #(off_1007AB5C0 - 0x1007AB098)                 ; +0x34, 0x10019f920\nADD             X10, X8, #(off_1007AB630 - 0x1007AB098)                ; +0x38, 0x10019f924\nSTP             X9, X10, [X19,#0x140]                                  ; +0x3c, 0x10019f928\nADD             X9, X8, #(off_1007AB648 - 0x1007AB098)                 ; +0x40, 0x10019f92c\nADD             X10, X8, #(off_1007AB668 - 0x1007AB098)                ; +0x44, 0x10019f930\nSTP             X9, X10, [X19,#0x150]                                  ; +0x48, 0x10019f934\nADD             X9, X8, #(off_1007AB688 - 0x1007AB098)                 ; +0x4c, 0x10019f938\nSTR             X9, [X19,#0x160]                                       ; +0x50, 0x10019f93c\nADD             X9, X8, #(off_1007AB6B0 - 0x1007AB098)                 ; +0x54, 0x10019f940\nSTR             X9, [X19,#0x198]                                       ; +0x58, 0x10019f944\nADD             X9, X8, #(off_1007AB730 - 0x1007AB098)                 ; +0x5c, 0x10019f948\nSTR             X9, [X19,#0x1B0]                                       ; +0x60, 0x10019f94c\nADD             X8, X8, #(off_1007AB750 - 0x1007AB098)                 ; +0x64, 0x10019f950\nSTR             X8, [X19,#0x278]                                       ; +0x68, 0x10019f954\nADD             X8, X19, #0x298                                        ; +0x6c, 0x10019f958\nMOVI            V0.16B, #0                                             ; +0x70, 0x10019f95c\nSTR             Q0, [X19,#0x280]                                       ; +0x74, 0x10019f960\nSTR             Q0, [X8]                                               ; +0x78, 0x10019f964\nMOV             W8, #0xFFFFFFFF                                        ; +0x7c, 0x10019f968\nSTR             W8, [X19,#0x2A8]                                       ; +0x80, 0x10019f96c\nADD             X8, X19, #0x2B0                                        ; +0x84, 0x10019f970\nSTR             XZR, [X19,#0x2B0]                                      ; +0x88, 0x10019f974\nSTUR            WZR, [X8,#7]                                           ; +0x8c, 0x10019f978\nMOV             X0, X19                                                ; +0x90, 0x10019f97c\nMOV             X1, X21                                                ; +0x94, 0x10019f980\nMOV             X2, X20                                                ; +0x98, 0x10019f984\nBL              HSVLiveOverlay__init                                   ; +0x9c, 0x10019f988\nCBZ             W0, loc_10019F99C                                      ; +0xa0, 0x10019f98c\nMOV             X0, X19                                                ; +0xa4, 0x10019f990\nBL              cocos2d__CCObject__autorelease                         ; +0xa8, 0x10019f994\nB               loc_10019F9B0                                          ; +0xac, 0x10019f998\nLDR             X8, [X19]                                              ; +0xb0, 0x10019f99c\nLDR             X8, [X8,#0x10]                                         ; +0xb4, 0x10019f9a0\nMOV             X0, X19                                                ; +0xb8, 0x10019f9a4\nBLR             X8                                                     ; +0xbc, 0x10019f9a8\nMOV             X19, #0                                                ; +0xc0, 0x10019f9ac\nMOV             X0, X19                                                ; +0xc4, 0x10019f9b0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xc8, 0x10019f9b4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xcc, 0x10019f9b8\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xd0, 0x10019f9bc\nRET                                                                    ; +0xd4, 0x10019f9c0", "xrefs": ["EditorUI::editHSV @ 0x1003edd00"], "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"}