; ; GJBaseGameLayer::updateGroundShadows from 0x140311ef0 to 0x140312616 (1830 bytes) ; ; 4 xrefs: ; > GJBaseGameLayer::preUpdateVisibility @ 0x14033f562 ; > @ 0x1408b4960 ; > @ 0x1408b49ac ; > @ 0x14091e80c ; ; 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:30:16 +0000 ; mov r11, rsp ; +0x0, 0x140311ef0 push rbp ; +0x3, 0x140311ef3 push rbx ; +0x4, 0x140311ef4 push r14 ; +0x5, 0x140311ef5 lea rbp, [r11-38h] ; +0x7, 0x140311ef7 sub rsp, 120h ; +0xb, 0x140311efb movaps xmmword ptr [r11-38h], xmm6 ; +0x12, 0x140311f02 movaps xmmword ptr [r11-58h], xmm8 ; +0x17, 0x140311f07 mov rax, cs:__security_cookie ; +0x1c, 0x140311f0c xor rax, rsp ; +0x23, 0x140311f13 mov qword ptr [rbp+30h+var_58], rax ; +0x26, 0x140311f16 movaps xmmword ptr [r11-48h], xmm7 ; +0x2a, 0x140311f1a mov r14, rcx ; +0x2f, 0x140311f1f call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x32, 0x140311f22 mov rcx, rax ; +0x38, 0x140311f28 lea rdx, [rsp+130h+var_E8] ; +0x3b, 0x140311f2b call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x40, 0x140311f30 mov rcx, [r14+10F0h] ; +0x46, 0x140311f36 mov rax, [rcx] ; +0x4d, 0x140311f3d call qword ptr [rax+0C8h] ; +0x50, 0x140311f40 mov rdx, rax ; +0x56, 0x140311f46 lea rcx, [rsp+130h+var_D8] ; +0x59, 0x140311f49 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x5e, 0x140311f4e movss xmm1, dword ptr [rsp+130h+var_E8] ; +0x64, 0x140311f54 lea rcx, [rsp+130h+var_F0] ; +0x6a, 0x140311f5a xorps xmm2, xmm2 ; +0x6f, 0x140311f5f xorps xmm8, xmm8 ; +0x72, 0x140311f62 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x76, 0x140311f66 mov rcx, [r14+10F0h] ; +0x7c, 0x140311f6c mov rbx, rax ; +0x83, 0x140311f73 mov rdx, [rcx] ; +0x86, 0x140311f76 call qword ptr [rdx+0C8h] ; +0x89, 0x140311f79 mov r8, rbx ; +0x8f, 0x140311f7f lea rdx, [rsp+130h+var_E0] ; +0x92, 0x140311f82 mov rcx, rax ; +0x97, 0x140311f87 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x9a, 0x140311f8a movss xmm2, dword ptr [rsp+4Ch] ; +0xa0, 0x140311f90 lea rcx, [rsp+130h+var_F0] ; +0xa6, 0x140311f96 movss xmm1, dword ptr [rsp+130h+var_E8] ; +0xab, 0x140311f9b movss xmm6, dword ptr [r14+324h] ; +0xb1, 0x140311fa1 mulss xmm2, cs:dword_140834F20 ; +0xba, 0x140311faa mulss xmm1, cs:dword_140834F20 ; +0xc2, 0x140311fb2 mulss xmm6, cs:dword_140834DAC ; +0xca, 0x140311fba call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xd2, 0x140311fc2 movss xmm3, dword ptr [rsp+4Ch] ; +0xd8, 0x140311fc8 mov rdx, rax; int ; +0xde, 0x140311fce movss xmm2, dword ptr [rsp+130h+var_E8] ; +0xe1, 0x140311fd1 mov rcx, [r14+3378h]; int ; +0xe7, 0x140311fd7 movss dword ptr [rsp+20h], xmm6; X ; +0xee, 0x140311fde call OBB2D__calculateWithCenter ; +0xf4, 0x140311fe4 mov rdx, [r14+3378h] ; +0xf9, 0x140311fe9 lea rcx, [rsp+130h+var_D0] ; +0x100, 0x140311ff0 add rdx, 140h ; +0x105, 0x140311ff5 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x10c, 0x140311ffc mov rdx, [r14+3378h] ; +0x112, 0x140312002 lea rcx, [rsp+130h+var_C8] ; +0x119, 0x140312009 add rdx, 148h ; +0x11e, 0x14031200e call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x125, 0x140312015 mov rdx, [r14+3378h] ; +0x12b, 0x14031201b lea rcx, [rsp+130h+var_C0] ; +0x132, 0x140312022 add rdx, 150h ; +0x137, 0x140312027 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x13e, 0x14031202e mov rdx, [r14+3378h] ; +0x144, 0x140312034 lea rcx, [rsp+78h] ; +0x14b, 0x14031203b add rdx, 158h ; +0x150, 0x140312040 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x157, 0x140312047 lea rcx, [rbp+30h+var_78] ; +0x15d, 0x14031204d call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x161, 0x140312051 lea rcx, [rbp+30h+var_70] ; +0x167, 0x140312057 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x16b, 0x14031205b lea rcx, [rbp+30h+var_68] ; +0x171, 0x140312061 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x175, 0x140312065 lea rcx, [rbp+30h+var_60] ; +0x17b, 0x14031206b call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x17f, 0x14031206f lea rax, [rsp+130h+var_E0] ; +0x185, 0x140312075 lea r9, [rsp+130h+var_D8] ; +0x18a, 0x14031207a mov [rsp+20h], rax ; +0x18f, 0x14031207f lea r8, [rsp+130h+var_C8] ; +0x194, 0x140312084 lea rdx, [rsp+130h+var_D0] ; +0x199, 0x140312089 lea rcx, [rsp+130h+var_F0] ; +0x19e, 0x14031208e 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, 0x140312093 mov rdx, rax ; +0x1a9, 0x140312099 lea rcx, [rbp+30h+var_78] ; +0x1ac, 0x14031209c call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1b0, 0x1403120a0 lea rax, [rsp+130h+var_E0] ; +0x1b6, 0x1403120a6 lea r9, [rsp+130h+var_D8] ; +0x1bb, 0x1403120ab mov [rsp+20h], rax ; +0x1c0, 0x1403120b0 lea r8, [rsp+130h+var_C0] ; +0x1c5, 0x1403120b5 lea rdx, [rsp+130h+var_C8] ; +0x1ca, 0x1403120ba lea rcx, [rsp+130h+var_F0] ; +0x1cf, 0x1403120bf 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, 0x1403120c4 mov rdx, rax ; +0x1da, 0x1403120ca lea rcx, [rbp+30h+var_70] ; +0x1dd, 0x1403120cd call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1e1, 0x1403120d1 lea rax, [rsp+130h+var_E0] ; +0x1e7, 0x1403120d7 lea r9, [rsp+130h+var_D8] ; +0x1ec, 0x1403120dc mov [rsp+20h], rax ; +0x1f1, 0x1403120e1 lea r8, [rsp+78h] ; +0x1f6, 0x1403120e6 lea rdx, [rsp+130h+var_C0] ; +0x1fb, 0x1403120eb lea rcx, [rsp+130h+var_F0] ; +0x200, 0x1403120f0 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, 0x1403120f5 mov rdx, rax ; +0x20b, 0x1403120fb lea rcx, [rbp+30h+var_68] ; +0x20e, 0x1403120fe call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x212, 0x140312102 lea rax, [rsp+130h+var_E0] ; +0x218, 0x140312108 lea r9, [rsp+130h+var_D8] ; +0x21d, 0x14031210d mov [rsp+20h], rax ; +0x222, 0x140312112 lea r8, [rsp+130h+var_D0] ; +0x227, 0x140312117 lea rdx, [rsp+78h] ; +0x22c, 0x14031211c lea rcx, [rsp+130h+var_F0] ; +0x231, 0x140312121 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, 0x140312126 mov rdx, rax ; +0x23c, 0x14031212c lea rcx, [rbp+30h+var_60] ; +0x23f, 0x14031212f call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x243, 0x140312133 movss xmm7, [rsp+130h+var_D0] ; +0x249, 0x140312139 movss xmm3, [rsp+130h+var_C8] ; +0x24f, 0x14031213f movaps xmm0, xmm7 ; +0x255, 0x140312145 movss xmm2, [rbp+30h+var_78] ; +0x258, 0x140312148 minss xmm0, xmm3 ; +0x25d, 0x14031214d movss xmm5, [rsp+130h+var_CC] ; +0x261, 0x140312151 movss xmm1, [rsp+130h+var_C4] ; +0x267, 0x140312157 comiss xmm0, xmm2 ; +0x26d, 0x14031215d ja short loc_140312190 ; +0x270, 0x140312160 movaps xmm0, xmm7 ; +0x272, 0x140312162 maxss xmm0, xmm3 ; +0x275, 0x140312165 comiss xmm2, xmm0 ; +0x279, 0x140312169 ja short loc_140312190 ; +0x27c, 0x14031216c movss xmm2, [rbp+30h+var_74] ; +0x27e, 0x14031216e movaps xmm0, xmm5 ; +0x283, 0x140312173 minss xmm0, xmm1 ; +0x286, 0x140312176 comiss xmm0, xmm2 ; +0x28a, 0x14031217a ja short loc_140312190 ; +0x28d, 0x14031217d movaps xmm0, xmm5 ; +0x28f, 0x14031217f maxss xmm0, xmm1 ; +0x292, 0x140312182 comiss xmm2, xmm0 ; +0x296, 0x140312186 ja short loc_140312190 ; +0x299, 0x140312189 mov r10b, 1 ; +0x29b, 0x14031218b jmp short loc_140312193 ; +0x29e, 0x14031218e xor r10b, r10b ; +0x2a0, 0x140312190 movss xmm4, [rsp+130h+var_C0] ; +0x2a3, 0x140312193 movaps xmm0, xmm3 ; +0x2a9, 0x140312199 movss xmm6, [rbp+30h+var_70] ; +0x2ac, 0x14031219c minss xmm0, xmm4 ; +0x2b1, 0x1403121a1 movss xmm2, [rsp+130h+var_BC] ; +0x2b5, 0x1403121a5 comiss xmm0, xmm6 ; +0x2bb, 0x1403121ab ja short loc_1403121D8 ; +0x2be, 0x1403121ae maxss xmm3, xmm4 ; +0x2c0, 0x1403121b0 comiss xmm6, xmm3 ; +0x2c4, 0x1403121b4 ja short loc_1403121D8 ; +0x2c7, 0x1403121b7 movss xmm3, [rbp+30h+var_6C] ; +0x2c9, 0x1403121b9 movaps xmm0, xmm1 ; +0x2ce, 0x1403121be minss xmm0, xmm2 ; +0x2d1, 0x1403121c1 comiss xmm0, xmm3 ; +0x2d5, 0x1403121c5 ja short loc_1403121D8 ; +0x2d8, 0x1403121c8 maxss xmm1, xmm2 ; +0x2da, 0x1403121ca comiss xmm3, xmm1 ; +0x2de, 0x1403121ce ja short loc_1403121D8 ; +0x2e1, 0x1403121d1 mov r9b, 1 ; +0x2e3, 0x1403121d3 jmp short loc_1403121DB ; +0x2e6, 0x1403121d6 xor r9b, r9b ; +0x2e8, 0x1403121d8 movss xmm3, dword ptr [rsp+78h] ; +0x2eb, 0x1403121db movaps xmm0, xmm4 ; +0x2f1, 0x1403121e1 movss xmm6, [rbp+30h+var_68] ; +0x2f4, 0x1403121e4 minss xmm0, xmm3 ; +0x2f9, 0x1403121e9 movss xmm1, dword ptr [rsp+7Ch] ; +0x2fd, 0x1403121ed comiss xmm0, xmm6 ; +0x303, 0x1403121f3 ja short loc_140312220 ; +0x306, 0x1403121f6 maxss xmm4, xmm3 ; +0x308, 0x1403121f8 comiss xmm6, xmm4 ; +0x30c, 0x1403121fc ja short loc_140312220 ; +0x30f, 0x1403121ff movss xmm4, [rbp+30h+var_64] ; +0x311, 0x140312201 movaps xmm0, xmm2 ; +0x316, 0x140312206 minss xmm0, xmm1 ; +0x319, 0x140312209 comiss xmm0, xmm4 ; +0x31d, 0x14031220d ja short loc_140312220 ; +0x320, 0x140312210 maxss xmm2, xmm1 ; +0x322, 0x140312212 comiss xmm4, xmm2 ; +0x326, 0x140312216 ja short loc_140312220 ; +0x329, 0x140312219 mov r8b, 1 ; +0x32b, 0x14031221b jmp short loc_140312223 ; +0x32e, 0x14031221e xor r8b, r8b ; +0x330, 0x140312220 movss xmm2, [rbp+30h+var_60] ; +0x333, 0x140312223 movaps xmm0, xmm3 ; +0x338, 0x140312228 minss xmm0, xmm7 ; +0x33b, 0x14031222b comiss xmm0, xmm2 ; +0x33f, 0x14031222f ja short loc_14031225B ; +0x342, 0x140312232 maxss xmm3, xmm7 ; +0x344, 0x140312234 comiss xmm2, xmm3 ; +0x348, 0x140312238 ja short loc_14031225B ; +0x34b, 0x14031223b movss xmm2, [rbp+30h+var_5C] ; +0x34d, 0x14031223d movaps xmm0, xmm1 ; +0x352, 0x140312242 minss xmm0, xmm5 ; +0x355, 0x140312245 comiss xmm0, xmm2 ; +0x359, 0x140312249 ja short loc_14031225B ; +0x35c, 0x14031224c maxss xmm1, xmm5 ; +0x35e, 0x14031224e comiss xmm2, xmm1 ; +0x362, 0x140312252 ja short loc_14031225B ; +0x365, 0x140312255 mov dl, 1 ; +0x367, 0x140312257 jmp short loc_14031225D ; +0x369, 0x140312259 xor dl, dl ; +0x36b, 0x14031225b movaps xmm7, [rsp+130h+var_48+8] ; +0x36d, 0x14031225d movzx eax, r8b ; +0x375, 0x140312265 movzx ecx, dl ; +0x379, 0x140312269 add ecx, eax ; +0x37c, 0x14031226c movzx eax, r9b ; +0x37e, 0x14031226e add ecx, eax ; +0x382, 0x140312272 movzx eax, r10b ; +0x384, 0x140312274 add ecx, eax ; +0x388, 0x140312278 cmp ecx, 2 ; +0x38a, 0x14031227a jnz loc_1403125ED ; +0x38d, 0x14031227d mov [rsp+130h+arg_8], rsi ; +0x393, 0x140312283 mov eax, 1 ; +0x39b, 0x14031228b mov [rsp+130h+arg_10], rdi ; +0x3a0, 0x140312290 mov esi, 0FFFFFFFFh ; +0x3a8, 0x140312298 mov [rsp+130h+arg_18], r12 ; +0x3ad, 0x14031229d movzx ecx, r10b ; +0x3b5, 0x1403122a5 dec ecx ; +0x3b9, 0x1403122a9 mov [rsp+118h], r13 ; +0x3bb, 0x1403122ab mov [rsp+130h+var_20], r15 ; +0x3c3, 0x1403122b3 test r9b, r9b ; +0x3cb, 0x1403122bb jz short loc_1403122CA ; +0x3ce, 0x1403122be test ecx, ecx ; +0x3d0, 0x1403122c0 jns short loc_1403122C8 ; +0x3d2, 0x1403122c2 mov ecx, eax ; +0x3d4, 0x1403122c4 jmp short loc_1403122CA ; +0x3d6, 0x1403122c6 mov esi, eax ; +0x3d8, 0x1403122c8 mov r13d, 2 ; +0x3da, 0x1403122ca test r8b, r8b ; +0x3e0, 0x1403122d0 jz short loc_1403122E5 ; +0x3e3, 0x1403122d3 test ecx, ecx ; +0x3e5, 0x1403122d5 js short loc_1403122E2 ; +0x3e7, 0x1403122d7 test esi, esi ; +0x3e9, 0x1403122d9 jns short loc_1403122E5 ; +0x3eb, 0x1403122db mov esi, r13d ; +0x3ed, 0x1403122dd jmp short loc_1403122E5 ; +0x3f0, 0x1403122e0 mov ecx, r13d ; +0x3f2, 0x1403122e2 mov eax, 3 ; +0x3f5, 0x1403122e5 test dl, dl ; +0x3fa, 0x1403122ea jz short loc_1403122F3 ; +0x3fc, 0x1403122ec test esi, esi ; +0x3fe, 0x1403122ee cmovs esi, eax ; +0x400, 0x1403122f0 movss xmm6, cs:dword_140835FF4 ; +0x403, 0x1403122f3 mov r15d, ecx ; +0x40b, 0x1403122fb movsxd rax, ecx ; +0x40e, 0x1403122fe movaps xmm2, xmm6 ; +0x411, 0x140312301 movss xmm1, [rbp+rax*8+30h+var_78] ; +0x414, 0x140312304 movsxd rax, esi ; +0x41a, 0x14031230a comiss xmm1, [rbp+rax*8+30h+var_78] ; +0x41d, 0x14031230d xorps xmm1, xmm1 ; +0x422, 0x140312312 cmovbe r15d, esi ; +0x425, 0x140312315 cmovbe esi, ecx ; +0x429, 0x140312319 lea rcx, [rsp+130h+var_F0] ; +0x42c, 0x14031231c call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x431, 0x140312321 movsxd rcx, esi ; +0x437, 0x140312327 lea rdi, [rbp+30h+var_78] ; +0x43a, 0x14031232a mov r8, rax ; +0x43e, 0x14031232e lea rdx, [rbp+30h+var_B0] ; +0x441, 0x140312331 lea rdi, [rdi+rcx*8] ; +0x445, 0x140312335 mov rcx, rdi ; +0x449, 0x140312339 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x44c, 0x14031233c movaps xmm2, xmm6 ; +0x452, 0x140312342 lea rcx, [rsp+130h+var_F0] ; +0x455, 0x140312345 xorps xmm1, xmm1 ; +0x45a, 0x14031234a call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x45d, 0x14031234d movsxd r12, r15d ; +0x463, 0x140312353 lea rbx, [rbp+30h+var_78] ; +0x466, 0x140312356 mov r8, rax ; +0x46a, 0x14031235a lea rdx, [rbp+30h+var_A8] ; +0x46d, 0x14031235d lea rbx, [rbx+r12*8] ; +0x471, 0x140312361 mov rcx, rbx ; +0x475, 0x140312365 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x478, 0x140312368 lea eax, [rsi+1] ; +0x47e, 0x14031236e mov ecx, 0FFFFFFFDh ; +0x481, 0x140312371 cmp eax, 3 ; +0x486, 0x140312376 mov eax, 1 ; +0x489, 0x140312379 cmovle ecx, eax ; +0x48e, 0x14031237e mov rax, [r14+3378h] ; +0x491, 0x140312381 add ecx, esi ; +0x498, 0x140312388 add rax, 140h ; +0x49a, 0x14031238a movsxd rcx, ecx ; +0x4a0, 0x140312390 lea rdx, [rax+rcx*8] ; +0x4a3, 0x140312393 lea rcx, [rbp+30h+var_A0] ; +0x4a7, 0x140312397 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4ab, 0x14031239b lea eax, [rsi+2] ; +0x4b1, 0x1403123a1 mov ecx, 0FFFFFFFEh ; +0x4b4, 0x1403123a4 cmp eax, 3 ; +0x4b9, 0x1403123a9 mov rax, [r14+3378h] ; +0x4bc, 0x1403123ac cmovle ecx, r13d ; +0x4c3, 0x1403123b3 add rax, 140h ; +0x4c7, 0x1403123b7 add ecx, esi ; +0x4cd, 0x1403123bd movsxd rcx, ecx ; +0x4cf, 0x1403123bf lea rdx, [rax+rcx*8] ; +0x4d2, 0x1403123c2 lea rcx, [rbp+30h+var_98] ; +0x4d6, 0x1403123c6 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4da, 0x1403123ca mov rdx, rdi ; +0x4e0, 0x1403123d0 lea rcx, [rsp+130h+var_100] ; +0x4e3, 0x1403123d3 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4e8, 0x1403123d8 mov rdx, rbx ; +0x4ee, 0x1403123de lea rcx, [rsp+130h+var_F8] ; +0x4f1, 0x1403123e1 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4f6, 0x1403123e6 movss xmm2, [rsp+130h+var_100] ; +0x4fc, 0x1403123ec ucomiss xmm2, xmm8 ; +0x502, 0x1403123f2 mov r13, [rsp+118h] ; +0x506, 0x1403123f6 mov rdi, [rsp+130h+arg_10] ; +0x50e, 0x1403123fe mov rsi, [rsp+130h+arg_8] ; +0x516, 0x140312406 jp short loc_140312444 ; +0x51e, 0x14031240e jnz short loc_140312444 ; +0x520, 0x140312410 movss xmm0, dword ptr [rsp+130h+var_F8] ; +0x522, 0x140312412 ucomiss xmm0, xmm8 ; +0x528, 0x140312418 jp short loc_140312444 ; +0x52c, 0x14031241c jnz short loc_140312444 ; +0x52e, 0x14031241e lea rdx, [rbp+30h+var_B0] ; +0x530, 0x140312420 lea rcx, [rsp+130h+var_100] ; +0x534, 0x140312424 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x539, 0x140312429 lea rdx, [rbp+30h+var_A8] ; +0x53f, 0x14031242f lea rcx, [rsp+130h+var_F8] ; +0x543, 0x140312433 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x548, 0x140312438 movss xmm2, [rsp+130h+var_100] ; +0x54e, 0x14031243e movss xmm3, [rbp+30h+var_A0] ; +0x554, 0x140312444 movss xmm4, [rbp+30h+var_98] ; +0x559, 0x140312449 movaps xmm0, xmm3 ; +0x55e, 0x14031244e movss xmm1, [rbp+30h+var_B0] ; +0x561, 0x140312451 minss xmm0, xmm4 ; +0x566, 0x140312456 comiss xmm1, xmm0 ; +0x56a, 0x14031245a jbe short loc_140312480 ; +0x56d, 0x14031245d movaps xmm0, xmm3 ; +0x56f, 0x14031245f maxss xmm0, xmm4 ; +0x572, 0x140312462 comiss xmm0, xmm1 ; +0x576, 0x140312466 jbe short loc_140312480 ; +0x579, 0x140312469 subss xmm1, xmm3 ; +0x57b, 0x14031246b andps xmm1, cs:xmmword_140836C90 ; +0x57f, 0x14031246f subss xmm2, xmm1 ; +0x586, 0x140312476 movss [rsp+130h+var_100], xmm2 ; +0x58a, 0x14031247a mov rax, [r14+3378h] ; +0x590, 0x140312480 lea rcx, [rbp+30h+var_90] ; +0x597, 0x140312487 add rax, 140h ; +0x59b, 0x14031248b lea rdx, [rax+r12*8] ; +0x5a1, 0x140312491 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x5a5, 0x140312495 lea eax, [r15-1] ; +0x5ab, 0x14031249b mov ecx, 3 ; +0x5af, 0x14031249f test eax, eax ; +0x5b4, 0x1403124a4 cmovs eax, ecx ; +0x5b6, 0x1403124a6 mov ecx, eax ; +0x5b9, 0x1403124a9 mov rax, [r14+3378h] ; +0x5bb, 0x1403124ab add rax, 140h ; +0x5c2, 0x1403124b2 lea rdx, [rax+rcx*8] ; +0x5c8, 0x1403124b8 lea rcx, [rbp+30h+var_88] ; +0x5cc, 0x1403124bc call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x5d0, 0x1403124c0 movss xmm2, [rbp+30h+var_90] ; +0x5d6, 0x1403124c6 movss xmm3, [rbp+30h+var_88] ; +0x5db, 0x1403124cb movaps xmm0, xmm2 ; +0x5e0, 0x1403124d0 movss xmm1, [rbp+30h+var_A8] ; +0x5e3, 0x1403124d3 minss xmm0, xmm3 ; +0x5e8, 0x1403124d8 mov r15, [rsp+130h+var_20] ; +0x5ec, 0x1403124dc mov r12, [rsp+130h+arg_18] ; +0x5f4, 0x1403124e4 comiss xmm1, xmm0 ; +0x5fc, 0x1403124ec jbe short loc_140312518 ; +0x5ff, 0x1403124ef movaps xmm0, xmm2 ; +0x601, 0x1403124f1 maxss xmm0, xmm3 ; +0x604, 0x1403124f4 comiss xmm0, xmm1 ; +0x608, 0x1403124f8 jbe short loc_140312518 ; +0x60b, 0x1403124fb movss xmm0, dword ptr [rsp+130h+var_F8] ; +0x60d, 0x1403124fd subss xmm1, xmm2 ; +0x613, 0x140312503 andps xmm1, cs:xmmword_140836C90 ; +0x617, 0x140312507 addss xmm0, xmm1 ; +0x61e, 0x14031250e movss dword ptr [rsp+130h+var_F8], xmm0 ; +0x622, 0x140312512 mov rcx, [r14+10F8h] ; +0x628, 0x140312518 mov rax, [rcx] ; +0x62f, 0x14031251f call qword ptr [rax+0C8h] ; +0x632, 0x140312522 movss xmm1, dword ptr [rsp+130h+var_E8] ; +0x638, 0x140312528 lea rcx, [rbp+30h+var_80] ; +0x63e, 0x14031252e subss xmm1, [rsp+130h+var_100] ; +0x642, 0x140312532 movss xmm2, dword ptr [rax+4] ; +0x648, 0x140312538 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x64d, 0x14031253d movss xmm2, dword ptr [rsp+130h+var_F8] ; +0x653, 0x140312543 movss xmm4, dword ptr [r14+1A8h] ; +0x659, 0x140312549 movaps xmm3, xmm2 ; +0x662, 0x140312552 movss xmm1, [rsp+130h+var_100] ; +0x665, 0x140312555 movaps xmm0, xmm4 ; +0x66b, 0x14031255b mulss xmm0, cs:dword_1408358B8 ; +0x66e, 0x14031255e subss xmm3, xmm1 ; +0x676, 0x140312566 movss xmm6, [rbp+30h+var_80] ; +0x67a, 0x14031256a subss xmm6, xmm2 ; +0x67f, 0x14031256f comiss xmm0, xmm3 ; +0x683, 0x140312573 jbe short loc_140312598 ; +0x686, 0x140312576 subss xmm0, xmm3 ; +0x688, 0x140312578 mulss xmm0, cs:dword_140834F20 ; +0x68c, 0x14031257c subss xmm1, xmm0 ; +0x694, 0x140312584 addss xmm2, xmm0 ; +0x698, 0x140312588 movss [rsp+130h+var_100], xmm1 ; +0x69c, 0x14031258c movss dword ptr [rsp+130h+var_F8], xmm2 ; +0x6a2, 0x140312592 movss xmm0, cs:flt_140835080 ; +0x6a8, 0x140312598 ucomiss xmm4, xmm0 ; +0x6b0, 0x1403125a0 jp short loc_1403125A7 ; +0x6b3, 0x1403125a3 jz short loc_1403125C3 ; +0x6b5, 0x1403125a5 divss xmm0, xmm4 ; +0x6b7, 0x1403125a7 mulss xmm1, xmm0 ; +0x6bb, 0x1403125ab mulss xmm2, xmm0 ; +0x6bf, 0x1403125af movss [rsp+130h+var_100], xmm1 ; +0x6c3, 0x1403125b3 mulss xmm6, xmm0 ; +0x6c9, 0x1403125b9 movss dword ptr [rsp+130h+var_F8], xmm2 ; +0x6cd, 0x1403125bd mov rcx, [r14+10F0h] ; +0x6d3, 0x1403125c3 call GJGroundLayer__updateShadowXPos ; +0x6da, 0x1403125ca mov rcx, [r14+10F8h] ; +0x6df, 0x1403125cf movaps xmm2, xmm6 ; +0x6e6, 0x1403125d6 addss xmm6, [rsp+130h+var_100] ; +0x6e9, 0x1403125d9 addss xmm2, dword ptr [rsp+130h+var_F8] ; +0x6ef, 0x1403125df movaps xmm1, xmm6 ; +0x6f5, 0x1403125e5 call GJGroundLayer__updateShadowXPos ; +0x6f8, 0x1403125e8 mov rcx, qword ptr [rbp+30h+var_58] ; +0x6fd, 0x1403125ed xor rcx, rsp; StackCookie ; +0x701, 0x1403125f1 call __security_check_cookie ; +0x704, 0x1403125f4 movaps xmm6, [rsp+130h+var_38+8] ; +0x709, 0x1403125f9 movaps xmm8, [rsp+130h+var_58+8] ; +0x711, 0x140312601 add rsp, 120h ; +0x71a, 0x14031260a pop r14 ; +0x721, 0x140312611 pop rbx ; +0x723, 0x140312613 pop rbp ; +0x724, 0x140312614 retn ; +0x725, 0x140312615