{"type": "func", "start": 4294988304, "end": 4294988379, "name": "EditorUI::create", "pseudocode": "// \n// EditorUI::create from 0x100005210 to 0x10000525b (75 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::init @ 0x1000aacee\n// \n// This function is hookable on this platform (idp: pc, 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 12:18:46 +0000\n// \n\nvoid *__fastcall EditorUI::create(__int64 a1)\n{\n  void *v1; // rbx\n\n  v1 = operator new(0x670u);\n  EditorUI::EditorUI(v1);\n  if ( (unsigned __int8)EditorUI::init(v1, a1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; EditorUI::create from 0x100005210 to 0x10000525b (75 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::init @ 0x1000aacee\n; \n; This function is hookable on this platform (idp: pc, 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 12:18:46 +0000\n; \npush    rbp                                                            ; +0x0, 0x100005210\nmov     rbp, rsp                                                       ; +0x1, 0x100005211\npush    r14                                                            ; +0x4, 0x100005214\npush    rbx                                                            ; +0x6, 0x100005216\nmov     r14, rdi                                                       ; +0x7, 0x100005217\nmov     edi, 670h; __sz                                                ; +0xa, 0x10000521a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x10000521f\nmov     rbx, rax                                                       ; +0x14, 0x100005224\nmov     rdi, rax                                                       ; +0x17, 0x100005227\ncall    EditorUI__EditorUI                                             ; +0x1a, 0x10000522a\nmov     rdi, rbx                                                       ; +0x1f, 0x10000522f\nmov     rsi, r14                                                       ; +0x22, 0x100005232\ncall    EditorUI__init                                                 ; +0x25, 0x100005235\ntest    al, al                                                         ; +0x2a, 0x10000523a\njz      short loc_100005248                                            ; +0x2c, 0x10000523c\nmov     rdi, rbx                                                       ; +0x2e, 0x10000523e\ncall    cocos2d__CCObject__autorelease                                 ; +0x31, 0x100005241\njmp     short loc_100005253                                            ; +0x36, 0x100005246\nmov     rax, [rbx]                                                     ; +0x38, 0x100005248\nmov     rdi, rbx                                                       ; +0x3b, 0x10000524b\ncall    qword ptr [rax+10h]                                            ; +0x3e, 0x10000524e\nxor     ebx, ebx                                                       ; +0x41, 0x100005251\nmov     rax, rbx                                                       ; +0x43, 0x100005253\npop     rbx                                                            ; +0x46, 0x100005256\npop     r14                                                            ; +0x47, 0x100005257\npop     rbp                                                            ; +0x49, 0x100005259\nretn                                                                   ; +0x4a, 0x10000525a", "xrefs": ["LevelEditorLayer::init @ 0x1000aacee"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}