{"type": "func", "start": 5370450880, "end": 5370451502, "name": "EditorUI::dEditorUI", "pseudocode": "// \n// EditorUI::dEditorUI from 0x1401a93c0 to 0x1401a962e (622 bytes)\n// \n// 3 xrefs:\n// > sub_1401A9360 @ 0x1401a936f\n// > <???> @ 0x140919ce8\n// > <???> @ 0x140919cf4\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 11:27:51 +0000\n// \n\nvoid __fastcall EditorUI::dEditorUI(__int64 a1)\n{\n  __int64 v2; // rcx\n  void *v3; // rax\n  cocos2d::CCObject *v4; // rcx\n  cocos2d::CCObject *v5; // rcx\n  cocos2d::CCObject *v6; // rcx\n  cocos2d::CCObject *v7; // rcx\n  cocos2d::CCObject *v8; // rcx\n  cocos2d::CCObject *v9; // rcx\n  cocos2d::CCObject *v10; // rcx\n  cocos2d::CCObject *v11; // rcx\n  cocos2d::CCObject *v12; // rcx\n  cocos2d::CCObject *v13; // rcx\n  cocos2d::CCObject *v14; // rcx\n  cocos2d::CCObject *v15; // rcx\n  cocos2d::CCObject *v16; // rcx\n  cocos2d::CCObject *v17; // rcx\n  cocos2d::CCObject *v18; // rcx\n\n  *(_QWORD *)a1 = &EditorUI::`vftable';\n  *(_QWORD *)(a1 + 320) = &EditorUI::`vftable';\n  *(_QWORD *)(a1 + 328) = &EditorUI::`vftable';\n  *(_QWORD *)(a1 + 336) = &EditorUI::`vftable';\n  *(_QWORD *)(a1 + 344) = &EditorUI::`vftable';\n  *(_QWORD *)(a1 + 352) = &EditorUI::`vftable';\n  *(_QWORD *)(a1 + 408) = &EditorUI::`vftable';\n  *(_QWORD *)(a1 + 416) = &EditorUI::`vftable';\n  *(_QWORD *)(a1 + 424) = &EditorUI::`vftable';\n  *(_QWORD *)(a1 + 432) = &EditorUI::`vftable';\n  *(_QWORD *)(a1 + 440) = &EditorUI::`vftable';\n  *(_QWORD *)(a1 + 448) = &EditorUI::`vftable';\n  *(_QWORD *)(a1 + 456) = &EditorUI::`vftable';\n  v2 = qword_14090C070;\n  if ( !qword_14090C070 )\n  {\n    v3 = operator new(0x3D0u);\n    qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v3);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070);\n    v2 = qword_14090C070;\n  }\n  MusicDownloadManager::removeMusicDownloadDelegate(v2, a1 + 448);\n  v4 = *(cocos2d::CCObject **)(a1 + 944);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  v5 = *(cocos2d::CCObject **)(a1 + 1416);\n  if ( v5 )\n    cocos2d::CCObject::release(v5);\n  v6 = *(cocos2d::CCObject **)(a1 + 1400);\n  if ( v6 )\n    cocos2d::CCObject::release(v6);\n  v7 = *(cocos2d::CCObject **)(a1 + 1408);\n  if ( v7 )\n    cocos2d::CCObject::release(v7);\n  v8 = *(cocos2d::CCObject **)(a1 + 1240);\n  if ( v8 )\n    cocos2d::CCObject::release(v8);\n  v9 = *(cocos2d::CCObject **)(a1 + 1256);\n  if ( v9 )\n    cocos2d::CCObject::release(v9);\n  v10 = *(cocos2d::CCObject **)(a1 + 864);\n  if ( v10 )\n    cocos2d::CCObject::release(v10);\n  v11 = *(cocos2d::CCObject **)(a1 + 808);\n  if ( v11 )\n    cocos2d::CCObject::release(v11);\n  v12 = *(cocos2d::CCObject **)(a1 + 832);\n  if ( v12 )\n    cocos2d::CCObject::release(v12);\n  v13 = *(cocos2d::CCObject **)(a1 + 840);\n  if ( v13 )\n    cocos2d::CCObject::release(v13);\n  v14 = *(cocos2d::CCObject **)(a1 + 928);\n  if ( v14 )\n    cocos2d::CCObject::release(v14);\n  v15 = *(cocos2d::CCObject **)(a1 + 688);\n  if ( v15 )\n    cocos2d::CCObject::release(v15);\n  v16 = *(cocos2d::CCObject **)(a1 + 960);\n  if ( v16 )\n    cocos2d::CCObject::release(v16);\n  v17 = *(cocos2d::CCObject **)(a1 + 1680);\n  if ( v17 )\n    cocos2d::CCObject::release(v17);\n  v18 = *(cocos2d::CCObject **)(a1 + 1688);\n  if ( v18 )\n    cocos2d::CCObject::release(v18);\n  sub_14003EA90((_QWORD *)(a1 + 1464));\n  sub_140066870((void **)(a1 + 1448));\n  sub_14003EA90((_QWORD *)(a1 + 624));\n  sub_1400665B0((void **)(a1 + 608));\n  sub_14003EA90((_QWORD *)(a1 + 488));\n  sub_1401BF9E0(a1 + 472);\n  cocos2d::CCLayer::~CCLayer((cocos2d::CCLayer *)a1);\n}", "assembly": "; \n; EditorUI::dEditorUI from 0x1401a93c0 to 0x1401a962e (622 bytes)\n; \n; 3 xrefs:\n; > sub_1401A9360 @ 0x1401a936f\n; > <???> @ 0x140919ce8\n; > <???> @ 0x140919cf4\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 11:27:51 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401a93c0\npush    rdi                                                            ; +0x5, 0x1401a93c5\nsub     rsp, 20h                                                       ; +0x6, 0x1401a93c6\nmov     rbx, rcx                                                       ; +0xa, 0x1401a93ca\nlea     rax, ??_7EditorUI@@6B@; const EditorUI::`vftable'              ; +0xd, 0x1401a93cd\nmov     [rcx], rax                                                     ; +0x14, 0x1401a93d4\nlea     rax, ??_7EditorUI@@6B@_0; const EditorUI::`vftable'            ; +0x17, 0x1401a93d7\nmov     [rcx+140h], rax                                                ; +0x1e, 0x1401a93de\nlea     rax, ??_7EditorUI@@6B@_1; const EditorUI::`vftable'            ; +0x25, 0x1401a93e5\nmov     [rcx+148h], rax                                                ; +0x2c, 0x1401a93ec\nlea     rax, ??_7EditorUI@@6B@_2; const EditorUI::`vftable'            ; +0x33, 0x1401a93f3\nmov     [rcx+150h], rax                                                ; +0x3a, 0x1401a93fa\nlea     rax, ??_7EditorUI@@6B@_3; const EditorUI::`vftable'            ; +0x41, 0x1401a9401\nmov     [rcx+158h], rax                                                ; +0x48, 0x1401a9408\nlea     rax, ??_7EditorUI@@6B@_4; const EditorUI::`vftable'            ; +0x4f, 0x1401a940f\nmov     [rcx+160h], rax                                                ; +0x56, 0x1401a9416\nlea     rax, ??_7EditorUI@@6B@_5; const EditorUI::`vftable'            ; +0x5d, 0x1401a941d\nmov     [rcx+198h], rax                                                ; +0x64, 0x1401a9424\nlea     rax, ??_7EditorUI@@6B@_6; const EditorUI::`vftable'            ; +0x6b, 0x1401a942b\nmov     [rcx+1A0h], rax                                                ; +0x72, 0x1401a9432\nlea     rax, ??_7EditorUI@@6B@_7; const EditorUI::`vftable'            ; +0x79, 0x1401a9439\nmov     [rcx+1A8h], rax                                                ; +0x80, 0x1401a9440\nlea     rax, ??_7EditorUI@@6B@_8; const EditorUI::`vftable'            ; +0x87, 0x1401a9447\nmov     [rcx+1B0h], rax                                                ; +0x8e, 0x1401a944e\nlea     rax, ??_7EditorUI@@6B@_9; const EditorUI::`vftable'            ; +0x95, 0x1401a9455\nmov     [rcx+1B8h], rax                                                ; +0x9c, 0x1401a945c\nlea     rax, ??_7EditorUI@@6B@_10; const EditorUI::`vftable'           ; +0xa3, 0x1401a9463\nmov     [rcx+1C0h], rax                                                ; +0xaa, 0x1401a946a\nlea     rax, ??_7EditorUI@@6B@_11; const EditorUI::`vftable'           ; +0xb1, 0x1401a9471\nmov     [rcx+1C8h], rax                                                ; +0xb8, 0x1401a9478\nmov     rcx, cs:qword_14090C070                                        ; +0xbf, 0x1401a947f\ntest    rcx, rcx                                                       ; +0xc6, 0x1401a9486\njnz     short loc_1401A94B8                                            ; +0xc9, 0x1401a9489\nmov     ecx, 3D0h; Size                                                ; +0xcb, 0x1401a948b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xd0, 0x1401a9490\nmov     rcx, rax                                                       ; +0xd5, 0x1401a9495\ncall    MusicDownloadManager__MusicDownloadManager                     ; +0xd8, 0x1401a9498\nmov     cs:qword_14090C070, rax                                        ; +0xdd, 0x1401a949d\nmov     rcx, [rax]                                                     ; +0xe4, 0x1401a94a4\nmov     r8, [rcx+48h]                                                  ; +0xe7, 0x1401a94a7\nmov     rcx, rax                                                       ; +0xeb, 0x1401a94ab\ncall    r8                                                             ; +0xee, 0x1401a94ae\nmov     rcx, cs:qword_14090C070                                        ; +0xf1, 0x1401a94b1\nlea     rdx, [rbx+1C0h]                                                ; +0xf8, 0x1401a94b8\ncall    MusicDownloadManager__removeMusicDownloadDelegate              ; +0xff, 0x1401a94bf\nmov     rcx, [rbx+3B0h]                                                ; +0x104, 0x1401a94c4\ntest    rcx, rcx                                                       ; +0x10b, 0x1401a94cb\njz      short loc_1401A94D6                                            ; +0x10e, 0x1401a94ce\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x110, 0x1401a94d0\nmov     rcx, [rbx+588h]                                                ; +0x116, 0x1401a94d6\ntest    rcx, rcx                                                       ; +0x11d, 0x1401a94dd\njz      short loc_1401A94E8                                            ; +0x120, 0x1401a94e0\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x122, 0x1401a94e2\nmov     rcx, [rbx+578h]                                                ; +0x128, 0x1401a94e8\ntest    rcx, rcx                                                       ; +0x12f, 0x1401a94ef\njz      short loc_1401A94FA                                            ; +0x132, 0x1401a94f2\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x134, 0x1401a94f4\nmov     rcx, [rbx+580h]                                                ; +0x13a, 0x1401a94fa\ntest    rcx, rcx                                                       ; +0x141, 0x1401a9501\njz      short loc_1401A950C                                            ; +0x144, 0x1401a9504\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x146, 0x1401a9506\nmov     rcx, [rbx+4D8h]                                                ; +0x14c, 0x1401a950c\ntest    rcx, rcx                                                       ; +0x153, 0x1401a9513\njz      short loc_1401A951E                                            ; +0x156, 0x1401a9516\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x158, 0x1401a9518\nmov     rcx, [rbx+4E8h]                                                ; +0x15e, 0x1401a951e\ntest    rcx, rcx                                                       ; +0x165, 0x1401a9525\njz      short loc_1401A9530                                            ; +0x168, 0x1401a9528\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x16a, 0x1401a952a\nmov     rcx, [rbx+360h]                                                ; +0x170, 0x1401a9530\ntest    rcx, rcx                                                       ; +0x177, 0x1401a9537\njz      short loc_1401A9542                                            ; +0x17a, 0x1401a953a\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x17c, 0x1401a953c\nmov     rcx, [rbx+328h]                                                ; +0x182, 0x1401a9542\ntest    rcx, rcx                                                       ; +0x189, 0x1401a9549\njz      short loc_1401A9554                                            ; +0x18c, 0x1401a954c\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x18e, 0x1401a954e\nmov     rcx, [rbx+340h]                                                ; +0x194, 0x1401a9554\ntest    rcx, rcx                                                       ; +0x19b, 0x1401a955b\njz      short loc_1401A9566                                            ; +0x19e, 0x1401a955e\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1a0, 0x1401a9560\nmov     rcx, [rbx+348h]                                                ; +0x1a6, 0x1401a9566\ntest    rcx, rcx                                                       ; +0x1ad, 0x1401a956d\njz      short loc_1401A9578                                            ; +0x1b0, 0x1401a9570\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1b2, 0x1401a9572\nmov     rcx, [rbx+3A0h]                                                ; +0x1b8, 0x1401a9578\ntest    rcx, rcx                                                       ; +0x1bf, 0x1401a957f\njz      short loc_1401A958A                                            ; +0x1c2, 0x1401a9582\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1c4, 0x1401a9584\nmov     rcx, [rbx+2B0h]                                                ; +0x1ca, 0x1401a958a\ntest    rcx, rcx                                                       ; +0x1d1, 0x1401a9591\njz      short loc_1401A959C                                            ; +0x1d4, 0x1401a9594\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1d6, 0x1401a9596\nmov     rcx, [rbx+3C0h]                                                ; +0x1dc, 0x1401a959c\ntest    rcx, rcx                                                       ; +0x1e3, 0x1401a95a3\njz      short loc_1401A95AE                                            ; +0x1e6, 0x1401a95a6\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1e8, 0x1401a95a8\nmov     rcx, [rbx+690h]                                                ; +0x1ee, 0x1401a95ae\ntest    rcx, rcx                                                       ; +0x1f5, 0x1401a95b5\njz      short loc_1401A95C0                                            ; +0x1f8, 0x1401a95b8\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1fa, 0x1401a95ba\nmov     rcx, [rbx+698h]                                                ; +0x200, 0x1401a95c0\ntest    rcx, rcx                                                       ; +0x207, 0x1401a95c7\njz      short loc_1401A95D2                                            ; +0x20a, 0x1401a95ca\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x20c, 0x1401a95cc\nlea     rcx, [rbx+5B8h]; void *                                        ; +0x212, 0x1401a95d2\ncall    sub_14003EA90                                                  ; +0x219, 0x1401a95d9\nlea     rcx, [rbx+5A8h]                                                ; +0x21e, 0x1401a95de\ncall    sub_140066870                                                  ; +0x225, 0x1401a95e5\nlea     rcx, [rbx+270h]; void *                                        ; +0x22a, 0x1401a95ea\ncall    sub_14003EA90                                                  ; +0x231, 0x1401a95f1\nlea     rcx, [rbx+260h]                                                ; +0x236, 0x1401a95f6\ncall    sub_1400665B0                                                  ; +0x23d, 0x1401a95fd\nlea     rcx, [rbx+1E8h]; void *                                        ; +0x242, 0x1401a9602\ncall    sub_14003EA90                                                  ; +0x249, 0x1401a9609\nlea     rcx, [rbx+1D8h]                                                ; +0x24e, 0x1401a960e\ncall    sub_1401BF9E0                                                  ; +0x255, 0x1401a9615\nmov     rcx, rbx                                                       ; +0x25a, 0x1401a961a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x25d, 0x1401a961d\nadd     rsp, 20h                                                       ; +0x262, 0x1401a9622\npop     rdi                                                            ; +0x266, 0x1401a9626\njmp     cs:__imp_??1CCLayer@cocos2d@@UEAA@XZ; cocos2d::CCLayer::~CCLayer(void) ; +0x267, 0x1401a9627", "xrefs": ["sub_1401A9360 @ 0x1401a936f", "<???> @ 0x140919ce8", "<???> @ 0x140919cf4"], "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"}