; ; EditorUI::dynamicGroupUpdate from 0x1401188b0 to 0x140118fd6 (1830 bytes) ; ; 3 xrefs: ; > EditorPauseLayer::onReGroup @ 0x1400dccd0 ; > EditorPauseLayer::onBuildHelper @ 0x1400dccf0 ; > @ 0x1406c93b4 ; ; 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-8+arg_8], dl ; +0x0, 0x1401188b0 mov [rsp-8+arg_0], rcx ; +0x4, 0x1401188b4 push rbp ; +0x9, 0x1401188b9 push rbx ; +0xa, 0x1401188ba push rsi ; +0xb, 0x1401188bb push rdi ; +0xc, 0x1401188bc push r12 ; +0xd, 0x1401188bd push r13 ; +0xf, 0x1401188bf push r14 ; +0x11, 0x1401188c1 push r15 ; +0x13, 0x1401188c3 lea rbp, [rsp-0F8h] ; +0x15, 0x1401188c5 sub rsp, 1F8h ; +0x1d, 0x1401188cd movzx r14d, dl ; +0x24, 0x1401188d4 mov rdi, rcx ; +0x28, 0x1401188d8 cmp qword ptr [rcx+538h], 0 ; +0x2b, 0x1401188db jnz short loc_1401188FA ; +0x33, 0x1401188e3 mov rcx, [rcx+340h] ; +0x35, 0x1401188e5 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3c, 0x1401188ec test eax, eax ; +0x42, 0x1401188f2 jz loc_140118FC2 ; +0x44, 0x1401188f4 mov rcx, [rdi+500h] ; +0x4a, 0x1401188fa add rcx, 3AE0h ; +0x51, 0x140118901 call sub_14005E0D0 ; +0x58, 0x140118908 call cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x5d, 0x14011890d mov r12, rax ; +0x63, 0x140118913 mov [rsp+230h+var_208], rax ; +0x66, 0x140118916 mov rdx, [rdi+538h] ; +0x6b, 0x14011891b mov rcx, rax ; +0x72, 0x140118922 test rdx, rdx ; +0x75, 0x140118925 jz short loc_140118932 ; +0x78, 0x140118928 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x7a, 0x14011892a jmp short loc_14011893F ; +0x80, 0x140118930 mov rdx, [rdi+340h] ; +0x82, 0x140118932 call cs:?addObjectsFromArray@CCArray@cocos2d@@QEAAXPEAV12@@Z; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray *) ; +0x89, 0x140118939 mov [rbp+130h+arg_10], 0 ; +0x8f, 0x14011893f lea rdx, [rbp+130h+arg_10] ; +0x99, 0x140118949 lea rcx, [rbp+130h+var_80] ; +0xa0, 0x140118950 call sub_14005E660 ; +0xa7, 0x140118957 nop ; +0xac, 0x14011895c mov [rbp+130h+arg_10], 0 ; +0xad, 0x14011895d lea rdx, [rbp+130h+arg_10] ; +0xb7, 0x140118967 lea rcx, [rsp+230h+var_1F0] ; +0xbe, 0x14011896e call sub_14005E660 ; +0xc3, 0x140118973 nop ; +0xc8, 0x140118978 xor esi, esi ; +0xc9, 0x140118979 mov r13d, esi ; +0xcb, 0x14011897b mov [rbp+130h+arg_18], esi ; +0xce, 0x14011897e mov rcx, r12 ; +0xd4, 0x140118984 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xd7, 0x140118987 test eax, eax ; +0xdd, 0x14011898d jz loc_140118B62 ; +0xdf, 0x14011898f nop word ptr [rax+rax+00000000h] ; +0xe5, 0x140118995 mov edx, r13d ; +0xf0, 0x1401189a0 mov rcx, r12 ; +0xf3, 0x1401189a3 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xf6, 0x1401189a6 mov r14, rax ; +0xfc, 0x1401189ac mov r15d, esi ; +0xff, 0x1401189af cmp si, [rax+498h] ; +0x102, 0x1401189b2 jge loc_140118ABA ; +0x109, 0x1401189b9 mov rdi, rsi ; +0x10f, 0x1401189bf mov rbx, rsi ; +0x112, 0x1401189c2 mov r12, 100000001B3h ; +0x115, 0x1401189c5 mov r13, 0CBF29CE484222325h ; +0x11f, 0x1401189cf nop dword ptr [rax+00000000h] ; +0x129, 0x1401189d9 cmp rbx, 9 ; +0x130, 0x1401189e0 ja short loc_1401189F8 ; +0x134, 0x1401189e4 mov rax, [r14+490h] ; +0x136, 0x1401189e6 test rax, rax ; +0x13d, 0x1401189ed jz short loc_1401189F8 ; +0x140, 0x1401189f0 movsx edx, word ptr [rdi+rax] ; +0x142, 0x1401189f2 jmp short loc_1401189FA ; +0x146, 0x1401189f6 mov edx, esi ; +0x148, 0x1401189f8 mov [rbp+130h+arg_10], edx ; +0x14a, 0x1401189fa mov [rsp+230h+var_210], edx ; +0x150, 0x140118a00 movzx ecx, dl ; +0x154, 0x140118a04 xor rcx, r13 ; +0x157, 0x140118a07 imul rcx, r12 ; +0x15a, 0x140118a0a movzx eax, byte ptr [rbp+130h+arg_10+1] ; +0x15e, 0x140118a0e xor rcx, rax ; +0x165, 0x140118a15 imul rcx, r12 ; +0x168, 0x140118a18 movzx eax, byte ptr [rbp+130h+arg_10+2] ; +0x16c, 0x140118a1c xor rcx, rax ; +0x173, 0x140118a23 imul rcx, r12 ; +0x176, 0x140118a26 movzx eax, byte ptr [rbp+130h+arg_10+3] ; +0x17a, 0x140118a2a xor rcx, rax ; +0x181, 0x140118a31 imul rcx, r12 ; +0x184, 0x140118a34 mov r8, [rsp+230h+var_1C0] ; +0x188, 0x140118a38 and r8, rcx ; +0x18d, 0x140118a3d add r8, r8 ; +0x190, 0x140118a40 mov rcx, [rsp+230h+var_1D8] ; +0x193, 0x140118a43 mov rax, [rcx+r8*8+8] ; +0x198, 0x140118a48 cmp rax, [rsp+230h+var_1E8] ; +0x19d, 0x140118a4d jz short loc_140118A70 ; +0x1a2, 0x140118a52 mov rcx, [rcx+r8*8] ; +0x1a4, 0x140118a54 cmp edx, [rax+10h] ; +0x1a8, 0x140118a58 jz short loc_140118A73 ; +0x1ab, 0x140118a5b nop dword ptr [rax] ; +0x1ad, 0x140118a5d cmp rax, rcx ; +0x1b0, 0x140118a60 jz short loc_140118A70 ; +0x1b3, 0x140118a63 mov rax, [rax+8] ; +0x1b5, 0x140118a65 cmp edx, [rax+10h] ; +0x1b9, 0x140118a69 jnz short loc_140118A60 ; +0x1bc, 0x140118a6c jmp short loc_140118A73 ; +0x1be, 0x140118a6e mov rax, rsi ; +0x1c0, 0x140118a70 test rax, rax ; +0x1c3, 0x140118a73 jnz short loc_140118A8C ; +0x1c6, 0x140118a76 lea r8, [rsp+230h+var_210] ; +0x1c8, 0x140118a78 lea rdx, [rsp+230h+var_200] ; +0x1cd, 0x140118a7d lea rcx, [rsp+230h+var_1F0] ; +0x1d2, 0x140118a82 call sub_140060D70 ; +0x1d7, 0x140118a87 inc r15d ; +0x1dc, 0x140118a8c inc rbx ; +0x1df, 0x140118a8f add rdi, 2 ; +0x1e2, 0x140118a92 movsx eax, word ptr [r14+498h] ; +0x1e6, 0x140118a96 cmp r15d, eax ; +0x1ee, 0x140118a9e jl loc_1401189E0 ; +0x1f1, 0x140118aa1 mov r12, [rsp+230h+var_208] ; +0x1f7, 0x140118aa7 mov r13d, [rbp+130h+arg_18] ; +0x1fc, 0x140118aac mov rdi, [rbp+130h+arg_0] ; +0x203, 0x140118ab3 mov eax, [r14+40Ch] ; +0x20a, 0x140118aba cmp eax, 718h ; +0x211, 0x140118ac1 jnz short loc_140118AF0 ; +0x216, 0x140118ac6 mov eax, [r14+6A0h] ; +0x218, 0x140118ac8 test eax, eax ; +0x21f, 0x140118acf jle short loc_140118B3E ; +0x221, 0x140118ad1 mov [rbp+130h+arg_10], eax ; +0x223, 0x140118ad3 lea r8, [rbp+130h+arg_10] ; +0x229, 0x140118ad9 lea rdx, [rbp+130h+var_1B0] ; +0x230, 0x140118ae0 lea rcx, [rsp+230h+var_1F0] ; +0x234, 0x140118ae4 call sub_140060D70 ; +0x239, 0x140118ae9 jmp short loc_140118B3E ; +0x23e, 0x140118aee cmp eax, 0B57h ; +0x240, 0x140118af0 jnz short loc_140118B3E ; +0x245, 0x140118af5 mov [rbp+130h+arg_10], 0 ; +0x247, 0x140118af7 lea rdx, [rbp+130h+arg_10] ; +0x251, 0x140118b01 lea rcx, [rbp+130h+var_C0] ; +0x258, 0x140118b08 call sub_14005E660 ; +0x25c, 0x140118b0c nop ; +0x261, 0x140118b11 lea rdx, [rbp+130h+var_C0] ; +0x262, 0x140118b12 mov rcx, [rdi+500h] ; +0x266, 0x140118b16 call LevelEditorLayer__getNextFreeGradientID ; +0x26d, 0x140118b1d mov [r14+748h], eax ; +0x272, 0x140118b22 lea rcx, [rbp+130h+var_A8] ; +0x279, 0x140118b29 call sub_14005D100 ; +0x280, 0x140118b30 lea rcx, [rbp+130h+var_B8] ; +0x285, 0x140118b35 call sub_14005D870 ; +0x289, 0x140118b39 inc r13d ; +0x28e, 0x140118b3e mov [rbp+130h+arg_18], r13d ; +0x291, 0x140118b41 mov rcx, r12 ; +0x298, 0x140118b48 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x29b, 0x140118b4b cmp r13d, eax ; +0x2a1, 0x140118b51 jb loc_1401189A0 ; +0x2a4, 0x140118b54 movzx r14d, [rbp+130h+arg_8] ; +0x2aa, 0x140118b5a lea rdi, [rsp+230h+var_1F0] ; +0x2b2, 0x140118b62 lea rax, [rbp+130h+var_80] ; +0x2b7, 0x140118b67 test r14b, r14b ; +0x2be, 0x140118b6e cmovz rdi, rax ; +0x2c1, 0x140118b71 mov r15d, esi ; +0x2c5, 0x140118b75 mov rcx, r12 ; +0x2c8, 0x140118b78 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2cb, 0x140118b7b test eax, eax ; +0x2d1, 0x140118b81 jz loc_140118D8C ; +0x2d3, 0x140118b83 movzx r13d, [rbp+130h+arg_8] ; +0x2d9, 0x140118b89 mov edx, r15d ; +0x2e1, 0x140118b91 mov rcx, r12 ; +0x2e4, 0x140118b94 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x2e7, 0x140118b97 mov r14, rax ; +0x2ed, 0x140118b9d cmp dword ptr [rax+4E8h], 1 ; +0x2f0, 0x140118ba0 jnz loc_140118D6F ; +0x2f7, 0x140118ba7 mov eax, [rax+5C8h] ; +0x2fd, 0x140118bad mov [rbp+130h+arg_10], eax ; +0x303, 0x140118bb3 mov ecx, [r14+5CCh] ; +0x309, 0x140118bb9 mov [rbp+130h+arg_18], ecx ; +0x310, 0x140118bc0 mov ecx, [r14+6A0h] ; +0x316, 0x140118bc6 mov [rsp+230h+var_210], ecx ; +0x31d, 0x140118bcd mov ecx, [r14+694h] ; +0x321, 0x140118bd1 mov dword ptr [rsp+230h+var_208], ecx ; +0x328, 0x140118bd8 cmp dword ptr [r14+40Ch], 3EEh ; +0x32c, 0x140118bdc jnz short loc_140118C01 ; +0x337, 0x140118be7 cmp dword ptr [r14+658h], 0 ; +0x339, 0x140118be9 jnz short loc_140118C01 ; +0x341, 0x140118bf1 cmp eax, 3E7h ; +0x343, 0x140118bf3 cmovg eax, esi ; +0x348, 0x140118bf8 mov [rbp+130h+arg_10], eax ; +0x34b, 0x140118bfb lea r8, [rbp+130h+arg_10] ; +0x351, 0x140118c01 lea rdx, [rbp+130h+var_1B0] ; +0x358, 0x140118c08 mov rcx, rdi ; +0x35c, 0x140118c0c call sub_140060D70 ; +0x35f, 0x140118c0f lea r8, [rbp+130h+arg_18] ; +0x364, 0x140118c14 lea rdx, [rbp+130h+var_140] ; +0x36b, 0x140118c1b mov rcx, rdi ; +0x36f, 0x140118c1f call sub_140060D70 ; +0x372, 0x140118c22 lea r8, [rsp+230h+var_210] ; +0x377, 0x140118c27 lea rdx, [rbp+130h+var_130] ; +0x37c, 0x140118c2c mov rcx, rdi ; +0x380, 0x140118c30 call sub_140060D70 ; +0x383, 0x140118c33 lea r8, [rsp+230h+var_208] ; +0x388, 0x140118c38 lea rdx, [rbp+130h+var_120] ; +0x38d, 0x140118c3d mov rcx, rdi ; +0x391, 0x140118c41 call sub_140060D70 ; +0x394, 0x140118c44 mov eax, [r14+40Ch] ; +0x399, 0x140118c49 cmp eax, 385h ; +0x3a0, 0x140118c50 jz loc_140118D5C ; +0x3a5, 0x140118c55 cmp eax, 4F4h ; +0x3ab, 0x140118c5b jz loc_140118CFA ; +0x3b0, 0x140118c60 cmp eax, 814h ; +0x3b6, 0x140118c66 jz short loc_140118CC1 ; +0x3bb, 0x140118c6b cmp eax, 0B57h ; +0x3bd, 0x140118c6d jnz loc_140118D6F ; +0x3c2, 0x140118c72 lea r8, [r14+74Ch] ; +0x3c8, 0x140118c78 lea rdx, [rbp+130h+var_110] ; +0x3cf, 0x140118c7f mov rcx, rdi ; +0x3d3, 0x140118c83 call sub_140060D70 ; +0x3d6, 0x140118c86 lea r8, [r14+750h] ; +0x3db, 0x140118c8b lea rdx, [rbp+130h+var_100] ; +0x3e2, 0x140118c92 mov rcx, rdi ; +0x3e6, 0x140118c96 call sub_140060D70 ; +0x3e9, 0x140118c99 lea r8, [r14+754h] ; +0x3ee, 0x140118c9e lea rdx, [rbp+130h+var_F0] ; +0x3f5, 0x140118ca5 mov rcx, rdi ; +0x3f9, 0x140118ca9 call sub_140060D70 ; +0x3fc, 0x140118cac lea r8, [r14+758h] ; +0x401, 0x140118cb1 lea rdx, [rbp+130h+var_E0] ; +0x408, 0x140118cb8 jmp loc_140118D67 ; +0x40c, 0x140118cbc mov rbx, [r14+740h] ; +0x411, 0x140118cc1 mov r14, [r14+748h] ; +0x418, 0x140118cc8 cmp rbx, r14 ; +0x41f, 0x140118ccf jz loc_140118D6F ; +0x422, 0x140118cd2 nop dword ptr [rax+rax+00000000h] ; +0x428, 0x140118cd8 mov r8, rbx ; +0x430, 0x140118ce0 lea rdx, [rbp+130h+var_D0] ; +0x433, 0x140118ce3 mov rcx, rdi ; +0x437, 0x140118ce7 call sub_140060D70 ; +0x43a, 0x140118cea add rbx, 10h ; +0x43f, 0x140118cef cmp rbx, r14 ; +0x443, 0x140118cf3 jnz short loc_140118CE0 ; +0x446, 0x140118cf6 jmp short loc_140118D6F ; +0x448, 0x140118cf8 mov rbx, [r14+740h] ; +0x44a, 0x140118cfa mov r14, [r14+748h] ; +0x451, 0x140118d01 cmp rbx, r14 ; +0x458, 0x140118d08 jz short loc_140118D6F ; +0x45b, 0x140118d0b test r13b, r13b ; +0x45d, 0x140118d0d jz short loc_140118D40 ; +0x460, 0x140118d10 lea r8, [rbx+8] ; +0x462, 0x140118d12 lea rdx, [rsp+230h+var_200] ; +0x466, 0x140118d16 mov rcx, rdi ; +0x46b, 0x140118d1b call sub_140060D70 ; +0x46e, 0x140118d1e mov r8, rbx ; +0x473, 0x140118d23 lea rdx, [rbp+130h+var_1A0] ; +0x476, 0x140118d26 mov rcx, rdi ; +0x47a, 0x140118d2a call sub_140060D70 ; +0x47d, 0x140118d2d add rbx, 10h ; +0x482, 0x140118d32 cmp rbx, r14 ; +0x486, 0x140118d36 jnz short loc_140118D12 ; +0x489, 0x140118d39 jmp short loc_140118D6F ; +0x48b, 0x140118d3b align 20h ; +0x48d, 0x140118d3d lea r8, [rbx+8] ; +0x490, 0x140118d40 lea rdx, [rsp+230h+var_200] ; +0x494, 0x140118d44 mov rcx, rdi ; +0x499, 0x140118d49 call sub_140060D70 ; +0x49c, 0x140118d4c add rbx, 10h ; +0x4a1, 0x140118d51 cmp rbx, r14 ; +0x4a5, 0x140118d55 jnz short loc_140118D40 ; +0x4a8, 0x140118d58 jmp short loc_140118D6F ; +0x4aa, 0x140118d5a lea r8, [r14+608h] ; +0x4ac, 0x140118d5c lea rdx, [rbp+130h+var_190] ; +0x4b3, 0x140118d63 mov rcx, rdi ; +0x4b7, 0x140118d67 call sub_140060D70 ; +0x4ba, 0x140118d6a inc r15d ; +0x4bf, 0x140118d6f mov rcx, r12 ; +0x4c2, 0x140118d72 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4c5, 0x140118d75 cmp r15d, eax ; +0x4cb, 0x140118d7b jb loc_140118B91 ; +0x4ce, 0x140118d7e movzx r14d, [rbp+130h+arg_8] ; +0x4d4, 0x140118d84 mov [rbp+130h+arg_10], esi ; +0x4dc, 0x140118d8c lea rdx, [rbp+130h+arg_10] ; +0x4e2, 0x140118d92 mov rcx, rdi ; +0x4e9, 0x140118d99 call sub_14005D780 ; +0x4ec, 0x140118d9c mov [rbp+130h+arg_10], 0 ; +0x4f1, 0x140118da1 lea rdx, [rbp+130h+arg_10] ; +0x4fb, 0x140118dab lea rcx, [rbp+130h+var_180] ; +0x502, 0x140118db2 call sub_14005E660 ; +0x506, 0x140118db6 nop ; +0x50b, 0x140118dbb mov r13, [rdi+8] ; +0x50c, 0x140118dbc mov rbx, [r13+0] ; +0x510, 0x140118dc0 cmp rbx, r13 ; +0x514, 0x140118dc4 jz loc_140118F3B ; +0x517, 0x140118dc7 nop dword ptr [rax] ; +0x51d, 0x140118dcd mov edx, [rbx+10h] ; +0x520, 0x140118dd0 mov [rbp+130h+arg_10], edx ; +0x523, 0x140118dd3 mov r8d, edx ; +0x529, 0x140118dd9 shr r8d, 18h ; +0x52c, 0x140118ddc mov r9d, edx ; +0x530, 0x140118de0 shr r9d, 10h ; +0x533, 0x140118de3 mov eax, edx ; +0x537, 0x140118de7 shr eax, 8 ; +0x539, 0x140118de9 test r14b, r14b ; +0x53c, 0x140118dec jnz short loc_140118E6F ; +0x53f, 0x140118def movzx ecx, dl ; +0x541, 0x140118df1 mov r10, 0CBF29CE484222325h ; +0x544, 0x140118df4 xor rcx, r10 ; +0x54e, 0x140118dfe mov r10, 100000001B3h ; +0x551, 0x140118e01 imul rcx, r10 ; +0x55b, 0x140118e0b movzx eax, al ; +0x55f, 0x140118e0f xor rcx, rax ; +0x562, 0x140118e12 imul rcx, r10 ; +0x565, 0x140118e15 movzx eax, r9b ; +0x569, 0x140118e19 xor rcx, rax ; +0x56d, 0x140118e1d imul rcx, r10 ; +0x570, 0x140118e20 mov eax, r8d ; +0x574, 0x140118e24 xor rcx, rax ; +0x577, 0x140118e27 imul rcx, r10 ; +0x57a, 0x140118e2a mov r8, [rsp+230h+var_1C0] ; +0x57e, 0x140118e2e and r8, rcx ; +0x583, 0x140118e33 add r8, r8 ; +0x586, 0x140118e36 mov rcx, [rsp+230h+var_1D8] ; +0x589, 0x140118e39 mov rax, [rcx+r8*8+8] ; +0x58e, 0x140118e3e cmp rax, [rsp+230h+var_1E8] ; +0x593, 0x140118e43 jz short loc_140118E63 ; +0x598, 0x140118e48 mov rcx, [rcx+r8*8] ; +0x59a, 0x140118e4a cmp edx, [rax+10h] ; +0x59e, 0x140118e4e jz short loc_140118E66 ; +0x5a1, 0x140118e51 cmp rax, rcx ; +0x5a3, 0x140118e53 jz short loc_140118E63 ; +0x5a6, 0x140118e56 mov rax, [rax+8] ; +0x5a8, 0x140118e58 cmp edx, [rax+10h] ; +0x5ac, 0x140118e5c jnz short loc_140118E53 ; +0x5af, 0x140118e5f jmp short loc_140118E66 ; +0x5b1, 0x140118e61 mov rax, rsi ; +0x5b3, 0x140118e63 test rax, rax ; +0x5b6, 0x140118e66 jz loc_140118F2C ; +0x5b9, 0x140118e69 lea rdx, [rbp+130h+var_180] ; +0x5bf, 0x140118e6f mov rcx, [rbp+130h+arg_0] ; +0x5c3, 0x140118e73 mov rcx, [rcx+500h] ; +0x5ca, 0x140118e7a call LevelEditorLayer__getNextFreeGroupID ; +0x5d1, 0x140118e81 mov r15d, eax ; +0x5d6, 0x140118e86 mov [rbp+130h+arg_18], eax ; +0x5d9, 0x140118e89 mov r14d, esi ; +0x5df, 0x140118e8f mov rcx, r12 ; +0x5e2, 0x140118e92 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x5e5, 0x140118e95 test eax, eax ; +0x5eb, 0x140118e9b jz short loc_140118EDF ; +0x5ed, 0x140118e9d nop ; +0x5ef, 0x140118e9f mov edx, r14d ; +0x5f0, 0x140118ea0 mov rcx, r12 ; +0x5f3, 0x140118ea3 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x5f6, 0x140118ea6 mov rdi, rax ; +0x5fc, 0x140118eac mov r9d, r15d ; +0x5ff, 0x140118eaf mov r8d, [rbp+130h+arg_10] ; +0x602, 0x140118eb2 mov rdx, rax ; +0x609, 0x140118eb9 call EditorUI__replaceGroupID ; +0x60c, 0x140118ebc mov [rdi+4C0h], esi ; +0x611, 0x140118ec1 mov byte ptr [rdi+28Eh], 0 ; +0x617, 0x140118ec7 inc r14d ; +0x61e, 0x140118ece mov rcx, r12 ; +0x621, 0x140118ed1 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x624, 0x140118ed4 cmp r14d, eax ; +0x62a, 0x140118eda jb short loc_140118EA0 ; +0x62d, 0x140118edd lea r8, [rbp+130h+arg_18] ; +0x62f, 0x140118edf lea rdx, [rbp+130h+var_190] ; +0x636, 0x140118ee6 lea rcx, [rbp+130h+var_180] ; +0x63a, 0x140118eea call sub_140060D70 ; +0x63e, 0x140118eee mov rax, [rbp+130h+arg_0] ; +0x643, 0x140118ef3 mov rcx, [rax+500h] ; +0x64a, 0x140118efa add rcx, 3AE0h ; +0x651, 0x140118f01 lea r8, [rbp+130h+arg_10] ; +0x658, 0x140118f08 lea rdx, [rbp+130h+var_1A0] ; +0x65f, 0x140118f0f call sub_140060B20 ; +0x663, 0x140118f13 mov rcx, [rax] ; +0x668, 0x140118f18 mov eax, [rbp+130h+arg_18] ; +0x66b, 0x140118f1b mov [rcx+14h], eax ; +0x671, 0x140118f21 movzx r14d, [rbp+130h+arg_8] ; +0x674, 0x140118f24 mov rax, [rbx] ; +0x67c, 0x140118f2c mov rbx, rax ; +0x67f, 0x140118f2f cmp rax, r13 ; +0x682, 0x140118f32 jnz loc_140118DD0 ; +0x685, 0x140118f35 mov rax, [rbp+130h+arg_0] ; +0x68b, 0x140118f3b mov rcx, [rax+500h] ; +0x692, 0x140118f42 call LevelEditorLayer__recreateGroups ; +0x699, 0x140118f49 mov rcx, r12 ; +0x69e, 0x140118f4e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6a1, 0x140118f51 test eax, eax ; +0x6a7, 0x140118f57 jz short loc_140118F82 ; +0x6a9, 0x140118f59 nop dword ptr [rax+rax+00h] ; +0x6ab, 0x140118f5b mov edx, esi ; +0x6b0, 0x140118f60 mov rcx, r12 ; +0x6b2, 0x140118f62 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x6b5, 0x140118f65 mov rcx, rax ; +0x6bb, 0x140118f6b call LevelEditorLayer__updateObjectLabel ; +0x6be, 0x140118f6e inc esi ; +0x6c3, 0x140118f73 mov rcx, r12 ; +0x6c5, 0x140118f75 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6c8, 0x140118f78 cmp esi, eax ; +0x6ce, 0x140118f7e jb short loc_140118F60 ; +0x6d0, 0x140118f80 lea rcx, [rbp+130h+var_168] ; +0x6d2, 0x140118f82 call sub_14005D100 ; +0x6d6, 0x140118f86 lea rcx, [rbp+130h+var_178] ; +0x6db, 0x140118f8b call sub_14005D870 ; +0x6df, 0x140118f8f nop ; +0x6e4, 0x140118f94 lea rcx, [rsp+230h+var_1D8] ; +0x6e5, 0x140118f95 call sub_14005D100 ; +0x6ea, 0x140118f9a lea rcx, [rsp+230h+var_1E8] ; +0x6ef, 0x140118f9f call sub_14005D870 ; +0x6f4, 0x140118fa4 nop ; +0x6f9, 0x140118fa9 lea rcx, [rbp+130h+var_68] ; +0x6fa, 0x140118faa call sub_14005D100 ; +0x701, 0x140118fb1 lea rcx, [rbp+130h+var_78] ; +0x706, 0x140118fb6 call sub_14005D870 ; +0x70d, 0x140118fbd add rsp, 1F8h ; +0x712, 0x140118fc2 pop r15 ; +0x719, 0x140118fc9 pop r14 ; +0x71b, 0x140118fcb pop r13 ; +0x71d, 0x140118fcd pop r12 ; +0x71f, 0x140118fcf pop rdi ; +0x721, 0x140118fd1 pop rsi ; +0x722, 0x140118fd2 pop rbx ; +0x723, 0x140118fd3 pop rbp ; +0x724, 0x140118fd4 retn ; +0x725, 0x140118fd5