; ; EditorUI::showUI from 0x1401b3e20 to 0x1401b4162 (834 bytes) ; ; 11 xrefs: ; > EditorUI::onPause @ 0x1401acd23 ; > EditorUI::onPause @ 0x1401acd7a ; > EditorUI::resetUI @ 0x1401afd29 ; > EditorUI::onHideUIBtn @ 0x1401b3cc6 ; > EditorUI::onShowUIBtn @ 0x1401b3dda ; > EditorUI::onPlaytest @ 0x1401b48cc ; > EditorUI::onStopPlaytest @ 0x1401b49b0 ; > EditorUI::playtestStopped @ 0x1401b4a09 ; > EditorUI::handleAction @ 0x1401c1db8 ; > EditorUI::handleEditorAction @ 0x1401c336c ; > @ 0x14091a0c0 ; ; 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:57 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1401b3e20 mov [rsp+arg_10], rbp ; +0x5, 0x1401b3e25 mov [rsp+arg_18], rsi ; +0xa, 0x1401b3e2a push rdi ; +0xf, 0x1401b3e2f sub rsp, 20h ; +0x10, 0x1401b3e30 movzx ebx, dl ; +0x14, 0x1401b3e34 mov rdi, rcx ; +0x17, 0x1401b3e37 cmp byte ptr [rcx+67Dh], 0 ; +0x1a, 0x1401b3e3a jz short loc_1401B3E48 ; +0x21, 0x1401b3e41 xor sil, sil ; +0x23, 0x1401b3e43 jmp short loc_1401B3E9E ; +0x26, 0x1401b3e46 mov rcx, cs:qword_14090BFD0 ; +0x28, 0x1401b3e48 test rcx, rcx ; +0x2f, 0x1401b3e4f jnz short loc_1401B3E86 ; +0x32, 0x1401b3e52 mov ecx, 6E8h; Size ; +0x34, 0x1401b3e54 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x39, 0x1401b3e59 mov [rsp+28h+arg_0], rax ; +0x3e, 0x1401b3e5e mov rcx, rax ; +0x43, 0x1401b3e63 call GameManager__GameManager ; +0x46, 0x1401b3e66 nop ; +0x4b, 0x1401b3e6b mov cs:qword_14090BFD0, rax ; +0x4c, 0x1401b3e6c mov rcx, [rax] ; +0x53, 0x1401b3e73 mov rdx, [rcx+48h] ; +0x56, 0x1401b3e76 mov rcx, rax ; +0x5a, 0x1401b3e7a call rdx ; +0x5d, 0x1401b3e7d mov rcx, cs:qword_14090BFD0 ; +0x5f, 0x1401b3e7f lea rdx, a0046; "0046" ; +0x66, 0x1401b3e86 call GameManager__getGameVariable ; +0x6d, 0x1401b3e8d mov esi, ebx ; +0x72, 0x1401b3e92 mov ecx, 1 ; +0x74, 0x1401b3e94 test al, al ; +0x79, 0x1401b3e99 cmovz esi, ecx ; +0x7b, 0x1401b3e9b xor ebx, ebx ; +0x7e, 0x1401b3e9e mov rcx, [rdi+2B0h] ; +0x80, 0x1401b3ea0 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x87, 0x1401b3ea7 test eax, eax ; +0x8d, 0x1401b3ead jz short loc_1401B3EE7 ; +0x8f, 0x1401b3eaf mov edx, ebx ; +0x91, 0x1401b3eb1 mov rcx, [rdi+2B0h] ; +0x93, 0x1401b3eb3 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x9a, 0x1401b3eba mov rcx, [rax] ; +0xa0, 0x1401b3ec0 mov r8, [rcx+150h] ; +0xa3, 0x1401b3ec3 movzx edx, sil ; +0xaa, 0x1401b3eca mov rcx, rax ; +0xae, 0x1401b3ece call r8 ; +0xb1, 0x1401b3ed1 inc ebx ; +0xb4, 0x1401b3ed4 mov rcx, [rdi+2B0h] ; +0xb6, 0x1401b3ed6 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xbd, 0x1401b3edd cmp ebx, eax ; +0xc3, 0x1401b3ee3 jb short loc_1401B3EB1 ; +0xc5, 0x1401b3ee5 cmp byte ptr [rdi+393h], 0 ; +0xc7, 0x1401b3ee7 jnz short loc_1401B3F26 ; +0xce, 0x1401b3eee mov rcx, [rdi+450h] ; +0xd0, 0x1401b3ef0 mov rax, [rcx] ; +0xd7, 0x1401b3ef7 xor edx, edx ; +0xda, 0x1401b3efa call qword ptr [rax+150h] ; +0xdc, 0x1401b3efc mov rcx, [rdi+448h] ; +0xe2, 0x1401b3f02 mov rax, [rcx] ; +0xe9, 0x1401b3f09 xor edx, edx ; +0xec, 0x1401b3f0c call qword ptr [rax+150h] ; +0xee, 0x1401b3f0e mov rcx, [rdi+458h] ; +0xf4, 0x1401b3f14 mov rax, [rcx] ; +0xfb, 0x1401b3f1b xor edx, edx ; +0xfe, 0x1401b3f1e call qword ptr [rax+150h] ; +0x100, 0x1401b3f20 mov rcx, [rdi+368h] ; +0x106, 0x1401b3f26 lea rbx, [rdi+5E4h] ; +0x10d, 0x1401b3f2d test rcx, rcx ; +0x114, 0x1401b3f34 jz short loc_1401B3F52 ; +0x117, 0x1401b3f37 test sil, sil ; +0x119, 0x1401b3f39 jz short loc_1401B3F47 ; +0x11c, 0x1401b3f3c cmp dword ptr [rbx], 2 ; +0x11e, 0x1401b3f3e jnz short loc_1401B3F47 ; +0x121, 0x1401b3f41 mov dl, 1 ; +0x123, 0x1401b3f43 jmp short loc_1401B3F49 ; +0x125, 0x1401b3f45 xor edx, edx ; +0x127, 0x1401b3f47 mov rax, [rcx] ; +0x129, 0x1401b3f49 call qword ptr [rax+150h] ; +0x12c, 0x1401b3f4c mov rcx, [rdi+370h] ; +0x132, 0x1401b3f52 test rcx, rcx ; +0x139, 0x1401b3f59 jz short loc_1401B3F88 ; +0x13c, 0x1401b3f5c test sil, sil ; +0x13e, 0x1401b3f5e jz short loc_1401B3F76 ; +0x141, 0x1401b3f61 cmp dword ptr [rbx], 3 ; +0x143, 0x1401b3f63 jnz short loc_1401B3F76 ; +0x146, 0x1401b3f66 cmp qword ptr [rdi+680h], 0 ; +0x148, 0x1401b3f68 jnz short loc_1401B3F76 ; +0x150, 0x1401b3f70 mov dl, 1 ; +0x152, 0x1401b3f72 jmp short loc_1401B3F78 ; +0x154, 0x1401b3f74 xor edx, edx ; +0x156, 0x1401b3f76 mov rax, [rcx] ; +0x158, 0x1401b3f78 call qword ptr [rax+150h] ; +0x15b, 0x1401b3f7b lea rbx, [rdi+5E4h] ; +0x161, 0x1401b3f81 mov rcx, [rdi+680h] ; +0x168, 0x1401b3f88 mov rbp, rbx ; +0x16f, 0x1401b3f8f test rcx, rcx ; +0x172, 0x1401b3f92 jz short loc_1401B3FB7 ; +0x175, 0x1401b3f95 test sil, sil ; +0x177, 0x1401b3f97 jz short loc_1401B3FA5 ; +0x17a, 0x1401b3f9a cmp dword ptr [rbx], 3 ; +0x17c, 0x1401b3f9c jnz short loc_1401B3FA5 ; +0x17f, 0x1401b3f9f mov dl, 1 ; +0x181, 0x1401b3fa1 jmp short loc_1401B3FA7 ; +0x183, 0x1401b3fa3 xor edx, edx ; +0x185, 0x1401b3fa5 mov rax, [rcx] ; +0x187, 0x1401b3fa7 call qword ptr [rax+150h] ; +0x18a, 0x1401b3faa lea rbp, [rdi+5E4h] ; +0x190, 0x1401b3fb0 test sil, sil ; +0x197, 0x1401b3fb7 jz short loc_1401B3FD5 ; +0x19a, 0x1401b3fba cmp dword ptr [rbx], 1 ; +0x19c, 0x1401b3fbc jnz short loc_1401B3FD5 ; +0x19f, 0x1401b3fbf mov rcx, [rdi+3B8h] ; +0x1a1, 0x1401b3fc1 mov rax, [rcx] ; +0x1a8, 0x1401b3fc8 mov dl, 1 ; +0x1ab, 0x1401b3fcb call qword ptr [rax+150h] ; +0x1ad, 0x1401b3fcd jmp short loc_1401B3FEC ; +0x1b3, 0x1401b3fd3 mov rcx, [rdi+3B8h] ; +0x1b5, 0x1401b3fd5 mov rax, [rcx] ; +0x1bc, 0x1401b3fdc xor edx, edx ; +0x1bf, 0x1401b3fdf call qword ptr [rax+150h] ; +0x1c1, 0x1401b3fe1 test sil, sil ; +0x1c7, 0x1401b3fe7 jz short loc_1401B3FF6 ; +0x1ca, 0x1401b3fea cmp dword ptr [rbp+0], 4 ; +0x1cc, 0x1401b3fec jnz short loc_1401B3FF6 ; +0x1d0, 0x1401b3ff0 mov dl, 1 ; +0x1d2, 0x1401b3ff2 jmp short loc_1401B3FF8 ; +0x1d4, 0x1401b3ff4 xor edx, edx ; +0x1d6, 0x1401b3ff6 mov rcx, [rdi+598h] ; +0x1d8, 0x1401b3ff8 mov rax, [rcx] ; +0x1df, 0x1401b3fff call qword ptr [rax+150h] ; +0x1e2, 0x1401b4002 cmp byte ptr [rdi+67Dh], 0 ; +0x1e8, 0x1401b4008 jz short loc_1401B408B ; +0x1ef, 0x1401b400f mov rcx, [rdi+418h] ; +0x1f1, 0x1401b4011 test rcx, rcx ; +0x1f8, 0x1401b4018 jz short loc_1401B4028 ; +0x1fb, 0x1401b401b mov rax, [rcx] ; +0x1fd, 0x1401b401d xor edx, edx ; +0x200, 0x1401b4020 call qword ptr [rax+150h] ; +0x202, 0x1401b4022 mov rcx, [rdi+420h] ; +0x208, 0x1401b4028 test rcx, rcx ; +0x20f, 0x1401b402f jz short loc_1401B403F ; +0x212, 0x1401b4032 mov rax, [rcx] ; +0x214, 0x1401b4034 xor edx, edx ; +0x217, 0x1401b4037 call qword ptr [rax+150h] ; +0x219, 0x1401b4039 mov rcx, [rdi+428h] ; +0x21f, 0x1401b403f test rcx, rcx ; +0x226, 0x1401b4046 jz short loc_1401B4056 ; +0x229, 0x1401b4049 mov rax, [rcx] ; +0x22b, 0x1401b404b xor edx, edx ; +0x22e, 0x1401b404e call qword ptr [rax+150h] ; +0x230, 0x1401b4050 mov rcx, [rdi+4E0h] ; +0x236, 0x1401b4056 test rcx, rcx ; +0x23d, 0x1401b405d jz short loc_1401B406D ; +0x240, 0x1401b4060 mov rax, [rcx] ; +0x242, 0x1401b4062 xor edx, edx ; +0x245, 0x1401b4065 call qword ptr [rax+150h] ; +0x247, 0x1401b4067 mov rcx, [rdi+320h] ; +0x24d, 0x1401b406d test rcx, rcx ; +0x254, 0x1401b4074 jz short loc_1401B4084 ; +0x257, 0x1401b4077 mov rax, [rcx] ; +0x259, 0x1401b4079 xor edx, edx ; +0x25c, 0x1401b407c call qword ptr [rax+150h] ; +0x25e, 0x1401b407e test sil, sil ; +0x264, 0x1401b4084 jz short loc_1401B40ED ; +0x267, 0x1401b4087 jmp short loc_1401B40E5 ; +0x269, 0x1401b4089 test sil, sil ; +0x26b, 0x1401b408b jz short loc_1401B40ED ; +0x26e, 0x1401b408e mov rcx, [rdi+418h] ; +0x270, 0x1401b4090 test rcx, rcx ; +0x277, 0x1401b4097 jz short loc_1401B40A7 ; +0x27a, 0x1401b409a mov rax, [rcx] ; +0x27c, 0x1401b409c mov dl, 1 ; +0x27f, 0x1401b409f call qword ptr [rax+150h] ; +0x281, 0x1401b40a1 mov rcx, [rdi+428h] ; +0x287, 0x1401b40a7 test rcx, rcx ; +0x28e, 0x1401b40ae jz short loc_1401B40BE ; +0x291, 0x1401b40b1 mov rax, [rcx] ; +0x293, 0x1401b40b3 mov dl, 1 ; +0x296, 0x1401b40b6 call qword ptr [rax+150h] ; +0x298, 0x1401b40b8 mov rcx, [rdi+4E0h] ; +0x29e, 0x1401b40be test rcx, rcx ; +0x2a5, 0x1401b40c5 jz short loc_1401B40DD ; +0x2a8, 0x1401b40c8 cmp dword ptr [rdi+5E4h], 2 ; +0x2aa, 0x1401b40ca setz dl ; +0x2b1, 0x1401b40d1 mov rax, [rcx] ; +0x2b4, 0x1401b40d4 call qword ptr [rax+150h] ; +0x2b7, 0x1401b40d7 mov rcx, rdi ; +0x2bd, 0x1401b40dd call EditorUI__toggleObjectInfoLabel ; +0x2c0, 0x1401b40e0 mov rcx, rdi ; +0x2c5, 0x1401b40e5 call EditorUI__updateGroupIDLabel ; +0x2c8, 0x1401b40e8 mov rcx, [rdi+440h] ; +0x2cd, 0x1401b40ed test rcx, rcx ; +0x2d4, 0x1401b40f4 jz short loc_1401B411A ; +0x2d7, 0x1401b40f7 cmp byte ptr [rdi+67Dh], 0 ; +0x2d9, 0x1401b40f9 jz short loc_1401B410F ; +0x2e0, 0x1401b4100 cmp byte ptr [rdi+67Eh], 0 ; +0x2e2, 0x1401b4102 jz short loc_1401B410F ; +0x2e9, 0x1401b4109 mov dl, 1 ; +0x2eb, 0x1401b410b jmp short loc_1401B4111 ; +0x2ed, 0x1401b410d xor edx, edx ; +0x2ef, 0x1401b410f mov rax, [rcx] ; +0x2f1, 0x1401b4111 call qword ptr [rax+150h] ; +0x2f4, 0x1401b4114 mov rax, [rdi+260h] ; +0x2fa, 0x1401b411a mov rbx, [rax] ; +0x301, 0x1401b4121 cmp rbx, rax ; +0x304, 0x1401b4124 jz short loc_1401B414D ; +0x307, 0x1401b4127 nop dword ptr [rax+00000000h] ; +0x309, 0x1401b4129 mov rcx, [rbx+18h] ; +0x310, 0x1401b4130 mov rax, [rcx] ; +0x314, 0x1401b4134 movzx edx, sil ; +0x317, 0x1401b4137 call qword ptr [rax+150h] ; +0x31b, 0x1401b413b mov rbx, [rbx] ; +0x321, 0x1401b4141 cmp rbx, [rdi+260h] ; +0x324, 0x1401b4144 jnz short loc_1401B4130 ; +0x32b, 0x1401b414b mov rbx, [rsp+28h+arg_8] ; +0x32d, 0x1401b414d mov rbp, [rsp+28h+arg_10] ; +0x332, 0x1401b4152 mov rsi, [rsp+28h+arg_18] ; +0x337, 0x1401b4157 add rsp, 20h ; +0x33c, 0x1401b415c pop rdi ; +0x340, 0x1401b4160 retn ; +0x341, 0x1401b4161