{"type": "func", "start": 4295004176, "end": 4295004251, "name": "EditorUI::create", "pseudocode": "// \n// EditorUI::create from 0x100009010 to 0x10000905b (75 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::init @ 0x1000dbedd\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\nEditorUI *__fastcall EditorUI::create(LevelEditorLayer *a1)\n{\n  EditorUI *v1; // rbx\n\n  v1 = (EditorUI *)operator new(0x590u);\n  EditorUI::EditorUI(v1);\n  if ( EditorUI::init(v1, a1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    ((void (__fastcall *)(EditorUI *))v1->~EditorUI_0)(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; EditorUI::create from 0x100009010 to 0x10000905b (75 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::init @ 0x1000dbedd\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    rbp                                                            ; +0x0, 0x100009010\nmov     rbp, rsp                                                       ; +0x1, 0x100009011\npush    r14                                                            ; +0x4, 0x100009014\npush    rbx                                                            ; +0x6, 0x100009016\nmov     r14, rdi                                                       ; +0x7, 0x100009017\nmov     edi, 590h; __sz                                                ; +0xa, 0x10000901a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x10000901f\nmov     rbx, rax                                                       ; +0x14, 0x100009024\nmov     rdi, rax                                                       ; +0x17, 0x100009027\ncall    EditorUI__EditorUI                                             ; +0x1a, 0x10000902a\nmov     rdi, rbx                                                       ; +0x1f, 0x10000902f\nmov     rsi, r14                                                       ; +0x22, 0x100009032\ncall    EditorUI__init                                                 ; +0x25, 0x100009035\ntest    al, al                                                         ; +0x2a, 0x10000903a\njz      short loc_100009048                                            ; +0x2c, 0x10000903c\nmov     rdi, rbx                                                       ; +0x2e, 0x10000903e\ncall    cocos2d__CCObject__autorelease                                 ; +0x31, 0x100009041\njmp     short loc_100009053                                            ; +0x36, 0x100009046\nmov     rax, [rbx]                                                     ; +0x38, 0x100009048\nmov     rdi, rbx                                                       ; +0x3b, 0x10000904b\ncall    qword ptr [rax+10h]                                            ; +0x3e, 0x10000904e\nxor     ebx, ebx                                                       ; +0x41, 0x100009051\nmov     rax, rbx                                                       ; +0x43, 0x100009053\npop     rbx                                                            ; +0x46, 0x100009056\npop     r14                                                            ; +0x47, 0x100009057\npop     rbp                                                            ; +0x49, 0x100009059\nretn                                                                   ; +0x4a, 0x10000905a", "xrefs": ["LevelEditorLayer::init @ 0x1000dbedd"], "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"}