{"type": "func", "start": 4299969832, "end": 4299970024, "name": "EditorCommandsPopup::create", "pseudocode": "// \n// EditorCommandsPopup::create from 0x1004c5528 to 0x1004c55e8 (192 bytes)\n// \n// 1 xrefs:\n// > EditorUI::toggleWindow @ 0x100473680\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 11:06:22 +0000\n// \n\n_QWORD *__fastcall EditorCommandsPopup::create(__int64 a1)\n{\n  _QWORD *v2; // x19\n\n  v2 = operator new(0x490u);\n  bzero(v2, 0x490u);\n  EditorWindowPopup::EditorWindowPopup(v2);\n  *v2 = &off_100985D18;\n  v2[40] = off_100986328;\n  v2[41] = &off_100986398;\n  v2[42] = off_1009863B0;\n  v2[43] = off_1009863D0;\n  v2[44] = off_1009863F8;\n  v2[51] = off_100986428;\n  v2[54] = off_1009864A8;\n  v2[68] = off_1009864C8;\n  v2[83] = &off_100986510;\n  v2[84] = off_100986528;\n  if ( (unsigned int)EditorCommandsPopup::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; EditorCommandsPopup::create from 0x1004c5528 to 0x1004c55e8 (192 bytes)\n; \n; 1 xrefs:\n; > EditorUI::toggleWindow @ 0x100473680\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 11:06:22 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004c5528\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004c552c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004c5530\nMOV             X20, X0                                                ; +0xc, 0x1004c5534\nMOV             W0, #0x490; __sz                                       ; +0x10, 0x1004c5538\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1004c553c\nMOV             X19, X0                                                ; +0x18, 0x1004c5540\nMOV             W1, #0x490; size_t                                     ; +0x1c, 0x1004c5544\nBL              _bzero                                                 ; +0x20, 0x1004c5548\nMOV             X0, X19                                                ; +0x24, 0x1004c554c\nBL              EditorWindowPopup__EditorWindowPopup                   ; +0x28, 0x1004c5550\nADRL            X8, off_100985D18                                      ; +0x2c, 0x1004c5554\nSTR             X8, [X19]                                              ; +0x34, 0x1004c555c\nADD             X9, X8, #(off_100986328 - 0x100985D18)                 ; +0x38, 0x1004c5560\nADD             X10, X8, #(off_100986398 - 0x100985D18)                ; +0x3c, 0x1004c5564\nSTP             X9, X10, [X19,#0x140]                                  ; +0x40, 0x1004c5568\nADD             X9, X8, #(off_1009863B0 - 0x100985D18)                 ; +0x44, 0x1004c556c\nADD             X10, X8, #(off_1009863D0 - 0x100985D18)                ; +0x48, 0x1004c5570\nSTP             X9, X10, [X19,#0x150]                                  ; +0x4c, 0x1004c5574\nADD             X9, X8, #(off_1009863F8 - 0x100985D18)                 ; +0x50, 0x1004c5578\nSTR             X9, [X19,#0x160]                                       ; +0x54, 0x1004c557c\nADD             X9, X8, #(off_100986428 - 0x100985D18)                 ; +0x58, 0x1004c5580\nSTR             X9, [X19,#0x198]                                       ; +0x5c, 0x1004c5584\nADD             X9, X8, #(off_1009864A8 - 0x100985D18)                 ; +0x60, 0x1004c5588\nSTR             X9, [X19,#0x1B0]                                       ; +0x64, 0x1004c558c\nADD             X9, X8, #(off_1009864C8 - 0x100985D18)                 ; +0x68, 0x1004c5590\nSTR             X9, [X19,#0x220]                                       ; +0x6c, 0x1004c5594\nADD             X9, X8, #(off_100986510 - 0x100985D18)                 ; +0x70, 0x1004c5598\nSTR             X9, [X19,#0x298]                                       ; +0x74, 0x1004c559c\nADD             X8, X8, #(off_100986528 - 0x100985D18)                 ; +0x78, 0x1004c55a0\nSTR             X8, [X19,#0x2A0]                                       ; +0x7c, 0x1004c55a4\nMOV             X0, X19                                                ; +0x80, 0x1004c55a8\nMOV             X1, X20                                                ; +0x84, 0x1004c55ac\nBL              EditorCommandsPopup__init                              ; +0x88, 0x1004c55b0\nCBZ             W0, loc_1004C55C4                                      ; +0x8c, 0x1004c55b4\nMOV             X0, X19                                                ; +0x90, 0x1004c55b8\nBL              cocos2d__CCObject__autorelease                         ; +0x94, 0x1004c55bc\nB               loc_1004C55D8                                          ; +0x98, 0x1004c55c0\nLDR             X8, [X19]                                              ; +0x9c, 0x1004c55c4\nLDR             X8, [X8,#0x10]                                         ; +0xa0, 0x1004c55c8\nMOV             X0, X19                                                ; +0xa4, 0x1004c55cc\nBLR             X8                                                     ; +0xa8, 0x1004c55d0\nMOV             X19, #0                                                ; +0xac, 0x1004c55d4\nMOV             X0, X19                                                ; +0xb0, 0x1004c55d8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xb4, 0x1004c55dc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xb8, 0x1004c55e0\nRET                                                                    ; +0xbc, 0x1004c55e4", "xrefs": ["EditorUI::toggleWindow @ 0x100473680"], "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"}