; ; EditorUI::onCreateObject from 0x14010f5f0 to 0x14010ff16 (2342 bytes) ; ; 2 xrefs: ; > EditorUI::onCreate @ 0x14010f5c9 ; > @ 0x1406c8e68 ; ; 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 rax, rsp ; +0x0, 0x14010f5f0 mov [rax+18h], rbx ; +0x3, 0x14010f5f3 push rbp ; +0x7, 0x14010f5f7 push rsi ; +0x8, 0x14010f5f8 push rdi ; +0x9, 0x14010f5f9 push r12 ; +0xa, 0x14010f5fa push r13 ; +0xc, 0x14010f5fc push r14 ; +0xe, 0x14010f5fe push r15 ; +0x10, 0x14010f600 lea rbp, [rax-5Fh] ; +0x12, 0x14010f602 sub rsp, 0F0h ; +0x16, 0x14010f606 movaps xmmword ptr [rax-48h], xmm6 ; +0x1d, 0x14010f60d movaps xmmword ptr [rax-58h], xmm7 ; +0x21, 0x14010f611 movaps xmmword ptr [rax-68h], xmm8 ; +0x25, 0x14010f615 mov rax, cs:__security_cookie ; +0x2a, 0x14010f61a xor rax, rsp ; +0x31, 0x14010f621 mov [rbp+57h+var_70], rax ; +0x34, 0x14010f624 mov r12d, edx ; +0x38, 0x14010f628 mov rsi, rcx ; +0x3b, 0x14010f62b lea rdx, [rcx+530h] ; +0x3e, 0x14010f62e lea rcx, [rsp+120h+var_E8] ; +0x45, 0x14010f635 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4a, 0x14010f63a mov rcx, [rsi+500h] ; +0x50, 0x14010f640 mov rdx, [rcx+38C8h] ; +0x57, 0x14010f647 movss xmm8, dword ptr [rdx+27Ch] ; +0x5e, 0x14010f64e movss xmm0, dword ptr [rax] ; +0x67, 0x14010f657 divss xmm0, xmm8; X ; +0x6b, 0x14010f65b movss xmm6, dword ptr [rax+4] ; +0x70, 0x14010f660 divss xmm6, xmm8 ; +0x75, 0x14010f665 call floorf ; +0x7a, 0x14010f66a movaps xmm7, xmm0 ; +0x7f, 0x14010f66f addss xmm7, cs:dword_140622B08 ; +0x82, 0x14010f672 mulss xmm7, xmm8 ; +0x8a, 0x14010f67a movaps xmm0, xmm6; X ; +0x8f, 0x14010f67f call floorf ; +0x92, 0x14010f682 addss xmm0, cs:dword_140622B08 ; +0x97, 0x14010f687 mulss xmm0, xmm8 ; +0x9f, 0x14010f68f movaps xmm2, xmm0 ; +0xa4, 0x14010f694 movaps xmm1, xmm7 ; +0xa7, 0x14010f697 lea rcx, [rbp+57h+var_C0] ; +0xaa, 0x14010f69a call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xae, 0x14010f69e mov r8, rax ; +0xb4, 0x14010f6a4 lea rdx, [rsp+120h+var_F0] ; +0xb7, 0x14010f6a7 mov rcx, rsi ; +0xbc, 0x14010f6ac call EditorUI__getLimitedPosition ; +0xbf, 0x14010f6af lea rdx, [rsp+120h+var_F0] ; +0xc4, 0x14010f6b4 lea rcx, [rbp+57h+var_D0] ; +0xc9, 0x14010f6b9 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xcd, 0x14010f6bd movss xmm3, dword ptr [rsi+278h] ; +0xd3, 0x14010f6c3 mulss xmm3, cs:dword_140622B08 ; +0xdb, 0x14010f6cb movaps xmm0, xmm3 ; +0xe3, 0x14010f6d3 subss xmm0, cs:dword_1406235A0 ; +0xe6, 0x14010f6d6 movss xmm2, dword ptr [rsp+120h+var_F0] ; +0xee, 0x14010f6de comiss xmm2, xmm0 ; +0xf4, 0x14010f6e4 ja short loc_14010F6F2 ; +0xf7, 0x14010f6e7 movaps xmm2, xmm0 ; +0xf9, 0x14010f6e9 movss dword ptr [rsp+120h+var_F0], xmm0 ; +0xfc, 0x14010f6ec movss xmm1, dword ptr [rsp+120h+var_F0+4] ; +0x102, 0x14010f6f2 movss xmm0, cs:dword_140623AE4 ; +0x108, 0x14010f6f8 comiss xmm1, xmm0 ; +0x110, 0x14010f700 ja short loc_14010F70E ; +0x113, 0x14010f703 movaps xmm1, xmm0 ; +0x115, 0x14010f705 movss dword ptr [rsp+120h+var_F0+4], xmm0 ; +0x118, 0x14010f708 movss xmm0, cs:dword_140623670 ; +0x11e, 0x14010f70e subss xmm0, xmm3 ; +0x126, 0x14010f716 comiss xmm2, xmm0 ; +0x12a, 0x14010f71a jbe short loc_14010F725 ; +0x12d, 0x14010f71d movss dword ptr [rsp+120h+var_F0], xmm0 ; +0x12f, 0x14010f71f mov rax, [rsi+500h] ; +0x135, 0x14010f725 mov rcx, [rax+0DB0h] ; +0x13c, 0x14010f72c mov eax, 50h ; 'P' ; +0x143, 0x14010f733 mov edx, 3E8h ; +0x148, 0x14010f738 cmp byte ptr [rcx+1CDh], 0 ; +0x14d, 0x14010f73d cmovnz eax, edx ; +0x154, 0x14010f744 movd xmm0, eax ; +0x157, 0x14010f747 cvtdq2ps xmm0, xmm0 ; +0x15b, 0x14010f74b mulss xmm0, cs:dword_140623164 ; +0x15e, 0x14010f74e addss xmm0, cs:dword_140623294 ; +0x166, 0x14010f756 subss xmm0, xmm3 ; +0x16e, 0x14010f75e comiss xmm1, xmm0 ; +0x172, 0x14010f762 jbe short loc_14010F76D ; +0x175, 0x14010f765 movss dword ptr [rsp+120h+var_F0+4], xmm0 ; +0x177, 0x14010f767 mov r8d, r12d ; +0x17d, 0x14010f76d lea rdx, [rbp+57h+var_98] ; +0x180, 0x14010f770 mov rcx, rsi ; +0x184, 0x14010f774 call EditorUI__offsetForKey ; +0x187, 0x14010f777 xor dil, dil ; +0x18c, 0x14010f77c xor r14b, r14b ; +0x18f, 0x14010f77f xorps xmm6, xmm6 ; +0x192, 0x14010f782 lea rcx, [rbp+57h+var_C8] ; +0x195, 0x14010f785 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x199, 0x14010f789 mov rcx, [rsi+538h] ; +0x19f, 0x14010f78f test rcx, rcx ; +0x1a6, 0x14010f796 jz short loc_14010F809 ; +0x1a9, 0x14010f799 cmp [rcx+40Ch], r12d ; +0x1ab, 0x14010f79b jnz short loc_14010F809 ; +0x1b2, 0x14010f7a2 mov rax, [rcx] ; +0x1b4, 0x14010f7a4 call qword ptr [rax+4E8h] ; +0x1b7, 0x14010f7a7 movzx edi, al ; +0x1bd, 0x14010f7ad mov rcx, [rsi+538h] ; +0x1c0, 0x14010f7b0 mov rdx, [rcx] ; +0x1c7, 0x14010f7b7 call qword ptr [rdx+4F0h] ; +0x1ca, 0x14010f7ba movzx r14d, al ; +0x1d0, 0x14010f7c0 mov rcx, [rsi+538h] ; +0x1d4, 0x14010f7c4 mov rdx, [rcx] ; +0x1db, 0x14010f7cb call qword ptr [rdx+158h] ; +0x1de, 0x14010f7ce movaps xmm6, xmm0 ; +0x1e4, 0x14010f7d4 mov rbx, [rsi+538h] ; +0x1e7, 0x14010f7d7 mov r8d, [rbx+40Ch] ; +0x1ee, 0x14010f7de lea rdx, [rsp+120h+var_E8] ; +0x1f5, 0x14010f7e5 mov rcx, rsi ; +0x1fa, 0x14010f7ea call EditorUI__offsetForKey ; +0x1fd, 0x14010f7ed mov r8, rax ; +0x202, 0x14010f7f2 mov rdx, rbx ; +0x205, 0x14010f7f5 lea rcx, [rsp+120h+var_D8] ; +0x208, 0x14010f7f8 call GameToolbox__getRelativeOffset ; +0x20d, 0x14010f7fd lea r8, [rsp+120h+var_D8] ; +0x212, 0x14010f802 jmp short loc_14010F80D ; +0x217, 0x14010f807 lea r8, [rbp+57h+var_98] ; +0x219, 0x14010f809 lea rdx, [rsp+120h+var_E0] ; +0x21d, 0x14010f80d lea rcx, [rsp+120h+var_F0] ; +0x222, 0x14010f812 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x227, 0x14010f817 lea rdx, [rsp+120h+var_E0] ; +0x22d, 0x14010f81d lea rcx, [rbp+57h+var_C8] ; +0x232, 0x14010f822 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x236, 0x14010f826 lea r8, [rbp+57h+var_98] ; +0x23c, 0x14010f82c lea rdx, [rsp+120h+var_E0] ; +0x240, 0x14010f830 lea rcx, [rsp+120h+var_F0] ; +0x245, 0x14010f835 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x24a, 0x14010f83a lea rdx, [rsp+120h+var_E0] ; +0x250, 0x14010f840 lea rcx, [rsp+120h+var_F0] ; +0x255, 0x14010f845 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x25a, 0x14010f84a lea rdx, [rbp+57h+var_C8] ; +0x260, 0x14010f850 lea rcx, [rsp+120h+var_E8] ; +0x264, 0x14010f854 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x269, 0x14010f859 mov r8, rax ; +0x26f, 0x14010f85f movss [rsp+120h+var_F8], xmm6 ; +0x272, 0x14010f862 mov byte ptr [rsp+120h+var_100], r14b ; +0x278, 0x14010f868 movzx r9d, dil ; +0x27d, 0x14010f86d mov edx, r12d ; +0x281, 0x14010f871 mov rcx, [rsi+500h] ; +0x284, 0x14010f874 call LevelEditorLayer__typeExistsAtPosition ; +0x28b, 0x14010f87b test al, al ; +0x290, 0x14010f880 jnz loc_14010FECA ; +0x292, 0x14010f882 xor r14d, r14d ; +0x298, 0x14010f888 test r12d, r12d ; +0x29b, 0x14010f88b jns loc_14010F91B ; +0x29e, 0x14010f88e lea rdx, [rbp+57h+var_D0] ; +0x2a4, 0x14010f894 lea rcx, [rsp+120h+var_E8] ; +0x2a8, 0x14010f898 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x2ad, 0x14010f89d mov r15, rax ; +0x2b3, 0x14010f8a3 mov edi, r14d ; +0x2b6, 0x14010f8a6 mov rcx, [rsi+330h] ; +0x2b9, 0x14010f8a9 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2c0, 0x14010f8b0 test eax, eax ; +0x2c6, 0x14010f8b6 jz short loc_14010F91B ; +0x2c8, 0x14010f8b8 nop word ptr [rax+rax+00h] ; +0x2ca, 0x14010f8ba mov edx, edi ; +0x2d0, 0x14010f8c0 mov rcx, [rsi+330h] ; +0x2d2, 0x14010f8c2 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x2d9, 0x14010f8c9 mov rbx, rax ; +0x2df, 0x14010f8cf mov rdx, [rax] ; +0x2e2, 0x14010f8d2 mov rcx, rax ; +0x2e5, 0x14010f8d5 call qword ptr [rdx+0C8h] ; +0x2e8, 0x14010f8d8 movss xmm0, dword ptr [rax] ; +0x2ee, 0x14010f8de ucomiss xmm0, dword ptr [r15] ; +0x2f2, 0x14010f8e2 jp short loc_14010F908 ; +0x2f6, 0x14010f8e6 jnz short loc_14010F908 ; +0x2f8, 0x14010f8e8 mov rdx, [rbx] ; +0x2fa, 0x14010f8ea mov rcx, rbx ; +0x2fd, 0x14010f8ed call qword ptr [rdx+0C8h] ; +0x300, 0x14010f8f0 movss xmm0, dword ptr [rax+4] ; +0x306, 0x14010f8f6 ucomiss xmm0, dword ptr [r15+4] ; +0x30b, 0x14010f8fb jp short loc_14010F908 ; +0x310, 0x14010f900 jz loc_14010FECA ; +0x312, 0x14010f902 inc edi ; +0x318, 0x14010f908 mov rcx, [rsi+330h] ; +0x31a, 0x14010f90a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x321, 0x14010f911 cmp edi, eax ; +0x327, 0x14010f917 jb short loc_14010F8C0 ; +0x329, 0x14010f919 lea rdx, [rbp+57h+var_D0] ; +0x32b, 0x14010f91b lea rcx, [rsp+120h+var_E8] ; +0x32f, 0x14010f91f call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x334, 0x14010f924 mov rbx, rax ; +0x33a, 0x14010f92a call cs:?create@CCNode@cocos2d@@SAPEAV12@XZ; cocos2d::CCNode::create(void) ; +0x33d, 0x14010f92d mov rdi, rax ; +0x343, 0x14010f933 mov r8, [rax] ; +0x346, 0x14010f936 mov rdx, rbx ; +0x349, 0x14010f939 mov rcx, rax ; +0x34c, 0x14010f93c call qword ptr [r8+0B8h] ; +0x34f, 0x14010f93f mov rdx, rdi ; +0x356, 0x14010f946 mov rcx, [rsi+330h] ; +0x359, 0x14010f949 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x360, 0x14010f950 test r12d, r12d ; +0x366, 0x14010f956 jle loc_14010FB69 ; +0x369, 0x14010f959 lea rdx, [rsp+120h+var_F0] ; +0x36f, 0x14010f95f lea rcx, [rsp+120h+var_E8] ; +0x374, 0x14010f964 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x379, 0x14010f969 mov r8, rax ; +0x37f, 0x14010f96f mov edx, r12d ; +0x382, 0x14010f972 mov rcx, rsi ; +0x385, 0x14010f975 call EditorUI__createObject ; +0x388, 0x14010f978 mov r15, rax ; +0x38d, 0x14010f97d mov rcx, [rsi+538h] ; +0x390, 0x14010f980 test rcx, rcx ; +0x397, 0x14010f987 jz short loc_14010F9BF ; +0x39a, 0x14010f98a mov ecx, [rcx+40Ch] ; +0x39c, 0x14010f98c cmp [rax+40Ch], ecx ; +0x3a2, 0x14010f992 jnz short loc_14010F9BF ; +0x3a8, 0x14010f998 mov rdx, rax ; +0x3aa, 0x14010f99a mov rcx, rsi ; +0x3ad, 0x14010f99d call EditorUI__removeOffset ; +0x3b0, 0x14010f9a0 mov rdx, [rsi+538h] ; +0x3b5, 0x14010f9a5 mov rcx, r15 ; +0x3bc, 0x14010f9ac call GameObject__duplicateValues ; +0x3bf, 0x14010f9af mov rdx, r15 ; +0x3c4, 0x14010f9b4 mov rcx, rsi ; +0x3c7, 0x14010f9b7 call EditorUI__applyOffset ; +0x3ca, 0x14010f9ba cmp r12d, 392h ; +0x3cf, 0x14010f9bf jnz short loc_14010F9FE ; +0x3d6, 0x14010f9c6 xorps xmm0, xmm0 ; +0x3d8, 0x14010f9c8 movups [rbp+57h+var_B8], xmm0 ; +0x3db, 0x14010f9cb mov [rbp+57h+var_A8], 1 ; +0x3df, 0x14010f9cf mov [rbp+57h+var_A0], 0Fh ; +0x3e7, 0x14010f9d7 movzx eax, cs:word_1405447D4 ; +0x3ef, 0x14010f9df mov byte ptr [rbp+57h+var_B8], al ; +0x3f6, 0x14010f9e6 mov byte ptr [rbp+57h+var_B8+1], r14b ; +0x3f9, 0x14010f9e9 xor r8d, r8d ; +0x3fd, 0x14010f9ed lea rdx, [rbp+57h+var_B8] ; +0x400, 0x14010f9f0 mov rcx, r15 ; +0x404, 0x14010f9f4 call TextGameObject__updateTextObject ; +0x407, 0x14010f9f7 jmp short loc_14010FA79 ; +0x40c, 0x14010f9fc cmp r12d, 0BD8h ; +0x40e, 0x14010f9fe jnz short loc_14010FA79 ; +0x415, 0x14010fa05 mov rdx, r15 ; +0x417, 0x14010fa07 mov rcx, [rsi+500h] ; +0x41a, 0x14010fa0a call LevelEditorLayer__removeSpecial ; +0x421, 0x14010fa11 mov rbx, [rsi+500h] ; +0x426, 0x14010fa16 call cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x42d, 0x14010fa1d mov rdi, rax ; +0x433, 0x14010fa23 mov r8, [rax] ; +0x436, 0x14010fa26 mov edx, [rbx+3538h] ; +0x439, 0x14010fa29 mov rcx, rax ; +0x43f, 0x14010fa2f call qword ptr [r8+40h] ; +0x442, 0x14010fa32 movsxd r8, dword ptr [rbx+3538h] ; +0x446, 0x14010fa36 mov rdx, rdi ; +0x44d, 0x14010fa3d mov rcx, [rbx+3530h] ; +0x450, 0x14010fa40 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x457, 0x14010fa47 inc dword ptr [rbx+3538h] ; +0x45d, 0x14010fa4d mov rdx, [rdi] ; +0x463, 0x14010fa53 mov rcx, rdi ; +0x466, 0x14010fa56 call qword ptr [rdx+38h] ; +0x469, 0x14010fa59 mov [r15+750h], eax ; +0x46c, 0x14010fa5c mov [r15+754h], r14d ; +0x473, 0x14010fa63 mov rdx, r15 ; +0x47a, 0x14010fa6a mov rcx, [rsi+500h] ; +0x47d, 0x14010fa6d call LevelEditorLayer__addSpecial ; +0x484, 0x14010fa74 mov rdx, r15 ; +0x489, 0x14010fa79 mov rcx, rsi ; +0x48c, 0x14010fa7c call EditorUI__selectObject ; +0x48f, 0x14010fa7f test r15, r15 ; +0x494, 0x14010fa84 jz loc_14010FB59 ; +0x497, 0x14010fa87 cmp dword ptr [r15+4E8h], 1 ; +0x49d, 0x14010fa8d jnz loc_14010FB59 ; +0x4a5, 0x14010fa95 mov ecx, [r15+40Ch] ; +0x4ab, 0x14010fa9b cmp ecx, 78Eh ; +0x4b2, 0x14010faa2 jg short loc_14010FAD8 ; +0x4b8, 0x14010faa8 jz short loc_14010FB10 ; +0x4ba, 0x14010faaa cmp ecx, 0CBh ; +0x4bc, 0x14010faac jg short loc_14010FAC8 ; +0x4c2, 0x14010fab2 jz short loc_14010FB10 ; +0x4c4, 0x14010fab4 sub ecx, 0C8h ; +0x4c6, 0x14010fab6 jz short loc_14010FB10 ; +0x4cc, 0x14010fabc sub ecx, 1 ; +0x4ce, 0x14010fabe jz short loc_14010FB10 ; +0x4d1, 0x14010fac1 cmp ecx, 1 ; +0x4d3, 0x14010fac3 jmp short loc_14010FAF5 ; +0x4d6, 0x14010fac6 cmp ecx, 536h ; +0x4d8, 0x14010fac8 jz short loc_14010FB10 ; +0x4de, 0x14010face cmp ecx, 77Dh ; +0x4e0, 0x14010fad0 jmp short loc_14010FAF5 ; +0x4e6, 0x14010fad6 sub ecx, 78Fh ; +0x4e8, 0x14010fad8 jz short loc_14010FB10 ; +0x4ee, 0x14010fade sub ecx, 3C5h ; +0x4f0, 0x14010fae0 jz short loc_14010FB10 ; +0x4f6, 0x14010fae6 sub ecx, 2 ; +0x4f8, 0x14010fae8 jz short loc_14010FB10 ; +0x4fb, 0x14010faeb sub ecx, 78h ; 'x' ; +0x4fd, 0x14010faed jz short loc_14010FB10 ; +0x500, 0x14010faf0 cmp ecx, 5 ; +0x502, 0x14010faf2 jz short loc_14010FB10 ; +0x505, 0x14010faf5 mov rax, [r15] ; +0x507, 0x14010faf7 mov rcx, r15 ; +0x50a, 0x14010fafa call qword ptr [rax+5E8h] ; +0x50d, 0x14010fafd test al, al ; +0x513, 0x14010fb03 jz short loc_14010FB59 ; +0x515, 0x14010fb05 cmp [r15+704h], r14b ; +0x517, 0x14010fb07 jz short loc_14010FB59 ; +0x51e, 0x14010fb0e mov byte ptr [r15+6F8h], 1 ; +0x520, 0x14010fb10 mov rax, [rsi+500h] ; +0x528, 0x14010fb18 mov rbx, [rax+38C8h] ; +0x52f, 0x14010fb1f mov rdx, r15 ; +0x536, 0x14010fb26 mov rcx, [rbx+250h] ; +0x539, 0x14010fb29 call cs:?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x540, 0x14010fb30 test al, al ; +0x546, 0x14010fb36 jnz short loc_14010FB59 ; +0x548, 0x14010fb38 mov rdx, r15 ; +0x54a, 0x14010fb3a mov rcx, [rbx+250h] ; +0x54d, 0x14010fb3d call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x554, 0x14010fb44 mov byte ptr [rbx+279h], 1 ; +0x55a, 0x14010fb4a mov rcx, r15 ; +0x561, 0x14010fb51 call EffectGameObject__updateSpeedModType ; +0x564, 0x14010fb54 mov rcx, rsi ; +0x569, 0x14010fb59 call EditorUI__updateSlider ; +0x56c, 0x14010fb5c mov rax, r15 ; +0x571, 0x14010fb61 jmp loc_14010FEE0 ; +0x574, 0x14010fb64 call cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x579, 0x14010fb69 mov r15, rax ; +0x57f, 0x14010fb6f mov rdx, [rsi+538h] ; +0x582, 0x14010fb72 mov rcx, rax ; +0x589, 0x14010fb79 test rdx, rdx ; +0x58c, 0x14010fb7c jz short loc_14010FB89 ; +0x58f, 0x14010fb7f call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x591, 0x14010fb81 jmp short loc_14010FB96 ; +0x597, 0x14010fb87 mov rdx, [rsi+340h] ; +0x599, 0x14010fb89 call cs:?addObjectsFromArray@CCArray@cocos2d@@QEAAXPEAV12@@Z; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray *) ; +0x5a0, 0x14010fb90 mov rcx, cs:qword_1406C2ED8 ; +0x5a6, 0x14010fb96 test rcx, rcx ; +0x5ad, 0x14010fb9d jnz short loc_14010FBD1 ; +0x5b0, 0x14010fba0 mov ecx, 668h; Size ; +0x5b2, 0x14010fba2 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x5b7, 0x14010fba7 mov [rsp+120h+var_E8], rax ; +0x5bc, 0x14010fbac mov rcx, rax ; +0x5c1, 0x14010fbb1 call sub_14017AB00 ; +0x5c4, 0x14010fbb4 nop ; +0x5c9, 0x14010fbb9 mov cs:qword_1406C2ED8, rax ; +0x5ca, 0x14010fbba mov rdx, [rax] ; +0x5d1, 0x14010fbc1 mov rcx, rax ; +0x5d4, 0x14010fbc4 call qword ptr [rdx+48h] ; +0x5d7, 0x14010fbc7 mov rcx, cs:qword_1406C2ED8 ; +0x5da, 0x14010fbca mov r8d, r12d ; +0x5e1, 0x14010fbd1 lea rdx, [rbp+57h+var_90] ; +0x5e4, 0x14010fbd4 call GameManager__stringForCustomObject ; +0x5e8, 0x14010fbd8 nop ; +0x5ed, 0x14010fbdd lea rdx, [rbp+57h+var_90] ; +0x5ee, 0x14010fbde cmp [rbp+57h+var_78], 0Fh ; +0x5f2, 0x14010fbe2 cmova rdx, [rbp+57h+var_90] ; +0x5f7, 0x14010fbe7 xorps xmm0, xmm0 ; +0x5fc, 0x14010fbec movups [rbp+57h+var_B8], xmm0 ; +0x5ff, 0x14010fbef mov [rbp+57h+var_A8], r14 ; +0x603, 0x14010fbf3 mov [rbp+57h+var_A0], r14 ; +0x607, 0x14010fbf7 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x60b, 0x14010fbfb inc r8 ; +0x612, 0x14010fc02 cmp byte ptr [rdx+r8], 0 ; +0x615, 0x14010fc05 jnz short loc_14010FC02 ; +0x61a, 0x14010fc0a lea rcx, [rbp+57h+var_B8] ; +0x61c, 0x14010fc0c call sub_14003A930 ; +0x620, 0x14010fc10 xor r9d, r9d ; +0x625, 0x14010fc15 xor r8d, r8d ; +0x628, 0x14010fc18 lea rdx, [rbp+57h+var_B8] ; +0x62b, 0x14010fc1b mov rcx, rsi ; +0x62f, 0x14010fc1f call EditorUI__pasteObjects ; +0x632, 0x14010fc22 mov rdi, rax ; +0x637, 0x14010fc27 test rax, rax ; +0x63a, 0x14010fc2a jz loc_14010FEBF ; +0x63d, 0x14010fc2d mov rcx, rax ; +0x643, 0x14010fc33 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x646, 0x14010fc36 test eax, eax ; +0x64c, 0x14010fc3c jz loc_14010FEBF ; +0x64e, 0x14010fc3e mov r12, r14 ; +0x654, 0x14010fc44 mov ebx, r14d ; +0x657, 0x14010fc47 mov rcx, rdi ; +0x65a, 0x14010fc4a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x65d, 0x14010fc4d test eax, eax ; +0x663, 0x14010fc53 jz short loc_14010FC97 ; +0x665, 0x14010fc55 nop word ptr [rax+rax+00000000h] ; +0x667, 0x14010fc57 mov edx, ebx ; +0x670, 0x14010fc60 mov rcx, rdi ; +0x672, 0x14010fc62 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x675, 0x14010fc65 mov r12, rax ; +0x67b, 0x14010fc6b cmp byte ptr [rax+486h], 0 ; +0x67e, 0x14010fc6e jnz short loc_14010FC97 ; +0x685, 0x14010fc75 inc ebx ; +0x687, 0x14010fc77 mov rcx, rdi ; +0x689, 0x14010fc79 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x68c, 0x14010fc7c cmp ebx, eax ; +0x692, 0x14010fc82 jb short loc_14010FC60 ; +0x694, 0x14010fc84 lea rdx, [rbp+57h+var_D0] ; +0x696, 0x14010fc86 lea rcx, [rsp+120h+var_D8] ; +0x69a, 0x14010fc8a call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x69f, 0x14010fc8f jmp short loc_14010FCFE ; +0x6a5, 0x14010fc95 lea rdx, [rbp+57h+var_D0] ; +0x6a7, 0x14010fc97 lea rcx, [rsp+120h+var_D8] ; +0x6ab, 0x14010fc9b call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x6b0, 0x14010fca0 test r12, r12 ; +0x6b6, 0x14010fca6 jz short loc_14010FCFE ; +0x6b9, 0x14010fca9 xor r9d, r9d ; +0x6bb, 0x14010fcab mov r8, rdi ; +0x6be, 0x14010fcae lea rdx, [rsp+120h+var_E0] ; +0x6c1, 0x14010fcb1 call EditorUI__getGroupCenter ; +0x6c6, 0x14010fcb6 mov rax, [r12] ; +0x6cb, 0x14010fcbb mov rcx, r12 ; +0x6cf, 0x14010fcbf call qword ptr [rax+0C8h] ; +0x6d2, 0x14010fcc2 mov r8, rax ; +0x6d8, 0x14010fcc8 lea rdx, [rbp+57h+var_C0] ; +0x6db, 0x14010fccb lea rcx, [rsp+120h+var_E0] ; +0x6df, 0x14010fccf call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x6e4, 0x14010fcd4 lea r8, [rbp+57h+var_C0] ; +0x6ea, 0x14010fcda lea rdx, [rsp+120h+var_E8] ; +0x6ee, 0x14010fcde lea rcx, [rsp+120h+var_D8] ; +0x6f3, 0x14010fce3 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x6f8, 0x14010fce8 lea rdx, [rsp+120h+var_E8] ; +0x6fe, 0x14010fcee lea rcx, [rsp+120h+var_D8] ; +0x703, 0x14010fcf3 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x708, 0x14010fcf8 lea rdx, [rsp+120h+var_D8] ; +0x70e, 0x14010fcfe lea rcx, [rsp+120h+var_E8] ; +0x713, 0x14010fd03 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x718, 0x14010fd08 mov r8, rax ; +0x71e, 0x14010fd0e xor r9d, r9d ; +0x721, 0x14010fd11 mov rdx, rdi ; +0x724, 0x14010fd14 mov rcx, rsi ; +0x727, 0x14010fd17 call EditorUI__repositionObjectsToCenter ; +0x72a, 0x14010fd1a mov rcx, rdi ; +0x72f, 0x14010fd1f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x732, 0x14010fd22 mov ebx, eax ; +0x738, 0x14010fd28 mov rcx, r15 ; +0x73a, 0x14010fd2a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x73d, 0x14010fd2d cmp ebx, eax ; +0x743, 0x14010fd33 jnz loc_14010FEBF ; +0x745, 0x14010fd35 mov r12, r14 ; +0x74b, 0x14010fd3b mov r13, r14 ; +0x74e, 0x14010fd3e mov ebx, r14d ; +0x751, 0x14010fd41 mov rcx, r15 ; +0x754, 0x14010fd44 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x757, 0x14010fd47 test eax, eax ; +0x75d, 0x14010fd4d jz short loc_14010FD79 ; +0x75f, 0x14010fd4f mov edx, ebx ; +0x761, 0x14010fd51 mov rcx, r15 ; +0x763, 0x14010fd53 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x766, 0x14010fd56 cmp [rax+486h], r12b ; +0x76c, 0x14010fd5c jnz short loc_14010FD76 ; +0x773, 0x14010fd63 inc ebx ; +0x775, 0x14010fd65 mov rcx, r15 ; +0x777, 0x14010fd67 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x77a, 0x14010fd6a cmp ebx, eax ; +0x780, 0x14010fd70 jb short loc_14010FD51 ; +0x782, 0x14010fd72 jmp short loc_14010FD79 ; +0x784, 0x14010fd74 mov r12, rax ; +0x786, 0x14010fd76 mov ebx, r14d ; +0x789, 0x14010fd79 mov rcx, rdi ; +0x78c, 0x14010fd7c call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x78f, 0x14010fd7f test eax, eax ; +0x795, 0x14010fd85 jz short loc_14010FDB8 ; +0x797, 0x14010fd87 nop dword ptr [rax+00000000h] ; +0x799, 0x14010fd89 mov edx, ebx ; +0x7a0, 0x14010fd90 mov rcx, rdi ; +0x7a2, 0x14010fd92 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x7a5, 0x14010fd95 cmp [rax+486h], r13b ; +0x7ab, 0x14010fd9b jnz short loc_14010FDB5 ; +0x7b2, 0x14010fda2 inc ebx ; +0x7b4, 0x14010fda4 mov rcx, rdi ; +0x7b6, 0x14010fda6 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x7b9, 0x14010fda9 cmp ebx, eax ; +0x7bf, 0x14010fdaf jb short loc_14010FD90 ; +0x7c1, 0x14010fdb1 jmp short loc_14010FDB8 ; +0x7c3, 0x14010fdb3 mov r13, rax ; +0x7c5, 0x14010fdb5 test r12, r12 ; +0x7c8, 0x14010fdb8 jz loc_14010FEBF ; +0x7cb, 0x14010fdbb test r13, r13 ; +0x7d1, 0x14010fdc1 jz loc_14010FEBF ; +0x7d4, 0x14010fdc4 mov eax, [r13+40Ch] ; +0x7da, 0x14010fdca cmp [r12+40Ch], eax ; +0x7e1, 0x14010fdd1 jnz loc_14010FEBF ; +0x7e9, 0x14010fdd9 mov rax, [r12] ; +0x7ef, 0x14010fddf mov rcx, r12 ; +0x7f3, 0x14010fde3 call qword ptr [rax+158h] ; +0x7f6, 0x14010fde6 movaps xmm6, xmm0 ; +0x7fc, 0x14010fdec mov rax, [r13+0] ; +0x7ff, 0x14010fdef mov rcx, r13 ; +0x803, 0x14010fdf3 call qword ptr [rax+158h] ; +0x806, 0x14010fdf6 ucomiss xmm6, xmm0 ; +0x80c, 0x14010fdfc jp short loc_14010FE07 ; +0x80f, 0x14010fdff jz loc_14010FEBF ; +0x811, 0x14010fe01 mov rax, [r12] ; +0x817, 0x14010fe07 mov rcx, r12 ; +0x81b, 0x14010fe0b call qword ptr [rax+158h] ; +0x81e, 0x14010fe0e movaps xmm6, xmm0 ; +0x824, 0x14010fe14 mov rax, [r13+0] ; +0x827, 0x14010fe17 mov rcx, r13 ; +0x82b, 0x14010fe1b call qword ptr [rax+158h] ; +0x82e, 0x14010fe1e subss xmm6, xmm0 ; +0x834, 0x14010fe24 cvttss2si ebx, xmm6 ; +0x838, 0x14010fe28 mov eax, 0B60B60B7h ; +0x83c, 0x14010fe2c imul ebx ; +0x841, 0x14010fe31 add edx, ebx ; +0x843, 0x14010fe33 sar edx, 6 ; +0x845, 0x14010fe35 mov eax, edx ; +0x848, 0x14010fe38 shr eax, 1Fh ; +0x84a, 0x14010fe3a add edx, eax ; +0x84d, 0x14010fe3d imul ecx, edx, 5Ah ; 'Z' ; +0x84f, 0x14010fe3f cmp ebx, ecx ; +0x852, 0x14010fe42 jz short loc_14010FE97 ; +0x854, 0x14010fe44 mov rcx, rdi ; +0x856, 0x14010fe46 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x859, 0x14010fe49 test eax, eax ; +0x85f, 0x14010fe4f jz short loc_14010FE97 ; +0x861, 0x14010fe51 mov r15d, 2200001h ; +0x863, 0x14010fe53 nop dword ptr [rax+00000000h] ; +0x869, 0x14010fe59 mov edx, r14d ; +0x870, 0x14010fe60 mov rcx, rdi ; +0x873, 0x14010fe63 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x876, 0x14010fe66 mov ecx, [rax+3A0h] ; +0x87c, 0x14010fe6c cmp ecx, 19h ; +0x882, 0x14010fe72 ja short loc_14010FE86 ; +0x885, 0x14010fe75 bt r15d, ecx ; +0x887, 0x14010fe77 jnb short loc_14010FE86 ; +0x88b, 0x14010fe7b cmp byte ptr [rax+4C6h], 0 ; +0x88d, 0x14010fe7d jz short loc_14010FEBF ; +0x894, 0x14010fe84 inc r14d ; +0x896, 0x14010fe86 mov rcx, rdi ; +0x899, 0x14010fe89 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x89c, 0x14010fe8c cmp r14d, eax ; +0x8a2, 0x14010fe92 jb short loc_14010FE60 ; +0x8a5, 0x14010fe95 lea rdx, dword_1406C1AA8 ; +0x8a7, 0x14010fe97 lea rcx, [rsp+120h+var_E8] ; +0x8ae, 0x14010fe9e call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x8b3, 0x14010fea3 mov r9, rax ; +0x8b9, 0x14010fea9 movd xmm2, ebx ; +0x8bc, 0x14010feac cvtdq2ps xmm2, xmm2 ; +0x8c0, 0x14010feb0 mov rdx, rdi ; +0x8c3, 0x14010feb3 mov rcx, rsi ; +0x8c6, 0x14010feb6 call EditorUI__rotateObjects ; +0x8c9, 0x14010feb9 nop ; +0x8ce, 0x14010febe lea rcx, [rbp+57h+var_90] ; +0x8cf, 0x14010febf call sub_14003A830 ; +0x8d3, 0x14010fec3 jmp short loc_14010FEDE ; +0x8d8, 0x14010fec8 lea rcx, [rsi+328h] ; +0x8da, 0x14010feca lea rdx, dword_1406C1AA8 ; +0x8e1, 0x14010fed1 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x8e8, 0x14010fed8 xor eax, eax ; +0x8ee, 0x14010fede mov rcx, [rbp+57h+var_70] ; +0x8f0, 0x14010fee0 xor rcx, rsp; StackCookie ; +0x8f4, 0x14010fee4 call __security_check_cookie ; +0x8f7, 0x14010fee7 lea r11, [rsp+120h+var_30] ; +0x8fc, 0x14010feec mov rbx, [r11+50h] ; +0x904, 0x14010fef4 movaps xmm6, xmmword ptr [r11-10h] ; +0x908, 0x14010fef8 movaps xmm7, xmmword ptr [r11-20h] ; +0x90d, 0x14010fefd movaps xmm8, xmmword ptr [r11-30h] ; +0x912, 0x14010ff02 mov rsp, r11 ; +0x917, 0x14010ff07 pop r15 ; +0x91a, 0x14010ff0a pop r14 ; +0x91c, 0x14010ff0c pop r13 ; +0x91e, 0x14010ff0e pop r12 ; +0x920, 0x14010ff10 pop rdi ; +0x922, 0x14010ff12 pop rsi ; +0x923, 0x14010ff13 pop rbp ; +0x924, 0x14010ff14 retn ; +0x925, 0x14010ff15