; ; EditorUI::EditorUI from 0x1401a8dd0 to 0x1401a9332 (1378 bytes) ; ; 2 xrefs: ; > LevelEditorLayer::init @ 0x1403eea56 ; > @ 0x140919cd0 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:27:51 +0000 ; mov [rsp+arg_0], rcx ; +0x0, 0x1401a8dd0 push rbx ; +0x5, 0x1401a8dd5 push rbp ; +0x6, 0x1401a8dd6 push rsi ; +0x7, 0x1401a8dd7 push rdi ; +0x8, 0x1401a8dd8 push r14 ; +0x9, 0x1401a8dd9 sub rsp, 30h ; +0xb, 0x1401a8ddb mov rdi, rcx ; +0xf, 0x1401a8ddf call cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x12, 0x1401a8de2 nop ; +0x18, 0x1401a8de8 lea rax, ??_7EditorUI@@6B@; const EditorUI::`vftable' ; +0x19, 0x1401a8de9 mov [rdi], rax ; +0x20, 0x1401a8df0 lea rax, ??_7EditorUI@@6B@_0; const EditorUI::`vftable' ; +0x23, 0x1401a8df3 mov [rdi+140h], rax ; +0x2a, 0x1401a8dfa lea rax, ??_7EditorUI@@6B@_1; const EditorUI::`vftable' ; +0x31, 0x1401a8e01 mov [rdi+148h], rax ; +0x38, 0x1401a8e08 lea rax, ??_7EditorUI@@6B@_2; const EditorUI::`vftable' ; +0x3f, 0x1401a8e0f mov [rdi+150h], rax ; +0x46, 0x1401a8e16 lea rax, ??_7EditorUI@@6B@_3; const EditorUI::`vftable' ; +0x4d, 0x1401a8e1d mov [rdi+158h], rax ; +0x54, 0x1401a8e24 lea rax, ??_7EditorUI@@6B@_4; const EditorUI::`vftable' ; +0x5b, 0x1401a8e2b mov [rdi+160h], rax ; +0x62, 0x1401a8e32 lea rax, ??_7EditorUI@@6B@_5; const EditorUI::`vftable' ; +0x69, 0x1401a8e39 mov [rdi+198h], rax ; +0x70, 0x1401a8e40 lea rax, ??_7EditorUI@@6B@_6; const EditorUI::`vftable' ; +0x77, 0x1401a8e47 mov [rdi+1A0h], rax ; +0x7e, 0x1401a8e4e lea rax, ??_7EditorUI@@6B@_7; const EditorUI::`vftable' ; +0x85, 0x1401a8e55 mov [rdi+1A8h], rax ; +0x8c, 0x1401a8e5c lea rax, ??_7EditorUI@@6B@_8; const EditorUI::`vftable' ; +0x93, 0x1401a8e63 mov [rdi+1B0h], rax ; +0x9a, 0x1401a8e6a lea rax, ??_7EditorUI@@6B@_9; const EditorUI::`vftable' ; +0xa1, 0x1401a8e71 mov [rdi+1B8h], rax ; +0xa8, 0x1401a8e78 lea rax, ??_7EditorUI@@6B@_10; const EditorUI::`vftable' ; +0xaf, 0x1401a8e7f mov [rdi+1C0h], rax ; +0xb6, 0x1401a8e86 lea rax, ??_7EditorUI@@6B@_11; const EditorUI::`vftable' ; +0xbd, 0x1401a8e8d mov [rdi+1C8h], rax ; +0xc4, 0x1401a8e94 lea r14, [rdi+1D0h] ; +0xcb, 0x1401a8e9b mov [rsp+58h+arg_10], r14 ; +0xd2, 0x1401a8ea2 xor ebp, ebp ; +0xd7, 0x1401a8ea7 mov [r14], ebp ; +0xd9, 0x1401a8ea9 mov [r14+8], rbp ; +0xdc, 0x1401a8eac mov [r14+10h], rbp ; +0xe0, 0x1401a8eb0 mov ecx, 30h ; '0'; Size ; +0xe4, 0x1401a8eb4 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xe9, 0x1401a8eb9 mov [rax], rax ; +0xee, 0x1401a8ebe mov [rax+8], rax ; +0xf1, 0x1401a8ec1 mov [r14+8], rax ; +0xf5, 0x1401a8ec5 mov [r14+18h], rbp ; +0xf9, 0x1401a8ec9 mov [r14+20h], rbp ; +0xfd, 0x1401a8ecd mov [r14+28h], rbp ; +0x101, 0x1401a8ed1 mov qword ptr [r14+30h], 7 ; +0x105, 0x1401a8ed5 mov qword ptr [r14+38h], 8 ; +0x10d, 0x1401a8edd mov dword ptr [r14], 3F800000h ; +0x115, 0x1401a8ee5 mov rbx, [r14+8] ; +0x11c, 0x1401a8eec mov [rsp+58h+arg_8], rbx ; +0x120, 0x1401a8ef0 mov ecx, ebp ; +0x125, 0x1401a8ef5 mov edx, ebp ; +0x127, 0x1401a8ef7 mov eax, ebp ; +0x129, 0x1401a8ef9 sub rax, rbp ; +0x12b, 0x1401a8efb sar rax, 3 ; +0x12e, 0x1401a8efe cmp rax, 10h ; +0x132, 0x1401a8f02 jnb loc_1401A8F97 ; +0x136, 0x1401a8f06 mov ecx, 80h; Size ; +0x13c, 0x1401a8f0c call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x141, 0x1401a8f11 mov rsi, rax ; +0x146, 0x1401a8f16 mov rcx, [r14+18h] ; +0x149, 0x1401a8f19 mov rax, [r14+28h] ; +0x14d, 0x1401a8f1d sub rax, rcx ; +0x151, 0x1401a8f21 sar rax, 3 ; +0x154, 0x1401a8f24 test rax, rax ; +0x158, 0x1401a8f28 jz short loc_1401A8F5B ; +0x15b, 0x1401a8f2b lea rdx, ds:0[rax*8] ; +0x15d, 0x1401a8f2d cmp rdx, 1000h ; +0x165, 0x1401a8f35 jb short loc_1401A8F56 ; +0x16c, 0x1401a8f3c add rdx, 27h ; ''' ; +0x16e, 0x1401a8f3e mov rax, [rcx-8] ; +0x172, 0x1401a8f42 sub rcx, rax ; +0x176, 0x1401a8f46 sub rcx, 8 ; +0x179, 0x1401a8f49 cmp rcx, 1Fh ; +0x17d, 0x1401a8f4d ja short loc_1401A8F81 ; +0x181, 0x1401a8f51 mov rcx, rax; Block ; +0x183, 0x1401a8f53 call j_j_free ; +0x186, 0x1401a8f56 mov [r14+18h], rsi ; +0x18b, 0x1401a8f5b lea rax, [rsi+80h] ; +0x18f, 0x1401a8f5f mov [r14+20h], rax ; +0x196, 0x1401a8f66 mov [r14+28h], rax ; +0x19a, 0x1401a8f6a cmp rsi, rax ; +0x19e, 0x1401a8f6e jz short loc_1401A8FA2 ; +0x1a1, 0x1401a8f71 mov [rsi], rbx ; +0x1a3, 0x1401a8f73 add rsi, 8 ; +0x1a6, 0x1401a8f76 cmp rsi, rax ; +0x1aa, 0x1401a8f7a jnz short loc_1401A8F73 ; +0x1ad, 0x1401a8f7d jmp short loc_1401A8FA2 ; +0x1af, 0x1401a8f7f mov [rsp+58h+Reserved], rbp; Reserved ; +0x1b1, 0x1401a8f81 xor r9d, r9d; LineNo ; +0x1b6, 0x1401a8f86 xor r8d, r8d; FileName ; +0x1b9, 0x1401a8f89 xor edx, edx; FunctionName ; +0x1bc, 0x1401a8f8c xor ecx, ecx; Expression ; +0x1be, 0x1401a8f8e call cs:_invoke_watson ; +0x1c0, 0x1401a8f90 db 0CCh ; +0x1c6, 0x1401a8f96 lea r8, [rsp+58h+arg_8] ; +0x1c7, 0x1401a8f97 call sub_14003EC90 ; +0x1cc, 0x1401a8f9c nop ; +0x1d1, 0x1401a8fa1 lea rcx, [rdi+210h] ; +0x1d2, 0x1401a8fa2 call GJTransformState__GJTransformState ; +0x1d9, 0x1401a8fa9 lea rbx, [rdi+258h] ; +0x1de, 0x1401a8fae mov [rsp+58h+arg_8], rbx ; +0x1e5, 0x1401a8fb5 mov [rbx], ebp ; +0x1ea, 0x1401a8fba mov [rbx+8], rbp ; +0x1ec, 0x1401a8fbc mov [rbx+10h], rbp ; +0x1f0, 0x1401a8fc0 mov ecx, 20h ; ' '; Size ; +0x1f4, 0x1401a8fc4 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1f9, 0x1401a8fc9 mov [rax], rax ; +0x1fe, 0x1401a8fce mov [rax+8], rax ; +0x201, 0x1401a8fd1 mov [rbx+8], rax ; +0x205, 0x1401a8fd5 lea rcx, [rbx+18h] ; +0x209, 0x1401a8fd9 mov [rcx], rbp ; +0x20d, 0x1401a8fdd mov [rcx+8], rbp ; +0x210, 0x1401a8fe0 mov [rcx+10h], rbp ; +0x214, 0x1401a8fe4 mov qword ptr [rbx+30h], 7 ; +0x218, 0x1401a8fe8 mov qword ptr [rbx+38h], 8 ; +0x220, 0x1401a8ff0 mov dword ptr [rbx], 3F800000h ; +0x228, 0x1401a8ff8 mov r8, [rbx+8] ; +0x22e, 0x1401a8ffe mov edx, 10h ; +0x232, 0x1401a9002 call sub_14003F200 ; +0x237, 0x1401a9007 nop ; +0x23c, 0x1401a900c mov byte ptr [rdi+298h], 0 ; +0x23d, 0x1401a900d mov [rdi+2A0h], rbp ; +0x244, 0x1401a9014 mov byte ptr [rdi+2A8h], 0 ; +0x24b, 0x1401a901b mov qword ptr [rdi+2B8h], 41F00000h ; +0x252, 0x1401a9022 mov byte ptr [rdi+2C0h], 0 ; +0x25d, 0x1401a902d mov qword ptr [rdi+2C4h], 0FFFFFFFFFFFFFFFFh ; +0x264, 0x1401a9034 mov byte ptr [rdi+2CCh], 0 ; +0x26f, 0x1401a903f mov [rdi+2D0h], rbp ; +0x276, 0x1401a9046 mov [rdi+2D8h], rbp ; +0x27d, 0x1401a904d mov dword ptr [rdi+2E0h], 0 ; +0x284, 0x1401a9054 mov byte ptr [rdi+2E4h], 0 ; +0x28e, 0x1401a905e mov qword ptr [rdi+2E8h], 0FFFFFFFFFFFFFFFFh ; +0x295, 0x1401a9065 mov dword ptr [rdi+2F0h], 0FFFFFFFFh ; +0x2a0, 0x1401a9070 mov byte ptr [rdi+2F4h], 0 ; +0x2aa, 0x1401a907a mov qword ptr [rdi+2F8h], 0FFFFFFFFFFFFFFFFh ; +0x2b1, 0x1401a9081 lea rcx, [rdi+300h] ; +0x2bc, 0x1401a908c call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x2c3, 0x1401a9093 lea rcx, [rdi+308h] ; +0x2c9, 0x1401a9099 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x2d0, 0x1401a90a0 mov [rdi+310h], rbp ; +0x2d6, 0x1401a90a6 mov dword ptr [rdi+318h], 3F800000h ; +0x2dd, 0x1401a90ad mov word ptr [rdi+31Ch], 0 ; +0x2e7, 0x1401a90b7 mov byte ptr [rdi+31Eh], 0 ; +0x2f0, 0x1401a90c0 mov [rdi+320h], rbp ; +0x2f7, 0x1401a90c7 mov [rdi+328h], rbp ; +0x2fe, 0x1401a90ce lea rcx, [rdi+330h] ; +0x305, 0x1401a90d5 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x30c, 0x1401a90dc mov byte ptr [rdi+338h], 0 ; +0x312, 0x1401a90e2 mov [rdi+340h], rbp ; +0x319, 0x1401a90e9 mov [rdi+348h], rbp ; +0x320, 0x1401a90f0 mov [rdi+360h], rbp ; +0x327, 0x1401a90f7 mov [rdi+368h], rbp ; +0x32e, 0x1401a90fe mov [rdi+370h], rbp ; +0x335, 0x1401a9105 mov [rdi+378h], rbp ; +0x33c, 0x1401a910c mov [rdi+380h], rbp ; +0x343, 0x1401a9113 mov [rdi+388h], ebp ; +0x34a, 0x1401a911a mov word ptr [rdi+38Ch], 0 ; +0x350, 0x1401a9120 mov dword ptr [rdi+390h], 0 ; +0x359, 0x1401a9129 mov word ptr [rdi+394h], 0 ; +0x363, 0x1401a9133 lea rcx, [rdi+398h] ; +0x36c, 0x1401a913c call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x373, 0x1401a9143 lea rcx, [rdi+3A8h] ; +0x379, 0x1401a9149 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x380, 0x1401a9150 mov [rdi+3B0h], rbp ; +0x386, 0x1401a9156 mov [rdi+3B8h], rbp ; +0x38d, 0x1401a915d mov [rdi+3C0h], rbp ; +0x394, 0x1401a9164 mov [rdi+3C8h], rbp ; +0x39b, 0x1401a916b mov [rdi+3D0h], rbp ; +0x3a2, 0x1401a9172 mov [rdi+3D8h], rbp ; +0x3a9, 0x1401a9179 mov [rdi+3E0h], rbp ; +0x3b0, 0x1401a9180 mov [rdi+3E8h], rbp ; +0x3b7, 0x1401a9187 mov [rdi+3F8h], rbp ; +0x3be, 0x1401a918e mov [rdi+400h], rbp ; +0x3c5, 0x1401a9195 mov [rdi+408h], rbp ; +0x3cc, 0x1401a919c mov [rdi+428h], rbp ; +0x3d3, 0x1401a91a3 mov [rdi+438h], rbp ; +0x3da, 0x1401a91aa mov [rdi+440h], rbp ; +0x3e1, 0x1401a91b1 mov [rdi+448h], rbp ; +0x3e8, 0x1401a91b8 mov [rdi+450h], rbp ; +0x3ef, 0x1401a91bf mov [rdi+458h], rbp ; +0x3f6, 0x1401a91c6 mov [rdi+460h], rbp ; +0x3fd, 0x1401a91cd mov [rdi+468h], rbp ; +0x404, 0x1401a91d4 mov [rdi+470h], rbp ; +0x40b, 0x1401a91db mov [rdi+488h], rbp ; +0x412, 0x1401a91e2 mov [rdi+490h], rbp ; +0x419, 0x1401a91e9 mov [rdi+498h], rbp ; +0x420, 0x1401a91f0 mov [rdi+550h], rbp ; +0x427, 0x1401a91f7 mov [rdi+560h], rbp ; +0x42e, 0x1401a91fe mov [rdi+568h], rbp ; +0x435, 0x1401a9205 mov [rdi+578h], rbp ; +0x43c, 0x1401a920c mov [rdi+590h], rbp ; +0x443, 0x1401a9213 mov [rdi+598h], rbp ; +0x44a, 0x1401a921a lea rcx, [rdi+5A0h] ; +0x451, 0x1401a9221 call sub_1400669E0 ; +0x458, 0x1401a9228 nop ; +0x45d, 0x1401a922d mov [rdi+5E0h], rbp ; +0x45e, 0x1401a922e mov [rdi+5E8h], rbp ; +0x465, 0x1401a9235 lea rcx, [rdi+5F0h] ; +0x46c, 0x1401a923c call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x473, 0x1401a9243 lea rcx, [rdi+5F8h] ; +0x479, 0x1401a9249 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x480, 0x1401a9250 lea rcx, [rdi+600h] ; +0x486, 0x1401a9256 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x48d, 0x1401a925d lea rcx, [rdi+608h] ; +0x493, 0x1401a9263 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x49a, 0x1401a926a lea rcx, [rdi+610h] ; +0x4a0, 0x1401a9270 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x4a7, 0x1401a9277 lea rcx, [rdi+618h] ; +0x4ad, 0x1401a927d call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x4b4, 0x1401a9284 mov [rdi+620h], rbp ; +0x4ba, 0x1401a928a mov [rdi+628h], rbp ; +0x4c1, 0x1401a9291 mov word ptr [rdi+630h], 0 ; +0x4c8, 0x1401a9298 mov byte ptr [rdi+632h], 0 ; +0x4d1, 0x1401a92a1 mov [rdi+638h], rbp ; +0x4d8, 0x1401a92a8 mov [rdi+640h], rbp ; +0x4df, 0x1401a92af mov [rdi+648h], ebp ; +0x4e6, 0x1401a92b6 mov dword ptr [rdi+64Ch], 1 ; +0x4ec, 0x1401a92bc mov [rdi+650h], rbp ; +0x4f6, 0x1401a92c6 mov [rdi+658h], rbp ; +0x4fd, 0x1401a92cd mov [rdi+660h], rbp ; +0x504, 0x1401a92d4 mov byte ptr [rdi+668h], 0 ; +0x50b, 0x1401a92db mov qword ptr [rdi+678h], 3F800000h ; +0x512, 0x1401a92e2 mov [rdi+680h], rbp ; +0x51d, 0x1401a92ed mov dword ptr [rdi+688h], 1 ; +0x524, 0x1401a92f4 mov byte ptr [rdi+68Ch], 0 ; +0x52e, 0x1401a92fe mov [rdi+690h], rbp ; +0x535, 0x1401a9305 mov [rdi+698h], rbp ; +0x53c, 0x1401a930c mov [rdi+6A0h], rbp ; +0x543, 0x1401a9313 mov dword ptr [rdi+6A8h], 41200000h ; +0x54a, 0x1401a931a mov rax, rdi ; +0x554, 0x1401a9324 add rsp, 30h ; +0x557, 0x1401a9327 pop r14 ; +0x55b, 0x1401a932b pop rdi ; +0x55d, 0x1401a932d pop rsi ; +0x55e, 0x1401a932e pop rbp ; +0x55f, 0x1401a932f pop rbx ; +0x560, 0x1401a9330 retn ; +0x561, 0x1401a9331