; ; EditorUI::onDelete from 0x1401aff90 to 0x1401b0521 (1425 bytes) ; ; 2 xrefs: ; > EditorUI::clickOnPosition @ 0x1401ada6a ; > @ 0x140919e8c ; ; 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:55 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1401aff90 mov [rsp+arg_10], rbp ; +0x5, 0x1401aff95 mov [rsp+arg_18], rsi ; +0xa, 0x1401aff9a mov [rsp+arg_8], rdx ; +0xf, 0x1401aff9f push rdi ; +0x14, 0x1401affa4 push r12 ; +0x15, 0x1401affa5 push r13 ; +0x17, 0x1401affa7 push r14 ; +0x19, 0x1401affa9 push r15 ; +0x1b, 0x1401affab sub rsp, 20h ; +0x1d, 0x1401affad mov rdi, rcx ; +0x21, 0x1401affb1 lea rdx, [rcx+618h] ; +0x24, 0x1401affb4 lea rcx, [rsp+48h+arg_8] ; +0x2b, 0x1401affbb call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x30, 0x1401affc0 mov rdx, rax ; +0x36, 0x1401affc6 mov rcx, [rdi+5E8h] ; +0x39, 0x1401affc9 call LevelEditorLayer__objectsAtPosition ; +0x40, 0x1401affd0 mov r14, rax ; +0x45, 0x1401affd5 xor r13b, r13b ; +0x48, 0x1401affd8 cmp [rdi+38Ch], r13b ; +0x4b, 0x1401affdb jz loc_1401B008A ; +0x52, 0x1401affe2 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x58, 0x1401affe8 mov rcx, [rax] ; +0x5e, 0x1401affee mov rdx, [rcx+0B0h] ; +0x61, 0x1401afff1 mov rcx, rax ; +0x68, 0x1401afff8 call rdx ; +0x6b, 0x1401afffb cmp [rax+98h], r13b ; +0x6d, 0x1401afffd jnz loc_1401B008A ; +0x74, 0x1401b0004 xor bpl, bpl ; +0x7a, 0x1401b000a xor esi, esi ; +0x7d, 0x1401b000d mov rcx, r14 ; +0x7f, 0x1401b000f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x82, 0x1401b0012 test eax, eax ; +0x88, 0x1401b0018 jz loc_1401B0158 ; +0x8a, 0x1401b001a mov edx, esi ; +0x90, 0x1401b0020 mov rcx, r14 ; +0x92, 0x1401b0022 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x95, 0x1401b0025 mov rbx, rax ; +0x9b, 0x1401b002b mov rdx, rax ; +0x9e, 0x1401b002e call EditorUI__shouldDeleteObject ; +0xa1, 0x1401b0031 test al, al ; +0xa6, 0x1401b0036 jz short loc_1401B0076 ; +0xa8, 0x1401b0038 test bpl, bpl ; +0xaa, 0x1401b003a jnz short loc_1401B0056 ; +0xad, 0x1401b003d cmp dword ptr [rbx+40Ch], 2EBh ; +0xaf, 0x1401b003f jnz short loc_1401B0056 ; +0xb9, 0x1401b0049 mov bpl, 1 ; +0xbb, 0x1401b004b mov rcx, rdi ; +0xbe, 0x1401b004e call EditorUI__deselectTargetPortals ; +0xc1, 0x1401b0051 mov rdx, rbx ; +0xc6, 0x1401b0056 mov rcx, [rdi+588h] ; +0xc9, 0x1401b0059 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0xd0, 0x1401b0060 test r13b, r13b ; +0xd6, 0x1401b0066 jnz short loc_1401B0076 ; +0xd9, 0x1401b0069 cmp dword ptr [rbx+370h], 0 ; +0xdb, 0x1401b006b setnle r13b ; +0xe2, 0x1401b0072 inc esi ; +0xe6, 0x1401b0076 mov rcx, r14 ; +0xe8, 0x1401b0078 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xeb, 0x1401b007b cmp esi, eax ; +0xf1, 0x1401b0081 jb short loc_1401B0020 ; +0xf3, 0x1401b0083 jmp loc_1401B0158 ; +0xf5, 0x1401b0085 mov rcx, r14 ; +0xfa, 0x1401b008a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xfd, 0x1401b008d mov r12d, eax ; +0x103, 0x1401b0093 xor r15d, r15d ; +0x106, 0x1401b0096 test eax, eax ; +0x109, 0x1401b0099 jle loc_1401B0158 ; +0x10b, 0x1401b009b xor ebx, ebx ; +0x111, 0x1401b00a1 xor esi, esi ; +0x113, 0x1401b00a3 mov rcx, r14 ; +0x115, 0x1401b00a5 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x118, 0x1401b00a8 test eax, eax ; +0x11e, 0x1401b00ae jz loc_1401B0158 ; +0x120, 0x1401b00b0 nop word ptr [rax+rax+00000000h] ; +0x126, 0x1401b00b6 mov edx, esi ; +0x130, 0x1401b00c0 mov rcx, r14 ; +0x132, 0x1401b00c2 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x135, 0x1401b00c5 mov rbp, rax ; +0x13b, 0x1401b00cb test rbx, rbx ; +0x13e, 0x1401b00ce jz short loc_1401B00E1 ; +0x141, 0x1401b00d1 mov ecx, [rbx+478h] ; +0x143, 0x1401b00d3 cmp [rax+478h], ecx ; +0x149, 0x1401b00d9 jge short loc_1401B00EF ; +0x14f, 0x1401b00df mov rdx, rbp ; +0x151, 0x1401b00e1 call EditorUI__canSelectObject ; +0x154, 0x1401b00e4 test al, al ; +0x159, 0x1401b00e9 cmovnz rbx, rbp ; +0x15b, 0x1401b00eb inc esi ; +0x15f, 0x1401b00ef mov rcx, r14 ; +0x161, 0x1401b00f1 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x164, 0x1401b00f4 cmp esi, eax ; +0x16a, 0x1401b00fa jb short loc_1401B00C0 ; +0x16c, 0x1401b00fc test rbx, rbx ; +0x16e, 0x1401b00fe jz short loc_1401B0158 ; +0x171, 0x1401b0101 mov eax, [rdi+64Ch] ; +0x173, 0x1401b0103 mov [rbx+478h], eax ; +0x179, 0x1401b0109 mov rdx, rbx ; +0x17f, 0x1401b010f call EditorUI__shouldDeleteObject ; +0x182, 0x1401b0112 test al, al ; +0x187, 0x1401b0117 jnz short loc_1401B0129 ; +0x189, 0x1401b0119 inc r15d ; +0x18b, 0x1401b011b cmp r15d, r12d ; +0x18e, 0x1401b011e jl loc_1401B00A1 ; +0x191, 0x1401b0121 jmp short loc_1401B0158 ; +0x197, 0x1401b0127 cmp dword ptr [rbx+40Ch], 2EBh ; +0x199, 0x1401b0129 jnz short loc_1401B013D ; +0x1a3, 0x1401b0133 mov rcx, rdi ; +0x1a5, 0x1401b0135 call EditorUI__deselectTargetPortals ; +0x1a8, 0x1401b0138 mov rdx, rbx ; +0x1ad, 0x1401b013d mov rcx, [rdi+588h] ; +0x1b0, 0x1401b0140 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x1b7, 0x1401b0147 cmp dword ptr [rbx+370h], 0 ; +0x1bd, 0x1401b014d setnle r13b ; +0x1c4, 0x1401b0154 cmp byte ptr [rdi+393h], 0 ; +0x1c8, 0x1401b0158 jz loc_1401B02A8 ; +0x1cf, 0x1401b015f cmp byte ptr [rdi+394h], 0 ; +0x1d5, 0x1401b0165 jnz loc_1401B02A8 ; +0x1dc, 0x1401b016c test r13b, r13b ; +0x1e2, 0x1401b0172 jz loc_1401B02AB ; +0x1e5, 0x1401b0175 call cs:?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x1eb, 0x1401b017b mov rbp, rax ; +0x1f1, 0x1401b0181 mov rax, [rdi+588h] ; +0x1f4, 0x1401b0184 test rax, rax ; +0x1fb, 0x1401b018b jz short loc_1401B01F0 ; +0x1fe, 0x1401b018e mov rbx, [rax+38h] ; +0x200, 0x1401b0190 mov eax, [rbx] ; +0x204, 0x1401b0194 test eax, eax ; +0x206, 0x1401b0196 jz short loc_1401B01F0 ; +0x208, 0x1401b0198 mov rbx, [rbx+10h] ; +0x20a, 0x1401b019a lea r14, [rax-1] ; +0x20e, 0x1401b019e lea r14, [rbx+r14*8] ; +0x212, 0x1401b01a2 cmp rbx, r14 ; +0x216, 0x1401b01a6 ja short loc_1401B01F0 ; +0x219, 0x1401b01a9 nop dword ptr [rax+rax+00h] ; +0x21b, 0x1401b01ab mov rsi, [rbx] ; +0x220, 0x1401b01b0 test rsi, rsi ; +0x223, 0x1401b01b3 jz short loc_1401B01F0 ; +0x226, 0x1401b01b6 movsxd rax, dword ptr [rsi+370h] ; +0x228, 0x1401b01b8 test eax, eax ; +0x22f, 0x1401b01bf jle short loc_1401B01E7 ; +0x231, 0x1401b01c1 mov rdx, rax ; +0x233, 0x1401b01c3 mov rcx, rbp ; +0x236, 0x1401b01c6 call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x239, 0x1401b01c9 test rax, rax ; +0x23f, 0x1401b01cf jnz short loc_1401B01E7 ; +0x242, 0x1401b01d2 movsxd r8, dword ptr [rsi+370h] ; +0x244, 0x1401b01d4 mov rdx, rsi ; +0x24b, 0x1401b01db mov rcx, rbp ; +0x24e, 0x1401b01de call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x251, 0x1401b01e1 add rbx, 8 ; +0x257, 0x1401b01e7 cmp rbx, r14 ; +0x25b, 0x1401b01eb jbe short loc_1401B01B0 ; +0x25e, 0x1401b01ee mov rcx, rbp ; +0x260, 0x1401b01f0 call cs:?allKeys@CCDictionary@cocos2d@@QEAAPEAVCCArray@2@XZ; cocos2d::CCDictionary::allKeys(void) ; +0x263, 0x1401b01f3 mov r15, rax ; +0x269, 0x1401b01f9 xor r14d, r14d ; +0x26c, 0x1401b01fc mov rcx, rax ; +0x26f, 0x1401b01ff call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x272, 0x1401b0202 test eax, eax ; +0x278, 0x1401b0208 jz loc_1401B02AB ; +0x27a, 0x1401b020a mov edx, r14d ; +0x280, 0x1401b0210 mov rcx, r15 ; +0x283, 0x1401b0213 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x286, 0x1401b0216 movsxd rdx, dword ptr [rax+38h] ; +0x28c, 0x1401b021c mov rcx, [rdi+5E8h] ; +0x290, 0x1401b0220 mov rcx, [rcx+10A0h] ; +0x297, 0x1401b0227 call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x29e, 0x1401b022e mov rbp, rax ; +0x2a4, 0x1401b0234 test rax, rax ; +0x2a7, 0x1401b0237 jz short loc_1401B0291 ; +0x2aa, 0x1401b023a xor ebx, ebx ; +0x2ac, 0x1401b023c mov rcx, rax ; +0x2ae, 0x1401b023e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2b1, 0x1401b0241 test eax, eax ; +0x2b7, 0x1401b0247 jz short loc_1401B0291 ; +0x2b9, 0x1401b0249 nop dword ptr [rax+rax+00h] ; +0x2bb, 0x1401b024b mov edx, ebx ; +0x2c0, 0x1401b0250 mov rcx, rbp ; +0x2c2, 0x1401b0252 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x2c5, 0x1401b0255 mov rsi, rax ; +0x2cb, 0x1401b025b mov rdx, rax ; +0x2ce, 0x1401b025e mov rcx, [rdi+588h] ; +0x2d1, 0x1401b0261 call cs:?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x2d8, 0x1401b0268 test al, al ; +0x2de, 0x1401b026e jnz short loc_1401B0282 ; +0x2e0, 0x1401b0270 mov rdx, rsi ; +0x2e2, 0x1401b0272 mov rcx, [rdi+588h] ; +0x2e5, 0x1401b0275 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x2ec, 0x1401b027c inc ebx ; +0x2f2, 0x1401b0282 mov rcx, rbp ; +0x2f4, 0x1401b0284 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2f7, 0x1401b0287 cmp ebx, eax ; +0x2fd, 0x1401b028d jb short loc_1401B0250 ; +0x2ff, 0x1401b028f inc r14d ; +0x301, 0x1401b0291 mov rcx, r15 ; +0x304, 0x1401b0294 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x307, 0x1401b0297 cmp r14d, eax ; +0x30d, 0x1401b029d jb loc_1401B0210 ; +0x310, 0x1401b02a0 jmp short loc_1401B02AB ; +0x316, 0x1401b02a6 xor r13b, r13b ; +0x318, 0x1401b02a8 lea rbx, [rdi+588h] ; +0x31b, 0x1401b02ab mov rcx, [rbx] ; +0x322, 0x1401b02b2 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x325, 0x1401b02b5 test eax, eax ; +0x32b, 0x1401b02bb jz short loc_1401B0331 ; +0x32d, 0x1401b02bd call EditorSFXManager__sharedState ; +0x32f, 0x1401b02bf mov rcx, rax ; +0x334, 0x1401b02c4 mov edx, 65h ; 'e' ; +0x337, 0x1401b02c7 call EditorSFXManager__playAction ; +0x33c, 0x1401b02cc lea rcx, [rdi+2F4h] ; +0x341, 0x1401b02d1 cmp byte ptr [rcx], 0 ; +0x348, 0x1401b02d8 jnz short loc_1401B032E ; +0x34b, 0x1401b02db mov r8, [rdi+5E8h] ; +0x34d, 0x1401b02dd add r8, 3C30h ; +0x354, 0x1401b02e4 mov r9d, [r8+60h] ; +0x35b, 0x1401b02eb test r9d, r9d ; +0x35f, 0x1401b02ef js short loc_1401B0326 ; +0x362, 0x1401b02f2 mov eax, [r8+20h] ; +0x364, 0x1401b02f4 sub eax, r9d ; +0x368, 0x1401b02f8 xor ecx, ecx ; +0x36b, 0x1401b02fb cmp eax, 1 ; +0x36d, 0x1401b02fd jle short loc_1401B0310 ; +0x370, 0x1401b0300 cmp ecx, 7 ; +0x372, 0x1401b0302 jge short loc_1401B0310 ; +0x375, 0x1401b0305 shr eax, 1 ; +0x377, 0x1401b0307 inc ecx ; +0x379, 0x1401b0309 cmp eax, 1 ; +0x37b, 0x1401b030b ja short loc_1401B0302 ; +0x37e, 0x1401b030e movsxd rax, ecx ; +0x380, 0x1401b0310 inc dword ptr [r8+rax*4+40h] ; +0x383, 0x1401b0313 lea rcx, [rdi+2F4h] ; +0x388, 0x1401b0318 lea rbx, [rdi+588h] ; +0x38f, 0x1401b031f mov eax, [r8+20h] ; +0x396, 0x1401b0326 mov [r8+60h], eax ; +0x39a, 0x1401b032a mov byte ptr [rcx], 1 ; +0x39e, 0x1401b032e mov rax, [rbx] ; +0x3a1, 0x1401b0331 test rax, rax ; +0x3a4, 0x1401b0334 jz short loc_1401B03A8 ; +0x3a7, 0x1401b0337 mov rsi, [rax+38h] ; +0x3a9, 0x1401b0339 mov eax, [rsi] ; +0x3ad, 0x1401b033d test eax, eax ; +0x3af, 0x1401b033f jz short loc_1401B03A8 ; +0x3b1, 0x1401b0341 mov rsi, [rsi+10h] ; +0x3b3, 0x1401b0343 lea rbp, [rax-1] ; +0x3b7, 0x1401b0347 lea rbp, [rsi+rbp*8] ; +0x3bb, 0x1401b034b cmp rsi, rbp ; +0x3bf, 0x1401b034f ja short loc_1401B03A8 ; +0x3c2, 0x1401b0352 mov rbx, [rsi] ; +0x3c4, 0x1401b0354 test rbx, rbx ; +0x3c7, 0x1401b0357 jz short loc_1401B03A8 ; +0x3ca, 0x1401b035a movzx eax, byte ptr [rbx+475h] ; +0x3cc, 0x1401b035c mov [rbx+474h], al ; +0x3d3, 0x1401b0363 mov rdx, rbx ; +0x3d9, 0x1401b0369 mov rcx, rdi ; +0x3dc, 0x1401b036c call EditorUI__deselectObject ; +0x3df, 0x1401b036f movzx r8d, r13b ; +0x3e4, 0x1401b0374 mov rdx, rbx ; +0x3e8, 0x1401b0378 mov rcx, [rdi+5E8h] ; +0x3eb, 0x1401b037b call LevelEditorLayer__removeObject ; +0x3f2, 0x1401b0382 mov rcx, rdi ; +0x3f7, 0x1401b0387 call EditorUI__deactivateRotationControl ; +0x3fa, 0x1401b038a mov rcx, rdi ; +0x3ff, 0x1401b038f call EditorUI__deactivateScaleControl ; +0x402, 0x1401b0392 mov rcx, rdi ; +0x407, 0x1401b0397 call EditorUI__deactivateTransformControl ; +0x40a, 0x1401b039a add rsi, 8 ; +0x40f, 0x1401b039f cmp rsi, rbp ; +0x413, 0x1401b03a3 jbe short loc_1401B0354 ; +0x416, 0x1401b03a6 test r13b, r13b ; +0x418, 0x1401b03a8 jz loc_1401B04AF ; +0x41b, 0x1401b03ab mov rcx, [rdi+588h] ; +0x421, 0x1401b03b1 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x428, 0x1401b03b8 mov rcx, [rdi+5E8h] ; +0x42e, 0x1401b03be add [rcx+3C38h], eax ; +0x435, 0x1401b03c5 mov rbx, [rdi+588h] ; +0x43b, 0x1401b03cb mov ecx, 0A0h; Size ; +0x442, 0x1401b03d2 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x447, 0x1401b03d7 mov rsi, rax ; +0x44c, 0x1401b03dc mov [rsp+48h+arg_8], rax ; +0x44f, 0x1401b03df mov rcx, rax ; +0x454, 0x1401b03e4 call cs:??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x457, 0x1401b03e7 nop ; +0x45d, 0x1401b03ed lea rax, ??_7UndoObject@@6B@; const UndoObject::`vftable' ; +0x45e, 0x1401b03ee mov [rsi], rax ; +0x465, 0x1401b03f5 mov qword ptr [rsi+38h], 0 ; +0x468, 0x1401b03f8 mov dword ptr [rsi+40h], 0 ; +0x470, 0x1401b0400 mov qword ptr [rsi+48h], 0 ; +0x477, 0x1401b0407 mov word ptr [rsi+50h], 0 ; +0x47f, 0x1401b040f lea rcx, [rsi+54h] ; +0x485, 0x1401b0415 call GJTransformState__GJTransformState ; +0x489, 0x1401b0419 nop ; +0x48e, 0x1401b041e test rbx, rbx ; +0x48f, 0x1401b041f jz short loc_1401B0444 ; +0x492, 0x1401b0422 call cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x494, 0x1401b0424 mov [rsi+48h], rax ; +0x49a, 0x1401b042a mov rdx, rbx ; +0x49e, 0x1401b042e mov rcx, rax ; +0x4a1, 0x1401b0431 call cs:?addObjectsFromArray@CCArray@cocos2d@@QEAAXPEAV12@@Z; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray *) ; +0x4a4, 0x1401b0434 mov rcx, [rsi+48h] ; +0x4aa, 0x1401b043a call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x4ae, 0x1401b043e mov dword ptr [rsi+40h], 4 ; +0x4b4, 0x1401b0444 mov rcx, rsi ; +0x4bb, 0x1401b044b call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x4be, 0x1401b044e mov rbp, [rdi+5E8h] ; +0x4c4, 0x1401b0454 mov rcx, [rbp+3A48h] ; +0x4cb, 0x1401b045b call cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x4d2, 0x1401b0462 mov ebx, 3E8h ; +0x4d8, 0x1401b0468 mov eax, 0C8h ; +0x4dd, 0x1401b046d cmp byte ptr [rbp+3947h], 0 ; +0x4e2, 0x1401b0472 cmovz ebx, eax ; +0x4e9, 0x1401b0479 mov rcx, [rbp+3A40h] ; +0x4ec, 0x1401b047c call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4f3, 0x1401b0483 cmp eax, ebx ; +0x4f9, 0x1401b0489 jb short loc_1401B049F ; +0x4fb, 0x1401b048b mov r8b, 1 ; +0x4fd, 0x1401b048d xor edx, edx ; +0x500, 0x1401b0490 mov rcx, [rbp+3A40h] ; +0x502, 0x1401b0492 call cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x509, 0x1401b0499 mov rdx, rsi ; +0x50f, 0x1401b049f mov rcx, [rbp+3A40h] ; +0x512, 0x1401b04a2 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x519, 0x1401b04a9 mov rcx, [rdi+588h] ; +0x51f, 0x1401b04af call cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x526, 0x1401b04b6 cmp qword ptr [rdi+620h], 0 ; +0x52c, 0x1401b04bc jnz short loc_1401B04EF ; +0x534, 0x1401b04c4 mov rcx, [rdi+3B0h] ; +0x536, 0x1401b04c6 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x53d, 0x1401b04cd test eax, eax ; +0x543, 0x1401b04d3 jnz short loc_1401B04EF ; +0x545, 0x1401b04d5 mov rcx, rdi ; +0x547, 0x1401b04d7 call EditorUI__deactivateRotationControl ; +0x54a, 0x1401b04da mov rcx, rdi ; +0x54f, 0x1401b04df call EditorUI__deactivateScaleControl ; +0x552, 0x1401b04e2 mov rcx, rdi ; +0x557, 0x1401b04e7 call EditorUI__deactivateTransformControl ; +0x55a, 0x1401b04ea mov rcx, rdi ; +0x55f, 0x1401b04ef call EditorUI__updateObjectInfoLabel ; +0x562, 0x1401b04f2 lea rcx, [rdi+1B0h] ; +0x567, 0x1401b04f7 mov rax, [rcx] ; +0x56e, 0x1401b04fe mov rbx, [rsp+48h+arg_0] ; +0x571, 0x1401b0501 mov rbp, [rsp+48h+arg_10] ; +0x576, 0x1401b0506 mov rsi, [rsp+48h+arg_18] ; +0x57b, 0x1401b050b add rsp, 20h ; +0x580, 0x1401b0510 pop r15 ; +0x584, 0x1401b0514 pop r14 ; +0x586, 0x1401b0516 pop r13 ; +0x588, 0x1401b0518 pop r12 ; +0x58a, 0x1401b051a pop rdi ; +0x58c, 0x1401b051c jmp qword ptr [rax+28h] ; +0x58d, 0x1401b051d