; ; EditorUI::spriteFromObjectString from 0x14010de60 to 0x14010e76a (2314 bytes) ; ; 4 xrefs: ; > EditorUI::menuItemFromObjectString @ 0x14010e7df ; > GJSmartBlockPreview::addPreview @ 0x1402b6675 ; > KeyframeGameObject::updateShadowObjects @ 0x1404b55c7 ; > @ 0x1406c8e08 ; ; 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, 0x14010de60 mov [rax+18h], rbx ; +0x3, 0x14010de63 push rbp ; +0x7, 0x14010de67 push rsi ; +0x8, 0x14010de68 push rdi ; +0x9, 0x14010de69 push r12 ; +0xa, 0x14010de6a push r13 ; +0xc, 0x14010de6c push r14 ; +0xe, 0x14010de6e push r15 ; +0x10, 0x14010de70 sub rsp, 0F0h ; +0x12, 0x14010de72 movaps xmmword ptr [rax-48h], xmm6 ; +0x19, 0x14010de79 movaps xmmword ptr [rax-58h], xmm7 ; +0x1d, 0x14010de7d movaps xmmword ptr [rax-68h], xmm8 ; +0x21, 0x14010de81 movaps xmmword ptr [rax-78h], xmm9 ; +0x26, 0x14010de86 movaps xmmword ptr [rax-88h], xmm10 ; +0x2b, 0x14010de8b movaps xmmword ptr [rax-98h], xmm11 ; +0x33, 0x14010de93 movaps xmmword ptr [rax-0A8h], xmm12 ; +0x3b, 0x14010de9b movaps [rsp+128h+var_B8], xmm13 ; +0x43, 0x14010dea3 mov rax, cs:__security_cookie ; +0x49, 0x14010dea9 xor rax, rsp ; +0x50, 0x14010deb0 mov [rsp+128h+var_C0], rax ; +0x53, 0x14010deb3 movzx ebx, r9b ; +0x58, 0x14010deb8 movzx r14d, r8b ; +0x5c, 0x14010debc mov [rsp+128h+var_108], r8b ; +0x60, 0x14010dec0 mov rsi, rdx ; +0x65, 0x14010dec5 mov [rsp+128h+var_D0], rdx ; +0x68, 0x14010dec8 mov r13, rcx ; +0x6d, 0x14010decd mov [rsp+128h+var_F0], rcx ; +0x70, 0x14010ded0 mov [rsp+128h+var_C8], rdx ; +0x75, 0x14010ded5 mov rax, [rsp+128h+arg_28] ; +0x7a, 0x14010deda mov [rsp+128h+var_E0], rax ; +0x82, 0x14010dee2 mov rdi, [rsp+128h+arg_30] ; +0x87, 0x14010dee7 mov [rsp+128h+var_F8], rdi ; +0x8f, 0x14010deef call cs:?create@CCSprite@cocos2d@@SAPEAV12@XZ; cocos2d::CCSprite::create(void) ; +0x94, 0x14010def4 mov [rsp+128h+var_E8], rax ; +0x9a, 0x14010defa mov r9b, 1 ; +0x9f, 0x14010deff mov rdx, rsi ; +0xa2, 0x14010df02 mov rcx, [r13+500h] ; +0xa5, 0x14010df05 call LevelEditorLayer__createObjectsFromString ; +0xac, 0x14010df0c mov r12, rax ; +0xb1, 0x14010df11 mov rcx, [r13+500h] ; +0xb4, 0x14010df14 mov r15, [rcx+0DB0h] ; +0xbb, 0x14010df1b xor ebp, ebp ; +0xc2, 0x14010df22 test bl, bl ; +0xc4, 0x14010df24 jz loc_14010E0C5 ; +0xc6, 0x14010df26 test rdi, rdi ; +0xcc, 0x14010df2c jz loc_14010E0C5 ; +0xcf, 0x14010df2f mov esi, ebp ; +0xd5, 0x14010df35 mov rcx, rax ; +0xd7, 0x14010df37 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xda, 0x14010df3a test eax, eax ; +0xe0, 0x14010df40 jz loc_14010E0C5 ; +0xe2, 0x14010df42 mov rbx, [rsp+128h+arg_38] ; +0xe8, 0x14010df48 mov r13, rdi ; +0xf0, 0x14010df50 mov rcx, r13 ; +0xf3, 0x14010df53 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xf6, 0x14010df56 cmp esi, eax ; +0xfc, 0x14010df5c jnb loc_14010E0BA ; +0xfe, 0x14010df5e mov edx, esi ; +0x104, 0x14010df64 mov rcx, r13 ; +0x106, 0x14010df66 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x109, 0x14010df69 mov r14, rax ; +0x10f, 0x14010df6f mov edx, esi ; +0x112, 0x14010df72 mov rcx, r12 ; +0x114, 0x14010df74 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x117, 0x14010df77 mov rdi, rax ; +0x11d, 0x14010df7d mov rdx, [rax+450h] ; +0x120, 0x14010df80 test rdx, rdx ; +0x127, 0x14010df87 jz short loc_14010DFBA ; +0x12a, 0x14010df8a mov ecx, [rdx+4] ; +0x12c, 0x14010df8c mov edx, [rdx] ; +0x12f, 0x14010df8f cmp ecx, edx ; +0x131, 0x14010df91 jz short loc_14010DF99 ; +0x133, 0x14010df93 test edx, edx ; +0x135, 0x14010df95 jnz short loc_14010DF9B ; +0x137, 0x14010df97 mov edx, ecx ; +0x139, 0x14010df99 mov rcx, [r15+140h] ; +0x13b, 0x14010df9b mov r9, rcx ; +0x142, 0x14010dfa2 mov eax, edx ; +0x145, 0x14010dfa5 test edx, edx ; +0x147, 0x14010dfa7 cmovs eax, ebp ; +0x149, 0x14010dfa9 cmp eax, 44Dh ; +0x14c, 0x14010dfac jle short loc_14010DFC8 ; +0x151, 0x14010dfb1 mov eax, 44Dh ; +0x153, 0x14010dfb3 jmp short loc_14010DFC8 ; +0x158, 0x14010dfb8 mov edx, ebp ; +0x15a, 0x14010dfba mov rcx, [r15+140h] ; +0x15c, 0x14010dfbc mov r9, rcx ; +0x163, 0x14010dfc3 mov eax, ebp ; +0x166, 0x14010dfc6 movsxd r8, eax ; +0x168, 0x14010dfc8 mov rax, [r9+2E0h] ; +0x16b, 0x14010dfcb cmp [rax+r8*8], rbp ; +0x172, 0x14010dfd2 jz short loc_14010E018 ; +0x176, 0x14010dfd6 call GJEffectManager__getColorAction ; +0x178, 0x14010dfd8 mov rbx, rax ; +0x17d, 0x14010dfdd movzx ecx, word ptr [rax+48h] ; +0x180, 0x14010dfe0 mov [rsp+128h+var_100], cx ; +0x184, 0x14010dfe4 movzx ecx, byte ptr [rax+4Ah] ; +0x189, 0x14010dfe9 mov [rsp+128h+var_FE], cl ; +0x18d, 0x14010dfed mov r8, [rdi] ; +0x191, 0x14010dff1 lea rdx, [rsp+128h+var_100] ; +0x194, 0x14010dff4 mov rcx, rdi ; +0x199, 0x14010dff9 call qword ptr [r8+588h] ; +0x19c, 0x14010dffc mov rcx, [rdi+450h] ; +0x1a3, 0x14010e003 mov eax, [rbx+60h] ; +0x1aa, 0x14010e00a mov [rcx+8], eax ; +0x1ad, 0x14010e00d mov rbx, [rsp+128h+arg_38] ; +0x1b0, 0x14010e010 cmp [r14+380h], rbp ; +0x1b8, 0x14010e018 jz short loc_14010E087 ; +0x1bf, 0x14010e01f mov rdx, [rdi+458h] ; +0x1c1, 0x14010e021 test rdx, rdx ; +0x1c8, 0x14010e028 jz short loc_14010E03E ; +0x1cb, 0x14010e02b mov eax, [rdx+4] ; +0x1cd, 0x14010e02d mov edx, [rdx] ; +0x1d0, 0x14010e030 cmp eax, edx ; +0x1d2, 0x14010e032 jz short loc_14010E03A ; +0x1d4, 0x14010e034 test edx, edx ; +0x1d6, 0x14010e036 jnz short loc_14010E040 ; +0x1d8, 0x14010e038 mov edx, eax ; +0x1da, 0x14010e03a jmp short loc_14010E040 ; +0x1dc, 0x14010e03c mov edx, ebp ; +0x1de, 0x14010e03e mov rcx, [r15+140h] ; +0x1e0, 0x14010e040 call GJEffectManager__getColorAction ; +0x1e7, 0x14010e047 mov rbx, rax ; +0x1ec, 0x14010e04c movzx ecx, word ptr [rax+48h] ; +0x1ef, 0x14010e04f mov word ptr [rsp+128h+var_104], cx ; +0x1f3, 0x14010e053 movzx ecx, byte ptr [rax+4Ah] ; +0x1f8, 0x14010e058 mov byte ptr [rsp+128h+var_104+2], cl ; +0x1fc, 0x14010e05c mov r8, [rdi] ; +0x200, 0x14010e060 lea rdx, [rsp+128h+var_104] ; +0x203, 0x14010e063 mov rcx, rdi ; +0x208, 0x14010e068 call qword ptr [r8+590h] ; +0x20b, 0x14010e06b mov rcx, [rdi+458h] ; +0x212, 0x14010e072 mov eax, [rbx+60h] ; +0x219, 0x14010e079 mov [rcx+8], eax ; +0x21c, 0x14010e07c mov rbx, [rsp+128h+arg_38] ; +0x21f, 0x14010e07f lea rcx, [rdi+140h] ; +0x227, 0x14010e087 mov rax, [rcx] ; +0x22e, 0x14010e08e mov dl, 0FFh ; +0x231, 0x14010e091 call qword ptr [rax+28h] ; +0x233, 0x14010e093 test rbx, rbx ; +0x236, 0x14010e096 jz short loc_14010E0A7 ; +0x239, 0x14010e099 cmp r14, rbx ; +0x23b, 0x14010e09b setz al ; +0x23e, 0x14010e09e mov [rdi+486h], al ; +0x241, 0x14010e0a1 inc esi ; +0x247, 0x14010e0a7 mov rcx, r12 ; +0x249, 0x14010e0a9 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x24c, 0x14010e0ac cmp esi, eax ; +0x252, 0x14010e0b2 jb loc_14010DF53 ; +0x254, 0x14010e0b4 mov r13, [rsp+128h+var_F0] ; +0x25a, 0x14010e0ba movzx r14d, [rsp+128h+var_108] ; +0x25f, 0x14010e0bf movss xmm1, cs:dword_14062350C ; +0x265, 0x14010e0c5 movaps xmm2, xmm1 ; +0x26d, 0x14010e0cd lea rcx, [rsp+128h+var_D8] ; +0x270, 0x14010e0d0 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x275, 0x14010e0d5 lea rdx, [rsp+128h+var_D8] ; +0x27b, 0x14010e0db lea rcx, [rsp+128h+var_F8] ; +0x280, 0x14010e0e0 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x285, 0x14010e0e5 mov r8, rax ; +0x28b, 0x14010e0eb movzx r9d, r14b ; +0x28e, 0x14010e0ee mov rdx, r12 ; +0x292, 0x14010e0f2 mov rcx, r13 ; +0x295, 0x14010e0f5 call EditorUI__repositionObjectsToCenter ; +0x298, 0x14010e0f8 mov rdx, r12 ; +0x29d, 0x14010e0fd mov rcx, r13 ; +0x2a0, 0x14010e100 call EditorUI__deleteSmartBlocksFromObjects ; +0x2a3, 0x14010e103 mov esi, ebp ; +0x2a8, 0x14010e108 mov rcx, r12 ; +0x2aa, 0x14010e10a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2ad, 0x14010e10d test eax, eax ; +0x2b3, 0x14010e113 jz loc_14010E22E ; +0x2b5, 0x14010e115 nop dword ptr [rax+rax+00h] ; +0x2bb, 0x14010e11b mov edx, esi ; +0x2c0, 0x14010e120 mov rcx, r12 ; +0x2c2, 0x14010e122 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x2c5, 0x14010e125 mov rdi, rax ; +0x2cb, 0x14010e12b cmp dword ptr [rax+40Ch], 811h ; +0x2ce, 0x14010e12e jnz loc_14010E21B ; +0x2d8, 0x14010e138 movsxd rax, dword ptr [rax+370h] ; +0x2de, 0x14010e13e test eax, eax ; +0x2e5, 0x14010e145 jle short loc_14010E174 ; +0x2e7, 0x14010e147 mov rcx, [r13+500h] ; +0x2e9, 0x14010e149 mov rdx, rax ; +0x2f0, 0x14010e150 mov rcx, [rcx+0FC0h] ; +0x2f3, 0x14010e153 call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x2fa, 0x14010e15a test rax, rax ; +0x300, 0x14010e160 jz short loc_14010E174 ; +0x303, 0x14010e163 mov r8b, 1 ; +0x305, 0x14010e165 mov rdx, rdi ; +0x308, 0x14010e168 mov rcx, rax ; +0x30b, 0x14010e16b call cs:?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x30e, 0x14010e16e movzx eax, byte ptr [rdi+475h] ; +0x314, 0x14010e174 mov [rdi+474h], al ; +0x31b, 0x14010e17b mov rdx, rdi ; +0x321, 0x14010e181 mov rcx, r13 ; +0x324, 0x14010e184 call EditorUI__deselectObject ; +0x327, 0x14010e187 mov rbx, [r13+500h] ; +0x32c, 0x14010e18c mov rax, [rdi] ; +0x333, 0x14010e193 mov dl, 1 ; +0x336, 0x14010e196 mov rcx, rdi ; +0x338, 0x14010e198 call qword ptr [rax+478h] ; +0x33b, 0x14010e19b mov rdx, rdi ; +0x341, 0x14010e1a1 mov rcx, rbx ; +0x344, 0x14010e1a4 call GJBaseGameLayer__removeObjectFromSection ; +0x347, 0x14010e1a7 mov rdx, rdi ; +0x34c, 0x14010e1ac mov rcx, rbx ; +0x34f, 0x14010e1af call LevelEditorLayer__removeSpecial ; +0x352, 0x14010e1b2 mov byte ptr [rbx+3B22h], 1 ; +0x357, 0x14010e1b7 mov dword ptr [r13+2A0h], 0FFFFFFFFh ; +0x35e, 0x14010e1be mov rcx, [r13+2B8h] ; +0x369, 0x14010e1c9 mov rax, [rcx] ; +0x370, 0x14010e1d0 call qword ptr [rax+148h] ; +0x373, 0x14010e1d3 test al, al ; +0x379, 0x14010e1d9 jz short loc_14010E1FB ; +0x37b, 0x14010e1db mov rcx, [r13+2B8h] ; +0x37d, 0x14010e1dd mov rax, [rcx] ; +0x384, 0x14010e1e4 xor edx, edx ; +0x387, 0x14010e1e7 call qword ptr [rax+140h] ; +0x389, 0x14010e1e9 mov rcx, [r13+2B8h] ; +0x38f, 0x14010e1ef call GJRotationControl__finishTouch ; +0x396, 0x14010e1f6 mov rcx, r13 ; +0x39b, 0x14010e1fb call EditorUI__deactivateScaleControl ; +0x39e, 0x14010e1fe mov rcx, r13 ; +0x3a3, 0x14010e203 call EditorUI__deactivateTransformControl ; +0x3a6, 0x14010e206 mov r8b, 1 ; +0x3ab, 0x14010e20b mov edx, esi ; +0x3ae, 0x14010e20e mov rcx, r12 ; +0x3b0, 0x14010e210 call cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x3b3, 0x14010e213 jmp short loc_14010E21D ; +0x3b9, 0x14010e219 inc esi ; +0x3bb, 0x14010e21b mov rcx, r12 ; +0x3bd, 0x14010e21d call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3c0, 0x14010e220 cmp esi, eax ; +0x3c6, 0x14010e226 jb loc_14010E120 ; +0x3c8, 0x14010e228 mov esi, [rsp+128h+arg_20] ; +0x3ce, 0x14010e22e test esi, esi ; +0x3d5, 0x14010e235 jle short loc_14010E2A2 ; +0x3d7, 0x14010e237 mov rcx, r12 ; +0x3d9, 0x14010e239 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3dc, 0x14010e23c cmp eax, esi ; +0x3e2, 0x14010e242 jbe short loc_14010E2A2 ; +0x3e4, 0x14010e244 mov rcx, r12 ; +0x3e6, 0x14010e246 call cs:?lastObject@CCArray@cocos2d@@QEAAPEAVCCObject@2@XZ; cocos2d::CCArray::lastObject(void) ; +0x3e9, 0x14010e249 mov rbx, rax ; +0x3ef, 0x14010e24f mov rdi, [r13+500h] ; +0x3f2, 0x14010e252 test rax, rax ; +0x3f9, 0x14010e259 jz short loc_14010E28A ; +0x3fc, 0x14010e25c mov r8, [rax] ; +0x3fe, 0x14010e25e mov dl, 1 ; +0x401, 0x14010e261 mov rcx, rax ; +0x403, 0x14010e263 call qword ptr [r8+478h] ; +0x406, 0x14010e266 mov rdx, rbx ; +0x40d, 0x14010e26d mov rcx, rdi ; +0x410, 0x14010e270 call GJBaseGameLayer__removeObjectFromSection ; +0x413, 0x14010e273 mov rdx, rbx ; +0x418, 0x14010e278 mov rcx, rdi ; +0x41b, 0x14010e27b call LevelEditorLayer__removeSpecial ; +0x41e, 0x14010e27e mov byte ptr [rdi+3B22h], 1 ; +0x423, 0x14010e283 mov dl, 1 ; +0x42a, 0x14010e28a mov rcx, r12 ; +0x42c, 0x14010e28c call cs:?removeLastObject@CCArray@cocos2d@@QEAAX_N@Z; cocos2d::CCArray::removeLastObject(bool) ; +0x42f, 0x14010e28f mov rcx, r12 ; +0x435, 0x14010e295 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x438, 0x14010e298 cmp eax, esi ; +0x43e, 0x14010e29e ja short loc_14010E246 ; +0x440, 0x14010e2a0 xorps xmm9, xmm9 ; +0x442, 0x14010e2a2 xorps xmm13, xmm13 ; +0x446, 0x14010e2a6 xorps xmm11, xmm11 ; +0x44a, 0x14010e2aa xorps xmm12, xmm12 ; +0x44e, 0x14010e2ae xorps xmm10, xmm10 ; +0x452, 0x14010e2b2 mov dword ptr [rsp+128h+var_F0], 1 ; +0x456, 0x14010e2b6 mov dword ptr [rsp+128h+var_F0+4], 303h ; +0x45e, 0x14010e2be mov dword ptr [rsp+128h+var_F8], 302h ; +0x466, 0x14010e2c6 mov dword ptr [rsp+128h+var_F8+4], 1 ; +0x46e, 0x14010e2ce mov r14d, ebp ; +0x476, 0x14010e2d6 mov [rsp+128h+var_104], ebp ; +0x479, 0x14010e2d9 mov rcx, r12 ; +0x47d, 0x14010e2dd call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x480, 0x14010e2e0 test eax, eax ; +0x486, 0x14010e2e6 jz loc_14010E670 ; +0x488, 0x14010e2e8 mov rbx, [rsp+128h+var_F0] ; +0x48e, 0x14010e2ee mov rdi, [rsp+128h+var_F8] ; +0x493, 0x14010e2f3 nop dword ptr [rax+rax+00000000h] ; +0x498, 0x14010e2f8 mov edx, r14d ; +0x4a0, 0x14010e300 mov rcx, r12 ; +0x4a3, 0x14010e303 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4a6, 0x14010e306 mov r15, rax ; +0x4ac, 0x14010e30c mov rsi, [r13+500h] ; +0x4af, 0x14010e30f test rax, rax ; +0x4b6, 0x14010e316 jz short loc_14010E347 ; +0x4b9, 0x14010e319 mov r8, [rax] ; +0x4bb, 0x14010e31b mov dl, 1 ; +0x4be, 0x14010e31e mov rcx, rax ; +0x4c0, 0x14010e320 call qword ptr [r8+478h] ; +0x4c3, 0x14010e323 mov rdx, r15 ; +0x4ca, 0x14010e32a mov rcx, rsi ; +0x4cd, 0x14010e32d call GJBaseGameLayer__removeObjectFromSection ; +0x4d0, 0x14010e330 mov rdx, r15 ; +0x4d5, 0x14010e335 mov rcx, rsi ; +0x4d8, 0x14010e338 call LevelEditorLayer__removeSpecial ; +0x4db, 0x14010e33b mov byte ptr [rsi+3B22h], 1 ; +0x4e0, 0x14010e340 mov rax, [r15] ; +0x4e7, 0x14010e347 mov rcx, r15 ; +0x4ea, 0x14010e34a call qword ptr [rax+0C8h] ; +0x4ed, 0x14010e34d lea r8, [rsp+128h+var_D8] ; +0x4f3, 0x14010e353 lea rdx, [rsp+128h+var_F8] ; +0x4f8, 0x14010e358 mov rcx, rax ; +0x4fd, 0x14010e35d call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x500, 0x14010e360 mov rax, [r15] ; +0x506, 0x14010e366 lea rdx, [rsp+128h+var_F8] ; +0x509, 0x14010e369 mov rcx, r15 ; +0x50e, 0x14010e36e call qword ptr [rax+0B8h] ; +0x511, 0x14010e371 mov ecx, [r15+470h] ; +0x517, 0x14010e377 test ecx, ecx ; +0x51e, 0x14010e37e jnz short loc_14010E389 ; +0x520, 0x14010e380 mov ecx, [r15+420h] ; +0x522, 0x14010e382 mov eax, [r15+46Ch] ; +0x529, 0x14010e389 test eax, eax ; +0x530, 0x14010e390 jnz short loc_14010E39B ; +0x532, 0x14010e392 mov eax, [r15+464h] ; +0x534, 0x14010e394 imul r8d, eax, 2710h ; +0x53b, 0x14010e39b add r8d, ecx ; +0x542, 0x14010e3a2 mov rbp, [rsp+128h+var_E8] ; +0x545, 0x14010e3a5 mov rax, [rbp+0] ; +0x54a, 0x14010e3aa mov rdx, r15 ; +0x54e, 0x14010e3ae mov rcx, rbp ; +0x551, 0x14010e3b1 call qword ptr [rax+1B8h] ; +0x554, 0x14010e3b4 mov rax, [rsp+128h+var_E0] ; +0x55a, 0x14010e3ba test rax, rax ; +0x55f, 0x14010e3bf jz short loc_14010E3D0 ; +0x562, 0x14010e3c2 mov rdx, r15 ; +0x564, 0x14010e3c4 mov rcx, rax ; +0x567, 0x14010e3c7 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x56a, 0x14010e3ca mov rdx, [r15+450h] ; +0x570, 0x14010e3d0 mov rcx, r15 ; +0x577, 0x14010e3d7 call GameObject__shouldBlendColor ; +0x57a, 0x14010e3da movzx ecx, al ; +0x57f, 0x14010e3df mov [r15+37Ch], al ; +0x582, 0x14010e3e2 cmp qword ptr [r15+380h], 0 ; +0x589, 0x14010e3e9 jz short loc_14010E430 ; +0x591, 0x14010e3f1 mov rdx, [r15+458h] ; +0x593, 0x14010e3f3 mov r8d, [rdx+4] ; +0x59a, 0x14010e3fa mov eax, [rdx] ; +0x59e, 0x14010e3fe cmp r8d, eax ; +0x5a0, 0x14010e400 jz short loc_14010E409 ; +0x5a3, 0x14010e403 test eax, eax ; +0x5a5, 0x14010e405 jnz short loc_14010E40C ; +0x5a7, 0x14010e407 mov eax, r8d ; +0x5a9, 0x14010e409 cmp eax, 3F4h ; +0x5ac, 0x14010e40c jnz short loc_14010E418 ; +0x5b1, 0x14010e411 movzx eax, cl ; +0x5b3, 0x14010e413 jmp short loc_14010E428 ; +0x5b6, 0x14010e416 mov rcx, r15 ; +0x5b8, 0x14010e418 call GameObject__shouldBlendColor ; +0x5bb, 0x14010e41b movzx ecx, byte ptr [r15+37Ch] ; +0x5c0, 0x14010e420 test al, al ; +0x5c8, 0x14010e428 jz short loc_14010E430 ; +0x5ca, 0x14010e42a mov al, 1 ; +0x5cc, 0x14010e42c jmp short loc_14010E432 ; +0x5ce, 0x14010e42e xor al, al ; +0x5d0, 0x14010e430 mov [r15+37Dh], al ; +0x5d2, 0x14010e432 mov rax, [r15+158h] ; +0x5d9, 0x14010e439 mov r9, [rax] ; +0x5e0, 0x14010e440 test cl, cl ; +0x5e3, 0x14010e443 lea rcx, [r15+158h] ; +0x5e5, 0x14010e445 mov rdx, rdi ; +0x5ec, 0x14010e44c jnz short loc_14010E454 ; +0x5ef, 0x14010e44f mov rdx, rbx ; +0x5f1, 0x14010e451 call r9 ; +0x5f4, 0x14010e454 mov rcx, [r15+380h] ; +0x5f7, 0x14010e457 test rcx, rcx ; +0x5fe, 0x14010e45e jz loc_14010E5A9 ; +0x601, 0x14010e461 cmp byte ptr [r15+290h], 0 ; +0x607, 0x14010e467 jnz loc_14010E5A9 ; +0x60f, 0x14010e46f add rcx, 158h ; +0x615, 0x14010e475 mov rax, [rcx] ; +0x61c, 0x14010e47c cmp byte ptr [r15+37Dh], 0 ; +0x61f, 0x14010e47f mov rdx, rdi ; +0x627, 0x14010e487 jnz short loc_14010E48F ; +0x62a, 0x14010e48a mov rdx, rbx ; +0x62c, 0x14010e48c call qword ptr [rax] ; +0x62f, 0x14010e48f movzx ecx, byte ptr [r15+37Dh] ; +0x631, 0x14010e491 cmp [r15+37Ch], cl ; +0x639, 0x14010e499 jnz short loc_14010E4AF ; +0x640, 0x14010e4a0 mov rcx, r15 ; +0x642, 0x14010e4a2 call GameObject__addColorSpriteToSelf ; +0x645, 0x14010e4a5 jmp loc_14010E5A9 ; +0x64a, 0x14010e4aa mov eax, [r15+46Ch] ; +0x64f, 0x14010e4af test eax, eax ; +0x656, 0x14010e4b6 jnz short loc_14010E4C1 ; +0x658, 0x14010e4b8 mov eax, [r15+464h] ; +0x65a, 0x14010e4ba test cl, cl ; +0x661, 0x14010e4c1 jz short loc_14010E4D1 ; +0x663, 0x14010e4c3 cmp byte ptr [r15+425h], 0 ; +0x665, 0x14010e4c5 jz short loc_14010E4D1 ; +0x66d, 0x14010e4cd inc eax ; +0x66f, 0x14010e4cf mov ecx, [r15+470h] ; +0x671, 0x14010e4d1 test ecx, ecx ; +0x678, 0x14010e4d8 jnz short loc_14010E4E3 ; +0x67a, 0x14010e4da mov ecx, [r15+420h] ; +0x67c, 0x14010e4dc imul r14d, eax, 2710h ; +0x683, 0x14010e4e3 add r14d, ecx ; +0x68a, 0x14010e4ea mov byte ptr [r15+36Ah], 0 ; +0x68d, 0x14010e4ed mov rsi, [r15+380h] ; +0x695, 0x14010e4f5 mov rbp, [rsi] ; +0x69c, 0x14010e4fc mov rax, [r15] ; +0x69f, 0x14010e4ff mov rcx, r15 ; +0x6a2, 0x14010e502 call qword ptr [rax+80h] ; +0x6a5, 0x14010e505 movaps xmm1, xmm0 ; +0x6ab, 0x14010e50b mov rcx, rsi ; +0x6ae, 0x14010e50e call qword ptr [rbp+78h] ; +0x6b1, 0x14010e511 mov rsi, [r15+380h] ; +0x6b4, 0x14010e514 mov rbp, [rsi] ; +0x6bb, 0x14010e51b mov rax, [r15] ; +0x6be, 0x14010e51e mov rcx, r15 ; +0x6c1, 0x14010e521 call qword ptr [rax+90h] ; +0x6c4, 0x14010e524 movaps xmm1, xmm0 ; +0x6ca, 0x14010e52a mov rcx, rsi ; +0x6cd, 0x14010e52d call qword ptr [rbp+88h] ; +0x6d0, 0x14010e530 mov rsi, [r15+380h] ; +0x6d6, 0x14010e536 mov rbp, [rsi] ; +0x6dd, 0x14010e53d mov rax, [r15] ; +0x6e0, 0x14010e540 mov rcx, r15 ; +0x6e3, 0x14010e543 call qword ptr [rax+158h] ; +0x6e6, 0x14010e546 movaps xmm1, xmm0 ; +0x6ec, 0x14010e54c mov rcx, rsi ; +0x6ef, 0x14010e54f call qword ptr [rbp+150h] ; +0x6f2, 0x14010e552 mov rsi, [r15+380h] ; +0x6f8, 0x14010e558 mov rbp, [rsi] ; +0x6ff, 0x14010e55f mov rax, [r15] ; +0x702, 0x14010e562 mov rcx, r15 ; +0x705, 0x14010e565 call qword ptr [rax+0C8h] ; +0x708, 0x14010e568 mov rdx, rax ; +0x70e, 0x14010e56e mov rcx, rsi ; +0x711, 0x14010e571 call qword ptr [rbp+0B8h] ; +0x714, 0x14010e574 mov rcx, [r15+380h] ; +0x71a, 0x14010e57a mov rax, [rcx] ; +0x721, 0x14010e581 xor edx, edx ; +0x724, 0x14010e584 call qword ptr [rax+1F8h] ; +0x726, 0x14010e586 mov rcx, [rsp+128h+var_E8] ; +0x72c, 0x14010e58c mov rax, [rcx] ; +0x731, 0x14010e591 mov r8d, r14d ; +0x734, 0x14010e594 mov rdx, [r15+380h] ; +0x737, 0x14010e597 call qword ptr [rax+1B8h] ; +0x73e, 0x14010e59e mov r14d, [rsp+128h+var_104] ; +0x744, 0x14010e5a4 mov rsi, [r15] ; +0x749, 0x14010e5a9 mov rcx, r15 ; +0x74c, 0x14010e5ac call qword ptr [rsi+0C8h] ; +0x74f, 0x14010e5af mov rdx, rax ; +0x755, 0x14010e5b5 lea rcx, [rsp+128h+var_F0] ; +0x758, 0x14010e5b8 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x75d, 0x14010e5bd mov rdx, rax ; +0x763, 0x14010e5c3 mov rcx, r15 ; +0x766, 0x14010e5c6 call qword ptr [rsi+4B0h] ; +0x769, 0x14010e5c9 mov rax, [r15] ; +0x76f, 0x14010e5cf mov rcx, r15 ; +0x772, 0x14010e5d2 call qword ptr [rax+4A0h] ; +0x775, 0x14010e5d5 mov rsi, rax ; +0x77b, 0x14010e5db mov rcx, rax ; +0x77e, 0x14010e5de call cs:?getMinX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinX(void) ; +0x781, 0x14010e5e1 movaps xmm6, xmm0 ; +0x787, 0x14010e5e7 mov rcx, rsi ; +0x78a, 0x14010e5ea call cs:?getMaxX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxX(void) ; +0x78d, 0x14010e5ed movaps xmm7, xmm0 ; +0x793, 0x14010e5f3 mov rcx, rsi ; +0x796, 0x14010e5f6 call cs:?getMinY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinY(void) ; +0x799, 0x14010e5f9 movaps xmm8, xmm0 ; +0x79f, 0x14010e5ff mov rcx, rsi ; +0x7a3, 0x14010e603 call cs:?getMaxY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxY(void) ; +0x7a6, 0x14010e606 ucomiss xmm13, xmm9 ; +0x7ac, 0x14010e60c jp short loc_14010E614 ; +0x7b0, 0x14010e610 jz short loc_14010E61A ; +0x7b2, 0x14010e612 comiss xmm13, xmm6 ; +0x7b4, 0x14010e614 jbe short loc_14010E61E ; +0x7b8, 0x14010e618 movaps xmm13, xmm6 ; +0x7ba, 0x14010e61a ucomiss xmm11, xmm9 ; +0x7be, 0x14010e61e jp short loc_14010E626 ; +0x7c2, 0x14010e622 jz short loc_14010E62C ; +0x7c4, 0x14010e624 comiss xmm7, xmm11 ; +0x7c6, 0x14010e626 jbe short loc_14010E630 ; +0x7ca, 0x14010e62a movaps xmm11, xmm7 ; +0x7cc, 0x14010e62c ucomiss xmm12, xmm9 ; +0x7d0, 0x14010e630 jp short loc_14010E638 ; +0x7d4, 0x14010e634 jz short loc_14010E63E ; +0x7d6, 0x14010e636 comiss xmm12, xmm8 ; +0x7d8, 0x14010e638 jbe short loc_14010E642 ; +0x7dc, 0x14010e63c movaps xmm12, xmm8 ; +0x7de, 0x14010e63e ucomiss xmm10, xmm9 ; +0x7e2, 0x14010e642 jp short loc_14010E64A ; +0x7e6, 0x14010e646 jz short loc_14010E650 ; +0x7e8, 0x14010e648 comiss xmm0, xmm10 ; +0x7ea, 0x14010e64a jbe short loc_14010E654 ; +0x7ee, 0x14010e64e movaps xmm10, xmm0 ; +0x7f0, 0x14010e650 inc r14d ; +0x7f4, 0x14010e654 mov [rsp+128h+var_104], r14d ; +0x7f7, 0x14010e657 mov rcx, r12 ; +0x7fc, 0x14010e65c call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x7ff, 0x14010e65f cmp r14d, eax ; +0x805, 0x14010e665 jb loc_14010E300 ; +0x808, 0x14010e668 xor ebp, ebp ; +0x80e, 0x14010e66e mov rsi, [rsp+128h+var_E8] ; +0x810, 0x14010e670 mov rbx, [rsi] ; +0x815, 0x14010e675 subss xmm10, xmm12 ; +0x818, 0x14010e678 subss xmm11, xmm13 ; +0x81d, 0x14010e67d movaps xmm2, xmm10 ; +0x822, 0x14010e682 movaps xmm1, xmm11 ; +0x826, 0x14010e686 lea rcx, [rsp+128h+var_E0] ; +0x82a, 0x14010e68a call cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x82f, 0x14010e68f mov rdx, rax ; +0x835, 0x14010e695 mov rcx, rsi ; +0x838, 0x14010e698 call qword ptr [rbx+128h] ; +0x83b, 0x14010e69b mov rcx, r12 ; +0x841, 0x14010e6a1 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x844, 0x14010e6a4 test eax, eax ; +0x84a, 0x14010e6aa jz short loc_14010E70D ; +0x84c, 0x14010e6ac xchg ax, ax ; +0x84e, 0x14010e6ae mov edx, ebp ; +0x850, 0x14010e6b0 mov rcx, r12 ; +0x852, 0x14010e6b2 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x855, 0x14010e6b5 mov rdi, rax ; +0x85b, 0x14010e6bb mov rbx, [rax] ; +0x85e, 0x14010e6be mov rcx, rax ; +0x861, 0x14010e6c1 call qword ptr [rbx+0C8h] ; +0x864, 0x14010e6c4 mov r8, rax ; +0x86a, 0x14010e6ca lea rdx, [rsp+128h+var_E0] ; +0x86d, 0x14010e6cd mov rcx, rsi ; +0x872, 0x14010e6d2 call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x875, 0x14010e6d5 mov rdx, rax ; +0x87b, 0x14010e6db mov rcx, rdi ; +0x87e, 0x14010e6de call qword ptr [rbx+0B8h] ; +0x881, 0x14010e6e1 mov r8, [rdi] ; +0x887, 0x14010e6e7 cmp byte ptr [rdi+516h], 0 ; +0x88a, 0x14010e6ea setz dl ; +0x891, 0x14010e6f1 mov rcx, rdi ; +0x894, 0x14010e6f4 call qword ptr [r8+140h] ; +0x897, 0x14010e6f7 inc ebp ; +0x89e, 0x14010e6fe mov rcx, r12 ; +0x8a0, 0x14010e700 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x8a3, 0x14010e703 cmp ebp, eax ; +0x8a9, 0x14010e709 jb short loc_14010E6B0 ; +0x8ab, 0x14010e70b mov rcx, [rsp+128h+var_D0] ; +0x8ad, 0x14010e70d call sub_14003A830 ; +0x8b2, 0x14010e712 mov rax, rsi ; +0x8b7, 0x14010e717 mov rcx, [rsp+128h+var_C0] ; +0x8ba, 0x14010e71a xor rcx, rsp; StackCookie ; +0x8bf, 0x14010e71f call __security_check_cookie ; +0x8c2, 0x14010e722 lea r11, [rsp+128h+var_38] ; +0x8c7, 0x14010e727 mov rbx, [r11+50h] ; +0x8cf, 0x14010e72f movaps xmm6, xmmword ptr [r11-10h] ; +0x8d3, 0x14010e733 movaps xmm7, xmmword ptr [r11-20h] ; +0x8d8, 0x14010e738 movaps xmm8, xmmword ptr [r11-30h] ; +0x8dd, 0x14010e73d movaps xmm9, xmmword ptr [r11-40h] ; +0x8e2, 0x14010e742 movaps xmm10, xmmword ptr [r11-50h] ; +0x8e7, 0x14010e747 movaps xmm11, xmmword ptr [r11-60h] ; +0x8ec, 0x14010e74c movaps xmm12, xmmword ptr [r11-70h] ; +0x8f1, 0x14010e751 movaps xmm13, xmmword ptr [r11-80h] ; +0x8f6, 0x14010e756 mov rsp, r11 ; +0x8fb, 0x14010e75b pop r15 ; +0x8fe, 0x14010e75e pop r14 ; +0x900, 0x14010e760 pop r13 ; +0x902, 0x14010e762 pop r12 ; +0x904, 0x14010e764 pop rdi ; +0x906, 0x14010e766 pop rsi ; +0x907, 0x14010e767 pop rbp ; +0x908, 0x14010e768 retn ; +0x909, 0x14010e769