; ; EditorUI::EditorUI from 0x1400de9e0 to 0x1400dee1f (1087 bytes) ; ; 2 xrefs: ; > LevelEditorLayer::init @ 0x1402d2b1a ; > @ 0x1406c8af0 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rcx ; +0x0, 0x1400de9e0 push rbx ; +0x5, 0x1400de9e5 push rbp ; +0x6, 0x1400de9e6 push rsi ; +0x7, 0x1400de9e7 push rdi ; +0x8, 0x1400de9e8 push r14 ; +0x9, 0x1400de9e9 sub rsp, 20h ; +0xb, 0x1400de9eb mov rdi, rcx ; +0xf, 0x1400de9ef call cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x12, 0x1400de9f2 nop ; +0x18, 0x1400de9f8 lea rax, ??_7EditorUI@@6B@; const EditorUI::`vftable' ; +0x19, 0x1400de9f9 mov [rdi], rax ; +0x20, 0x1400dea00 lea rax, ??_7EditorUI@@6B@_0; const EditorUI::`vftable' ; +0x23, 0x1400dea03 mov [rdi+140h], rax ; +0x2a, 0x1400dea0a lea rax, ??_7EditorUI@@6B@_1; const EditorUI::`vftable' ; +0x31, 0x1400dea11 mov [rdi+148h], rax ; +0x38, 0x1400dea18 lea rax, ??_7EditorUI@@6B@_2; const EditorUI::`vftable' ; +0x3f, 0x1400dea1f mov [rdi+150h], rax ; +0x46, 0x1400dea26 lea rax, ??_7EditorUI@@6B@_3; const EditorUI::`vftable' ; +0x4d, 0x1400dea2d mov [rdi+158h], rax ; +0x54, 0x1400dea34 lea rax, ??_7EditorUI@@6B@_4; const EditorUI::`vftable' ; +0x5b, 0x1400dea3b mov [rdi+160h], rax ; +0x62, 0x1400dea42 lea rax, ??_7EditorUI@@6B@_5; const EditorUI::`vftable' ; +0x69, 0x1400dea49 mov [rdi+198h], rax ; +0x70, 0x1400dea50 lea rax, ??_7EditorUI@@6B@_6; const EditorUI::`vftable' ; +0x77, 0x1400dea57 mov [rdi+1A0h], rax ; +0x7e, 0x1400dea5e lea rax, ??_7EditorUI@@6B@_7; const EditorUI::`vftable' ; +0x85, 0x1400dea65 mov [rdi+1A8h], rax ; +0x8c, 0x1400dea6c lea rax, ??_7EditorUI@@6B@_8; const EditorUI::`vftable' ; +0x93, 0x1400dea73 mov [rdi+1B0h], rax ; +0x9a, 0x1400dea7a lea rax, ??_7EditorUI@@6B@_9; const EditorUI::`vftable' ; +0xa1, 0x1400dea81 mov [rdi+1B8h], rax ; +0xa8, 0x1400dea88 lea rax, ??_7EditorUI@@6B@_10; const EditorUI::`vftable' ; +0xaf, 0x1400dea8f mov [rdi+1C0h], rax ; +0xb6, 0x1400dea96 lea rax, ??_7EditorUI@@6B@_11; const EditorUI::`vftable' ; +0xbd, 0x1400dea9d mov [rdi+1C8h], rax ; +0xc4, 0x1400deaa4 lea r14, [rdi+1D0h] ; +0xcb, 0x1400deaab mov [rsp+48h+arg_10], r14 ; +0xd2, 0x1400deab2 xor ebp, ebp ; +0xd7, 0x1400deab7 mov [r14], ebp ; +0xd9, 0x1400deab9 mov [r14+8], rbp ; +0xdc, 0x1400deabc mov [r14+10h], rbp ; +0xe0, 0x1400deac0 lea ecx, [rbp+30h]; Size ; +0xe4, 0x1400deac4 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xe7, 0x1400deac7 mov [rax], rax ; +0xec, 0x1400deacc mov [rax+8], rax ; +0xef, 0x1400deacf mov [r14+8], rax ; +0xf3, 0x1400dead3 mov [r14+18h], rbp ; +0xf7, 0x1400dead7 mov [r14+20h], rbp ; +0xfb, 0x1400deadb mov [r14+28h], rbp ; +0xff, 0x1400deadf mov qword ptr [r14+30h], 7 ; +0x103, 0x1400deae3 mov qword ptr [r14+38h], 8 ; +0x10b, 0x1400deaeb mov dword ptr [r14], 3F800000h ; +0x113, 0x1400deaf3 mov rbx, [r14+8] ; +0x11a, 0x1400deafa mov [rsp+48h+arg_8], rbx ; +0x11e, 0x1400deafe mov edx, ebp ; +0x123, 0x1400deb03 mov eax, ebp ; +0x125, 0x1400deb05 sar rax, 3 ; +0x127, 0x1400deb07 cmp rax, 10h ; +0x12b, 0x1400deb0b jnb loc_1400DEB95 ; +0x12f, 0x1400deb0f mov ecx, 80h; Size ; +0x135, 0x1400deb15 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x13a, 0x1400deb1a mov rsi, rax ; +0x13f, 0x1400deb1f mov rcx, [r14+18h] ; +0x142, 0x1400deb22 mov rax, [r14+28h] ; +0x146, 0x1400deb26 sub rax, rcx ; +0x14a, 0x1400deb2a sar rax, 3 ; +0x14d, 0x1400deb2d test rax, rax ; +0x151, 0x1400deb31 jz short loc_1400DEB64 ; +0x154, 0x1400deb34 lea rdx, ds:0[rax*8] ; +0x156, 0x1400deb36 cmp rdx, 1000h ; +0x15e, 0x1400deb3e jb short loc_1400DEB5F ; +0x165, 0x1400deb45 add rdx, 27h ; ''' ; +0x167, 0x1400deb47 mov r8, [rcx-8] ; +0x16b, 0x1400deb4b sub rcx, r8 ; +0x16f, 0x1400deb4f lea rax, [rcx-8] ; +0x172, 0x1400deb52 cmp rax, 1Fh ; +0x176, 0x1400deb56 ja short loc_1400DEB8E ; +0x17a, 0x1400deb5a mov rcx, r8; Block ; +0x17c, 0x1400deb5c call j_j_free ; +0x17f, 0x1400deb5f mov [r14+18h], rsi ; +0x184, 0x1400deb64 lea rax, [rsi+80h] ; +0x188, 0x1400deb68 mov [r14+20h], rax ; +0x18f, 0x1400deb6f mov [r14+28h], rax ; +0x193, 0x1400deb73 cmp rsi, rax ; +0x197, 0x1400deb77 jz short loc_1400DEBA2 ; +0x19a, 0x1400deb7a nop dword ptr [rax+00h] ; +0x19c, 0x1400deb7c mov [rsi], rbx ; +0x1a0, 0x1400deb80 add rsi, 8 ; +0x1a3, 0x1400deb83 cmp rsi, rax ; +0x1a7, 0x1400deb87 jnz short loc_1400DEB80 ; +0x1aa, 0x1400deb8a jmp short loc_1400DEBA2 ; +0x1ac, 0x1400deb8c call cs:_invalid_parameter_noinfo_noreturn ; +0x1ae, 0x1400deb8e db 0CCh ; +0x1b4, 0x1400deb94 lea r8, [rsp+48h+arg_8] ; +0x1b5, 0x1400deb95 xor ecx, ecx ; +0x1ba, 0x1400deb9a call sub_140060560 ; +0x1bc, 0x1400deb9c nop ; +0x1c1, 0x1400deba1 lea rcx, [rdi+210h] ; +0x1c2, 0x1400deba2 call sub_1400DE960 ; +0x1c9, 0x1400deba9 mov byte ptr [rdi+258h], 0 ; +0x1ce, 0x1400debae mov [rdi+260h], rbp ; +0x1d5, 0x1400debb5 mov byte ptr [rdi+268h], 0 ; +0x1dc, 0x1400debbc mov dword ptr [rdi+278h], 41F00000h ; +0x1e3, 0x1400debc3 mov qword ptr [rdi+27Ch], 0FFFFFFFFFFFFFFFFh ; +0x1ed, 0x1400debcd mov byte ptr [rdi+284h], 0 ; +0x1f8, 0x1400debd8 mov [rdi+288h], rbp ; +0x1ff, 0x1400debdf mov [rdi+290h], rbp ; +0x206, 0x1400debe6 mov dword ptr [rdi+298h], 0 ; +0x20d, 0x1400debed mov byte ptr [rdi+29Ch], 0 ; +0x217, 0x1400debf7 mov qword ptr [rdi+2A0h], 0FFFFFFFFFFFFFFFFh ; +0x21e, 0x1400debfe mov qword ptr [rdi+2A8h], 0FFFFFFFFFFFFFFFFh ; +0x229, 0x1400dec09 mov [rdi+2B0h], rbp ; +0x234, 0x1400dec14 mov [rdi+2B8h], rbp ; +0x23b, 0x1400dec1b lea rcx, [rdi+2C0h] ; +0x242, 0x1400dec22 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x249, 0x1400dec29 mov byte ptr [rdi+2C8h], 0 ; +0x24f, 0x1400dec2f mov [rdi+2D0h], rbp ; +0x256, 0x1400dec36 mov [rdi+2D8h], rbp ; +0x25d, 0x1400dec3d mov [rdi+2F0h], rbp ; +0x264, 0x1400dec44 mov [rdi+2F8h], rbp ; +0x26b, 0x1400dec4b mov [rdi+300h], rbp ; +0x272, 0x1400dec52 mov [rdi+308h], rbp ; +0x279, 0x1400dec59 mov [rdi+310h], rbp ; +0x280, 0x1400dec60 mov [rdi+318h], ebp ; +0x287, 0x1400dec67 mov word ptr [rdi+31Ch], 0 ; +0x28d, 0x1400dec6d mov dword ptr [rdi+320h], 0 ; +0x296, 0x1400dec76 mov word ptr [rdi+324h], 0 ; +0x2a0, 0x1400dec80 lea rcx, [rdi+328h] ; +0x2a9, 0x1400dec89 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x2b0, 0x1400dec90 lea rcx, [rdi+338h] ; +0x2b6, 0x1400dec96 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x2bd, 0x1400dec9d mov [rdi+340h], rbp ; +0x2c3, 0x1400deca3 mov [rdi+348h], rbp ; +0x2ca, 0x1400decaa mov [rdi+350h], rbp ; +0x2d1, 0x1400decb1 mov [rdi+358h], rbp ; +0x2d8, 0x1400decb8 mov [rdi+360h], rbp ; +0x2df, 0x1400decbf mov [rdi+368h], rbp ; +0x2e6, 0x1400decc6 mov [rdi+370h], rbp ; +0x2ed, 0x1400deccd mov [rdi+380h], rbp ; +0x2f4, 0x1400decd4 mov [rdi+388h], rbp ; +0x2fb, 0x1400decdb mov [rdi+390h], rbp ; +0x302, 0x1400dece2 mov [rdi+3B8h], rbp ; +0x309, 0x1400dece9 mov [rdi+3C0h], rbp ; +0x310, 0x1400decf0 mov [rdi+3C8h], rbp ; +0x317, 0x1400decf7 mov [rdi+3D0h], rbp ; +0x31e, 0x1400decfe mov [rdi+3D8h], rbp ; +0x325, 0x1400ded05 mov [rdi+3E0h], rbp ; +0x32c, 0x1400ded0c mov [rdi+3F8h], rbp ; +0x333, 0x1400ded13 mov [rdi+400h], rbp ; +0x33a, 0x1400ded1a mov [rdi+408h], rbp ; +0x341, 0x1400ded21 mov [rdi+4B8h], rbp ; +0x348, 0x1400ded28 mov [rdi+4C8h], rbp ; +0x34f, 0x1400ded2f mov [rdi+4D0h], rbp ; +0x356, 0x1400ded36 mov [rdi+4E0h], rbp ; +0x35d, 0x1400ded3d mov [rdi+4F8h], ebp ; +0x364, 0x1400ded44 mov [rdi+500h], rbp ; +0x36a, 0x1400ded4a lea rcx, [rdi+508h] ; +0x371, 0x1400ded51 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x378, 0x1400ded58 lea rcx, [rdi+510h] ; +0x37e, 0x1400ded5e call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x385, 0x1400ded65 lea rcx, [rdi+518h] ; +0x38b, 0x1400ded6b call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x392, 0x1400ded72 lea rcx, [rdi+520h] ; +0x398, 0x1400ded78 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x39f, 0x1400ded7f lea rcx, [rdi+528h] ; +0x3a5, 0x1400ded85 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x3ac, 0x1400ded8c lea rcx, [rdi+530h] ; +0x3b2, 0x1400ded92 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x3b9, 0x1400ded99 mov [rdi+538h], rbp ; +0x3bf, 0x1400ded9f mov [rdi+540h], rbp ; +0x3c6, 0x1400deda6 mov word ptr [rdi+548h], 0 ; +0x3cd, 0x1400dedad mov byte ptr [rdi+54Ah], 0 ; +0x3d6, 0x1400dedb6 mov [rdi+550h], rbp ; +0x3dd, 0x1400dedbd mov [rdi+558h], ebp ; +0x3e4, 0x1400dedc4 mov dword ptr [rdi+55Ch], 1 ; +0x3ea, 0x1400dedca mov [rdi+560h], rbp ; +0x3f4, 0x1400dedd4 mov [rdi+568h], rbp ; +0x3fb, 0x1400deddb mov [rdi+570h], rbp ; +0x402, 0x1400dede2 mov [rdi+578h], rbp ; +0x409, 0x1400dede9 mov byte ptr [rdi+580h], 0 ; +0x410, 0x1400dedf0 mov byte ptr [rdi+598h], 0 ; +0x417, 0x1400dedf7 mov dword ptr [rdi+59Ch], 3F800000h ; +0x41e, 0x1400dedfe mov word ptr [rdi+5A0h], 0 ; +0x428, 0x1400dee08 mov rax, rdi ; +0x431, 0x1400dee11 add rsp, 20h ; +0x434, 0x1400dee14 pop r14 ; +0x438, 0x1400dee18 pop rdi ; +0x43a, 0x1400dee1a pop rsi ; +0x43b, 0x1400dee1b pop rbp ; +0x43c, 0x1400dee1c pop rbx ; +0x43d, 0x1400dee1d retn ; +0x43e, 0x1400dee1e