; ; EditorUI::doCopyObjects from 0x1401131a0 to 0x140113318 (376 bytes) ; ; 4 xrefs: ; > EditorPauseLayer::onCopyWColor @ 0x1400dcd30 ; > EditorUI::onCopy @ 0x140113192 ; > EditorUI::keyDown @ 0x140125516 ; > @ 0x1406c9090 ; ; 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_10], rbx ; +0x0, 0x1401131a0 mov [rsp+arg_18], rsi ; +0x5, 0x1401131a5 push rdi ; +0xa, 0x1401131aa sub rsp, 60h ; +0xb, 0x1401131ab mov rax, cs:__security_cookie ; +0xf, 0x1401131af xor rax, rsp ; +0x16, 0x1401131b6 mov [rsp+68h+var_10], rax ; +0x19, 0x1401131b9 movzx esi, dl ; +0x1e, 0x1401131be mov rdi, rcx ; +0x21, 0x1401131c1 cmp qword ptr [rcx+538h], 0 ; +0x24, 0x1401131c4 jnz short loc_1401131E3 ; +0x2c, 0x1401131cc mov rcx, [rcx+340h] ; +0x2e, 0x1401131ce call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x35, 0x1401131d5 test eax, eax ; +0x3b, 0x1401131db jz loc_1401132F9 ; +0x3d, 0x1401131dd mov rax, [rdi+538h] ; +0x43, 0x1401131e3 test rax, rax ; +0x4a, 0x1401131ea jz short loc_1401131FF ; +0x4d, 0x1401131ed cmp dword ptr [rax+40Ch], 2EDh ; +0x4f, 0x1401131ef jz loc_1401132F9 ; +0x59, 0x1401131f9 mov rcx, [rdi+340h] ; +0x5f, 0x1401131ff call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x66, 0x140113206 test eax, eax ; +0x6c, 0x14011320c jnz short loc_14011322B ; +0x6e, 0x14011320e call cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x70, 0x140113210 mov rbx, rax ; +0x76, 0x140113216 mov rdx, [rdi+538h] ; +0x79, 0x140113219 mov rcx, rax ; +0x80, 0x140113220 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x83, 0x140113223 jmp short loc_140113232 ; +0x89, 0x140113229 mov rbx, [rdi+340h] ; +0x8b, 0x14011322b mov [rsp+68h+var_48], 0 ; +0x92, 0x140113232 movzx r9d, sil ; +0x97, 0x140113237 mov r8, rbx ; +0x9b, 0x14011323b lea rdx, [rsp+68h+var_30] ; +0x9e, 0x14011323e mov rcx, rdi ; +0xa3, 0x140113243 call EditorUI__copyObjects ; +0xa6, 0x140113246 mov rbx, rax ; +0xab, 0x14011324b mov rcx, cs:qword_1406C2ED8 ; +0xae, 0x14011324e test rcx, rcx ; +0xb5, 0x140113255 jnz short loc_140113289 ; +0xb8, 0x140113258 mov ecx, 668h; Size ; +0xba, 0x14011325a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xbf, 0x14011325f mov [rsp+68h+var_38], rax ; +0xc4, 0x140113264 mov rcx, rax ; +0xc9, 0x140113269 call sub_14017AB00 ; +0xcc, 0x14011326c nop ; +0xd1, 0x140113271 mov cs:qword_1406C2ED8, rax ; +0xd2, 0x140113272 mov rdx, [rax] ; +0xd9, 0x140113279 mov rcx, rax ; +0xdc, 0x14011327c call qword ptr [rdx+48h] ; +0xdf, 0x14011327f mov rcx, cs:qword_1406C2ED8 ; +0xe2, 0x140113282 add rcx, 1E0h ; +0xe9, 0x140113289 mov rdx, rbx ; +0xf0, 0x140113290 call sub_140051590 ; +0xf3, 0x140113293 nop ; +0xf8, 0x140113298 lea rcx, [rsp+68h+var_30] ; +0xf9, 0x140113299 call sub_14003A830 ; +0xfe, 0x14011329e mov rbx, cs:qword_1406C2ED8 ; +0x103, 0x1401132a3 test rbx, rbx ; +0x10a, 0x1401132aa jnz short loc_1401132DE ; +0x10d, 0x1401132ad mov ecx, 668h; Size ; +0x10f, 0x1401132af call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x114, 0x1401132b4 mov [rsp+68h+var_38], rax ; +0x119, 0x1401132b9 mov rcx, rax ; +0x11e, 0x1401132be call sub_14017AB00 ; +0x121, 0x1401132c1 nop ; +0x126, 0x1401132c6 mov cs:qword_1406C2ED8, rax ; +0x127, 0x1401132c7 mov rdx, [rax] ; +0x12e, 0x1401132ce mov rcx, rax ; +0x131, 0x1401132d1 call qword ptr [rdx+48h] ; +0x134, 0x1401132d4 mov rbx, cs:qword_1406C2ED8 ; +0x137, 0x1401132d7 mov rcx, [rdi+340h] ; +0x13e, 0x1401132de call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x145, 0x1401132e5 mov [rbx+200h], eax ; +0x14b, 0x1401132eb mov rcx, rdi ; +0x151, 0x1401132f1 call EditorUI__updateButtons ; +0x154, 0x1401132f4 mov rcx, [rsp+68h+var_10] ; +0x159, 0x1401132f9 xor rcx, rsp; StackCookie ; +0x15e, 0x1401132fe call __security_check_cookie ; +0x161, 0x140113301 lea r11, [rsp+68h+var_8] ; +0x166, 0x140113306 mov rbx, [r11+20h] ; +0x16b, 0x14011330b mov rsi, [r11+28h] ; +0x16f, 0x14011330f mov rsp, r11 ; +0x173, 0x140113313 pop rdi ; +0x176, 0x140113316 retn ; +0x177, 0x140113317