; ; GJBaseGameLayer::updateCameraBGArt from 0x14023e450 to 0x14023ee35 (2533 bytes) ; ; 5 xrefs: ; > GJBaseGameLayer::updateCamera @ 0x14023e30c ; > LevelEditorLayer::updateEditor @ 0x1402d8d7b ; > @ 0x140681950 ; > @ 0x140681a30 ; > @ 0x1406ce2bc ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov rax, rsp ; +0x0, 0x14023e450 push rbp ; +0x3, 0x14023e453 lea rbp, [rax-28h] ; +0x4, 0x14023e454 sub rsp, 120h ; +0x8, 0x14023e458 mov [rax+10h], rbx ; +0xf, 0x14023e45f mov rbx, rdx ; +0x13, 0x14023e463 mov [rax-10h], rsi ; +0x16, 0x14023e466 mov rsi, rcx ; +0x1a, 0x14023e46a mov [rax-18h], rdi ; +0x1d, 0x14023e46d mov [rax-20h], r12 ; +0x21, 0x14023e471 mov [rax-28h], r13 ; +0x25, 0x14023e475 mov [rax-30h], r14 ; +0x29, 0x14023e479 mov [rax-38h], r15 ; +0x2d, 0x14023e47d movaps xmmword ptr [rax-48h], xmm6 ; +0x31, 0x14023e481 movaps xmmword ptr [rax-58h], xmm7 ; +0x35, 0x14023e485 movaps xmmword ptr [rax-68h], xmm8 ; +0x39, 0x14023e489 movaps xmmword ptr [rax-78h], xmm9 ; +0x3e, 0x14023e48e movaps xmmword ptr [rax-88h], xmm10 ; +0x43, 0x14023e493 movaps xmmword ptr [rax-98h], xmm11 ; +0x4b, 0x14023e49b movaps xmm11, xmm2 ; +0x53, 0x14023e4a3 movaps xmmword ptr [rax-0A8h], xmm12 ; +0x57, 0x14023e4a7 movaps [rsp+120h+var_C8+8], xmm14 ; +0x5f, 0x14023e4af movaps [rsp+120h+var_D8+8], xmm15 ; +0x65, 0x14023e4b5 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x6b, 0x14023e4bb mov rcx, rax ; +0x71, 0x14023e4c1 lea rdx, [rsp+120h+var_F0] ; +0x74, 0x14023e4c4 call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x79, 0x14023e4c9 cmp byte ptr [rsi+309Ch], 0 ; +0x7f, 0x14023e4cf jz short loc_14023E4E6 ; +0x86, 0x14023e4d6 cmp byte ptr [rsi+3258h], 0 ; +0x88, 0x14023e4d8 jnz short loc_14023E4E6 ; +0x8f, 0x14023e4df mov r14b, 1 ; +0x91, 0x14023e4e1 jmp short loc_14023E4E9 ; +0x94, 0x14023e4e4 xor r14b, r14b ; +0x96, 0x14023e4e6 movss xmm0, dword ptr [rsi+1A8h] ; +0x99, 0x14023e4e9 lea rcx, [rsp+120h+var_D8] ; +0xa1, 0x14023e4f1 movss xmm7, [rsp+120h+var_F0] ; +0xa6, 0x14023e4f6 movss xmm6, dword ptr [rsp+34h] ; +0xac, 0x14023e4fc movaps xmm1, xmm7 ; +0xb2, 0x14023e502 movss xmm12, cs:dword_140622B08 ; +0xb5, 0x14023e505 movaps xmm2, xmm6 ; +0xbe, 0x14023e50e divss xmm1, xmm0 ; +0xc1, 0x14023e511 divss xmm2, xmm0 ; +0xc5, 0x14023e515 movss xmm0, dword ptr [rsi+2F0h] ; +0xc9, 0x14023e519 mulss xmm2, xmm12 ; +0xd1, 0x14023e521 mulss xmm1, xmm12 ; +0xd6, 0x14023e526 divss xmm7, xmm0 ; +0xdb, 0x14023e52b divss xmm6, xmm0 ; +0xdf, 0x14023e52f call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xe3, 0x14023e533 lea rdx, [rsp+120h+var_E8] ; +0xe9, 0x14023e539 mov rcx, rbx ; +0xee, 0x14023e53e mov r8, rax ; +0xf1, 0x14023e541 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0xf4, 0x14023e544 mulss xmm6, xmm12 ; +0xfa, 0x14023e54a lea rcx, [rsp+120h+var_D8] ; +0xff, 0x14023e54f mulss xmm7, xmm12 ; +0x104, 0x14023e554 movaps xmm2, xmm6 ; +0x109, 0x14023e559 movaps xmm1, xmm7 ; +0x10c, 0x14023e55c call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x10f, 0x14023e55f mov r8, rax ; +0x115, 0x14023e565 lea rcx, [rsi+50Ch] ; +0x118, 0x14023e568 lea rdx, [rsp+120h+var_E0] ; +0x11f, 0x14023e56f call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x124, 0x14023e574 lea r8, [rsp+120h+var_E8] ; +0x12a, 0x14023e57a lea rdx, [rbp+20h+arg_0] ; +0x12f, 0x14023e57f lea rcx, [rsp+120h+var_E0] ; +0x133, 0x14023e583 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x138, 0x14023e588 lea rcx, [rsi+4DCh] ; +0x13e, 0x14023e58e lea rdx, [rbp+20h+arg_0] ; +0x145, 0x14023e595 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x149, 0x14023e599 cmp byte ptr [rsi+3225h], 0 ; +0x14f, 0x14023e59f jz short loc_14023E5B9 ; +0x156, 0x14023e5a6 lea rdx, dword_1406C1D28 ; +0x158, 0x14023e5a8 lea rcx, [rbp+20h+arg_0] ; +0x15f, 0x14023e5af call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x163, 0x14023e5b3 movss xmm0, dword ptr [rsi+41Ch] ; +0x169, 0x14023e5b9 comiss xmm12, xmm0 ; +0x171, 0x14023e5c1 movss xmm14, cs:flt_140622C24 ; +0x175, 0x14023e5c5 jb short loc_14023E5DF ; +0x17e, 0x14023e5ce addss xmm0, xmm0 ; +0x180, 0x14023e5d0 movaps xmm8, xmm14 ; +0x184, 0x14023e5d4 subss xmm8, xmm0 ; +0x188, 0x14023e5d8 jmp short loc_14023E5F1 ; +0x18d, 0x14023e5dd movaps xmm8, xmm0 ; +0x18f, 0x14023e5df subss xmm8, xmm12 ; +0x193, 0x14023e5e3 mulss xmm8, cs:dword_140623730 ; +0x198, 0x14023e5e8 mov rcx, [rsi+1000h] ; +0x1a1, 0x14023e5f1 mov rax, [rcx] ; +0x1a8, 0x14023e5f8 call qword ptr [rax+0C8h] ; +0x1ab, 0x14023e5fb mov rcx, [rsi+1000h] ; +0x1b1, 0x14023e601 movss xmm7, dword ptr [rsi+318h] ; +0x1b8, 0x14023e608 mulss xmm7, [rbp+20h+arg_4] ; +0x1c0, 0x14023e610 movss xmm6, dword ptr [rax+4] ; +0x1c5, 0x14023e615 mov rax, [rcx] ; +0x1ca, 0x14023e61a call qword ptr [rax+0C8h] ; +0x1cd, 0x14023e61d movss xmm1, [rbp+20h+arg_0] ; +0x1d3, 0x14023e623 lea rcx, [rsp+120h+X] ; +0x1d8, 0x14023e628 mulss xmm1, dword ptr [rsi+314h] ; +0x1dd, 0x14023e62d mulss xmm7, xmm11 ; +0x1e5, 0x14023e635 mulss xmm1, xmm11 ; +0x1ea, 0x14023e63a addss xmm7, xmm6 ; +0x1ef, 0x14023e63f mulss xmm1, xmm8 ; +0x1f3, 0x14023e643 movaps xmm2, xmm7 ; +0x1f8, 0x14023e648 addss xmm1, dword ptr [rax] ; +0x1fb, 0x14023e64b call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1ff, 0x14023e64f movss xmm6, dword ptr [rsi+4E4h] ; +0x205, 0x14023e655 xorps xmm9, xmm9 ; +0x20d, 0x14023e65d ucomiss xmm6, xmm9 ; +0x211, 0x14023e661 jp short loc_14023E669 ; +0x215, 0x14023e665 jz short loc_14023E68D ; +0x217, 0x14023e667 movss xmm0, [rsp+120h+X]; X ; +0x219, 0x14023e669 movaps xmm1, xmm6; Y ; +0x21f, 0x14023e66f call fmodf ; +0x222, 0x14023e672 comiss xmm0, xmm9 ; +0x227, 0x14023e677 movss [rsp+120h+X], xmm0 ; +0x22b, 0x14023e67b jbe short loc_14023E68D ; +0x231, 0x14023e681 subss xmm0, xmm6 ; +0x233, 0x14023e683 movss [rsp+120h+X], xmm0 ; +0x237, 0x14023e687 mov rcx, [rsi+1000h] ; +0x23d, 0x14023e68d lea rdx, [rsp+120h+X] ; +0x244, 0x14023e694 mov rax, [rcx] ; +0x249, 0x14023e699 call qword ptr [rax+0B8h] ; +0x24c, 0x14023e69c mov rax, [rsi+1020h] ; +0x252, 0x14023e6a2 movss xmm15, dword ptr cs:xmmword_1406243F0 ; +0x259, 0x14023e6a9 test rax, rax ; +0x262, 0x14023e6b2 jz loc_14023EA66 ; +0x265, 0x14023e6b5 mov rcx, [rsi+0FE8h] ; +0x26b, 0x14023e6bb movss xmm6, dword ptr [rsi+320h] ; +0x272, 0x14023e6c2 movaps [rsp+120h+var_B8+8], xmm13 ; +0x27a, 0x14023e6ca movss xmm13, dword ptr [rax+1E0h] ; +0x280, 0x14023e6d0 mov rax, [rcx] ; +0x289, 0x14023e6d9 call qword ptr [rax+90h] ; +0x28c, 0x14023e6dc mov rax, [rsi+1020h] ; +0x292, 0x14023e6e2 movaps xmm1, xmm14 ; +0x299, 0x14023e6e9 mov rcx, [rsi+0FE8h] ; +0x29d, 0x14023e6ed subss xmm1, xmm6 ; +0x2a4, 0x14023e6f4 mulss xmm0, xmm6 ; +0x2a8, 0x14023e6f8 movss xmm10, dword ptr [rax+1E4h] ; +0x2ac, 0x14023e6fc addss xmm10, dword ptr [rsi+2BCh] ; +0x2b5, 0x14023e705 mulss xmm6, dword ptr [rbx+4] ; +0x2be, 0x14023e70e addss xmm0, xmm1 ; +0x2c3, 0x14023e713 mov rax, [rcx] ; +0x2c7, 0x14023e717 mulss xmm10, xmm0 ; +0x2ca, 0x14023e71a subss xmm10, xmm6 ; +0x2cf, 0x14023e71f call qword ptr [rax+80h] ; +0x2d4, 0x14023e724 andps xmm0, cs:xmmword_1406243C0 ; +0x2da, 0x14023e72a movaps xmm1, xmm14 ; +0x2e1, 0x14023e731 subss xmm1, xmm0 ; +0x2e5, 0x14023e735 movaps xmm6, xmm14 ; +0x2e9, 0x14023e739 mulss xmm1, cs:dword_140622AA0 ; +0x2ed, 0x14023e73d subss xmm6, xmm1 ; +0x2f5, 0x14023e745 test r14b, r14b ; +0x2f9, 0x14023e749 jz short loc_14023E761 ; +0x2fc, 0x14023e74c mov rcx, [rsi+0FE8h] ; +0x2fe, 0x14023e74e mov rax, [rcx] ; +0x305, 0x14023e755 call qword ptr [rax+90h] ; +0x308, 0x14023e758 movaps xmm6, xmm0 ; +0x30e, 0x14023e75e mov rdi, [rsi+1020h] ; +0x311, 0x14023e761 xorps xmm2, xmm2 ; +0x318, 0x14023e768 mulss xmm6, cs:dword_140622C84 ; +0x31b, 0x14023e76b movss xmm1, dword ptr [rdi+1E0h] ; +0x323, 0x14023e773 ucomiss xmm1, xmm6 ; +0x32b, 0x14023e77b jp short loc_14023E786 ; +0x32e, 0x14023e77e jz loc_14023E893 ; +0x330, 0x14023e780 mov rax, [rdi] ; +0x336, 0x14023e786 movaps xmm1, xmm6 ; +0x339, 0x14023e789 mov rcx, rdi ; +0x33c, 0x14023e78c movss dword ptr [rdi+1E0h], xmm6 ; +0x33f, 0x14023e78f call qword ptr [rax+78h] ; +0x347, 0x14023e797 mov rax, [rdi] ; +0x34a, 0x14023e79a mov rcx, rdi ; +0x34d, 0x14023e79d call qword ptr [rax+90h] ; +0x350, 0x14023e7a0 comiss xmm9, xmm0 ; +0x356, 0x14023e7a6 movaps xmm1, xmm6 ; +0x35a, 0x14023e7aa jbe short loc_14023E7B3 ; +0x35d, 0x14023e7ad xorps xmm1, xmm15 ; +0x35f, 0x14023e7af mov rax, [rdi] ; +0x363, 0x14023e7b3 mov rcx, rdi ; +0x366, 0x14023e7b6 call qword ptr [rax+88h] ; +0x369, 0x14023e7b9 mov rax, [rdi] ; +0x36f, 0x14023e7bf mov rcx, rdi ; +0x372, 0x14023e7c2 movss xmm7, dword ptr [rdi+1BCh] ; +0x375, 0x14023e7c5 call qword ptr [rax+1E8h] ; +0x37d, 0x14023e7cd test rax, rax ; +0x383, 0x14023e7d3 jz loc_14023E887 ; +0x386, 0x14023e7d6 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x38c, 0x14023e7dc mov rcx, rax ; +0x392, 0x14023e7e2 lea rdx, [rsp+120h+var_D8] ; +0x395, 0x14023e7e5 call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x39a, 0x14023e7ea mov rax, [rdi] ; +0x3a0, 0x14023e7f0 mov rcx, rdi ; +0x3a3, 0x14023e7f3 call qword ptr [rax+1E8h] ; +0x3a6, 0x14023e7f6 mov rdx, [rdi] ; +0x3ac, 0x14023e7fc mov rcx, rdi ; +0x3af, 0x14023e7ff test rax, rax ; +0x3b2, 0x14023e802 jz short loc_14023E80F ; +0x3b5, 0x14023e805 call qword ptr [rdx+80h] ; +0x3b7, 0x14023e807 jmp short loc_14023E821 ; +0x3bd, 0x14023e80d call qword ptr [rdx+1E8h] ; +0x3bf, 0x14023e80f mov rcx, rax ; +0x3c5, 0x14023e815 mov rdx, [rax] ; +0x3c8, 0x14023e818 call qword ptr [rdx+0A8h] ; +0x3cb, 0x14023e81b mov rax, [rdi] ; +0x3d1, 0x14023e821 mov rcx, rdi ; +0x3d4, 0x14023e824 call qword ptr [rax+80h] ; +0x3d7, 0x14023e827 movss xmm1, dword ptr [rsp+120h+var_D8] ; +0x3dd, 0x14023e82d divss xmm1, xmm0 ; +0x3e3, 0x14023e833 addss xmm1, cs:flt_14062307C ; +0x3e7, 0x14023e837 movss dword ptr [rdi+1BCh], xmm1 ; +0x3ef, 0x14023e83f divss xmm1, dword ptr [rdi+1A8h] ; +0x3f7, 0x14023e847 movaps xmm0, xmm1; X ; +0x3ff, 0x14023e84f call ceilf ; +0x402, 0x14023e852 cmp byte ptr [rdi+1C8h], 0 ; +0x407, 0x14023e857 addss xmm0, xmm14 ; +0x40e, 0x14023e85e mov r8b, 1 ; +0x413, 0x14023e863 mov rcx, rdi ; +0x416, 0x14023e866 cvttss2si eax, xmm0 ; +0x419, 0x14023e869 lea ebx, [rax+1] ; +0x41d, 0x14023e86d cmovz ebx, eax ; +0x420, 0x14023e870 mov edx, ebx ; +0x423, 0x14023e873 call GJMGLayer__loadGroundSprites ; +0x425, 0x14023e875 xor r8d, r8d ; +0x42a, 0x14023e87a mov edx, ebx ; +0x42d, 0x14023e87d mov rcx, rdi ; +0x42f, 0x14023e87f call GJMGLayer__loadGroundSprites ; +0x432, 0x14023e882 movss xmm2, dword ptr [rdi+1BCh] ; +0x437, 0x14023e887 subss xmm2, xmm7 ; +0x43f, 0x14023e88f ucomiss xmm13, xmm9 ; +0x443, 0x14023e893 jp short loc_14023E89F ; +0x447, 0x14023e897 jnz short loc_14023E89F ; +0x449, 0x14023e899 movaps xmm13, xmm6 ; +0x44b, 0x14023e89b movss xmm0, [rbp+20h+arg_0] ; +0x44f, 0x14023e89f mulss xmm0, dword ptr [rsi+31Ch] ; +0x454, 0x14023e8a4 divss xmm11, xmm6 ; +0x45c, 0x14023e8ac mulss xmm0, xmm11 ; +0x461, 0x14023e8b1 mulss xmm0, xmm8 ; +0x466, 0x14023e8b6 cvtps2pd xmm1, xmm0 ; +0x46b, 0x14023e8bb cvtps2pd xmm0, xmm2 ; +0x46e, 0x14023e8be mulsd xmm0, cs:qword_140622D98 ; +0x471, 0x14023e8c1 addsd xmm1, xmm0 ; +0x479, 0x14023e8c9 cvtpd2ps xmm7, xmm1 ; +0x47d, 0x14023e8cd test r14b, r14b ; +0x481, 0x14023e8d1 jz short loc_14023E94C ; +0x484, 0x14023e8d4 mov rcx, [rsi+0FE8h] ; +0x486, 0x14023e8d6 mov rax, [rcx] ; +0x48d, 0x14023e8dd call qword ptr [rax+0C8h] ; +0x490, 0x14023e8e0 mov rcx, [rsi+1020h] ; +0x496, 0x14023e8e6 movss xmm0, dword ptr [rsi+2F0h] ; +0x49d, 0x14023e8ed ucomiss xmm0, dword ptr [rsi+1A8h] ; +0x4a5, 0x14023e8f5 movss xmm10, dword ptr [rcx+1E4h] ; +0x4ac, 0x14023e8fc addss xmm10, dword ptr [rsi+2BCh] ; +0x4b5, 0x14023e905 mulss xmm10, xmm6 ; +0x4be, 0x14023e90e addss xmm10, dword ptr [rax+4] ; +0x4c3, 0x14023e913 jp short loc_14023E91D ; +0x4c9, 0x14023e919 jz short loc_14023E94C ; +0x4cb, 0x14023e91b call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x4cd, 0x14023e91d mov rcx, rax ; +0x4d3, 0x14023e923 lea rdx, [rsp+120h+var_D8] ; +0x4d6, 0x14023e926 call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x4db, 0x14023e92b movss xmm0, dword ptr [rsp+120h+var_D8] ; +0x4e1, 0x14023e931 movaps xmm7, xmm0 ; +0x4e7, 0x14023e937 divss xmm7, xmm6 ; +0x4ea, 0x14023e93a divss xmm0, xmm13 ; +0x4ee, 0x14023e93e subss xmm7, xmm0 ; +0x4f3, 0x14023e943 mulss xmm7, xmm12 ; +0x4f7, 0x14023e947 mov rax, [rsi+1020h] ; +0x4fc, 0x14023e94c lea rcx, [rsp+120h+var_D8] ; +0x503, 0x14023e953 movaps xmm2, xmm10 ; +0x508, 0x14023e958 xorps xmm1, xmm1 ; +0x50c, 0x14023e95c mov rbx, [rax] ; +0x50f, 0x14023e95f call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x512, 0x14023e962 mov rcx, [rsi+1020h] ; +0x518, 0x14023e968 mov rdx, rax ; +0x51f, 0x14023e96f call qword ptr [rbx+0B8h] ; +0x522, 0x14023e972 mov rax, [rsi+1020h] ; +0x528, 0x14023e978 mov rbx, [rax+198h] ; +0x52f, 0x14023e97f mov rcx, rbx ; +0x536, 0x14023e986 mov rax, [rbx] ; +0x539, 0x14023e989 call qword ptr [rax+0C8h] ; +0x53c, 0x14023e98c mov rcx, rbx ; +0x542, 0x14023e992 movss xmm6, dword ptr [rax+4] ; +0x545, 0x14023e995 mov rax, [rbx] ; +0x54a, 0x14023e99a call qword ptr [rax+0C8h] ; +0x54d, 0x14023e99d movaps xmm2, xmm6 ; +0x553, 0x14023e9a3 lea rcx, [rsp+120h+var_100] ; +0x556, 0x14023e9a6 addss xmm7, dword ptr [rax] ; +0x55b, 0x14023e9ab movaps xmm1, xmm7 ; +0x55f, 0x14023e9af call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x562, 0x14023e9b2 mov rax, [rsi+1020h] ; +0x568, 0x14023e9b8 movss xmm1, [rsp+120h+var_100] ; +0x56f, 0x14023e9bf movaps xmm13, [rsp+120h+var_B8+8] ; +0x575, 0x14023e9c5 movss xmm2, dword ptr [rax+1A8h] ; +0x57b, 0x14023e9cb movaps xmm0, xmm2 ; +0x583, 0x14023e9d3 xorps xmm0, xmm15 ; +0x586, 0x14023e9d6 comiss xmm0, xmm1 ; +0x58a, 0x14023e9da jbe short loc_14023E9EF ; +0x58d, 0x14023e9dd nop ; +0x58f, 0x14023e9df addss xmm1, xmm2 ; +0x590, 0x14023e9e0 comiss xmm0, xmm1 ; +0x594, 0x14023e9e4 ja short loc_14023E9E0 ; +0x597, 0x14023e9e7 movss [rsp+120h+var_100], xmm1 ; +0x599, 0x14023e9e9 comiss xmm1, xmm9 ; +0x59f, 0x14023e9ef jbe short loc_14023EA05 ; +0x5a3, 0x14023e9f3 subss xmm1, xmm2 ; +0x5a5, 0x14023e9f5 comiss xmm1, xmm9 ; +0x5a9, 0x14023e9f9 ja short loc_14023E9F5 ; +0x5ad, 0x14023e9fd movss [rsp+120h+var_100], xmm1 ; +0x5af, 0x14023e9ff movss xmm0, dword ptr [rsi+324h] ; +0x5b5, 0x14023ea05 ucomiss xmm0, xmm9 ; +0x5bd, 0x14023ea0d jp short loc_14023EA15 ; +0x5c1, 0x14023ea11 jz short loc_14023EA1F ; +0x5c3, 0x14023ea13 subss xmm1, xmm2 ; +0x5c5, 0x14023ea15 movss [rsp+120h+var_100], xmm1 ; +0x5c9, 0x14023ea19 lea rdx, [rsp+120h+var_100] ; +0x5cf, 0x14023ea1f lea rcx, [rsp+120h+var_D8] ; +0x5d4, 0x14023ea24 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x5d9, 0x14023ea29 mov rbx, [rsi+1020h] ; +0x5df, 0x14023ea2f mov rdx, rax ; +0x5e6, 0x14023ea36 mov rdi, rax ; +0x5e9, 0x14023ea39 mov rcx, [rbx+198h] ; +0x5ec, 0x14023ea3c mov r8, [rcx] ; +0x5f3, 0x14023ea43 call qword ptr [r8+0B8h] ; +0x5f6, 0x14023ea46 mov rcx, [rbx+1A0h] ; +0x5fd, 0x14023ea4d test rcx, rcx ; +0x604, 0x14023ea54 jz short loc_14023EA66 ; +0x607, 0x14023ea57 mov r8, [rcx] ; +0x609, 0x14023ea59 mov rdx, rdi ; +0x60c, 0x14023ea5c call qword ptr [r8+0B8h] ; +0x60f, 0x14023ea5f movss xmm1, dword ptr [rsi+1A8h] ; +0x616, 0x14023ea66 movaps xmm7, xmm9 ; +0x61e, 0x14023ea6e movss xmm0, dword ptr [rsi+2F0h] ; +0x622, 0x14023ea72 ucomiss xmm0, xmm1 ; +0x62a, 0x14023ea7a jp short loc_14023EA8A ; +0x62d, 0x14023ea7d jnz short loc_14023EA8A ; +0x62f, 0x14023ea7f lea rdi, [rsi+1010h] ; +0x631, 0x14023ea81 jmp short loc_14023EAB0 ; +0x638, 0x14023ea88 lea rdi, [rsi+1010h] ; +0x63a, 0x14023ea8a mov rcx, [rdi] ; +0x641, 0x14023ea91 call GJGroundLayer__scaleGround ; +0x644, 0x14023ea94 movss xmm1, dword ptr [rsi+1A8h] ; +0x649, 0x14023ea99 movaps xmm7, xmm0 ; +0x651, 0x14023eaa1 mov rcx, [rsi+1018h] ; +0x654, 0x14023eaa4 call GJGroundLayer__scaleGround ; +0x65b, 0x14023eaab mov rax, [rdi] ; +0x660, 0x14023eab0 mov rbx, [rax+198h] ; +0x663, 0x14023eab3 mov rcx, rbx ; +0x66a, 0x14023eaba mov rax, [rbx] ; +0x66d, 0x14023eabd call qword ptr [rax+0C8h] ; +0x670, 0x14023eac0 mov rcx, rbx ; +0x676, 0x14023eac6 movss xmm6, dword ptr [rax+4] ; +0x679, 0x14023eac9 mov rax, [rbx] ; +0x67e, 0x14023eace call qword ptr [rax+0C8h] ; +0x681, 0x14023ead1 movss xmm1, [rbp+20h+arg_0] ; +0x687, 0x14023ead7 lea rcx, [rbp+20h+arg_18] ; +0x68c, 0x14023eadc mulss xmm1, xmm8 ; +0x690, 0x14023eae0 movaps xmm2, xmm6 ; +0x695, 0x14023eae5 mulss xmm7, xmm12 ; +0x698, 0x14023eae8 addss xmm1, dword ptr [rax] ; +0x69d, 0x14023eaed addss xmm1, xmm7 ; +0x6a1, 0x14023eaf1 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x6a5, 0x14023eaf5 mov rax, [rdi] ; +0x6ab, 0x14023eafb movss xmm1, [rbp+20h+arg_18] ; +0x6ae, 0x14023eafe movss xmm2, dword ptr [rax+1A8h] ; +0x6b3, 0x14023eb03 movaps xmm0, xmm2 ; +0x6bb, 0x14023eb0b xorps xmm0, xmm15 ; +0x6be, 0x14023eb0e comiss xmm0, xmm1 ; +0x6c2, 0x14023eb12 jbe short loc_14023EB2C ; +0x6c5, 0x14023eb15 addss xmm1, xmm2 ; +0x6c7, 0x14023eb17 comiss xmm0, xmm1 ; +0x6cb, 0x14023eb1b ja short loc_14023EB17 ; +0x6ce, 0x14023eb1e movss [rbp+20h+arg_18], xmm1 ; +0x6d0, 0x14023eb20 lea rdi, [rsi+1010h] ; +0x6d5, 0x14023eb25 comiss xmm1, xmm9 ; +0x6dc, 0x14023eb2c jbe short loc_14023EB48 ; +0x6e0, 0x14023eb30 subss xmm1, xmm2 ; +0x6e2, 0x14023eb32 comiss xmm1, xmm9 ; +0x6e6, 0x14023eb36 ja short loc_14023EB32 ; +0x6ea, 0x14023eb3a movss [rbp+20h+arg_18], xmm1 ; +0x6ec, 0x14023eb3c lea rdi, [rsi+1010h] ; +0x6f1, 0x14023eb41 movss xmm0, dword ptr [rsi+324h] ; +0x6f8, 0x14023eb48 ucomiss xmm0, xmm9 ; +0x700, 0x14023eb50 jp short loc_14023EB58 ; +0x704, 0x14023eb54 jz short loc_14023EB61 ; +0x706, 0x14023eb56 subss xmm1, xmm2 ; +0x708, 0x14023eb58 movss [rbp+20h+arg_18], xmm1 ; +0x70c, 0x14023eb5c lea rdx, [rbp+20h+arg_18] ; +0x711, 0x14023eb61 lea rcx, [rsp+120h+var_D8] ; +0x715, 0x14023eb65 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x71a, 0x14023eb6a mov rbx, [rdi] ; +0x720, 0x14023eb70 mov rdx, rax ; +0x723, 0x14023eb73 mov r14, rax ; +0x726, 0x14023eb76 mov rcx, [rbx+198h] ; +0x729, 0x14023eb79 mov r8, [rcx] ; +0x730, 0x14023eb80 call qword ptr [r8+0B8h] ; +0x733, 0x14023eb83 mov rcx, [rbx+1A0h] ; +0x73a, 0x14023eb8a mov r12, rdi ; +0x741, 0x14023eb91 test rcx, rcx ; +0x744, 0x14023eb94 jz short loc_14023EBAD ; +0x747, 0x14023eb97 mov r8, [rcx] ; +0x749, 0x14023eb99 mov rdx, r14 ; +0x74c, 0x14023eb9c call qword ptr [r8+0B8h] ; +0x74f, 0x14023eb9f lea r12, [rsi+1010h] ; +0x756, 0x14023eba6 lea rdx, [rbp+20h+arg_18] ; +0x75d, 0x14023ebad lea rcx, [rsp+120h+var_D8] ; +0x761, 0x14023ebb1 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x766, 0x14023ebb6 lea r14, [rsi+1018h] ; +0x76c, 0x14023ebbc mov rdx, rax ; +0x773, 0x14023ebc3 mov rbx, [r14] ; +0x776, 0x14023ebc6 mov r13, rax ; +0x779, 0x14023ebc9 mov rcx, [rbx+198h] ; +0x77c, 0x14023ebcc mov r8, [rcx] ; +0x783, 0x14023ebd3 call qword ptr [r8+0B8h] ; +0x786, 0x14023ebd6 mov rcx, [rbx+1A0h] ; +0x78d, 0x14023ebdd mov r15, rdi ; +0x794, 0x14023ebe4 test rcx, rcx ; +0x797, 0x14023ebe7 jz short loc_14023EBFC ; +0x79a, 0x14023ebea mov r8, [rcx] ; +0x79c, 0x14023ebec mov rdx, r13 ; +0x79f, 0x14023ebef call qword ptr [r8+0B8h] ; +0x7a2, 0x14023ebf2 mov r15, r12 ; +0x7a9, 0x14023ebf9 movss xmm10, dword ptr [rsi+3234h] ; +0x7ac, 0x14023ebfc mulss xmm10, dword ptr [rsi+1A8h] ; +0x7b5, 0x14023ec05 mov rcx, [rsi+0FE8h] ; +0x7be, 0x14023ec0e mulss xmm10, xmm12 ; +0x7c5, 0x14023ec15 mov rax, [rcx] ; +0x7ca, 0x14023ec1a movaps xmm11, xmm10 ; +0x7cd, 0x14023ec1d addss xmm10, dword ptr [rsp+34h] ; +0x7d1, 0x14023ec21 xorps xmm11, xmm15 ; +0x7d8, 0x14023ec28 call qword ptr [rax+0C8h] ; +0x7dc, 0x14023ec2c movss xmm8, dword ptr [rsi+2ECh] ; +0x7e2, 0x14023ec32 lea rcx, [rsp+120h+var_D8] ; +0x7eb, 0x14023ec3b movss xmm6, dword ptr [rsp+34h] ; +0x7f0, 0x14023ec40 movaps xmm2, xmm14 ; +0x7f6, 0x14023ec46 movss xmm0, dword ptr [rsi+1A8h] ; +0x7fa, 0x14023ec4a movaps xmm1, xmm9 ; +0x802, 0x14023ec52 movss xmm7, dword ptr [rsi+424h] ; +0x806, 0x14023ec56 mulss xmm0, cs:dword_140623298 ; +0x80e, 0x14023ec5e mov rbx, [rdi] ; +0x816, 0x14023ec66 mulss xmm8, xmm12 ; +0x819, 0x14023ec69 addss xmm0, dword ptr [rax+4] ; +0x81e, 0x14023ec6e mov rdi, [rbx] ; +0x823, 0x14023ec73 subss xmm2, xmm8 ; +0x826, 0x14023ec76 mulss xmm6, xmm12 ; +0x82b, 0x14023ec7b addss xmm2, xmm6 ; +0x830, 0x14023ec80 subss xmm2, xmm11 ; +0x834, 0x14023ec84 mulss xmm2, xmm7 ; +0x839, 0x14023ec89 addss xmm2, xmm11 ; +0x83d, 0x14023ec8d maxss xmm2, xmm0 ; +0x842, 0x14023ec92 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x846, 0x14023ec96 mov rdx, rax ; +0x84c, 0x14023ec9c mov rcx, rbx ; +0x84f, 0x14023ec9f call qword ptr [rdi+0B8h] ; +0x852, 0x14023eca2 mov rbx, [r14] ; +0x858, 0x14023eca8 subss xmm8, xmm14 ; +0x85b, 0x14023ecab movaps xmm0, xmm10 ; +0x860, 0x14023ecb0 lea rcx, [rsp+120h+var_D8] ; +0x864, 0x14023ecb4 movaps xmm2, xmm10 ; +0x869, 0x14023ecb9 movaps xmm1, xmm9 ; +0x86d, 0x14023ecbd mov rdi, [rbx] ; +0x871, 0x14023ecc1 addss xmm8, xmm6 ; +0x874, 0x14023ecc4 subss xmm0, xmm8 ; +0x879, 0x14023ecc9 mulss xmm0, xmm7 ; +0x87e, 0x14023ecce subss xmm2, xmm0 ; +0x882, 0x14023ecd2 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x886, 0x14023ecd6 mov rdx, rax ; +0x88c, 0x14023ecdc mov rcx, rbx ; +0x88f, 0x14023ecdf call qword ptr [rdi+0B8h] ; +0x892, 0x14023ece2 cmp byte ptr [rsi+3490h], 0 ; +0x898, 0x14023ece8 movaps xmm15, [rsp+120h+var_D8+8] ; +0x89f, 0x14023ecef movaps xmm14, [rsp+120h+var_C8+8] ; +0x8a5, 0x14023ecf5 movaps xmm12, [rsp+120h+var_A8+8] ; +0x8ab, 0x14023ecfb movaps xmm9, [rsp+120h+var_78+8] ; +0x8b4, 0x14023ed04 movaps xmm8, [rsp+120h+var_68+8] ; +0x8bd, 0x14023ed0d movaps xmm7, [rsp+120h+var_58+8] ; +0x8c6, 0x14023ed16 movaps xmm6, [rsp+120h+var_48+8] ; +0x8ce, 0x14023ed1e mov r13, [rsp+120h+var_20] ; +0x8d6, 0x14023ed26 mov r12, [rsp+120h+var_18] ; +0x8de, 0x14023ed2e mov rdi, [rsp+120h+var_10] ; +0x8e6, 0x14023ed36 jnz short loc_14023ED62 ; +0x8ee, 0x14023ed3e mov rcx, [r15] ; +0x8f0, 0x14023ed40 mov rax, [rcx] ; +0x8f3, 0x14023ed43 call qword ptr [rax+0C8h] ; +0x8f6, 0x14023ed46 lea r14, [rsi+1018h] ; +0x8fc, 0x14023ed4c movss xmm0, dword ptr [rax+4] ; +0x903, 0x14023ed53 comiss xmm0, xmm11 ; +0x908, 0x14023ed58 jbe short loc_14023ED62 ; +0x90c, 0x14023ed5c mov al, 1 ; +0x90e, 0x14023ed5e jmp short loc_14023ED64 ; +0x910, 0x14023ed60 xor al, al ; +0x912, 0x14023ed62 mov rcx, [r15] ; +0x914, 0x14023ed64 mov rbx, r14 ; +0x917, 0x14023ed67 movaps xmm11, [rsp+120h+var_98+8] ; +0x91a, 0x14023ed6a mov r15, [rsp+120h+var_30] ; +0x923, 0x14023ed73 cmp [rcx+1C8h], al ; +0x92b, 0x14023ed7b jz short loc_14023EDAC ; +0x931, 0x14023ed81 mov [rcx+1C8h], al ; +0x933, 0x14023ed83 test al, al ; +0x939, 0x14023ed89 jz short loc_14023ED9A ; +0x93b, 0x14023ed8b cmp byte ptr [rcx+1C9h], 0 ; +0x93d, 0x14023ed8d jz short loc_14023ED9A ; +0x944, 0x14023ed94 mov dl, 1 ; +0x946, 0x14023ed96 jmp short loc_14023ED9C ; +0x948, 0x14023ed98 xor edx, edx ; +0x94a, 0x14023ed9a mov rax, [rcx] ; +0x94c, 0x14023ed9c call qword ptr [rax+140h] ; +0x94f, 0x14023ed9f lea rbx, [rsi+1018h] ; +0x955, 0x14023eda5 cmp byte ptr [rsi+3490h], 0 ; +0x95c, 0x14023edac mov rsi, qword ptr [rsp+120h+var_8] ; +0x963, 0x14023edb3 jnz short loc_14023EDD4 ; +0x96b, 0x14023edbb mov rcx, [r14] ; +0x96d, 0x14023edbd mov rax, [rcx] ; +0x970, 0x14023edc0 call qword ptr [rax+0C8h] ; +0x973, 0x14023edc3 comiss xmm10, dword ptr [rax+4] ; +0x979, 0x14023edc9 jbe short loc_14023EDD4 ; +0x97e, 0x14023edce mov al, 1 ; +0x980, 0x14023edd0 jmp short loc_14023EDD6 ; +0x982, 0x14023edd2 xor al, al ; +0x984, 0x14023edd4 mov rcx, [rbx] ; +0x986, 0x14023edd6 movaps xmm10, [rsp+120h+var_88+8] ; +0x989, 0x14023edd9 mov r14, [rsp+120h+var_28] ; +0x992, 0x14023ede2 mov rbx, [rsp+120h+arg_8] ; +0x99a, 0x14023edea cmp [rcx+1C8h], al ; +0x9a2, 0x14023edf2 jz short loc_14023EE2C ; +0x9a8, 0x14023edf8 mov [rcx+1C8h], al ; +0x9aa, 0x14023edfa test al, al ; +0x9b0, 0x14023ee00 jz short loc_14023EE21 ; +0x9b2, 0x14023ee02 cmp byte ptr [rcx+1C9h], 0 ; +0x9b4, 0x14023ee04 jz short loc_14023EE21 ; +0x9bb, 0x14023ee0b mov rax, [rcx] ; +0x9bd, 0x14023ee0d mov dl, 1 ; +0x9c0, 0x14023ee10 call qword ptr [rax+140h] ; +0x9c2, 0x14023ee12 add rsp, 120h ; +0x9c8, 0x14023ee18 pop rbp ; +0x9cf, 0x14023ee1f retn ; +0x9d0, 0x14023ee20 mov rax, [rcx] ; +0x9d1, 0x14023ee21 xor edx, edx ; +0x9d4, 0x14023ee24 call qword ptr [rax+140h] ; +0x9d6, 0x14023ee26 add rsp, 120h ; +0x9dc, 0x14023ee2c pop rbp ; +0x9e3, 0x14023ee33 retn ; +0x9e4, 0x14023ee34