; ; GJBaseGameLayer::updateGroundShadows from 0x14020bd60 to 0x14020c482 (1826 bytes) ; ; 4 xrefs: ; > GJBaseGameLayer::preUpdateVisibility @ 0x140236634 ; > @ 0x14067eb60 ; > @ 0x14067ebac ; > @ 0x1406ccd2c ; ; 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 r11, rsp ; +0x0, 0x14020bd60 push rbp ; +0x3, 0x14020bd63 push rbx ; +0x4, 0x14020bd64 push r14 ; +0x5, 0x14020bd65 lea rbp, [r11-38h] ; +0x7, 0x14020bd67 sub rsp, 120h ; +0xb, 0x14020bd6b movaps xmmword ptr [r11-38h], xmm6 ; +0x12, 0x14020bd72 movaps xmmword ptr [r11-58h], xmm8 ; +0x17, 0x14020bd77 mov rax, cs:__security_cookie ; +0x1c, 0x14020bd7c xor rax, rsp ; +0x23, 0x14020bd83 mov qword ptr [rbp+30h+var_58], rax ; +0x26, 0x14020bd86 movaps xmmword ptr [r11-48h], xmm7 ; +0x2a, 0x14020bd8a mov r14, rcx ; +0x2f, 0x14020bd8f call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x32, 0x14020bd92 mov rcx, rax ; +0x38, 0x14020bd98 lea rdx, [rsp+130h+var_E8] ; +0x3b, 0x14020bd9b call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x40, 0x14020bda0 mov rcx, [r14+1010h] ; +0x46, 0x14020bda6 mov rax, [rcx] ; +0x4d, 0x14020bdad call qword ptr [rax+0C8h] ; +0x50, 0x14020bdb0 mov rdx, rax ; +0x56, 0x14020bdb6 lea rcx, [rsp+130h+var_D8] ; +0x59, 0x14020bdb9 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x5e, 0x14020bdbe movss xmm1, [rsp+130h+var_E8] ; +0x64, 0x14020bdc4 lea rcx, [rsp+130h+var_F0] ; +0x6a, 0x14020bdca xorps xmm2, xmm2 ; +0x6f, 0x14020bdcf xorps xmm8, xmm8 ; +0x72, 0x14020bdd2 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x76, 0x14020bdd6 mov rcx, [r14+1010h] ; +0x7c, 0x14020bddc mov rbx, rax ; +0x83, 0x14020bde3 mov rdx, [rcx] ; +0x86, 0x14020bde6 call qword ptr [rdx+0C8h] ; +0x89, 0x14020bde9 mov r8, rbx ; +0x8f, 0x14020bdef lea rdx, [rsp+130h+var_E0] ; +0x92, 0x14020bdf2 mov rcx, rax ; +0x97, 0x14020bdf7 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x9a, 0x14020bdfa movss xmm2, dword ptr [rsp+4Ch] ; +0xa0, 0x14020be00 lea rcx, [rsp+130h+var_F0] ; +0xa6, 0x14020be06 movss xmm1, [rsp+130h+var_E8] ; +0xab, 0x14020be0b movss xmm6, dword ptr [r14+324h] ; +0xb1, 0x14020be11 mulss xmm2, cs:dword_140622B08 ; +0xba, 0x14020be1a mulss xmm1, cs:dword_140622B08 ; +0xc2, 0x14020be22 mulss xmm6, cs:dword_1406229BC ; +0xca, 0x14020be2a call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xd2, 0x14020be32 movss xmm3, dword ptr [rsp+4Ch] ; +0xd8, 0x14020be38 mov rdx, rax; int ; +0xde, 0x14020be3e movss xmm2, [rsp+130h+var_E8] ; +0xe1, 0x14020be41 mov rcx, [r14+3278h]; int ; +0xe7, 0x14020be47 movss dword ptr [rsp+20h], xmm6; X ; +0xee, 0x14020be4e call OBB2D__calculateWithCenter ; +0xf4, 0x14020be54 mov rdx, [r14+3278h] ; +0xf9, 0x14020be59 lea rcx, [rsp+130h+var_D0] ; +0x100, 0x14020be60 add rdx, 140h ; +0x105, 0x14020be65 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x10c, 0x14020be6c mov rdx, [r14+3278h] ; +0x112, 0x14020be72 lea rcx, [rsp+130h+var_C8] ; +0x119, 0x14020be79 add rdx, 148h ; +0x11e, 0x14020be7e call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x125, 0x14020be85 mov rdx, [r14+3278h] ; +0x12b, 0x14020be8b lea rcx, [rsp+130h+var_C0] ; +0x132, 0x14020be92 add rdx, 150h ; +0x137, 0x14020be97 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x13e, 0x14020be9e mov rdx, [r14+3278h] ; +0x144, 0x14020bea4 lea rcx, [rsp+130h+var_B8] ; +0x14b, 0x14020beab add rdx, 158h ; +0x150, 0x14020beb0 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x157, 0x14020beb7 lea rcx, [rbp+30h+var_78] ; +0x15d, 0x14020bebd call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x161, 0x14020bec1 lea rcx, [rbp+30h+var_70] ; +0x167, 0x14020bec7 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x16b, 0x14020becb lea rcx, [rbp+30h+var_68] ; +0x171, 0x14020bed1 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x175, 0x14020bed5 lea rcx, [rbp+30h+var_60] ; +0x17b, 0x14020bedb call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x17f, 0x14020bedf lea rax, [rsp+130h+var_E0] ; +0x185, 0x14020bee5 lea r9, [rsp+130h+var_D8] ; +0x18a, 0x14020beea mov [rsp+20h], rax ; +0x18f, 0x14020beef lea r8, [rsp+130h+var_C8] ; +0x194, 0x14020bef4 lea rdx, [rsp+130h+var_D0] ; +0x199, 0x14020bef9 lea rcx, [rsp+130h+var_F0] ; +0x19e, 0x14020befe call cs:?ccpIntersectPoint@cocos2d@@YA?AVCCPoint@1@AEBV21@000@Z; cocos2d::ccpIntersectPoint(cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x1a3, 0x14020bf03 mov rdx, rax ; +0x1a9, 0x14020bf09 lea rcx, [rbp+30h+var_78] ; +0x1ac, 0x14020bf0c call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1b0, 0x14020bf10 lea rax, [rsp+130h+var_E0] ; +0x1b6, 0x14020bf16 lea r9, [rsp+130h+var_D8] ; +0x1bb, 0x14020bf1b mov [rsp+20h], rax ; +0x1c0, 0x14020bf20 lea r8, [rsp+130h+var_C0] ; +0x1c5, 0x14020bf25 lea rdx, [rsp+130h+var_C8] ; +0x1ca, 0x14020bf2a lea rcx, [rsp+130h+var_F0] ; +0x1cf, 0x14020bf2f call cs:?ccpIntersectPoint@cocos2d@@YA?AVCCPoint@1@AEBV21@000@Z; cocos2d::ccpIntersectPoint(cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x1d4, 0x14020bf34 mov rdx, rax ; +0x1da, 0x14020bf3a lea rcx, [rbp+30h+var_70] ; +0x1dd, 0x14020bf3d call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1e1, 0x14020bf41 lea rax, [rsp+130h+var_E0] ; +0x1e7, 0x14020bf47 lea r9, [rsp+130h+var_D8] ; +0x1ec, 0x14020bf4c mov [rsp+20h], rax ; +0x1f1, 0x14020bf51 lea r8, [rsp+130h+var_B8] ; +0x1f6, 0x14020bf56 lea rdx, [rsp+130h+var_C0] ; +0x1fb, 0x14020bf5b lea rcx, [rsp+130h+var_F0] ; +0x200, 0x14020bf60 call cs:?ccpIntersectPoint@cocos2d@@YA?AVCCPoint@1@AEBV21@000@Z; cocos2d::ccpIntersectPoint(cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x205, 0x14020bf65 mov rdx, rax ; +0x20b, 0x14020bf6b lea rcx, [rbp+30h+var_68] ; +0x20e, 0x14020bf6e call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x212, 0x14020bf72 lea rax, [rsp+130h+var_E0] ; +0x218, 0x14020bf78 lea r9, [rsp+130h+var_D8] ; +0x21d, 0x14020bf7d mov [rsp+20h], rax ; +0x222, 0x14020bf82 lea r8, [rsp+130h+var_D0] ; +0x227, 0x14020bf87 lea rdx, [rsp+130h+var_B8] ; +0x22c, 0x14020bf8c lea rcx, [rsp+130h+var_F0] ; +0x231, 0x14020bf91 call cs:?ccpIntersectPoint@cocos2d@@YA?AVCCPoint@1@AEBV21@000@Z; cocos2d::ccpIntersectPoint(cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x236, 0x14020bf96 mov rdx, rax ; +0x23c, 0x14020bf9c lea rcx, [rbp+30h+var_60] ; +0x23f, 0x14020bf9f call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x243, 0x14020bfa3 movss xmm7, [rsp+130h+var_D0] ; +0x249, 0x14020bfa9 movss xmm3, [rsp+130h+var_C8] ; +0x24f, 0x14020bfaf movaps xmm0, xmm7 ; +0x255, 0x14020bfb5 movss xmm2, [rbp+30h+var_78] ; +0x258, 0x14020bfb8 minss xmm0, xmm3 ; +0x25d, 0x14020bfbd movss xmm5, [rsp+130h+var_CC] ; +0x261, 0x14020bfc1 movss xmm1, [rsp+130h+var_C4] ; +0x267, 0x14020bfc7 comiss xmm0, xmm2 ; +0x26d, 0x14020bfcd ja short loc_14020C000 ; +0x270, 0x14020bfd0 movaps xmm0, xmm7 ; +0x272, 0x14020bfd2 maxss xmm0, xmm3 ; +0x275, 0x14020bfd5 comiss xmm2, xmm0 ; +0x279, 0x14020bfd9 ja short loc_14020C000 ; +0x27c, 0x14020bfdc movss xmm2, [rbp+30h+var_74] ; +0x27e, 0x14020bfde movaps xmm0, xmm5 ; +0x283, 0x14020bfe3 minss xmm0, xmm1 ; +0x286, 0x14020bfe6 comiss xmm0, xmm2 ; +0x28a, 0x14020bfea ja short loc_14020C000 ; +0x28d, 0x14020bfed movaps xmm0, xmm5 ; +0x28f, 0x14020bfef maxss xmm0, xmm1 ; +0x292, 0x14020bff2 comiss xmm2, xmm0 ; +0x296, 0x14020bff6 ja short loc_14020C000 ; +0x299, 0x14020bff9 mov r10b, 1 ; +0x29b, 0x14020bffb jmp short loc_14020C003 ; +0x29e, 0x14020bffe xor r10b, r10b ; +0x2a0, 0x14020c000 movss xmm4, [rsp+130h+var_C0] ; +0x2a3, 0x14020c003 movaps xmm0, xmm3 ; +0x2a9, 0x14020c009 movss xmm6, [rbp+30h+var_70] ; +0x2ac, 0x14020c00c minss xmm0, xmm4 ; +0x2b1, 0x14020c011 movss xmm2, [rsp+130h+var_BC] ; +0x2b5, 0x14020c015 comiss xmm0, xmm6 ; +0x2bb, 0x14020c01b ja short loc_14020C048 ; +0x2be, 0x14020c01e maxss xmm3, xmm4 ; +0x2c0, 0x14020c020 comiss xmm6, xmm3 ; +0x2c4, 0x14020c024 ja short loc_14020C048 ; +0x2c7, 0x14020c027 movss xmm3, [rbp+30h+var_6C] ; +0x2c9, 0x14020c029 movaps xmm0, xmm1 ; +0x2ce, 0x14020c02e minss xmm0, xmm2 ; +0x2d1, 0x14020c031 comiss xmm0, xmm3 ; +0x2d5, 0x14020c035 ja short loc_14020C048 ; +0x2d8, 0x14020c038 maxss xmm1, xmm2 ; +0x2da, 0x14020c03a comiss xmm3, xmm1 ; +0x2de, 0x14020c03e ja short loc_14020C048 ; +0x2e1, 0x14020c041 mov r9b, 1 ; +0x2e3, 0x14020c043 jmp short loc_14020C04B ; +0x2e6, 0x14020c046 xor r9b, r9b ; +0x2e8, 0x14020c048 movss xmm3, dword ptr [rsp+130h+var_B8] ; +0x2eb, 0x14020c04b movaps xmm0, xmm4 ; +0x2f1, 0x14020c051 movss xmm6, [rbp+30h+var_68] ; +0x2f4, 0x14020c054 minss xmm0, xmm3 ; +0x2f9, 0x14020c059 movss xmm1, dword ptr [rsp+130h+var_B8+4] ; +0x2fd, 0x14020c05d comiss xmm0, xmm6 ; +0x303, 0x14020c063 ja short loc_14020C090 ; +0x306, 0x14020c066 maxss xmm4, xmm3 ; +0x308, 0x14020c068 comiss xmm6, xmm4 ; +0x30c, 0x14020c06c ja short loc_14020C090 ; +0x30f, 0x14020c06f movss xmm4, [rbp+30h+var_64] ; +0x311, 0x14020c071 movaps xmm0, xmm2 ; +0x316, 0x14020c076 minss xmm0, xmm1 ; +0x319, 0x14020c079 comiss xmm0, xmm4 ; +0x31d, 0x14020c07d ja short loc_14020C090 ; +0x320, 0x14020c080 maxss xmm2, xmm1 ; +0x322, 0x14020c082 comiss xmm4, xmm2 ; +0x326, 0x14020c086 ja short loc_14020C090 ; +0x329, 0x14020c089 mov r8b, 1 ; +0x32b, 0x14020c08b jmp short loc_14020C093 ; +0x32e, 0x14020c08e xor r8b, r8b ; +0x330, 0x14020c090 movss xmm2, [rbp+30h+var_60] ; +0x333, 0x14020c093 movaps xmm0, xmm3 ; +0x338, 0x14020c098 minss xmm0, xmm7 ; +0x33b, 0x14020c09b comiss xmm0, xmm2 ; +0x33f, 0x14020c09f ja short loc_14020C0CB ; +0x342, 0x14020c0a2 maxss xmm3, xmm7 ; +0x344, 0x14020c0a4 comiss xmm2, xmm3 ; +0x348, 0x14020c0a8 ja short loc_14020C0CB ; +0x34b, 0x14020c0ab movss xmm2, [rbp+30h+var_5C] ; +0x34d, 0x14020c0ad movaps xmm0, xmm1 ; +0x352, 0x14020c0b2 minss xmm0, xmm5 ; +0x355, 0x14020c0b5 comiss xmm0, xmm2 ; +0x359, 0x14020c0b9 ja short loc_14020C0CB ; +0x35c, 0x14020c0bc maxss xmm1, xmm5 ; +0x35e, 0x14020c0be comiss xmm2, xmm1 ; +0x362, 0x14020c0c2 ja short loc_14020C0CB ; +0x365, 0x14020c0c5 mov dl, 1 ; +0x367, 0x14020c0c7 jmp short loc_14020C0CD ; +0x369, 0x14020c0c9 xor dl, dl ; +0x36b, 0x14020c0cb movaps xmm7, [rsp+130h+var_48+8] ; +0x36d, 0x14020c0cd movzx eax, r8b ; +0x375, 0x14020c0d5 movzx ecx, dl ; +0x379, 0x14020c0d9 add ecx, eax ; +0x37c, 0x14020c0dc movzx eax, r9b ; +0x37e, 0x14020c0de add ecx, eax ; +0x382, 0x14020c0e2 movzx eax, r10b ; +0x384, 0x14020c0e4 add ecx, eax ; +0x388, 0x14020c0e8 cmp ecx, 2 ; +0x38a, 0x14020c0ea jnz loc_14020C459 ; +0x38d, 0x14020c0ed mov [rsp+130h+arg_8], rsi ; +0x393, 0x14020c0f3 lea esi, [rcx-3] ; +0x39b, 0x14020c0fb mov [rsp+130h+arg_10], rdi ; +0x39e, 0x14020c0fe lea eax, [rsi+2] ; +0x3a6, 0x14020c106 mov [rsp+130h+arg_18], r12 ; +0x3a9, 0x14020c109 movzx ecx, r10b ; +0x3b1, 0x14020c111 dec ecx ; +0x3b5, 0x14020c115 mov [rsp+118h], r13 ; +0x3b7, 0x14020c117 mov [rsp+130h+var_20], r15 ; +0x3bf, 0x14020c11f test r9b, r9b ; +0x3c7, 0x14020c127 jz short loc_14020C136 ; +0x3ca, 0x14020c12a test ecx, ecx ; +0x3cc, 0x14020c12c jns short loc_14020C134 ; +0x3ce, 0x14020c12e mov ecx, eax ; +0x3d0, 0x14020c130 jmp short loc_14020C136 ; +0x3d2, 0x14020c132 mov esi, eax ; +0x3d4, 0x14020c134 mov r13d, 2 ; +0x3d6, 0x14020c136 test r8b, r8b ; +0x3dc, 0x14020c13c jz short loc_14020C151 ; +0x3df, 0x14020c13f test ecx, ecx ; +0x3e1, 0x14020c141 js short loc_14020C14E ; +0x3e3, 0x14020c143 test esi, esi ; +0x3e5, 0x14020c145 jns short loc_14020C151 ; +0x3e7, 0x14020c147 mov esi, r13d ; +0x3e9, 0x14020c149 jmp short loc_14020C151 ; +0x3ec, 0x14020c14c mov ecx, r13d ; +0x3ee, 0x14020c14e mov eax, 3 ; +0x3f1, 0x14020c151 test dl, dl ; +0x3f6, 0x14020c156 jz short loc_14020C15F ; +0x3f8, 0x14020c158 test esi, esi ; +0x3fa, 0x14020c15a cmovs esi, eax ; +0x3fc, 0x14020c15c movss xmm6, cs:dword_140623A2C ; +0x3ff, 0x14020c15f mov r15d, ecx ; +0x407, 0x14020c167 movsxd rax, ecx ; +0x40a, 0x14020c16a movaps xmm2, xmm6 ; +0x40d, 0x14020c16d movss xmm1, [rbp+rax*8+30h+var_78] ; +0x410, 0x14020c170 movsxd rax, esi ; +0x416, 0x14020c176 comiss xmm1, [rbp+rax*8+30h+var_78] ; +0x419, 0x14020c179 xorps xmm1, xmm1 ; +0x41e, 0x14020c17e cmovbe r15d, esi ; +0x421, 0x14020c181 cmovbe esi, ecx ; +0x425, 0x14020c185 lea rcx, [rsp+130h+var_F0] ; +0x428, 0x14020c188 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x42d, 0x14020c18d movsxd rcx, esi ; +0x433, 0x14020c193 lea rdi, [rbp+30h+var_78] ; +0x436, 0x14020c196 mov r8, rax ; +0x43a, 0x14020c19a lea rdx, [rbp+30h+var_B0] ; +0x43d, 0x14020c19d lea rdi, [rdi+rcx*8] ; +0x441, 0x14020c1a1 mov rcx, rdi ; +0x445, 0x14020c1a5 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x448, 0x14020c1a8 movaps xmm2, xmm6 ; +0x44e, 0x14020c1ae lea rcx, [rsp+130h+var_F0] ; +0x451, 0x14020c1b1 xorps xmm1, xmm1 ; +0x456, 0x14020c1b6 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x459, 0x14020c1b9 movsxd r12, r15d ; +0x45f, 0x14020c1bf lea rbx, [rbp+30h+var_78] ; +0x462, 0x14020c1c2 mov r8, rax ; +0x466, 0x14020c1c6 lea rdx, [rbp+30h+var_A8] ; +0x469, 0x14020c1c9 lea rbx, [rbx+r12*8] ; +0x46d, 0x14020c1cd mov rcx, rbx ; +0x471, 0x14020c1d1 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x474, 0x14020c1d4 lea eax, [rsi+1] ; +0x47a, 0x14020c1da mov ecx, 0FFFFFFFDh ; +0x47d, 0x14020c1dd cmp eax, 3 ; +0x482, 0x14020c1e2 mov eax, 1 ; +0x485, 0x14020c1e5 cmovle ecx, eax ; +0x48a, 0x14020c1ea mov rax, [r14+3278h] ; +0x48d, 0x14020c1ed add ecx, esi ; +0x494, 0x14020c1f4 add rax, 140h ; +0x496, 0x14020c1f6 movsxd rcx, ecx ; +0x49c, 0x14020c1fc lea rdx, [rax+rcx*8] ; +0x49f, 0x14020c1ff lea rcx, [rbp+30h+var_A0] ; +0x4a3, 0x14020c203 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4a7, 0x14020c207 lea eax, [rsi+2] ; +0x4ad, 0x14020c20d mov ecx, 0FFFFFFFEh ; +0x4b0, 0x14020c210 cmp eax, 3 ; +0x4b5, 0x14020c215 mov rax, [r14+3278h] ; +0x4b8, 0x14020c218 cmovle ecx, r13d ; +0x4bf, 0x14020c21f add rax, 140h ; +0x4c3, 0x14020c223 add ecx, esi ; +0x4c9, 0x14020c229 movsxd rcx, ecx ; +0x4cb, 0x14020c22b lea rdx, [rax+rcx*8] ; +0x4ce, 0x14020c22e lea rcx, [rbp+30h+var_98] ; +0x4d2, 0x14020c232 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4d6, 0x14020c236 mov rdx, rdi ; +0x4dc, 0x14020c23c lea rcx, [rsp+130h+var_100] ; +0x4df, 0x14020c23f call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4e4, 0x14020c244 mov rdx, rbx ; +0x4ea, 0x14020c24a lea rcx, [rsp+130h+var_F8] ; +0x4ed, 0x14020c24d call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4f2, 0x14020c252 movss xmm2, dword ptr [rsp+130h+var_100] ; +0x4f8, 0x14020c258 ucomiss xmm2, xmm8 ; +0x4fe, 0x14020c25e mov r13, [rsp+118h] ; +0x502, 0x14020c262 mov rdi, [rsp+130h+arg_10] ; +0x50a, 0x14020c26a mov rsi, [rsp+130h+arg_8] ; +0x512, 0x14020c272 jp short loc_14020C2B0 ; +0x51a, 0x14020c27a jnz short loc_14020C2B0 ; +0x51c, 0x14020c27c movss xmm0, dword ptr [rsp+130h+var_F8] ; +0x51e, 0x14020c27e ucomiss xmm0, xmm8 ; +0x524, 0x14020c284 jp short loc_14020C2B0 ; +0x528, 0x14020c288 jnz short loc_14020C2B0 ; +0x52a, 0x14020c28a lea rdx, [rbp+30h+var_B0] ; +0x52c, 0x14020c28c lea rcx, [rsp+130h+var_100] ; +0x530, 0x14020c290 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x535, 0x14020c295 lea rdx, [rbp+30h+var_A8] ; +0x53b, 0x14020c29b lea rcx, [rsp+130h+var_F8] ; +0x53f, 0x14020c29f call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x544, 0x14020c2a4 movss xmm2, dword ptr [rsp+130h+var_100] ; +0x54a, 0x14020c2aa movss xmm3, dword ptr [rbp+30h+var_A0] ; +0x550, 0x14020c2b0 movss xmm4, dword ptr [rbp+30h+var_98] ; +0x555, 0x14020c2b5 movaps xmm0, xmm3 ; +0x55a, 0x14020c2ba movss xmm1, [rbp+30h+var_B0] ; +0x55d, 0x14020c2bd minss xmm0, xmm4 ; +0x562, 0x14020c2c2 movss xmm6, dword ptr cs:xmmword_1406243C0 ; +0x566, 0x14020c2c6 comiss xmm1, xmm0 ; +0x56e, 0x14020c2ce jbe short loc_14020C2F0 ; +0x571, 0x14020c2d1 movaps xmm0, xmm3 ; +0x573, 0x14020c2d3 maxss xmm0, xmm4 ; +0x576, 0x14020c2d6 comiss xmm0, xmm1 ; +0x57a, 0x14020c2da jbe short loc_14020C2F0 ; +0x57d, 0x14020c2dd subss xmm1, xmm3 ; +0x57f, 0x14020c2df andps xmm1, xmm6 ; +0x583, 0x14020c2e3 subss xmm2, xmm1 ; +0x586, 0x14020c2e6 movss dword ptr [rsp+130h+var_100], xmm2 ; +0x58a, 0x14020c2ea mov rax, [r14+3278h] ; +0x590, 0x14020c2f0 lea rcx, [rbp+30h+var_90] ; +0x597, 0x14020c2f7 add rax, 140h ; +0x59b, 0x14020c2fb lea rdx, [rax+r12*8] ; +0x5a1, 0x14020c301 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x5a5, 0x14020c305 lea eax, [r15-1] ; +0x5ab, 0x14020c30b mov ecx, 3 ; +0x5af, 0x14020c30f test eax, eax ; +0x5b4, 0x14020c314 cmovs eax, ecx ; +0x5b6, 0x14020c316 mov ecx, eax ; +0x5b9, 0x14020c319 mov rax, [r14+3278h] ; +0x5bb, 0x14020c31b add rax, 140h ; +0x5c2, 0x14020c322 lea rdx, [rax+rcx*8] ; +0x5c8, 0x14020c328 lea rcx, [rbp+30h+var_88] ; +0x5cc, 0x14020c32c call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x5d0, 0x14020c330 movss xmm2, dword ptr [rbp+30h+var_90] ; +0x5d6, 0x14020c336 movss xmm3, dword ptr [rbp+30h+var_88] ; +0x5db, 0x14020c33b movaps xmm0, xmm2 ; +0x5e0, 0x14020c340 movss xmm1, [rbp+30h+var_A8] ; +0x5e3, 0x14020c343 minss xmm0, xmm3 ; +0x5e8, 0x14020c348 mov r15, [rsp+130h+var_20] ; +0x5ec, 0x14020c34c mov r12, [rsp+130h+arg_18] ; +0x5f4, 0x14020c354 comiss xmm1, xmm0 ; +0x5fc, 0x14020c35c jbe short loc_14020C384 ; +0x5ff, 0x14020c35f movaps xmm0, xmm2 ; +0x601, 0x14020c361 maxss xmm0, xmm3 ; +0x604, 0x14020c364 comiss xmm0, xmm1 ; +0x608, 0x14020c368 jbe short loc_14020C384 ; +0x60b, 0x14020c36b movss xmm0, dword ptr [rsp+130h+var_F8] ; +0x60d, 0x14020c36d subss xmm1, xmm2 ; +0x613, 0x14020c373 andps xmm1, xmm6 ; +0x617, 0x14020c377 addss xmm0, xmm1 ; +0x61a, 0x14020c37a movss dword ptr [rsp+130h+var_F8], xmm0 ; +0x61e, 0x14020c37e mov rcx, [r14+1018h] ; +0x624, 0x14020c384 mov rax, [rcx] ; +0x62b, 0x14020c38b call qword ptr [rax+0C8h] ; +0x62e, 0x14020c38e movss xmm1, [rsp+130h+var_E8] ; +0x634, 0x14020c394 lea rcx, [rbp+30h+var_80] ; +0x63a, 0x14020c39a subss xmm1, dword ptr [rsp+130h+var_100] ; +0x63e, 0x14020c39e movss xmm2, dword ptr [rax+4] ; +0x644, 0x14020c3a4 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x649, 0x14020c3a9 movss xmm2, dword ptr [rsp+130h+var_F8] ; +0x64f, 0x14020c3af movss xmm4, dword ptr [r14+1A8h] ; +0x655, 0x14020c3b5 movaps xmm3, xmm2 ; +0x65e, 0x14020c3be movss xmm1, dword ptr [rsp+130h+var_100] ; +0x661, 0x14020c3c1 movaps xmm0, xmm4 ; +0x667, 0x14020c3c7 mulss xmm0, cs:dword_1406233A4 ; +0x66a, 0x14020c3ca subss xmm3, xmm1 ; +0x672, 0x14020c3d2 movss xmm6, [rbp+30h+var_80] ; +0x676, 0x14020c3d6 subss xmm6, xmm2 ; +0x67b, 0x14020c3db comiss xmm0, xmm3 ; +0x67f, 0x14020c3df jbe short loc_14020C404 ; +0x682, 0x14020c3e2 subss xmm0, xmm3 ; +0x684, 0x14020c3e4 mulss xmm0, cs:dword_140622B08 ; +0x688, 0x14020c3e8 subss xmm1, xmm0 ; +0x690, 0x14020c3f0 addss xmm2, xmm0 ; +0x694, 0x14020c3f4 movss dword ptr [rsp+130h+var_100], xmm1 ; +0x698, 0x14020c3f8 movss dword ptr [rsp+130h+var_F8], xmm2 ; +0x69e, 0x14020c3fe movss xmm0, cs:flt_140622C24 ; +0x6a4, 0x14020c404 ucomiss xmm4, xmm0 ; +0x6ac, 0x14020c40c jp short loc_14020C413 ; +0x6af, 0x14020c40f jz short loc_14020C42F ; +0x6b1, 0x14020c411 divss xmm0, xmm4 ; +0x6b3, 0x14020c413 mulss xmm1, xmm0 ; +0x6b7, 0x14020c417 mulss xmm2, xmm0 ; +0x6bb, 0x14020c41b movss dword ptr [rsp+130h+var_100], xmm1 ; +0x6bf, 0x14020c41f mulss xmm6, xmm0 ; +0x6c5, 0x14020c425 movss dword ptr [rsp+130h+var_F8], xmm2 ; +0x6c9, 0x14020c429 mov rcx, [r14+1010h] ; +0x6cf, 0x14020c42f call GJGroundLayer__updateShadowXPos ; +0x6d6, 0x14020c436 mov rcx, [r14+1018h] ; +0x6db, 0x14020c43b movaps xmm2, xmm6 ; +0x6e2, 0x14020c442 addss xmm6, dword ptr [rsp+130h+var_100] ; +0x6e5, 0x14020c445 addss xmm2, dword ptr [rsp+130h+var_F8] ; +0x6eb, 0x14020c44b movaps xmm1, xmm6 ; +0x6f1, 0x14020c451 call GJGroundLayer__updateShadowXPos ; +0x6f4, 0x14020c454 mov rcx, qword ptr [rbp+30h+var_58] ; +0x6f9, 0x14020c459 xor rcx, rsp; StackCookie ; +0x6fd, 0x14020c45d call __security_check_cookie ; +0x700, 0x14020c460 movaps xmm6, [rsp+130h+var_38+8] ; +0x705, 0x14020c465 movaps xmm8, [rsp+130h+var_58+8] ; +0x70d, 0x14020c46d add rsp, 120h ; +0x716, 0x14020c476 pop r14 ; +0x71d, 0x14020c47d pop rbx ; +0x71f, 0x14020c47f pop rbp ; +0x720, 0x14020c480 retn ; +0x721, 0x14020c481