; ; DrawGridLayer::draw from 0x14040a8a0 to 0x14040c2fd (6749 bytes) ; ; 2 xrefs: ; > @ 0x14078a6d0 ; > @ 0x140925cdc ; ; 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:32:01 +0000 ; mov rax, rsp ; +0x0, 0x14040a8a0 push rbp ; +0x3, 0x14040a8a3 push rbx ; +0x4, 0x14040a8a4 push rsi ; +0x5, 0x14040a8a5 push rdi ; +0x6, 0x14040a8a6 push r12 ; +0x7, 0x14040a8a7 push r13 ; +0x9, 0x14040a8a9 push r14 ; +0xb, 0x14040a8ab push r15 ; +0xd, 0x14040a8ad lea rbp, [rax-0D8h] ; +0xf, 0x14040a8af sub rsp, 198h ; +0x16, 0x14040a8b6 movaps xmmword ptr [rax-58h], xmm6 ; +0x1d, 0x14040a8bd movaps xmmword ptr [rax-68h], xmm7 ; +0x21, 0x14040a8c1 movaps xmmword ptr [rax-78h], xmm8 ; +0x25, 0x14040a8c5 movaps xmmword ptr [rax-88h], xmm9 ; +0x2a, 0x14040a8ca movaps xmmword ptr [rax-98h], xmm10 ; +0x32, 0x14040a8d2 movaps xmmword ptr [rax-0A8h], xmm11 ; +0x3a, 0x14040a8da movaps xmmword ptr [rax-0B8h], xmm12 ; +0x42, 0x14040a8e2 movaps xmmword ptr [rax-0C8h], xmm13 ; +0x4a, 0x14040a8ea movaps xmmword ptr [rax-0D8h], xmm14 ; +0x52, 0x14040a8f2 movaps xmmword ptr [rax-0E8h], xmm15 ; +0x5a, 0x14040a8fa mov r13, rcx ; +0x62, 0x14040a902 mov rax, [rcx+208h] ; +0x65, 0x14040a905 cmp qword ptr [rax+3A38h], 0 ; +0x6c, 0x14040a90c jz loc_14040C2AA ; +0x74, 0x14040a914 mov ecx, [rax+89Ch] ; +0x7a, 0x14040a91a mov dword ptr [rsp+1D0h+var_170], ecx ; +0x80, 0x14040a920 cmp byte ptr [rax+3941h], 0 ; +0x84, 0x14040a924 jz short loc_14040A940 ; +0x8b, 0x14040a92b cmp ecx, 1 ; +0x8d, 0x14040a92d jnz short loc_14040A93B ; +0x90, 0x14040a930 cmp byte ptr [rax+3942h], 0 ; +0x92, 0x14040a932 jnz short loc_14040A940 ; +0x99, 0x14040a939 mov r15b, 1 ; +0x9b, 0x14040a93b jmp short loc_14040A943 ; +0x9e, 0x14040a93e xor r15b, r15b ; +0xa0, 0x14040a940 cmp byte ptr [rax+3944h], 0 ; +0xa3, 0x14040a943 jz short loc_14040A955 ; +0xaa, 0x14040a94a cmp ecx, 1 ; +0xac, 0x14040a94c jz short loc_14040A955 ; +0xaf, 0x14040a94f mov bl, 1 ; +0xb1, 0x14040a951 jmp short loc_14040A957 ; +0xb3, 0x14040a953 xor bl, bl ; +0xb5, 0x14040a955 mov byte ptr [rbp+0D0h+arg_10], bl ; +0xb7, 0x14040a957 mov rcx, cs:qword_14090BFD0 ; +0xbd, 0x14040a95d test rcx, rcx ; +0xc4, 0x14040a964 jnz short loc_14040A99D ; +0xc7, 0x14040a967 mov ecx, 6E8h; Size ; +0xc9, 0x14040a969 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xce, 0x14040a96e mov [rbp+0D0h+arg_0], rax ; +0xd3, 0x14040a973 mov rcx, rax ; +0xda, 0x14040a97a call GameManager__GameManager ; +0xdd, 0x14040a97d nop ; +0xe2, 0x14040a982 mov cs:qword_14090BFD0, rax ; +0xe3, 0x14040a983 mov rcx, [rax] ; +0xea, 0x14040a98a mov rdx, [rcx+48h] ; +0xed, 0x14040a98d mov rcx, rax ; +0xf1, 0x14040a991 call rdx ; +0xf4, 0x14040a994 mov rcx, cs:qword_14090BFD0 ; +0xf6, 0x14040a996 lea rdx, a0121; "0121" ; +0xfd, 0x14040a99d call GameManager__getGameVariable ; +0x104, 0x14040a9a4 mov byte ptr [rbp+0D0h+arg_0], al ; +0x109, 0x14040a9a9 mov rcx, cs:qword_14090BFD0 ; +0x10f, 0x14040a9af test rcx, rcx ; +0x116, 0x14040a9b6 jnz short loc_14040A9EF ; +0x119, 0x14040a9b9 mov ecx, 6E8h; Size ; +0x11b, 0x14040a9bb call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x120, 0x14040a9c0 mov [rbp+0D0h+arg_8], rax ; +0x125, 0x14040a9c5 mov rcx, rax ; +0x12c, 0x14040a9cc call GameManager__GameManager ; +0x12f, 0x14040a9cf nop ; +0x134, 0x14040a9d4 mov cs:qword_14090BFD0, rax ; +0x135, 0x14040a9d5 mov rcx, [rax] ; +0x13c, 0x14040a9dc mov rdx, [rcx+48h] ; +0x13f, 0x14040a9df mov rcx, rax ; +0x143, 0x14040a9e3 call rdx ; +0x146, 0x14040a9e6 mov rcx, cs:qword_14090BFD0 ; +0x148, 0x14040a9e8 lea rdx, a0209; "0209" ; +0x14f, 0x14040a9ef call GameManager__getGameVariable ; +0x156, 0x14040a9f6 mov byte ptr [rbp+0D0h+arg_8], al ; +0x15b, 0x14040a9fb test bl, bl ; +0x161, 0x14040aa01 jz short loc_14040AA51 ; +0x163, 0x14040aa03 cmp byte ptr [r13+204h], 0 ; +0x165, 0x14040aa05 jz short loc_14040AA51 ; +0x16d, 0x14040aa0d mov byte ptr [r13+204h], 0 ; +0x16f, 0x14040aa0f mov rcx, [r13+240h] ; +0x177, 0x14040aa17 test rcx, rcx ; +0x17e, 0x14040aa1e jz short loc_14040AA51 ; +0x181, 0x14040aa21 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x183, 0x14040aa23 test eax, eax ; +0x189, 0x14040aa29 jz short loc_14040AA51 ; +0x18b, 0x14040aa2b mov rax, [r13+240h] ; +0x18d, 0x14040aa2d mov rcx, [rax+38h] ; +0x194, 0x14040aa34 mov edx, [rcx]; NumOfElements ; +0x198, 0x14040aa38 lea r9, sub_14030B1E0; CompareFunction ; +0x19a, 0x14040aa3a mov r8d, 8; SizeOfElements ; +0x1a1, 0x14040aa41 mov rcx, [rcx+10h]; Base ; +0x1a7, 0x14040aa47 call cs:qsort ; +0x1ab, 0x14040aa4b mov edx, 303h ; +0x1b1, 0x14040aa51 mov esi, 1 ; +0x1b6, 0x14040aa56 mov [rsp+1D0h+var_158], esi ; +0x1bb, 0x14040aa5b mov ecx, esi ; +0x1bf, 0x14040aa5f call cs:?ccGLBlendFunc@cocos2d@@YAXII@Z; cocos2d::ccGLBlendFunc(uint,uint) ; +0x1c1, 0x14040aa61 mov rax, [r13+208h] ; +0x1c7, 0x14040aa67 mov rcx, [rax+0DC8h] ; +0x1ce, 0x14040aa6e mov eax, 50h ; 'P' ; +0x1d5, 0x14040aa75 mov edx, 3E8h ; +0x1da, 0x14040aa7a cmp byte ptr [rcx+1CDh], 0 ; +0x1df, 0x14040aa7f cmovnz eax, edx ; +0x1e6, 0x14040aa86 movd xmm13, eax ; +0x1e9, 0x14040aa89 cvtdq2ps xmm13, xmm13 ; +0x1ee, 0x14040aa8e mulss xmm13, cs:dword_140835624 ; +0x1f2, 0x14040aa92 movss xmm15, cs:flt_140835780 ; +0x1fb, 0x14040aa9b addss xmm13, xmm15 ; +0x204, 0x14040aaa4 mov r9b, 96h ; +0x209, 0x14040aaa9 xor r8d, r8d ; +0x20c, 0x14040aaac xor edx, edx ; +0x20f, 0x14040aaaf xor ecx, ecx ; +0x211, 0x14040aab1 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x213, 0x14040aab3 movss xmm0, cs:flt_140835080; width ; +0x219, 0x14040aab9 call cs:glLineWidth ; +0x221, 0x14040aac1 mov rax, [r13+208h] ; +0x227, 0x14040aac7 movzx r12d, byte ptr [rax+3945h] ; +0x22e, 0x14040aace mov rcx, [r13+230h] ; +0x236, 0x14040aad6 mov rax, [rcx] ; +0x23d, 0x14040aadd call qword ptr [rax+0C8h] ; +0x240, 0x14040aae0 mov rdx, rax ; +0x246, 0x14040aae6 lea rcx, [rbp+0D0h+var_110] ; +0x249, 0x14040aae9 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x24d, 0x14040aaed call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x253, 0x14040aaf3 mov rcx, rax ; +0x259, 0x14040aaf9 lea rdx, [rbp+0D0h+var_148] ; +0x25c, 0x14040aafc call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x260, 0x14040ab00 mov rbx, [r13+230h] ; +0x266, 0x14040ab06 xorps xmm7, xmm7 ; +0x26d, 0x14040ab0d xorps xmm2, xmm2 ; +0x270, 0x14040ab10 xorps xmm1, xmm1 ; +0x273, 0x14040ab13 lea rcx, [rbp+0D0h+arg_18] ; +0x276, 0x14040ab16 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x27d, 0x14040ab1d mov r8, rax ; +0x283, 0x14040ab23 lea rdx, [rsp+1D0h+var_160] ; +0x286, 0x14040ab26 mov rcx, rbx ; +0x28b, 0x14040ab2b call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x28e, 0x14040ab2e movss xmm14, dword ptr [rax] ; +0x294, 0x14040ab34 mov rcx, [r13+230h] ; +0x299, 0x14040ab39 mov rax, [rcx] ; +0x2a0, 0x14040ab40 call qword ptr [rax+0A8h] ; +0x2a3, 0x14040ab43 movss xmm12, [rbp+0D0h+var_148] ; +0x2a9, 0x14040ab49 divss xmm12, xmm0 ; +0x2af, 0x14040ab4f addss xmm12, xmm14 ; +0x2b4, 0x14040ab54 mov rbx, [r13+230h] ; +0x2b9, 0x14040ab59 xorps xmm2, xmm2 ; +0x2c0, 0x14040ab60 xorps xmm1, xmm1 ; +0x2c3, 0x14040ab63 lea rcx, [rbp+0D0h+arg_18] ; +0x2c6, 0x14040ab66 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2cd, 0x14040ab6d mov r8, rax ; +0x2d3, 0x14040ab73 lea rdx, [rsp+1D0h+var_160] ; +0x2d6, 0x14040ab76 mov rcx, rbx ; +0x2db, 0x14040ab7b call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x2de, 0x14040ab7e movss xmm11, dword ptr [rax+4] ; +0x2e4, 0x14040ab84 movss [rsp+1D0h+var_174], xmm11 ; +0x2ea, 0x14040ab8a mov rcx, [r13+230h] ; +0x2f1, 0x14040ab91 mov rax, [rcx] ; +0x2f8, 0x14040ab98 call qword ptr [rax+0A8h] ; +0x2fb, 0x14040ab9b movss xmm9, [rbp+0D0h+var_144] ; +0x301, 0x14040aba1 divss xmm9, xmm0 ; +0x307, 0x14040aba7 addss xmm9, xmm11 ; +0x30c, 0x14040abac movss [rbp+0D0h+arg_18], xmm9 ; +0x311, 0x14040abb1 xor edi, edi ; +0x31a, 0x14040abba movss xmm6, dword ptr [r13+27Ch] ; +0x31c, 0x14040abbc movaps xmm0, xmm14 ; +0x325, 0x14040abc5 divss xmm0, xmm6; X ; +0x329, 0x14040abc9 call floorf ; +0x32d, 0x14040abcd cvttss2si r14d, xmm0 ; +0x332, 0x14040abd2 movd xmm1, r14d ; +0x337, 0x14040abd7 cvtdq2ps xmm1, xmm1 ; +0x33c, 0x14040abdc mulss xmm1, xmm6 ; +0x33f, 0x14040abdf movss xmm8, cs:dword_1408360B4 ; +0x343, 0x14040abe3 movss xmm10, cs:dword_140835C08 ; +0x34c, 0x14040abec comiss xmm12, xmm1 ; +0x355, 0x14040abf5 jbe loc_14040AD05 ; +0x359, 0x14040abf9 nop ; +0x35f, 0x14040abff movd xmm6, r14d ; +0x360, 0x14040ac00 cvtdq2ps xmm6, xmm6 ; +0x365, 0x14040ac05 mulss xmm6, dword ptr [r13+27Ch] ; +0x368, 0x14040ac08 comiss xmm6, xmm8 ; +0x371, 0x14040ac11 jb loc_14040ACF8 ; +0x375, 0x14040ac15 comiss xmm10, xmm6 ; +0x37b, 0x14040ac1b jb loc_14040ACF8 ; +0x37f, 0x14040ac1f ucomiss xmm6, xmm7 ; +0x385, 0x14040ac25 jp short loc_14040AC2C ; +0x388, 0x14040ac28 jz short loc_14040AC34 ; +0x38a, 0x14040ac2a ucomiss xmm6, xmm10 ; +0x38c, 0x14040ac2c jp short loc_14040AC86 ; +0x390, 0x14040ac30 jnz short loc_14040AC86 ; +0x392, 0x14040ac32 mov r9b, 96h ; +0x394, 0x14040ac34 mov r8b, 0FFh ; +0x397, 0x14040ac37 movzx edx, r8b ; +0x39a, 0x14040ac3a movzx ecx, r8b ; +0x39e, 0x14040ac3e call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x3a2, 0x14040ac42 movaps xmm2, xmm13 ; +0x3a8, 0x14040ac48 minss xmm2, xmm9 ; +0x3ac, 0x14040ac4c movaps xmm1, xmm6 ; +0x3b1, 0x14040ac51 lea rcx, [rsp+1D0h+var_160] ; +0x3b4, 0x14040ac54 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3b9, 0x14040ac59 mov rbx, rax ; +0x3bf, 0x14040ac5f movaps xmm2, xmm8 ; +0x3c2, 0x14040ac62 maxss xmm2, xmm11 ; +0x3c6, 0x14040ac66 movaps xmm1, xmm6 ; +0x3cb, 0x14040ac6b lea rcx, [rbp+0D0h+var_150] ; +0x3ce, 0x14040ac6e call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3d2, 0x14040ac72 mov rcx, rax ; +0x3d8, 0x14040ac78 mov rdx, rbx ; +0x3db, 0x14040ac7b call cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x3de, 0x14040ac7e jmp short loc_14040ACF8 ; +0x3e4, 0x14040ac84 test r15b, r15b ; +0x3e6, 0x14040ac86 jz short loc_14040ACF8 ; +0x3e9, 0x14040ac89 lea eax, [rsi+1] ; +0x3eb, 0x14040ac8b cmp eax, 4B0h ; +0x3ee, 0x14040ac8e jge short loc_14040ACF8 ; +0x3f3, 0x14040ac93 movaps xmm2, xmm8 ; +0x3f5, 0x14040ac95 maxss xmm2, xmm11 ; +0x3f9, 0x14040ac99 movaps xmm1, xmm6 ; +0x3fe, 0x14040ac9e lea rcx, [rbp+0D0h+var_140] ; +0x401, 0x14040aca1 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x405, 0x14040aca5 movsxd rdx, edi ; +0x40b, 0x14040acab mov rcx, [r13+198h] ; +0x40e, 0x14040acae lea rcx, [rcx+rdx*8] ; +0x415, 0x14040acb5 mov rdx, rax ; +0x419, 0x14040acb9 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x41c, 0x14040acbc movsxd rcx, esi ; +0x422, 0x14040acc2 mov rax, [r13+198h] ; +0x425, 0x14040acc5 lea rbx, [rax+rcx*8] ; +0x42c, 0x14040accc movaps xmm2, xmm13 ; +0x430, 0x14040acd0 minss xmm2, xmm9 ; +0x434, 0x14040acd4 movaps xmm1, xmm6 ; +0x439, 0x14040acd9 lea rcx, [rbp+0D0h+var_138] ; +0x43c, 0x14040acdc call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x440, 0x14040ace0 mov rdx, rax ; +0x446, 0x14040ace6 mov rcx, rbx ; +0x449, 0x14040ace9 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x44c, 0x14040acec add edi, 2 ; +0x452, 0x14040acf2 add esi, 2 ; +0x455, 0x14040acf5 inc r14d ; +0x458, 0x14040acf8 comiss xmm12, xmm6 ; +0x45b, 0x14040acfb ja loc_14040AC00 ; +0x45f, 0x14040acff movss xmm6, dword ptr [r13+27Ch] ; +0x465, 0x14040ad05 movaps xmm1, xmm6; Y ; +0x46e, 0x14040ad0e movaps xmm0, xmm15; X ; +0x471, 0x14040ad11 call fmodf ; +0x475, 0x14040ad15 movaps xmm7, xmm0 ; +0x47a, 0x14040ad1a movaps xmm0, xmm11 ; +0x47d, 0x14040ad1d subss xmm0, xmm7 ; +0x481, 0x14040ad21 divss xmm0, xmm6; X ; +0x485, 0x14040ad25 call floorf ; +0x489, 0x14040ad29 cvttss2si r14d, xmm0 ; +0x48e, 0x14040ad2e movd xmm1, r14d ; +0x493, 0x14040ad33 cvtdq2ps xmm1, xmm1 ; +0x498, 0x14040ad38 mulss xmm1, xmm6 ; +0x49b, 0x14040ad3b addss xmm1, xmm7 ; +0x49f, 0x14040ad3f comiss xmm9, xmm1 ; +0x4a3, 0x14040ad43 jbe loc_14040AE6C ; +0x4a7, 0x14040ad47 lea esi, [rdi+1] ; +0x4ad, 0x14040ad4d movd xmm6, r14d ; +0x4b0, 0x14040ad50 cvtdq2ps xmm6, xmm6 ; +0x4b5, 0x14040ad55 mulss xmm6, dword ptr [r13+27Ch] ; +0x4b8, 0x14040ad58 addss xmm6, xmm7 ; +0x4c1, 0x14040ad61 comiss xmm6, xmm8 ; +0x4c5, 0x14040ad65 jb loc_14040AE5F ; +0x4c9, 0x14040ad69 comiss xmm13, xmm6 ; +0x4cf, 0x14040ad6f jb loc_14040AE5F ; +0x4d3, 0x14040ad73 ucomiss xmm6, xmm15 ; +0x4d9, 0x14040ad79 jp short loc_14040AD85 ; +0x4dd, 0x14040ad7d jz loc_14040AE5F ; +0x4df, 0x14040ad7f ucomiss xmm6, xmm13 ; +0x4e5, 0x14040ad85 jp short loc_14040ADEC ; +0x4e9, 0x14040ad89 jnz short loc_14040ADEC ; +0x4eb, 0x14040ad8b mov r9b, 96h ; +0x4ed, 0x14040ad8d mov r8b, 0FFh ; +0x4f0, 0x14040ad90 movzx edx, r8b ; +0x4f3, 0x14040ad93 movzx ecx, r8b ; +0x4f7, 0x14040ad97 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x4fb, 0x14040ad9b movss xmm0, cs:width; width ; +0x501, 0x14040ada1 call cs:glLineWidth ; +0x509, 0x14040ada9 movaps xmm1, xmm10 ; +0x50f, 0x14040adaf minss xmm1, xmm12 ; +0x513, 0x14040adb3 movaps xmm2, xmm6 ; +0x518, 0x14040adb8 lea rcx, [rbp+0D0h+var_140] ; +0x51b, 0x14040adbb call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x51f, 0x14040adbf mov rbx, rax ; +0x525, 0x14040adc5 movaps xmm1, xmm8 ; +0x528, 0x14040adc8 maxss xmm1, xmm14 ; +0x52c, 0x14040adcc movaps xmm2, xmm6 ; +0x531, 0x14040add1 lea rcx, [rbp+0D0h+var_108] ; +0x534, 0x14040add4 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x538, 0x14040add8 mov rcx, rax ; +0x53e, 0x14040adde mov rdx, rbx ; +0x541, 0x14040ade1 call cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x544, 0x14040ade4 jmp short loc_14040AE5F ; +0x54a, 0x14040adea test r15b, r15b ; +0x54c, 0x14040adec jz short loc_14040AE5F ; +0x54f, 0x14040adef lea eax, [rsi+1] ; +0x551, 0x14040adf1 cmp eax, 4B0h ; +0x554, 0x14040adf4 jge short loc_14040AE5F ; +0x559, 0x14040adf9 movaps xmm1, xmm8 ; +0x55b, 0x14040adfb maxss xmm1, xmm14 ; +0x55f, 0x14040adff movaps xmm2, xmm6 ; +0x564, 0x14040ae04 lea rcx, [rsp+1D0h+var_180] ; +0x567, 0x14040ae07 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x56c, 0x14040ae0c movsxd rdx, edi ; +0x572, 0x14040ae12 mov rcx, [r13+198h] ; +0x575, 0x14040ae15 lea rcx, [rcx+rdx*8] ; +0x57c, 0x14040ae1c mov rdx, rax ; +0x580, 0x14040ae20 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x583, 0x14040ae23 movsxd rcx, esi ; +0x589, 0x14040ae29 mov rax, [r13+198h] ; +0x58c, 0x14040ae2c lea rbx, [rax+rcx*8] ; +0x593, 0x14040ae33 movaps xmm1, xmm10 ; +0x597, 0x14040ae37 minss xmm1, xmm12 ; +0x59b, 0x14040ae3b movaps xmm2, xmm6 ; +0x5a0, 0x14040ae40 lea rcx, [rbp+0D0h+var_100] ; +0x5a3, 0x14040ae43 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x5a7, 0x14040ae47 mov rdx, rax ; +0x5ad, 0x14040ae4d mov rcx, rbx ; +0x5b0, 0x14040ae50 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x5b3, 0x14040ae53 add edi, 2 ; +0x5b9, 0x14040ae59 add esi, 2 ; +0x5bc, 0x14040ae5c inc r14d ; +0x5bf, 0x14040ae5f comiss xmm9, xmm6 ; +0x5c2, 0x14040ae62 ja loc_14040AD50 ; +0x5c6, 0x14040ae66 test r15b, r15b ; +0x5cc, 0x14040ae6c jz short loc_14040AEA2 ; +0x5cf, 0x14040ae6f test edi, edi ; +0x5d1, 0x14040ae71 jle short loc_14040AEA2 ; +0x5d3, 0x14040ae73 mov r9b, 96h ; +0x5d5, 0x14040ae75 xor r8d, r8d ; +0x5d8, 0x14040ae78 xor edx, edx ; +0x5db, 0x14040ae7b xor ecx, ecx ; +0x5dd, 0x14040ae7d call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x5df, 0x14040ae7f movss xmm0, cs:flt_140835080; width ; +0x5e5, 0x14040ae85 call cs:glLineWidth ; +0x5ed, 0x14040ae8d mov edx, edi ; +0x5f3, 0x14040ae93 mov rcx, [r13+198h] ; +0x5f5, 0x14040ae95 call cs:?ccDrawLines@cocos2d@@YAXPEBVCCPoint@1@I@Z; cocos2d::ccDrawLines(cocos2d::CCPoint const *,uint) ; +0x5fc, 0x14040ae9c test r12b, r12b ; +0x602, 0x14040aea2 jnz short loc_14040AF12 ; +0x605, 0x14040aea5 comiss xmm15, xmm11 ; +0x607, 0x14040aea7 jb short loc_14040AF12 ; +0x60b, 0x14040aeab comiss xmm9, xmm15 ; +0x60d, 0x14040aead jb short loc_14040AF12 ; +0x611, 0x14040aeb1 mov r9b, 96h ; +0x613, 0x14040aeb3 mov r8b, 0FFh ; +0x616, 0x14040aeb6 movzx edx, r8b ; +0x619, 0x14040aeb9 movzx ecx, r8b ; +0x61d, 0x14040aebd call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x621, 0x14040aec1 movss xmm0, cs:width; width ; +0x627, 0x14040aec7 call cs:glLineWidth ; +0x62f, 0x14040aecf movaps xmm1, xmm10 ; +0x635, 0x14040aed5 minss xmm1, xmm12 ; +0x639, 0x14040aed9 movaps xmm2, xmm15 ; +0x63e, 0x14040aede lea rcx, [rbp+0D0h+var_F8] ; +0x642, 0x14040aee2 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x646, 0x14040aee6 mov rbx, rax ; +0x64c, 0x14040aeec movaps xmm1, xmm8 ; +0x64f, 0x14040aeef maxss xmm1, xmm14 ; +0x653, 0x14040aef3 movaps xmm2, xmm15 ; +0x658, 0x14040aef8 lea rcx, [rbp+0D0h+var_F0] ; +0x65c, 0x14040aefc call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x660, 0x14040af00 mov rcx, rax ; +0x666, 0x14040af06 mov rdx, rbx ; +0x669, 0x14040af09 call cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x66c, 0x14040af0c xor r12d, r12d ; +0x672, 0x14040af12 xor ebx, ebx ; +0x675, 0x14040af15 mov [rsp+1D0h+var_178], ebx ; +0x677, 0x14040af17 mov dword ptr [rsp+1D0h+var_180], ebx ; +0x67b, 0x14040af1b cmp cs:qword_14090BFD0, rbx ; +0x67f, 0x14040af1f jnz short loc_14040AF52 ; +0x686, 0x14040af26 mov ecx, 6E8h; Size ; +0x688, 0x14040af28 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x68d, 0x14040af2d mov [rbp+0D0h+var_118], rax ; +0x692, 0x14040af32 mov rcx, rax ; +0x696, 0x14040af36 call GameManager__GameManager ; +0x699, 0x14040af39 nop ; +0x69e, 0x14040af3e mov cs:qword_14090BFD0, rax ; +0x69f, 0x14040af3f mov rcx, [rax] ; +0x6a6, 0x14040af46 mov rdx, [rcx+48h] ; +0x6a9, 0x14040af49 mov rcx, rax ; +0x6ad, 0x14040af4d call rdx ; +0x6b0, 0x14040af50 mov rax, cs:qword_14090BFD0 ; +0x6b2, 0x14040af52 cmp byte ptr [rax+3B9h], 0 ; +0x6b9, 0x14040af59 jz loc_14040B247 ; +0x6c0, 0x14040af60 mov rcx, [r13+238h] ; +0x6c6, 0x14040af66 test rcx, rcx ; +0x6cd, 0x14040af6d jz loc_14040B247 ; +0x6d0, 0x14040af70 xor edi, edi ; +0x6d6, 0x14040af76 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6d8, 0x14040af78 test eax, eax ; +0x6de, 0x14040af7e jz loc_14040B247 ; +0x6e0, 0x14040af80 mov eax, 1 ; +0x6e6, 0x14040af86 mov esi, eax ; +0x6eb, 0x14040af8b mov r14d, eax ; +0x6ed, 0x14040af8d mov r15d, eax ; +0x6f0, 0x14040af90 movss xmm7, cs:dword_14083502C ; +0x6f3, 0x14040af93 movss xmm10, cs:flt_140835080 ; +0x6fb, 0x14040af9b nop dword ptr [rax+00h] ; +0x704, 0x14040afa4 nop dword ptr [rax+rax+00000000h] ; +0x708, 0x14040afa8 mov edx, edi ; +0x710, 0x14040afb0 mov rcx, [r13+238h] ; +0x712, 0x14040afb2 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x719, 0x14040afb9 mov rcx, rax ; +0x71f, 0x14040afbf call cs:?floatValue@CCString@cocos2d@@QEBAMXZ; cocos2d::CCString::floatValue(void) ; +0x722, 0x14040afc2 movaps xmm6, xmm0 ; +0x728, 0x14040afc8 comiss xmm6, xmm8 ; +0x72b, 0x14040afcb jb loc_14040B18B ; +0x72f, 0x14040afcf comiss xmm6, xmm14 ; +0x735, 0x14040afd5 jb loc_14040B185 ; +0x739, 0x14040afd9 comiss xmm12, xmm6 ; +0x73f, 0x14040afdf jb loc_14040B185 ; +0x743, 0x14040afe3 lea edx, [rdi+1] ; +0x749, 0x14040afe9 mov rcx, [r13+238h] ; +0x74c, 0x14040afec call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x753, 0x14040aff3 mov rcx, rax ; +0x759, 0x14040aff9 call cs:?floatValue@CCString@cocos2d@@QEBAMXZ; cocos2d::CCString::floatValue(void) ; +0x75c, 0x14040affc ucomiss xmm0, xmm7 ; +0x762, 0x14040b002 jp loc_14040B091 ; +0x765, 0x14040b005 jnz loc_14040B091 ; +0x76b, 0x14040b00b lea eax, [r15+1] ; +0x771, 0x14040b011 cmp eax, 4B0h ; +0x775, 0x14040b015 jge loc_14040B185 ; +0x77a, 0x14040b01a movaps xmm2, xmm8 ; +0x780, 0x14040b020 maxss xmm2, xmm11 ; +0x784, 0x14040b024 movaps xmm1, xmm6 ; +0x789, 0x14040b029 lea rcx, [rbp+0D0h+var_118] ; +0x78c, 0x14040b02c call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x790, 0x14040b030 movsxd rdx, ebx ; +0x796, 0x14040b036 mov rcx, [r13+1A0h] ; +0x799, 0x14040b039 lea rcx, [rcx+rdx*8] ; +0x7a0, 0x14040b040 mov rdx, rax ; +0x7a4, 0x14040b044 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7a7, 0x14040b047 movsxd rcx, r15d ; +0x7ad, 0x14040b04d mov rax, [r13+1A0h] ; +0x7b0, 0x14040b050 lea rbx, [rax+rcx*8] ; +0x7b7, 0x14040b057 movaps xmm2, xmm13 ; +0x7bb, 0x14040b05b minss xmm2, xmm9 ; +0x7bf, 0x14040b05f movaps xmm1, xmm6 ; +0x7c4, 0x14040b064 lea rcx, [rbp+0D0h+var_E8] ; +0x7c7, 0x14040b067 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x7cb, 0x14040b06b mov rdx, rax ; +0x7d1, 0x14040b071 mov rcx, rbx ; +0x7d4, 0x14040b074 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7d7, 0x14040b077 mov ebx, [rsp+1D0h+var_178] ; +0x7dd, 0x14040b07d add ebx, 2 ; +0x7e1, 0x14040b081 mov [rsp+1D0h+var_178], ebx ; +0x7e4, 0x14040b084 add r15d, 2 ; +0x7e8, 0x14040b088 jmp loc_14040B185 ; +0x7ec, 0x14040b08c ucomiss xmm0, xmm10 ; +0x7f1, 0x14040b091 jp short loc_14040B112 ; +0x7f5, 0x14040b095 jnz short loc_14040B112 ; +0x7f7, 0x14040b097 lea eax, [r14+1] ; +0x7f9, 0x14040b099 cmp eax, 4B0h ; +0x7fd, 0x14040b09d jge loc_14040B185 ; +0x802, 0x14040b0a2 movaps xmm2, xmm8 ; +0x808, 0x14040b0a8 maxss xmm2, xmm11 ; +0x80c, 0x14040b0ac movaps xmm1, xmm6 ; +0x811, 0x14040b0b1 lea rcx, [rbp+0D0h+var_128] ; +0x814, 0x14040b0b4 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x818, 0x14040b0b8 movsxd rbx, dword ptr [rsp+1D0h+var_180] ; +0x81e, 0x14040b0be mov rcx, [r13+1A8h] ; +0x823, 0x14040b0c3 lea rcx, [rcx+rbx*8] ; +0x82a, 0x14040b0ca mov rdx, rax ; +0x82e, 0x14040b0ce call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x831, 0x14040b0d1 movsxd rcx, r14d ; +0x837, 0x14040b0d7 mov rax, [r13+1A8h] ; +0x83a, 0x14040b0da lea rbx, [rax+rcx*8] ; +0x841, 0x14040b0e1 movaps xmm2, xmm13 ; +0x845, 0x14040b0e5 minss xmm2, xmm9 ; +0x849, 0x14040b0e9 movaps xmm1, xmm6 ; +0x84e, 0x14040b0ee lea rcx, [rbp+0D0h+var_120] ; +0x851, 0x14040b0f1 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x855, 0x14040b0f5 mov rdx, rax ; +0x85b, 0x14040b0fb mov rcx, rbx ; +0x85e, 0x14040b0fe call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x861, 0x14040b101 add dword ptr [rsp+1D0h+var_180], 2 ; +0x867, 0x14040b107 add r14d, 2 ; +0x86c, 0x14040b10c jmp short loc_14040B181 ; +0x870, 0x14040b110 lea eax, [rsi+1] ; +0x872, 0x14040b112 cmp eax, 4B0h ; +0x875, 0x14040b115 jge short loc_14040B185 ; +0x87a, 0x14040b11a movaps xmm2, xmm8 ; +0x87c, 0x14040b11c maxss xmm2, xmm11 ; +0x880, 0x14040b120 movaps xmm1, xmm6 ; +0x885, 0x14040b125 lea rcx, [rbp+0D0h+var_130] ; +0x888, 0x14040b128 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x88c, 0x14040b12c movsxd rdx, r12d ; +0x892, 0x14040b132 mov rcx, [r13+198h] ; +0x895, 0x14040b135 lea rcx, [rcx+rdx*8] ; +0x89c, 0x14040b13c mov rdx, rax ; +0x8a0, 0x14040b140 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x8a3, 0x14040b143 movsxd rcx, esi ; +0x8a9, 0x14040b149 mov rax, [r13+198h] ; +0x8ac, 0x14040b14c lea rbx, [rax+rcx*8] ; +0x8b3, 0x14040b153 movaps xmm2, xmm13 ; +0x8b7, 0x14040b157 minss xmm2, xmm9 ; +0x8bb, 0x14040b15b movaps xmm1, xmm6 ; +0x8c0, 0x14040b160 lea rcx, [rsp+1D0h+var_168] ; +0x8c3, 0x14040b163 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x8c8, 0x14040b168 mov rdx, rax ; +0x8ce, 0x14040b16e mov rcx, rbx ; +0x8d1, 0x14040b171 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x8d4, 0x14040b174 add r12d, 2 ; +0x8da, 0x14040b17a add esi, 2 ; +0x8de, 0x14040b17e mov ebx, [rsp+1D0h+var_178] ; +0x8e1, 0x14040b181 comiss xmm6, xmm12 ; +0x8e5, 0x14040b185 ja short loc_14040B1A3 ; +0x8e9, 0x14040b189 add edi, 2 ; +0x8eb, 0x14040b18b mov rcx, [r13+238h] ; +0x8ee, 0x14040b18e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x8f5, 0x14040b195 cmp edi, eax ; +0x8fb, 0x14040b19b jb loc_14040AFB0 ; +0x8fd, 0x14040b19d test r12d, r12d ; +0x903, 0x14040b1a3 jle short loc_14040B1DD ; +0x906, 0x14040b1a6 mov r9b, 0FFh ; +0x908, 0x14040b1a8 xor r8d, r8d ; +0x90b, 0x14040b1ab mov dl, 7Fh ; +0x90e, 0x14040b1ae movzx ecx, r9b ; +0x910, 0x14040b1b0 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x914, 0x14040b1b4 movss xmm6, cs:flt_140835080 ; +0x91a, 0x14040b1ba movaps xmm0, xmm6; width ; +0x922, 0x14040b1c2 call cs:glLineWidth ; +0x925, 0x14040b1c5 mov edx, r12d ; +0x92b, 0x14040b1cb mov rcx, [r13+198h] ; +0x92e, 0x14040b1ce call cs:?ccDrawLines@cocos2d@@YAXPEBVCCPoint@1@I@Z; cocos2d::ccDrawLines(cocos2d::CCPoint const *,uint) ; +0x935, 0x14040b1d5 jmp short loc_14040B1E5 ; +0x93b, 0x14040b1db movss xmm6, cs:flt_140835080 ; +0x93d, 0x14040b1dd test ebx, ebx ; +0x945, 0x14040b1e5 jle short loc_14040B215 ; +0x947, 0x14040b1e7 mov r9b, 0FFh ; +0x949, 0x14040b1e9 xor r8d, r8d ; +0x94c, 0x14040b1ec movzx edx, r9b ; +0x94f, 0x14040b1ef movzx ecx, r9b ; +0x953, 0x14040b1f3 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x957, 0x14040b1f7 movaps xmm0, xmm6; width ; +0x95d, 0x14040b1fd call cs:glLineWidth ; +0x960, 0x14040b200 mov edx, ebx ; +0x966, 0x14040b206 mov rcx, [r13+1A0h] ; +0x968, 0x14040b208 call cs:?ccDrawLines@cocos2d@@YAXPEBVCCPoint@1@I@Z; cocos2d::ccDrawLines(cocos2d::CCPoint const *,uint) ; +0x96f, 0x14040b20f mov ebx, dword ptr [rsp+1D0h+var_180] ; +0x975, 0x14040b215 test ebx, ebx ; +0x979, 0x14040b219 jle short loc_14040B247 ; +0x97b, 0x14040b21b mov r9b, 0FFh ; +0x97d, 0x14040b21d xor r8d, r8d ; +0x980, 0x14040b220 movzx edx, r9b ; +0x983, 0x14040b223 mov cl, 7Fh ; +0x987, 0x14040b227 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x989, 0x14040b229 movaps xmm0, xmm6; width ; +0x98f, 0x14040b22f call cs:glLineWidth ; +0x992, 0x14040b232 mov edx, ebx ; +0x998, 0x14040b238 mov rcx, [r13+1A8h] ; +0x99a, 0x14040b23a call cs:?ccDrawLines@cocos2d@@YAXPEBVCCPoint@1@I@Z; cocos2d::ccDrawLines(cocos2d::CCPoint const *,uint) ; +0x9a1, 0x14040b241 cmp cs:qword_14090BFD0, 0 ; +0x9a7, 0x14040b247 jnz short loc_14040B27B ; +0x9af, 0x14040b24f mov ecx, 6E8h; Size ; +0x9b1, 0x14040b251 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x9b6, 0x14040b256 mov [rbp+0D0h+var_130], rax ; +0x9bb, 0x14040b25b mov rcx, rax ; +0x9bf, 0x14040b25f call GameManager__GameManager ; +0x9c2, 0x14040b262 nop ; +0x9c7, 0x14040b267 mov cs:qword_14090BFD0, rax ; +0x9c8, 0x14040b268 mov rcx, [rax] ; +0x9cf, 0x14040b26f mov rdx, [rcx+48h] ; +0x9d2, 0x14040b272 mov rcx, rax ; +0x9d6, 0x14040b276 call rdx ; +0x9d9, 0x14040b279 mov rax, cs:qword_14090BFD0 ; +0x9db, 0x14040b27b cmp byte ptr [rax+3BAh], 0 ; +0x9e2, 0x14040b282 jz loc_14040B585 ; +0x9e9, 0x14040b289 xor ebx, ebx ; +0x9ef, 0x14040b28f mov dword ptr [rsp+1D0h+var_180], ebx ; +0x9f1, 0x14040b291 mov [rsp+1D0h+var_178], ebx ; +0x9f5, 0x14040b295 mov rdi, [r13+1B8h] ; +0x9f9, 0x14040b299 mov [rsp+1D0h+var_160], rdi ; +0xa00, 0x14040b2a0 mov rbx, [rdi] ; +0xa05, 0x14040b2a5 mov [rbp+0D0h+var_150], rbx ; +0xa08, 0x14040b2a8 cmp rbx, rdi ; +0xa0c, 0x14040b2ac jz loc_14040B585 ; +0xa0f, 0x14040b2af movss xmm15, [rbp+0D0h+arg_18] ; +0xa15, 0x14040b2b5 xchg ax, ax ; +0xa1e, 0x14040b2be mov r15, [rbx+18h] ; +0xa20, 0x14040b2c0 cmp byte ptr [r15+74Ch], 0 ; +0xa24, 0x14040b2c4 jnz loc_14040B4F4 ; +0xa2c, 0x14040b2cc mov edx, [r15+740h] ; +0xa32, 0x14040b2d2 test edx, edx ; +0xa39, 0x14040b2d9 jle loc_14040B4F4 ; +0xa3b, 0x14040b2db cmp byte ptr [rbp+0D0h+arg_0], 0 ; +0xa41, 0x14040b2e1 jz short loc_14040B2F4 ; +0xa48, 0x14040b2e8 cmp byte ptr [r15+516h], 0 ; +0xa4a, 0x14040b2ea jnz short loc_14040B307 ; +0xa52, 0x14040b2f2 cmp byte ptr [rbp+0D0h+arg_8], 0 ; +0xa54, 0x14040b2f4 jz short loc_14040B315 ; +0xa5b, 0x14040b2fb cmp byte ptr [r15+4F3h], 0 ; +0xa5d, 0x14040b2fd jz short loc_14040B315 ; +0xa65, 0x14040b305 cmp byte ptr [r15+475h], 0 ; +0xa67, 0x14040b307 jz loc_14040B4F4 ; +0xa6f, 0x14040b30f movss xmm7, dword ptr [r13+268h] ; +0xa75, 0x14040b315 mov ecx, [r15+748h] ; +0xa7e, 0x14040b31e sub ecx, 1 ; +0xa85, 0x14040b325 jz short loc_14040B35A ; +0xa88, 0x14040b328 sub ecx, 1 ; +0xa8a, 0x14040b32a jz short loc_14040B34F ; +0xa8d, 0x14040b32d sub ecx, 1 ; +0xa8f, 0x14040b32f jz short loc_14040B344 ; +0xa92, 0x14040b332 cmp ecx, 1 ; +0xa94, 0x14040b334 jnz short loc_14040B363 ; +0xa97, 0x14040b337 movss xmm7, dword ptr [r13+274h] ; +0xa99, 0x14040b339 jmp short loc_14040B363 ; +0xaa2, 0x14040b342 movss xmm7, dword ptr [r13+270h] ; +0xaa4, 0x14040b344 jmp short loc_14040B363 ; +0xaad, 0x14040b34d movss xmm7, dword ptr [r13+26Ch] ; +0xaaf, 0x14040b34f jmp short loc_14040B363 ; +0xab8, 0x14040b358 movss xmm7, dword ptr [r13+264h] ; +0xaba, 0x14040b35a mov eax, [r15+744h] ; +0xac3, 0x14040b363 test eax, eax ; +0xaca, 0x14040b36a jle short loc_14040B371 ; +0xacc, 0x14040b36c imul edx, eax ; +0xace, 0x14040b36e movd xmm0, edx ; +0xad1, 0x14040b371 cvtdq2ps xmm0, xmm0 ; +0xad5, 0x14040b375 movss xmm9, cs:dword_1408356E4 ; +0xad8, 0x14040b378 divss xmm9, xmm0 ; +0xae1, 0x14040b381 mulss xmm9, xmm7 ; +0xae6, 0x14040b386 mov rax, [r15] ; +0xaeb, 0x14040b38b mov rcx, r15 ; +0xaee, 0x14040b38e call qword ptr [rax+0C8h] ; +0xaf1, 0x14040b391 movss xmm6, dword ptr [rax] ; +0xaf7, 0x14040b397 mulss xmm7, dword ptr [r15+5BCh] ; +0xafb, 0x14040b39b addss xmm7, xmm6 ; +0xb04, 0x14040b3a4 movaps xmm10, xmm12 ; +0xb08, 0x14040b3a8 minss xmm10, xmm7 ; +0xb0c, 0x14040b3ac xor r12d, r12d ; +0xb11, 0x14040b3b1 comiss xmm14, xmm6 ; +0xb14, 0x14040b3b4 jbe short loc_14040B3E2 ; +0xb18, 0x14040b3b8 movaps xmm0, xmm14 ; +0xb1a, 0x14040b3ba subss xmm0, xmm6 ; +0xb1e, 0x14040b3be divss xmm0, xmm9; X ; +0xb22, 0x14040b3c2 call ceilf ; +0xb27, 0x14040b3c7 cvttss2si r12d, xmm0 ; +0xb2c, 0x14040b3cc movd xmm1, r12d ; +0xb31, 0x14040b3d1 cvtdq2ps xmm1, xmm1 ; +0xb36, 0x14040b3d6 mulss xmm1, xmm9 ; +0xb39, 0x14040b3d9 addss xmm6, xmm1 ; +0xb3e, 0x14040b3de comiss xmm10, xmm6 ; +0xb42, 0x14040b3e2 jbe loc_14040B4F4 ; +0xb46, 0x14040b3e6 movaps xmm7, xmm8 ; +0xb4c, 0x14040b3ec maxss xmm7, xmm11 ; +0xb50, 0x14040b3f0 movaps xmm11, xmm13 ; +0xb55, 0x14040b3f5 minss xmm11, xmm15 ; +0xb59, 0x14040b3f9 mov edi, dword ptr [rsp+1D0h+var_180] ; +0xb5e, 0x14040b3fe lea esi, [rdi+1] ; +0xb62, 0x14040b402 mov ebx, [rsp+1D0h+var_178] ; +0xb65, 0x14040b405 lea r14d, [rbx+1] ; +0xb69, 0x14040b409 nop dword ptr [rax] ; +0xb6d, 0x14040b40d movaps xmm2, xmm7 ; +0xb70, 0x14040b410 movaps xmm1, xmm6 ; +0xb73, 0x14040b413 lea rcx, [rbp+0D0h+var_138] ; +0xb76, 0x14040b416 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xb7a, 0x14040b41a movaps xmm2, xmm11 ; +0xb80, 0x14040b420 movaps xmm1, xmm6 ; +0xb84, 0x14040b424 lea rcx, [rbp+0D0h+var_140] ; +0xb87, 0x14040b427 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xb8b, 0x14040b42b mov ecx, [r15+744h] ; +0xb91, 0x14040b431 test ecx, ecx ; +0xb98, 0x14040b438 jle short loc_14040B48A ; +0xb9a, 0x14040b43a mov eax, r12d ; +0xb9c, 0x14040b43c cdq ; +0xb9f, 0x14040b43f idiv ecx ; +0xba0, 0x14040b440 test edx, edx ; +0xba2, 0x14040b442 jz short loc_14040B48A ; +0xba4, 0x14040b444 lea eax, [r14+1] ; +0xba6, 0x14040b446 cmp eax, 4B0h ; +0xbaa, 0x14040b44a jge short loc_14040B4CA ; +0xbaf, 0x14040b44f movsxd rcx, ebx ; +0xbb1, 0x14040b451 mov rax, [r13+1A0h] ; +0xbb4, 0x14040b454 lea rcx, [rax+rcx*8] ; +0xbbb, 0x14040b45b lea rdx, [rbp+0D0h+var_138] ; +0xbbf, 0x14040b45f call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xbc3, 0x14040b463 movsxd rcx, r14d ; +0xbc9, 0x14040b469 mov rax, [r13+1A0h] ; +0xbcc, 0x14040b46c lea rcx, [rax+rcx*8] ; +0xbd3, 0x14040b473 lea rdx, [rbp+0D0h+var_140] ; +0xbd7, 0x14040b477 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xbdb, 0x14040b47b add ebx, 2 ; +0xbe1, 0x14040b481 add r14d, 2 ; +0xbe4, 0x14040b484 jmp short loc_14040B4CA ; +0xbe8, 0x14040b488 lea eax, [rsi+1] ; +0xbea, 0x14040b48a cmp eax, 4B0h ; +0xbed, 0x14040b48d jge short loc_14040B4CA ; +0xbf2, 0x14040b492 movsxd rcx, edi ; +0xbf4, 0x14040b494 mov rax, [r13+198h] ; +0xbf7, 0x14040b497 lea rcx, [rax+rcx*8] ; +0xbfe, 0x14040b49e lea rdx, [rbp+0D0h+var_138] ; +0xc02, 0x14040b4a2 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc06, 0x14040b4a6 movsxd rcx, esi ; +0xc0c, 0x14040b4ac mov rax, [r13+198h] ; +0xc0f, 0x14040b4af lea rcx, [rax+rcx*8] ; +0xc16, 0x14040b4b6 lea rdx, [rbp+0D0h+var_140] ; +0xc1a, 0x14040b4ba call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc1e, 0x14040b4be add edi, 2 ; +0xc24, 0x14040b4c4 add esi, 2 ; +0xc27, 0x14040b4c7 addss xmm6, xmm9 ; +0xc2a, 0x14040b4ca inc r12d ; +0xc2f, 0x14040b4cf comiss xmm10, xmm6 ; +0xc32, 0x14040b4d2 ja loc_14040B410 ; +0xc36, 0x14040b4d6 mov [rsp+1D0h+var_178], ebx ; +0xc3c, 0x14040b4dc mov dword ptr [rsp+1D0h+var_180], edi ; +0xc40, 0x14040b4e0 mov rbx, [rbp+0D0h+var_150] ; +0xc44, 0x14040b4e4 movss xmm11, [rsp+1D0h+var_174] ; +0xc48, 0x14040b4e8 mov rdi, [rsp+1D0h+var_160] ; +0xc4f, 0x14040b4ef mov rbx, [rbx] ; +0xc54, 0x14040b4f4 mov [rbp+0D0h+var_150], rbx ; +0xc57, 0x14040b4f7 cmp rbx, rdi ; +0xc5b, 0x14040b4fb jnz loc_14040B2C0 ; +0xc5e, 0x14040b4fe mov ebx, dword ptr [rsp+1D0h+var_180] ; +0xc64, 0x14040b504 test ebx, ebx ; +0xc68, 0x14040b508 jle short loc_14040B542 ; +0xc6a, 0x14040b50a mov r9b, 0FFh ; +0xc6c, 0x14040b50c xor r8d, r8d ; +0xc6f, 0x14040b50f movzx edx, r9b ; +0xc72, 0x14040b512 movzx ecx, r9b ; +0xc76, 0x14040b516 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0xc7a, 0x14040b51a movss xmm6, cs:flt_140835080 ; +0xc80, 0x14040b520 movaps xmm0, xmm6; width ; +0xc88, 0x14040b528 call cs:glLineWidth ; +0xc8b, 0x14040b52b mov edx, ebx ; +0xc91, 0x14040b531 mov rcx, [r13+198h] ; +0xc93, 0x14040b533 call cs:?ccDrawLines@cocos2d@@YAXPEBVCCPoint@1@I@Z; cocos2d::ccDrawLines(cocos2d::CCPoint const *,uint) ; +0xc9a, 0x14040b53a jmp short loc_14040B54A ; +0xca0, 0x14040b540 movss xmm6, cs:flt_140835080 ; +0xca2, 0x14040b542 mov ebx, [rsp+1D0h+var_178] ; +0xcaa, 0x14040b54a test ebx, ebx ; +0xcae, 0x14040b54e jle short loc_14040B57C ; +0xcb0, 0x14040b550 mov r9b, 0FFh ; +0xcb2, 0x14040b552 xor r8d, r8d ; +0xcb5, 0x14040b555 mov dl, 7Fh ; +0xcb8, 0x14040b558 movzx ecx, r9b ; +0xcba, 0x14040b55a call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0xcbe, 0x14040b55e movaps xmm0, xmm6; width ; +0xcc4, 0x14040b564 call cs:glLineWidth ; +0xcc7, 0x14040b567 mov edx, ebx ; +0xccd, 0x14040b56d mov rcx, [r13+1A0h] ; +0xccf, 0x14040b56f call cs:?ccDrawLines@cocos2d@@YAXPEBVCCPoint@1@I@Z; cocos2d::ccDrawLines(cocos2d::CCPoint const *,uint) ; +0xcd6, 0x14040b576 movss xmm9, [rbp+0D0h+arg_18] ; +0xcdc, 0x14040b57c movss xmm0, cs:flt_140835080; width ; +0xce5, 0x14040b585 call cs:glLineWidth ; +0xced, 0x14040b58d xor r14d, r14d ; +0xcf3, 0x14040b593 movss xmm15, cs:dword_140834F20 ; +0xcf6, 0x14040b596 mov r12d, dword ptr [rsp+1D0h+var_170] ; +0xcff, 0x14040b59f cmp r12d, 1 ; +0xd04, 0x14040b5a4 jz loc_14040B943 ; +0xd08, 0x14040b5a8 cmp byte ptr [rbp+0D0h+arg_10], r14b ; +0xd0e, 0x14040b5ae jz loc_14040B74A ; +0xd15, 0x14040b5b5 mov r9b, 96h ; +0xd1b, 0x14040b5bb mov r8b, 0FFh ; +0xd1e, 0x14040b5be movzx edx, r8b ; +0xd21, 0x14040b5c1 xor ecx, ecx ; +0xd25, 0x14040b5c5 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0xd27, 0x14040b5c7 movss xmm7, cs:dword_140835C90 ; +0xd2d, 0x14040b5cd mov rdi, [r13+240h] ; +0xd35, 0x14040b5d5 test rdi, rdi ; +0xd3c, 0x14040b5dc jz loc_14040B74A ; +0xd3f, 0x14040b5df mov rdi, [rdi+38h] ; +0xd45, 0x14040b5e5 mov eax, [rdi] ; +0xd49, 0x14040b5e9 test eax, eax ; +0xd4b, 0x14040b5eb jz loc_14040B74A ; +0xd4d, 0x14040b5ed mov rdi, [rdi+10h] ; +0xd53, 0x14040b5f3 lea r15, [rax-1] ; +0xd57, 0x14040b5f7 lea r15, [rdi+r15*8] ; +0xd5b, 0x14040b5fb cmp rdi, r15 ; +0xd5f, 0x14040b5ff ja loc_14040B74A ; +0xd62, 0x14040b602 mov esi, 1 ; +0xd68, 0x14040b608 nop dword ptr [rax] ; +0xd6d, 0x14040b60d mov rbx, [rdi] ; +0xd70, 0x14040b610 test rbx, rbx ; +0xd73, 0x14040b613 jz loc_14040B723 ; +0xd76, 0x14040b616 mov rax, [rbx] ; +0xd7c, 0x14040b61c mov rcx, rbx ; +0xd7f, 0x14040b61f call qword ptr [rax+0C8h] ; +0xd82, 0x14040b622 movss xmm6, dword ptr [rax] ; +0xd88, 0x14040b628 comiss xmm6, xmm14 ; +0xd8c, 0x14040b62c jb loc_14040B710 ; +0xd90, 0x14040b630 comiss xmm12, xmm6 ; +0xd96, 0x14040b636 jb loc_14040B710 ; +0xd9a, 0x14040b63a cmp byte ptr [rbx+28Eh], 0 ; +0xda0, 0x14040b640 jnz short loc_14040B66D ; +0xda7, 0x14040b647 cmp byte ptr [rbp+0D0h+arg_0], 0 ; +0xda9, 0x14040b649 jz short loc_14040B65B ; +0xdb0, 0x14040b650 cmp byte ptr [rbx+516h], 0 ; +0xdb2, 0x14040b652 jnz short loc_14040B66D ; +0xdb9, 0x14040b659 cmp byte ptr [rbp+0D0h+arg_8], 0 ; +0xdbb, 0x14040b65b jz short loc_14040B67A ; +0xdc2, 0x14040b662 cmp byte ptr [rbx+4F3h], 0 ; +0xdc4, 0x14040b664 jz short loc_14040B67A ; +0xdcb, 0x14040b66b cmp byte ptr [rbx+475h], 0 ; +0xdcd, 0x14040b66d jz loc_14040B716 ; +0xdd4, 0x14040b674 cmp byte ptr [rbx+5D0h], 0 ; +0xdda, 0x14040b67a jnz loc_14040B716 ; +0xde1, 0x14040b681 cmp byte ptr [rbx+5D1h], 0 ; +0xde7, 0x14040b687 jnz loc_14040B716 ; +0xdee, 0x14040b68e comiss xmm6, xmm7 ; +0xdf4, 0x14040b694 jbe short loc_14040B716 ; +0xdf7, 0x14040b697 movaps xmm7, xmm6 ; +0xdf9, 0x14040b699 lea eax, [rsi+1] ; +0xdfc, 0x14040b69c cmp eax, 4B0h ; +0xdff, 0x14040b69f jge short loc_14040B716 ; +0xe04, 0x14040b6a4 movaps xmm2, xmm8 ; +0xe06, 0x14040b6a6 maxss xmm2, xmm11 ; +0xe0a, 0x14040b6aa movaps xmm1, xmm6 ; +0xe0f, 0x14040b6af lea rcx, [rbp+0D0h+arg_10] ; +0xe12, 0x14040b6b2 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xe19, 0x14040b6b9 movsxd rdx, r14d ; +0xe1f, 0x14040b6bf mov rcx, [r13+198h] ; +0xe22, 0x14040b6c2 lea rcx, [rcx+rdx*8] ; +0xe29, 0x14040b6c9 mov rdx, rax ; +0xe2d, 0x14040b6cd call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xe30, 0x14040b6d0 movsxd rcx, esi ; +0xe36, 0x14040b6d6 mov rax, [r13+198h] ; +0xe39, 0x14040b6d9 lea rbx, [rax+rcx*8] ; +0xe40, 0x14040b6e0 movaps xmm2, xmm13 ; +0xe44, 0x14040b6e4 minss xmm2, xmm9 ; +0xe48, 0x14040b6e8 movaps xmm1, xmm6 ; +0xe4d, 0x14040b6ed lea rcx, [rsp+1D0h+var_168] ; +0xe50, 0x14040b6f0 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xe55, 0x14040b6f5 mov rdx, rax ; +0xe5b, 0x14040b6fb mov rcx, rbx ; +0xe5e, 0x14040b6fe call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xe61, 0x14040b701 add r14d, 2 ; +0xe67, 0x14040b707 add esi, 2 ; +0xe6b, 0x14040b70b jmp short loc_14040B716 ; +0xe6e, 0x14040b70e comiss xmm6, xmm12 ; +0xe70, 0x14040b710 ja short loc_14040B723 ; +0xe74, 0x14040b714 add rdi, 8 ; +0xe76, 0x14040b716 cmp rdi, r15 ; +0xe7a, 0x14040b71a jbe loc_14040B610 ; +0xe7d, 0x14040b71d test r14d, r14d ; +0xe83, 0x14040b723 jle short loc_14040B74A ; +0xe86, 0x14040b726 mov r9b, 96h ; +0xe88, 0x14040b728 mov r8b, 0FFh ; +0xe8b, 0x14040b72b movzx edx, r8b ; +0xe8e, 0x14040b72e xor ecx, ecx ; +0xe92, 0x14040b732 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0xe94, 0x14040b734 mov edx, r14d ; +0xe9a, 0x14040b73a mov rcx, [r13+198h] ; +0xe9d, 0x14040b73d call cs:?ccDrawLines@cocos2d@@YAXPEBVCCPoint@1@I@Z; cocos2d::ccDrawLines(cocos2d::CCPoint const *,uint) ; +0xea4, 0x14040b744 movss xmm11, cs:width ; +0xeaa, 0x14040b74a movaps xmm0, xmm11; width ; +0xeb3, 0x14040b753 call cs:glLineWidth ; +0xeb7, 0x14040b757 mov r9b, 0FFh ; +0xebd, 0x14040b75d movzx r8d, r9b ; +0xec0, 0x14040b760 movzx edx, r9b ; +0xec4, 0x14040b764 xor ecx, ecx ; +0xec8, 0x14040b768 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0xeca, 0x14040b76a xor edi, edi ; +0xed0, 0x14040b770 mov rcx, [r13+248h] ; +0xed2, 0x14040b772 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xed9, 0x14040b779 test eax, eax ; +0xedf, 0x14040b77f jz loc_14040B94C ; +0xee1, 0x14040b781 movss xmm9, cs:dword_140835950 ; +0xee7, 0x14040b787 movss xmm10, cs:dword_14083597C ; +0xef0, 0x14040b790 movss xmm11, cs:dword_1408359A4 ; +0xef9, 0x14040b799 nop dword ptr [rax+00h] ; +0xf02, 0x14040b7a2 nop word ptr [rax+rax+00000000h] ; +0xf06, 0x14040b7a6 mov edx, edi ; +0xf10, 0x14040b7b0 mov rcx, [r13+248h] ; +0xf12, 0x14040b7b2 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xf19, 0x14040b7b9 mov rbx, rax ; +0xf1f, 0x14040b7bf cmp byte ptr [rbp+0D0h+arg_0], 0 ; +0xf22, 0x14040b7c2 jz short loc_14040B7D4 ; +0xf29, 0x14040b7c9 cmp byte ptr [rax+516h], 0 ; +0xf2b, 0x14040b7cb jnz short loc_14040B7E6 ; +0xf32, 0x14040b7d2 cmp byte ptr [rbp+0D0h+arg_8], 0 ; +0xf34, 0x14040b7d4 jz short loc_14040B7F3 ; +0xf3b, 0x14040b7db cmp byte ptr [rax+4F3h], 0 ; +0xf3d, 0x14040b7dd jz short loc_14040B7F3 ; +0xf44, 0x14040b7e4 cmp byte ptr [rax+475h], 0 ; +0xf46, 0x14040b7e6 jz loc_14040B92C ; +0xf4d, 0x14040b7ed mov rax, [rax] ; +0xf53, 0x14040b7f3 mov rcx, rbx ; +0xf56, 0x14040b7f6 call qword ptr [rax+670h] ; +0xf59, 0x14040b7f9 cmp eax, 10h ; +0xf5f, 0x14040b7ff jnz short loc_14040B80A ; +0xf62, 0x14040b802 movaps xmm6, xmm9 ; +0xf64, 0x14040b804 jmp short loc_14040B825 ; +0xf68, 0x14040b808 mov rax, [rbx] ; +0xf6a, 0x14040b80a mov rcx, rbx ; +0xf6d, 0x14040b80d call qword ptr [rax+670h] ; +0xf70, 0x14040b810 cmp eax, 21h ; '!' ; +0xf76, 0x14040b816 jnz short loc_14040B821 ; +0xf79, 0x14040b819 movaps xmm6, xmm10 ; +0xf7b, 0x14040b81b jmp short loc_14040B825 ; +0xf7f, 0x14040b81f movaps xmm6, xmm11 ; +0xf81, 0x14040b821 mov rax, [rbx] ; +0xf85, 0x14040b825 mov rcx, rbx ; +0xf88, 0x14040b828 call qword ptr [rax+0C8h] ; +0xf8b, 0x14040b82b movaps xmm0, xmm6 ; +0xf91, 0x14040b831 mulss xmm0, xmm15 ; +0xf94, 0x14040b834 movss xmm1, dword ptr [rax+4] ; +0xf99, 0x14040b839 subss xmm1, xmm0 ; +0xf9e, 0x14040b83e xorps xmm7, xmm7 ; +0xfa2, 0x14040b842 addss xmm1, xmm7 ; +0xfa5, 0x14040b845 divss xmm1, cs:dword_140835624 ; +0xfa9, 0x14040b849 movaps xmm0, xmm1; X ; +0xfb1, 0x14040b851 call floorf ; +0xfb4, 0x14040b854 mulss xmm0, cs:dword_140835624 ; +0xfb9, 0x14040b859 movss xmm1, cs:flt_140835780 ; +0xfc1, 0x14040b861 maxss xmm1, xmm0 ; +0xfc9, 0x14040b869 addss xmm6, xmm1 ; +0xfcd, 0x14040b86d subss xmm6, xmm7 ; +0xfd1, 0x14040b871 movaps xmm2, xmm6 ; +0xfd5, 0x14040b875 lea rcx, [rbp+0D0h+arg_10] ; +0xfd8, 0x14040b878 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xfdf, 0x14040b87f movss xmm7, [rbp+0D0h+arg_10] ; +0xfe5, 0x14040b885 movss xmm6, [rbp+0D0h+arg_14] ; +0xfed, 0x14040b88d comiss xmm7, xmm8 ; +0xff5, 0x14040b895 jb short loc_14040B8E1 ; +0xff9, 0x14040b899 comiss xmm13, xmm7 ; +0xffb, 0x14040b89b jb short loc_14040B8E1 ; +0xfff, 0x14040b89f movss xmm1, cs:dword_140835C08 ; +0x1001, 0x14040b8a1 minss xmm1, xmm12 ; +0x1009, 0x14040b8a9 movaps xmm2, xmm7 ; +0x100e, 0x14040b8ae lea rcx, [rsp+1D0h+var_168] ; +0x1011, 0x14040b8b1 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1016, 0x14040b8b6 mov rbx, rax ; +0x101c, 0x14040b8bc movaps xmm1, xmm8 ; +0x101f, 0x14040b8bf maxss xmm1, xmm14 ; +0x1023, 0x14040b8c3 movaps xmm2, xmm7 ; +0x1028, 0x14040b8c8 lea rcx, [rbp+0D0h+var_130] ; +0x102b, 0x14040b8cb call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x102f, 0x14040b8cf mov rcx, rax ; +0x1035, 0x14040b8d5 mov rdx, rbx ; +0x1038, 0x14040b8d8 call cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x103b, 0x14040b8db comiss xmm6, xmm8 ; +0x1041, 0x14040b8e1 jb short loc_14040B92C ; +0x1045, 0x14040b8e5 comiss xmm13, xmm6 ; +0x1047, 0x14040b8e7 jb short loc_14040B92C ; +0x104b, 0x14040b8eb movss xmm1, cs:dword_140835C08 ; +0x104d, 0x14040b8ed minss xmm1, xmm12 ; +0x1055, 0x14040b8f5 movaps xmm2, xmm6 ; +0x105a, 0x14040b8fa lea rcx, [rbp+0D0h+var_120] ; +0x105d, 0x14040b8fd call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1061, 0x14040b901 mov rbx, rax ; +0x1067, 0x14040b907 movaps xmm1, xmm8 ; +0x106a, 0x14040b90a maxss xmm1, xmm14 ; +0x106e, 0x14040b90e movaps xmm2, xmm6 ; +0x1073, 0x14040b913 lea rcx, [rbp+0D0h+var_128] ; +0x1076, 0x14040b916 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x107a, 0x14040b91a mov rcx, rax ; +0x1080, 0x14040b920 mov rdx, rbx ; +0x1083, 0x14040b923 call cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x1086, 0x14040b926 inc edi ; +0x108c, 0x14040b92c mov rcx, [r13+248h] ; +0x108e, 0x14040b92e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1095, 0x14040b935 cmp edi, eax ; +0x109b, 0x14040b93b jb loc_14040B7B0 ; +0x109d, 0x14040b93d movss xmm11, cs:width ; +0x10a3, 0x14040b943 lea rdi, [r13+208h] ; +0x10ac, 0x14040b94c mov rax, [rdi] ; +0x10b3, 0x14040b953 cmp dword ptr [rax+89Ch], 0 ; +0x10b6, 0x14040b956 jnz loc_14040BBDB ; +0x10bd, 0x14040b95d mov rax, [rax+3A38h] ; +0x10c3, 0x14040b963 mov r8b, 32h ; '2' ; +0x10ca, 0x14040b96a movzx ecx, r8b ; +0x10cd, 0x14040b96d cmp byte ptr [rax+2CCh], 0 ; +0x10d1, 0x14040b971 jz loc_14040BA33 ; +0x10d8, 0x14040b978 mov r9b, 0FFh ; +0x10de, 0x14040b97e movzx edx, r9b ; +0x10e1, 0x14040b981 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x10e5, 0x14040b985 movss xmm0, cs:flt_140835470; width ; +0x10eb, 0x14040b98b call cs:glLineWidth ; +0x10f3, 0x14040b993 mov rax, [rdi] ; +0x10f9, 0x14040b999 mov r9, [rax+0DC8h] ; +0x10fc, 0x14040b99c add rax, 340h ; +0x1103, 0x14040b9a3 mov qword ptr [rsp+1D0h+var_198], rax ; +0x1109, 0x14040b9a9 mov byte ptr [rsp+1D0h+var_1A0], 1 ; +0x110e, 0x14040b9ae mov [rsp+1D0h+var_1A8], 1 ; +0x1113, 0x14040b9b3 movzx eax, byte ptr [r9+155h] ; +0x1118, 0x14040b9b8 mov [rsp+1D0h+var_1B0], al ; +0x1120, 0x14040b9c0 mov r9d, [r9+14Ch] ; +0x1124, 0x14040b9c4 mov r8, [r13+250h] ; +0x112b, 0x14040b9cb movss xmm1, dword ptr [r13+1F4h] ; +0x1132, 0x14040b9d2 lea rcx, [rbp+0D0h+arg_10] ; +0x113b, 0x14040b9db call LevelTools__posForTimeInternal ; +0x1142, 0x14040b9e2 movss xmm0, [rbp+0D0h+arg_10] ; +0x1147, 0x14040b9e7 xorps xmm10, xmm10 ; +0x114f, 0x14040b9ef comiss xmm0, xmm10 ; +0x1153, 0x14040b9f3 jbe short loc_14040BA0F ; +0x1157, 0x14040b9f7 movss dword ptr [r13+1FCh], xmm0 ; +0x1159, 0x14040b9f9 mov dword ptr [r13+200h], 0 ; +0x1162, 0x14040ba02 jmp short loc_14040BA5B ; +0x116d, 0x14040ba0d movss xmm0, [rbp+0D0h+arg_14] ; +0x116f, 0x14040ba0f comiss xmm0, xmm10 ; +0x1177, 0x14040ba17 jbe short loc_14040BA5B ; +0x117b, 0x14040ba1b mov dword ptr [r13+1FCh], 0 ; +0x117d, 0x14040ba1d movss dword ptr [r13+200h], xmm0 ; +0x1188, 0x14040ba28 jmp short loc_14040BA5B ; +0x1191, 0x14040ba31 mov r9b, 64h ; 'd' ; +0x1193, 0x14040ba33 mov dl, 0FFh ; +0x1196, 0x14040ba36 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x1198, 0x14040ba38 movss xmm0, cs:flt_140835388; width ; +0x119e, 0x14040ba3e call cs:glLineWidth ; +0x11a6, 0x14040ba46 mov dword ptr [r13+1F0h], 0BF800000h ; +0x11ac, 0x14040ba4c xorps xmm10, xmm10 ; +0x11b7, 0x14040ba57 movss xmm1, dword ptr [r13+1FCh] ; +0x11bb, 0x14040ba5b comiss xmm1, xmm10 ; +0x11c4, 0x14040ba64 jbe short loc_14040BAAB ; +0x11c8, 0x14040ba68 comiss xmm1, xmm14 ; +0x11ca, 0x14040ba6a jb short loc_14040BAAB ; +0x11ce, 0x14040ba6e comiss xmm12, xmm1 ; +0x11d0, 0x14040ba70 jb short loc_14040BAAB ; +0x11d4, 0x14040ba74 movaps xmm6, xmm1 ; +0x11d6, 0x14040ba76 movaps xmm2, xmm13 ; +0x11d9, 0x14040ba79 movss xmm7, [rbp+0D0h+arg_18] ; +0x11dd, 0x14040ba7d minss xmm2, xmm7 ; +0x11e5, 0x14040ba85 lea rcx, [rbp+0D0h+arg_10] ; +0x11e9, 0x14040ba89 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x11f0, 0x14040ba90 movaps xmm2, xmm8 ; +0x11f6, 0x14040ba96 movss xmm9, [rsp+1D0h+var_174] ; +0x11fa, 0x14040ba9a maxss xmm2, xmm9 ; +0x1201, 0x14040baa1 movaps xmm1, xmm6 ; +0x1206, 0x14040baa6 jmp short loc_14040BAFD ; +0x1209, 0x14040baa9 movss xmm2, dword ptr [r13+200h] ; +0x120b, 0x14040baab movss xmm9, [rsp+1D0h+var_174] ; +0x1214, 0x14040bab4 movss xmm7, [rbp+0D0h+arg_18] ; +0x121b, 0x14040babb comiss xmm2, xmm10 ; +0x1223, 0x14040bac3 jbe short loc_14040BB17 ; +0x1227, 0x14040bac7 comiss xmm2, xmm9 ; +0x1229, 0x14040bac9 jb short loc_14040BB17 ; +0x122d, 0x14040bacd comiss xmm7, xmm2 ; +0x122f, 0x14040bacf jb short loc_14040BB17 ; +0x1232, 0x14040bad2 movaps xmm6, xmm2 ; +0x1234, 0x14040bad4 movss xmm1, cs:dword_140835C08 ; +0x1237, 0x14040bad7 minss xmm1, xmm12 ; +0x123f, 0x14040badf lea rcx, [rbp+0D0h+arg_10] ; +0x1244, 0x14040bae4 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x124b, 0x14040baeb movaps xmm1, xmm8 ; +0x1251, 0x14040baf1 maxss xmm1, xmm14 ; +0x1255, 0x14040baf5 movaps xmm2, xmm6 ; +0x125a, 0x14040bafa mov rbx, rax ; +0x125d, 0x14040bafd lea rcx, [rsp+1D0h+var_168] ; +0x1260, 0x14040bb00 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1265, 0x14040bb05 mov rdx, rbx ; +0x126b, 0x14040bb0b mov rcx, rax ; +0x126e, 0x14040bb0e call cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x1271, 0x14040bb11 mov rcx, [r13+208h] ; +0x1277, 0x14040bb17 movss xmm6, dword ptr [rcx+3BA8h] ; +0x127e, 0x14040bb1e ucomiss xmm6, xmm10 ; +0x1286, 0x14040bb26 jp short loc_14040BB49 ; +0x128a, 0x14040bb2a jnz short loc_14040BB49 ; +0x128c, 0x14040bb2c lea rdi, [r13+208h] ; +0x128e, 0x14040bb2e movss xmm0, dword ptr [rcx+3BACh] ; +0x1295, 0x14040bb35 ucomiss xmm0, xmm10 ; +0x129d, 0x14040bb3d jp short loc_14040BB49 ; +0x12a1, 0x14040bb41 jz loc_14040BBED ; +0x12a3, 0x14040bb43 lea rdi, [r13+208h] ; +0x12a9, 0x14040bb49 comiss xmm6, xmm10 ; +0x12b0, 0x14040bb50 jbe loc_14040BBED ; +0x12b4, 0x14040bb54 lea rdi, [r13+208h] ; +0x12ba, 0x14040bb5a comiss xmm6, xmm14 ; +0x12c1, 0x14040bb61 jb loc_14040BBED ; +0x12c5, 0x14040bb65 lea rdi, [r13+208h] ; +0x12cb, 0x14040bb6b comiss xmm12, xmm6 ; +0x12d2, 0x14040bb72 jb short loc_14040BBED ; +0x12d6, 0x14040bb76 mov r9b, 0FFh ; +0x12d8, 0x14040bb78 xor r8d, r8d ; +0x12db, 0x14040bb7b mov dl, 96h ; +0x12de, 0x14040bb7e movzx ecx, r9b ; +0x12e0, 0x14040bb80 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x12e4, 0x14040bb84 movaps xmm0, xmm11; width ; +0x12ea, 0x14040bb8a call cs:glLineWidth ; +0x12ee, 0x14040bb8e movaps xmm2, xmm13 ; +0x12f4, 0x14040bb94 minss xmm2, xmm7 ; +0x12f8, 0x14040bb98 movaps xmm1, xmm6 ; +0x12fc, 0x14040bb9c lea rcx, [rbp+0D0h+arg_10] ; +0x12ff, 0x14040bb9f call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1306, 0x14040bba6 mov rbx, rax ; +0x130c, 0x14040bbac movaps xmm2, xmm8 ; +0x130f, 0x14040bbaf maxss xmm2, xmm9 ; +0x1313, 0x14040bbb3 movaps xmm1, xmm6 ; +0x1318, 0x14040bbb8 lea rcx, [rsp+1D0h+var_168] ; +0x131b, 0x14040bbbb call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1320, 0x14040bbc0 mov rcx, rax ; +0x1326, 0x14040bbc6 mov rdx, rbx ; +0x1329, 0x14040bbc9 call cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x132c, 0x14040bbcc lea rdi, [r13+208h] ; +0x1332, 0x14040bbd2 jmp short loc_14040BBED ; +0x1339, 0x14040bbd9 mov qword ptr [r13+1FCh], 0 ; +0x133b, 0x14040bbdb movss xmm9, [rsp+1D0h+var_174] ; +0x1346, 0x14040bbe6 mov rbx, [rdi] ; +0x134d, 0x14040bbed mov rax, rdi ; +0x1350, 0x14040bbf0 mov [rsp+1D0h+var_180], rax ; +0x1353, 0x14040bbf3 cmp dword ptr [rbx+89Ch], 1 ; +0x1358, 0x14040bbf8 jz loc_14040BD58 ; +0x135f, 0x14040bbff mov [rsp+1D0h+var_180], rax ; +0x1365, 0x14040bc05 cmp byte ptr [rbx+3A69h], 0 ; +0x136a, 0x14040bc0a jz loc_14040BD58 ; +0x1371, 0x14040bc11 mov [rsp+1D0h+var_180], rax ; +0x1377, 0x14040bc17 cmp byte ptr [rbx+3943h], 0 ; +0x137c, 0x14040bc1c jnz loc_14040BD58 ; +0x1383, 0x14040bc23 mov rcx, [rbx+3A38h] ; +0x1389, 0x14040bc29 mov [rsp+1D0h+var_180], rax ; +0x1390, 0x14040bc30 cmp byte ptr [rcx+67Dh], 0 ; +0x1395, 0x14040bc35 jnz loc_14040BD58 ; +0x139c, 0x14040bc3c mov rbx, [rbx+10C8h] ; +0x13a2, 0x14040bc42 movss xmm2, dword ptr [rcx+388h] ; +0x13a9, 0x14040bc49 mulss xmm2, xmm15 ; +0x13b1, 0x14040bc51 movss xmm0, [rbp+0D0h+var_144] ; +0x13b6, 0x14040bc56 mulss xmm0, xmm15 ; +0x13bb, 0x14040bc5b addss xmm2, xmm0 ; +0x13c0, 0x14040bc60 movss xmm1, [rbp+0D0h+var_148] ; +0x13c4, 0x14040bc64 mulss xmm1, xmm15 ; +0x13c9, 0x14040bc69 lea rcx, [rsp+1D0h+var_168] ; +0x13ce, 0x14040bc6e call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x13d3, 0x14040bc73 mov r8, rax ; +0x13d9, 0x14040bc79 lea rdx, [rbp+0D0h+arg_10] ; +0x13dc, 0x14040bc7c mov rcx, rbx ; +0x13e3, 0x14040bc83 call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x13e6, 0x14040bc86 mov r9b, 32h ; '2' ; +0x13ec, 0x14040bc8c xor r8d, r8d ; +0x13ef, 0x14040bc8f xor edx, edx ; +0x13f2, 0x14040bc92 xor ecx, ecx ; +0x13f4, 0x14040bc94 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x13f6, 0x14040bc96 movaps xmm0, xmm11; width ; +0x13fc, 0x14040bc9c call cs:glLineWidth ; +0x1400, 0x14040bca0 movaps xmm2, xmm13 ; +0x1406, 0x14040bca6 movss xmm10, [rbp+0D0h+arg_18] ; +0x140a, 0x14040bcaa minss xmm2, xmm10 ; +0x1413, 0x14040bcb3 movss xmm1, [rbp+0D0h+arg_10] ; +0x1418, 0x14040bcb8 lea rcx, [rbp+0D0h+arg_18] ; +0x1420, 0x14040bcc0 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1427, 0x14040bcc7 mov rbx, rax ; +0x142d, 0x14040bccd movaps xmm2, xmm8 ; +0x1430, 0x14040bcd0 maxss xmm2, xmm9 ; +0x1434, 0x14040bcd4 movss xmm1, [rbp+0D0h+arg_10] ; +0x1439, 0x14040bcd9 lea rcx, [rsp+1D0h+var_168] ; +0x1441, 0x14040bce1 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1446, 0x14040bce6 mov rcx, rax ; +0x144c, 0x14040bcec mov rdx, rbx ; +0x144f, 0x14040bcef call cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x1452, 0x14040bcf2 movss xmm11, cs:dword_140835C08 ; +0x1458, 0x14040bcf8 movaps xmm1, xmm11 ; +0x1461, 0x14040bd01 minss xmm1, xmm12 ; +0x1465, 0x14040bd05 movss xmm2, [rbp+0D0h+arg_14] ; +0x146a, 0x14040bd0a lea rcx, [rbp+0D0h+arg_18] ; +0x1472, 0x14040bd12 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1479, 0x14040bd19 mov rbx, rax ; +0x147f, 0x14040bd1f movaps xmm1, xmm8 ; +0x1482, 0x14040bd22 maxss xmm1, xmm14 ; +0x1486, 0x14040bd26 movss xmm2, [rbp+0D0h+arg_14] ; +0x148b, 0x14040bd2b lea rcx, [rsp+1D0h+var_168] ; +0x1493, 0x14040bd33 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1498, 0x14040bd38 mov rcx, rax ; +0x149e, 0x14040bd3e mov rdx, rbx ; +0x14a1, 0x14040bd41 call cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x14a4, 0x14040bd44 lea rax, [r13+208h] ; +0x14aa, 0x14040bd4a mov [rsp+1D0h+var_180], rax ; +0x14b1, 0x14040bd51 jmp short loc_14040BD6A ; +0x14b6, 0x14040bd56 movss xmm11, cs:dword_140835C08 ; +0x14b8, 0x14040bd58 movss xmm10, [rbp+0D0h+arg_18] ; +0x14c1, 0x14040bd61 mov rcx, [rdi] ; +0x14ca, 0x14040bd6a cmp dword ptr [rcx+89Ch], 0 ; +0x14cd, 0x14040bd6d jz loc_14040BEAE ; +0x14d4, 0x14040bd74 mov rbx, rax ; +0x14da, 0x14040bd7a cmp byte ptr [rcx+422h], 0 ; +0x14dd, 0x14040bd7d jnz short loc_14040BDDF ; +0x14e4, 0x14040bd84 mov rax, [rcx+0DB8h] ; +0x14e6, 0x14040bd86 cmp byte ptr [rax+9C1h], 0 ; +0x14ed, 0x14040bd8d jnz short loc_14040BDD8 ; +0x14f4, 0x14040bd94 cmp byte ptr [rax+9C2h], 0 ; +0x14f6, 0x14040bd96 jnz short loc_14040BDD8 ; +0x14fd, 0x14040bd9d cmp byte ptr [rax+9C4h], 0 ; +0x14ff, 0x14040bd9f jnz short loc_14040BDD8 ; +0x1506, 0x14040bda6 cmp byte ptr [rax+9CCh], 0 ; +0x1508, 0x14040bda8 jnz short loc_14040BDD8 ; +0x150f, 0x14040bdaf lea rdi, [r13+208h] ; +0x1511, 0x14040bdb1 mov [rsp+1D0h+var_180], rdi ; +0x1518, 0x14040bdb8 mov rbx, rdi ; +0x151d, 0x14040bdbd cmp byte ptr [rax+9C3h], 0 ; +0x1520, 0x14040bdc0 jnz short loc_14040BDDF ; +0x1527, 0x14040bdc7 cmp byte ptr [rax+9C6h], 0 ; +0x1529, 0x14040bdc9 jz loc_14040BEB3 ; +0x1530, 0x14040bdd0 jmp short loc_14040BDDF ; +0x1536, 0x14040bdd6 lea rbx, [r13+208h] ; +0x1538, 0x14040bdd8 mov rdi, rbx ; +0x153f, 0x14040bddf mov [rsp+1D0h+var_180], rbx ; +0x1542, 0x14040bde2 call GJBaseGameLayer__getMinPortalY ; +0x1547, 0x14040bde7 movaps xmm6, xmm0 ; +0x154c, 0x14040bdec mov rcx, [rbx] ; +0x154f, 0x14040bdef call GJBaseGameLayer__getMaxPortalY ; +0x1552, 0x14040bdf2 movaps xmm7, xmm0 ; +0x1557, 0x14040bdf7 movss xmm15, cs:width ; +0x155a, 0x14040bdfa movaps xmm0, xmm15; width ; +0x1563, 0x14040be03 call cs:glLineWidth ; +0x1567, 0x14040be07 mov r9b, 0FFh ; +0x156d, 0x14040be0d mov r8b, 32h ; '2' ; +0x1570, 0x14040be10 mov dl, 0AFh ; +0x1573, 0x14040be13 movzx ecx, r9b ; +0x1575, 0x14040be15 call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x1579, 0x14040be19 ucomiss xmm6, cs:flt_140835780 ; +0x157f, 0x14040be1f jp short loc_14040BE2A ; +0x1586, 0x14040be26 jz short loc_14040BE6B ; +0x1588, 0x14040be28 movaps xmm1, xmm11 ; +0x158a, 0x14040be2a minss xmm1, xmm12 ; +0x158e, 0x14040be2e movaps xmm2, xmm6 ; +0x1593, 0x14040be33 lea rcx, [rbp+0D0h+arg_10] ; +0x1596, 0x14040be36 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x159d, 0x14040be3d mov rbx, rax ; +0x15a3, 0x14040be43 movaps xmm1, xmm8 ; +0x15a6, 0x14040be46 maxss xmm1, xmm14 ; +0x15aa, 0x14040be4a movaps xmm2, xmm6 ; +0x15af, 0x14040be4f lea rcx, [rbp+0D0h+arg_18] ; +0x15b2, 0x14040be52 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x15b9, 0x14040be59 mov rcx, rax ; +0x15bf, 0x14040be5f mov rdx, rbx ; +0x15c2, 0x14040be62 call cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x15c5, 0x14040be65 minss xmm11, xmm12 ; +0x15cb, 0x14040be6b movaps xmm2, xmm7 ; +0x15d0, 0x14040be70 movaps xmm1, xmm11 ; +0x15d3, 0x14040be73 lea rcx, [rbp+0D0h+arg_10] ; +0x15d7, 0x14040be77 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x15de, 0x14040be7e mov rbx, rax ; +0x15e4, 0x14040be84 maxss xmm8, xmm14 ; +0x15e7, 0x14040be87 movaps xmm2, xmm7 ; +0x15ec, 0x14040be8c movaps xmm1, xmm8 ; +0x15ef, 0x14040be8f lea rcx, [rbp+0D0h+arg_18] ; +0x15f3, 0x14040be93 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x15fa, 0x14040be9a mov rcx, rax ; +0x1600, 0x14040bea0 mov rdx, rbx ; +0x1603, 0x14040bea3 call cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x1606, 0x14040bea6 jmp short loc_14040BEBC ; +0x160c, 0x14040beac mov rdi, [rsp+1D0h+var_180] ; +0x160e, 0x14040beae movss xmm15, cs:width ; +0x1613, 0x14040beb3 cmp r12d, 1 ; +0x161c, 0x14040bebc jz loc_14040C294 ; +0x1620, 0x14040bec0 mov rax, [rdi] ; +0x1626, 0x14040bec6 cmp byte ptr [rax+3946h], 0 ; +0x1629, 0x14040bec9 jz loc_14040C294 ; +0x1630, 0x14040bed0 mov rcx, [rax+3960h] ; +0x1636, 0x14040bed6 xor r14d, r14d ; +0x163d, 0x14040bedd mov [rbp+0D0h+arg_10], r14d ; +0x1640, 0x14040bee0 test rcx, rcx ; +0x1647, 0x14040bee7 jz loc_14040C294 ; +0x164a, 0x14040beea mov r12, [rcx+38h] ; +0x1650, 0x14040bef0 mov eax, [r12] ; +0x1654, 0x14040bef4 test eax, eax ; +0x1658, 0x14040bef8 jz loc_14040C294 ; +0x165a, 0x14040befa mov r12, [r12+10h] ; +0x1660, 0x14040bf00 lea r15, [rax-1] ; +0x1665, 0x14040bf05 lea r15, [r12+r15*8] ; +0x1669, 0x14040bf09 mov [rbp+0D0h+var_150], r15 ; +0x166d, 0x14040bf0d cmp r12, r15 ; +0x1671, 0x14040bf11 ja loc_14040C294 ; +0x1674, 0x14040bf14 movss xmm7, cs:dword_1408359B0 ; +0x167a, 0x14040bf1a mov rsi, [r12] ; +0x1682, 0x14040bf22 test rsi, rsi ; +0x1686, 0x14040bf26 jz loc_14040C261 ; +0x1689, 0x14040bf29 cmp byte ptr [rbp+0D0h+arg_0], 0 ; +0x168f, 0x14040bf2f jz short loc_14040BF41 ; +0x1696, 0x14040bf36 cmp byte ptr [rsi+516h], 0 ; +0x1698, 0x14040bf38 jnz short loc_14040BF53 ; +0x169f, 0x14040bf3f cmp byte ptr [rbp+0D0h+arg_8], 0 ; +0x16a1, 0x14040bf41 jz short loc_14040BF60 ; +0x16a8, 0x14040bf48 cmp byte ptr [rsi+4F3h], 0 ; +0x16aa, 0x14040bf4a jz short loc_14040BF60 ; +0x16b1, 0x14040bf51 cmp byte ptr [rsi+475h], 0 ; +0x16b3, 0x14040bf53 jz loc_14040C254 ; +0x16ba, 0x14040bf5a cmp byte ptr [r13+278h], 0 ; +0x16c0, 0x14040bf60 jz short loc_14040BF7E ; +0x16c8, 0x14040bf68 lea rcx, [rsi+718h] ; +0x16ca, 0x14040bf6a lea rdx, dword_14090AF10 ; +0x16d1, 0x14040bf71 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x16d8, 0x14040bf78 movss xmm6, dword ptr [rsi+5BCh] ; +0x16de, 0x14040bf7e mov eax, [rsi+40Ch] ; +0x16e6, 0x14040bf86 cmp eax, 3EEh ; +0x16ec, 0x14040bf8c jnz short loc_14040BFAD ; +0x16f1, 0x14040bf91 movss xmm6, dword ptr [rsi+64Ch] ; +0x16f3, 0x14040bf93 addss xmm6, dword ptr [rsi+648h] ; +0x16fb, 0x14040bf9b addss xmm6, dword ptr [rsi+650h] ; +0x1703, 0x14040bfa3 jmp short loc_14040BFBC ; +0x170b, 0x14040bfab cmp eax, 0E12h ; +0x170d, 0x14040bfad jnz short loc_14040BFBC ; +0x1712, 0x14040bfb2 movss xmm6, dword ptr [rsi+7D0h] ; +0x1714, 0x14040bfb4 xorps xmm8, xmm8 ; +0x171c, 0x14040bfbc comiss xmm6, xmm8 ; +0x1720, 0x14040bfc0 jbe loc_14040C254 ; +0x1724, 0x14040bfc4 mov rax, [rsi] ; +0x172a, 0x14040bfca lea rdx, [rsp+1D0h+var_170] ; +0x172d, 0x14040bfcd mov rcx, rsi ; +0x1732, 0x14040bfd2 call qword ptr [rax+4B8h] ; +0x1735, 0x14040bfd5 comiss xmm12, dword ptr [rsp+1D0h+var_170] ; +0x173b, 0x14040bfdb jb loc_14040C254 ; +0x1741, 0x14040bfe1 comiss xmm13, [rsp+1D0h+var_16C] ; +0x1747, 0x14040bfe7 jb loc_14040C254 ; +0x174d, 0x14040bfed cmp byte ptr [rsi+28Eh], 0 ; +0x1753, 0x14040bff3 jz short loc_14040C009 ; +0x175a, 0x14040bffa cmp byte ptr [rsi+475h], 0 ; +0x175c, 0x14040bffc jz loc_14040C254 ; +0x1763, 0x14040c003 lea rax, [rsi+718h] ; +0x1769, 0x14040c009 mov [rsp+1D0h+var_160], rax ; +0x1770, 0x14040c010 mov rdx, rax ; +0x1775, 0x14040c015 lea rcx, [rbp+0D0h+arg_18] ; +0x1778, 0x14040c018 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x177f, 0x14040c01f cmp byte ptr [rsi+5D1h], 0 ; +0x1785, 0x14040c025 jz short loc_14040C056 ; +0x178c, 0x14040c02c movss xmm0, [rsp+1D0h+var_16C] ; +0x178e, 0x14040c02e movss [rbp+0D0h+arg_1C], xmm0 ; +0x1794, 0x14040c034 mulss xmm6, xmm7 ; +0x179c, 0x14040c03c addss xmm6, dword ptr [rsp+1D0h+var_170] ; +0x17a0, 0x14040c040 movaps xmm1, xmm6 ; +0x17a6, 0x14040c046 movss [rbp+0D0h+arg_18], xmm6 ; +0x17a9, 0x14040c049 jmp loc_14040C1A5 ; +0x17b1, 0x14040c051 movss xmm1, [rbp+0D0h+arg_18] ; +0x17b6, 0x14040c056 ucomiss xmm1, xmm8 ; +0x17be, 0x14040c05e jp loc_14040C1A5 ; +0x17c2, 0x14040c062 jnz loc_14040C1A5 ; +0x17c8, 0x14040c068 movss xmm0, [rbp+0D0h+arg_1C] ; +0x17ce, 0x14040c06e ucomiss xmm0, xmm8 ; +0x17d6, 0x14040c076 jp loc_14040C1A5 ; +0x17da, 0x14040c07a jnz loc_14040C1A5 ; +0x17e0, 0x14040c080 mov rax, [rdi] ; +0x17e6, 0x14040c086 mov rcx, [rax+0DC8h] ; +0x17e9, 0x14040c089 mov r15d, [rcx+14Ch] ; +0x17f0, 0x14040c090 movzx ebx, byte ptr [rcx+155h] ; +0x17f7, 0x14040c097 mov edi, [rsi+700h] ; +0x17fe, 0x14040c09e mov esi, [rsi+6FCh] ; +0x1804, 0x14040c0a4 mov r14, [r13+250h] ; +0x180a, 0x14040c0aa lea rdx, [rsp+1D0h+var_170] ; +0x1811, 0x14040c0b1 lea rcx, [rsp+1D0h+var_168] ; +0x1816, 0x14040c0b6 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x181b, 0x14040c0bb mov rcx, rax ; +0x1821, 0x14040c0c1 mov dword ptr [rsp+1D0h+var_188], 0 ; +0x1824, 0x14040c0c4 mov byte ptr [rsp+1D0h+var_190], 0 ; +0x182c, 0x14040c0cc mov [rsp+1D0h+var_198], 1 ; +0x1831, 0x14040c0d1 mov byte ptr [rsp+1D0h+var_1A0], bl ; +0x1836, 0x14040c0d6 mov [rsp+1D0h+var_1A8], 0 ; +0x183a, 0x14040c0da mov dword ptr [rsp+1D0h+var_1B0], edi ; +0x183f, 0x14040c0df mov r9d, esi ; +0x1843, 0x14040c0e3 mov r8d, r15d ; +0x1846, 0x14040c0e6 mov rdx, r14 ; +0x1849, 0x14040c0e9 call LevelTools__timeForPos ; +0x184c, 0x14040c0ec movzx ebx, cs:byte_1409097DF ; +0x1851, 0x14040c0f1 mov rdi, [rsp+1D0h+var_180] ; +0x1858, 0x14040c0f8 mov rax, [rdi] ; +0x185d, 0x14040c0fd mov r9, [rax+0DC8h] ; +0x1860, 0x14040c100 add rax, 340h ; +0x1867, 0x14040c107 addss xmm0, xmm6 ; +0x186d, 0x14040c10d mov qword ptr [rsp+1D0h+var_198], rax ; +0x1871, 0x14040c111 mov byte ptr [rsp+1D0h+var_1A0], 1 ; +0x1876, 0x14040c116 mov [rsp+1D0h+var_1A8], 0 ; +0x187b, 0x14040c11b movzx eax, byte ptr [r9+155h] ; +0x1880, 0x14040c120 mov [rsp+1D0h+var_1B0], al ; +0x1888, 0x14040c128 mov r9d, [r9+14Ch] ; +0x188c, 0x14040c12c mov r8, [r13+250h] ; +0x1893, 0x14040c133 movaps xmm1, xmm0 ; +0x189a, 0x14040c13a lea rcx, [rbp+0D0h+var_130] ; +0x189d, 0x14040c13d call LevelTools__posForTimeInternal ; +0x18a1, 0x14040c141 mov rdx, rax ; +0x18a6, 0x14040c146 lea rcx, [rbp+0D0h+arg_18] ; +0x18a9, 0x14040c149 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x18b0, 0x14040c150 cmp bl, cs:byte_1409097DF ; +0x18b6, 0x14040c156 jnz short loc_14040C180 ; +0x18bc, 0x14040c15c test bl, bl ; +0x18be, 0x14040c15e jz short loc_14040C172 ; +0x18c0, 0x14040c160 movss xmm0, dword ptr [rsp+1D0h+var_170] ; +0x18c2, 0x14040c162 movss [rbp+0D0h+arg_18], xmm0 ; +0x18c8, 0x14040c168 jmp short loc_14040C180 ; +0x18d0, 0x14040c170 movss xmm0, [rsp+1D0h+var_16C] ; +0x18d2, 0x14040c172 movss [rbp+0D0h+arg_1C], xmm0 ; +0x18d8, 0x14040c178 lea rdx, [rbp+0D0h+arg_18] ; +0x18e0, 0x14040c180 mov rcx, [rsp+1D0h+var_160] ; +0x18e7, 0x14040c187 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x18ec, 0x14040c18c movss xmm1, [rbp+0D0h+arg_18] ; +0x18f2, 0x14040c192 mov r14d, [rbp+0D0h+arg_10] ; +0x18fa, 0x14040c19a mov r15, [rbp+0D0h+var_150] ; +0x1901, 0x14040c1a1 comiss xmm1, xmm14 ; +0x1905, 0x14040c1a5 jb loc_14040C254 ; +0x1909, 0x14040c1a9 movss xmm0, [rbp+0D0h+arg_1C] ; +0x190f, 0x14040c1af comiss xmm0, xmm9 ; +0x1917, 0x14040c1b7 jb loc_14040C254 ; +0x191b, 0x14040c1bb movsxd rsi, [rsp+1D0h+var_158] ; +0x1921, 0x14040c1c1 lea eax, [rsi+1] ; +0x1926, 0x14040c1c6 cmp eax, 4B0h ; +0x1929, 0x14040c1c9 jge loc_14040C254 ; +0x192e, 0x14040c1ce movaps xmm2, xmm9 ; +0x1934, 0x14040c1d4 maxss xmm2, [rsp+1D0h+var_16C] ; +0x1938, 0x14040c1d8 movaps xmm1, xmm14 ; +0x193e, 0x14040c1de maxss xmm1, dword ptr [rsp+1D0h+var_170] ; +0x1942, 0x14040c1e2 lea rcx, [rbp+0D0h+var_120] ; +0x1948, 0x14040c1e8 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x194c, 0x14040c1ec movsxd rdx, r14d ; +0x1952, 0x14040c1f2 mov rcx, [r13+198h] ; +0x1955, 0x14040c1f5 lea rcx, [rcx+rdx*8] ; +0x195c, 0x14040c1fc mov rdx, rax ; +0x1960, 0x14040c200 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1963, 0x14040c203 mov rax, [r13+198h] ; +0x1969, 0x14040c209 lea rbx, [rax+rsi*8] ; +0x1970, 0x14040c210 movaps xmm2, xmm10 ; +0x1974, 0x14040c214 minss xmm2, [rbp+0D0h+arg_1C] ; +0x1978, 0x14040c218 movaps xmm1, xmm12 ; +0x1980, 0x14040c220 minss xmm1, [rbp+0D0h+arg_18] ; +0x1984, 0x14040c224 lea rcx, [rbp+0D0h+var_128] ; +0x198c, 0x14040c22c call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1990, 0x14040c230 mov rdx, rax ; +0x1996, 0x14040c236 mov rcx, rbx ; +0x1999, 0x14040c239 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x199c, 0x14040c23c add r14d, 2 ; +0x19a2, 0x14040c242 mov [rbp+0D0h+arg_10], r14d ; +0x19a6, 0x14040c246 add esi, 2 ; +0x19ad, 0x14040c24d mov [rsp+1D0h+var_158], esi ; +0x19b0, 0x14040c250 add r12, 8 ; +0x19b4, 0x14040c254 cmp r12, r15 ; +0x19b8, 0x14040c258 jbe loc_14040BF22 ; +0x19bb, 0x14040c25b test r14d, r14d ; +0x19c1, 0x14040c261 jle short loc_14040C294 ; +0x19c4, 0x14040c264 movaps xmm0, xmm15; width ; +0x19c6, 0x14040c266 call cs:glLineWidth ; +0x19ca, 0x14040c26a mov r9b, 4Bh ; 'K' ; +0x19d0, 0x14040c270 mov r8b, 64h ; 'd' ; +0x19d3, 0x14040c273 movzx edx, r8b ; +0x19d6, 0x14040c276 movzx ecx, r8b ; +0x19da, 0x14040c27a call cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x19de, 0x14040c27e mov edx, r14d ; +0x19e4, 0x14040c284 mov rcx, [r13+198h] ; +0x19e7, 0x14040c287 call cs:?ccDrawLines@cocos2d@@YAXPEBVCCPoint@1@I@Z; cocos2d::ccDrawLines(cocos2d::CCPoint const *,uint) ; +0x19ee, 0x14040c28e movss xmm0, cs:flt_140835080; width ; +0x19f4, 0x14040c294 call cs:glLineWidth ; +0x19fc, 0x14040c29c mov byte ptr [r13+278h], 0 ; +0x1a02, 0x14040c2a2 lea r11, [rsp+1D0h+var_38] ; +0x1a0a, 0x14040c2aa movaps xmm6, xmmword ptr [r11-18h] ; +0x1a12, 0x14040c2b2 movaps xmm7, xmmword ptr [r11-28h] ; +0x1a17, 0x14040c2b7 movaps xmm8, xmmword ptr [r11-38h] ; +0x1a1c, 0x14040c2bc movaps xmm9, xmmword ptr [r11-48h] ; +0x1a21, 0x14040c2c1 movaps xmm10, xmmword ptr [r11-58h] ; +0x1a26, 0x14040c2c6 movaps xmm11, xmmword ptr [r11-68h] ; +0x1a2b, 0x14040c2cb movaps xmm12, xmmword ptr [r11-78h] ; +0x1a30, 0x14040c2d0 movaps xmm13, xmmword ptr [r11-88h] ; +0x1a35, 0x14040c2d5 movaps xmm14, xmmword ptr [r11-98h] ; +0x1a3d, 0x14040c2dd movaps xmm15, xmmword ptr [r11-0A8h] ; +0x1a45, 0x14040c2e5 mov rsp, r11 ; +0x1a4d, 0x14040c2ed pop r15 ; +0x1a50, 0x14040c2f0 pop r14 ; +0x1a52, 0x14040c2f2 pop r13 ; +0x1a54, 0x14040c2f4 pop r12 ; +0x1a56, 0x14040c2f6 pop rdi ; +0x1a58, 0x14040c2f8 pop rsi ; +0x1a59, 0x14040c2f9 pop rbx ; +0x1a5a, 0x14040c2fa pop rbp ; +0x1a5b, 0x14040c2fb retn ; +0x1a5c, 0x14040c2fc