; ; GJBaseGameLayer::collisionCheckObjects from 0x140214960 to 0x140216090 (5936 bytes) ; ; 3 xrefs: ; > GJBaseGameLayer::checkCollisions @ 0x140214412 ; > GJBaseGameLayer::checkCollisions @ 0x14021446e ; > @ 0x1406cd0d4 ; ; 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, 0x140214960 mov [rax+8], rbx ; +0x3, 0x140214963 mov [rax+18h], r8 ; +0x7, 0x140214967 push rbp ; +0xb, 0x14021496b push rsi ; +0xc, 0x14021496c push rdi ; +0xd, 0x14021496d push r12 ; +0xe, 0x14021496e push r13 ; +0x10, 0x140214970 push r14 ; +0x12, 0x140214972 push r15 ; +0x14, 0x140214974 lea rbp, [rax-0D8h] ; +0x16, 0x140214976 sub rsp, 1A0h ; +0x1d, 0x14021497d movaps xmmword ptr [rax-48h], xmm6 ; +0x24, 0x140214984 movaps xmmword ptr [rax-58h], xmm7 ; +0x28, 0x140214988 movaps xmmword ptr [rax-68h], xmm8 ; +0x2c, 0x14021498c movaps xmmword ptr [rax-78h], xmm9 ; +0x31, 0x140214991 movaps xmmword ptr [rax-88h], xmm10 ; +0x36, 0x140214996 movaps xmmword ptr [rax-98h], xmm11 ; +0x3e, 0x14021499e movsxd rbx, r9d ; +0x46, 0x1402149a6 mov rdi, r8 ; +0x49, 0x1402149a9 mov r14, rdx ; +0x4c, 0x1402149ac mov rsi, rcx ; +0x4f, 0x1402149af mov rax, [rdx] ; +0x52, 0x1402149b2 mov rcx, rdx ; +0x55, 0x1402149b5 call qword ptr [rax+490h] ; +0x58, 0x1402149b8 mov r13, rax ; +0x5e, 0x1402149be mov rcx, rax ; +0x61, 0x1402149c1 call cs:?getMaxX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxX(void) ; +0x64, 0x1402149c4 movaps xmm7, xmm0 ; +0x6a, 0x1402149ca mov rcx, r13 ; +0x6d, 0x1402149cd call cs:?getMinX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinX(void) ; +0x70, 0x1402149d0 movaps xmm8, xmm0 ; +0x76, 0x1402149d6 mov rcx, r13 ; +0x7a, 0x1402149da call cs:?getMaxY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxY(void) ; +0x7d, 0x1402149dd movaps xmm9, xmm0 ; +0x83, 0x1402149e3 mov rcx, r13 ; +0x87, 0x1402149e7 call cs:?getMinY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinY(void) ; +0x8a, 0x1402149ea movaps xmm10, xmm0 ; +0x90, 0x1402149f0 mov [rsp+1D0h+var_160._Mypair._Myval2._Myfirst], rbx ; +0x94, 0x1402149f4 test ebx, ebx ; +0x99, 0x1402149f9 jle loc_140215FA5 ; +0x9b, 0x1402149fb xor r12d, r12d ; +0xa1, 0x140214a01 lea r15, cs:140000000h ; +0xa4, 0x140214a04 movss xmm11, cs:width ; +0xab, 0x140214a0b xorps xmm6, xmm6 ; +0xb4, 0x140214a14 nop word ptr [rax+rax+00000000h] ; +0xb7, 0x140214a17 mov rax, [rdi] ; +0xc0, 0x140214a20 mov rdi, [rax+r12*8] ; +0xc3, 0x140214a23 mov [rbp+0D0h+arg_8], rdi ; +0xc7, 0x140214a27 mov eax, [rdi+3A0h] ; +0xce, 0x140214a2e cmp eax, 7 ; +0xd4, 0x140214a34 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xd7, 0x140214a37 cmp byte ptr [rdi+28Eh], 0 ; +0xdd, 0x140214a3d jnz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xe4, 0x140214a44 cmp byte ptr [rdi+3D2h], 0 ; +0xea, 0x140214a4a jnz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xf1, 0x140214a51 test eax, eax ; +0xf7, 0x140214a57 jz loc_140215F33 ; +0xf9, 0x140214a59 cmp eax, 2 ; +0xff, 0x140214a5f jz loc_140215EC8 ; +0x102, 0x140214a62 cmp eax, 15h ; +0x108, 0x140214a68 jz loc_140215F33 ; +0x10b, 0x140214a6b cmp eax, 27h ; ''' ; +0x111, 0x140214a71 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x114, 0x140214a74 cmp eax, 2Fh ; '/' ; +0x11a, 0x140214a7a jz loc_140215EC8 ; +0x11d, 0x140214a7d mov rax, [rdi] ; +0x123, 0x140214a83 mov rdx, r14 ; +0x126, 0x140214a86 mov rcx, rdi ; +0x129, 0x140214a89 call qword ptr [rax+560h] ; +0x12c, 0x140214a8c test al, al ; +0x132, 0x140214a92 jnz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x134, 0x140214a94 lea rcx, [rsp+1D0h+var_190] ; +0x13a, 0x140214a9a call cs:??0CCRect@cocos2d@@QEAA@XZ; cocos2d::CCRect::CCRect(void) ; +0x13f, 0x140214a9f mov rax, [rdi] ; +0x145, 0x140214aa5 mov rcx, rdi ; +0x148, 0x140214aa8 call qword ptr [rax+660h] ; +0x14b, 0x140214aab mov rcx, rdi ; +0x151, 0x140214ab1 cmp eax, 19h ; +0x154, 0x140214ab4 mov rax, [rdi] ; +0x157, 0x140214ab7 jnz short loc_140214AD0 ; +0x15a, 0x140214aba movaps xmm3, xmm11 ; +0x15c, 0x140214abc movaps xmm2, xmm11 ; +0x160, 0x140214ac0 lea rdx, [rbp+0D0h+var_B0] ; +0x164, 0x140214ac4 call qword ptr [rax+488h] ; +0x168, 0x140214ac8 jmp short loc_140214AD6 ; +0x16e, 0x140214ace call qword ptr [rax+490h] ; +0x170, 0x140214ad0 mov rdx, rax ; +0x176, 0x140214ad6 lea rcx, [rsp+1D0h+var_190] ; +0x179, 0x140214ad9 call cs:??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0x17e, 0x140214ade movss xmm0, dword ptr [rdi+38Ch] ; +0x184, 0x140214ae4 comiss xmm0, xmm6 ; +0x18c, 0x140214aec jbe short loc_140214B09 ; +0x18f, 0x140214aef mov r8, rdi ; +0x191, 0x140214af1 mov rdx, r14 ; +0x194, 0x140214af4 mov rcx, rsi ; +0x197, 0x140214af7 call GJBaseGameLayer__playerCircleCollision ; +0x19a, 0x140214afa test al, al ; +0x19f, 0x140214aff jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1a1, 0x140214b01 jmp short loc_140214B5C ; +0x1a7, 0x140214b07 lea rcx, [rsp+1D0h+var_190] ; +0x1a9, 0x140214b09 call cs:?getMinX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinX(void) ; +0x1ae, 0x140214b0e comiss xmm0, xmm7 ; +0x1b4, 0x140214b14 ja def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1b7, 0x140214b17 lea rcx, [rsp+1D0h+var_190] ; +0x1bd, 0x140214b1d call cs:?getMaxX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxX(void) ; +0x1c2, 0x140214b22 comiss xmm8, xmm0 ; +0x1c8, 0x140214b28 ja def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1cc, 0x140214b2c lea rcx, [rsp+1D0h+var_190] ; +0x1d2, 0x140214b32 call cs:?getMinY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinY(void) ; +0x1d7, 0x140214b37 comiss xmm0, xmm9 ; +0x1dd, 0x140214b3d ja def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1e1, 0x140214b41 lea rcx, [rsp+1D0h+var_190] ; +0x1e7, 0x140214b47 call cs:?getMaxY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxY(void) ; +0x1ec, 0x140214b4c comiss xmm10, xmm0 ; +0x1f2, 0x140214b52 ja def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1f6, 0x140214b56 mov bl, 1 ; +0x1fc, 0x140214b5c cmp byte ptr [rdi+2E8h], 0 ; +0x1fe, 0x140214b5e jz short loc_140214BCE ; +0x205, 0x140214b65 mov rax, [rsi+0DB0h] ; +0x207, 0x140214b67 cmp byte ptr [rax+1CFh], 0 ; +0x20e, 0x140214b6e jz short loc_140214B80 ; +0x215, 0x140214b75 comiss xmm6, dword ptr [rdi+38Ch] ; +0x217, 0x140214b77 jb short loc_140214BCE ; +0x21e, 0x140214b7e mov rax, [rdi] ; +0x220, 0x140214b80 mov rcx, rdi ; +0x223, 0x140214b83 call qword ptr [rax+570h] ; +0x226, 0x140214b86 mov rbx, rax ; +0x22c, 0x140214b8c mov rdx, [r14] ; +0x22f, 0x140214b8f mov rcx, r14 ; +0x232, 0x140214b92 call qword ptr [rdx+578h] ; +0x235, 0x140214b95 mov rdx, [r14] ; +0x23b, 0x140214b9b mov rcx, r14 ; +0x23e, 0x140214b9e call qword ptr [rdx+570h] ; +0x241, 0x140214ba1 mov r8, rax ; +0x247, 0x140214ba7 mov rdx, rax ; +0x24a, 0x140214baa mov rcx, rbx ; +0x24d, 0x140214bad call OBB2D__overlaps1Way ; +0x250, 0x140214bb0 test al, al ; +0x255, 0x140214bb5 jz short loc_140214BCC ; +0x257, 0x140214bb7 mov rdx, rbx ; +0x259, 0x140214bb9 mov rcx, r8 ; +0x25c, 0x140214bbc call OBB2D__overlaps1Way ; +0x25f, 0x140214bbf test al, al ; +0x264, 0x140214bc4 jz short loc_140214BCC ; +0x266, 0x140214bc6 mov bl, 1 ; +0x268, 0x140214bc8 jmp short loc_140214BCE ; +0x26a, 0x140214bca xor bl, bl ; +0x26c, 0x140214bcc mov rax, [rdi] ; +0x26e, 0x140214bce mov rcx, rdi ; +0x271, 0x140214bd1 call qword ptr [rax+660h] ; +0x274, 0x140214bd4 cmp eax, 19h ; +0x27a, 0x140214bda jnz short loc_140214BF9 ; +0x27d, 0x140214bdd mov rax, [rdi] ; +0x27f, 0x140214bdf mov rcx, rdi ; +0x282, 0x140214be2 call qword ptr [rax+490h] ; +0x285, 0x140214be5 mov rdx, rax ; +0x28b, 0x140214beb lea rcx, [rsp+1D0h+var_190] ; +0x28e, 0x140214bee call cs:??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0x293, 0x140214bf3 test bl, bl ; +0x299, 0x140214bf9 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x29b, 0x140214bfb mov ecx, [rsi+33Ch] ; +0x2a1, 0x140214c01 test ecx, ecx ; +0x2a7, 0x140214c07 jz short loc_140214C26 ; +0x2a9, 0x140214c09 cmp dword ptr [rdi+4E8h], 1 ; +0x2ab, 0x140214c0b jnz short loc_140214C26 ; +0x2b2, 0x140214c12 mov eax, [rdi+700h] ; +0x2b4, 0x140214c14 test eax, eax ; +0x2ba, 0x140214c1a jz short loc_140214C26 ; +0x2bc, 0x140214c1c cmp eax, ecx ; +0x2be, 0x140214c1e jnz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x2c0, 0x140214c20 mov eax, [rdi+3A0h] ; +0x2c6, 0x140214c26 add eax, 0FFFFFFFDh; switch 44 cases ; +0x2cc, 0x140214c2c cmp eax, 2Bh ; +0x2cf, 0x140214c2f ja def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x2d2, 0x140214c32 cdqe ; +0x2d8, 0x140214c38 mov ecx, ds:(jpt_140214C45 - 140000000h)[r15+rax*4] ; +0x2da, 0x140214c3a add rcx, r15 ; +0x2e2, 0x140214c42 jmp rcx; switch jump ; +0x2e5, 0x140214c45 mov r8, rdi; jumptable 0000000140214C45 case 3 ; +0x2e7, 0x140214c47 mov rdx, r14 ; +0x2ea, 0x140214c4a mov rcx, rsi ; +0x2ed, 0x140214c4d call GJBaseGameLayer__canBeActivatedByPlayer ; +0x2f0, 0x140214c50 test al, al ; +0x2f5, 0x140214c55 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x2f7, 0x140214c57 cmp byte ptr [r14+9BFh], 0 ; +0x2fd, 0x140214c5d jnz short loc_140214C7E ; +0x305, 0x140214c65 cmp byte ptr [rdi+41Ch], 0 ; +0x307, 0x140214c67 jnz short loc_140214C7E ; +0x30e, 0x140214c6e mov rax, [rsi] ; +0x310, 0x140214c70 mov dl, 1 ; +0x313, 0x140214c73 mov rcx, rsi ; +0x315, 0x140214c75 call qword ptr [rax+500h] ; +0x318, 0x140214c78 mov rax, [rdi] ; +0x31e, 0x140214c7e mov rcx, rdi ; +0x321, 0x140214c81 call qword ptr [rax+0C8h] ; +0x324, 0x140214c84 mov rdx, rax ; +0x32a, 0x140214c8a lea rcx, [rbp+0D0h+var_140] ; +0x32d, 0x140214c8d call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x331, 0x140214c91 lea rcx, [r14+0A00h] ; +0x337, 0x140214c97 mov rdx, rax ; +0x33e, 0x140214c9e call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x341, 0x140214ca1 mov [r14+0A80h], rdi ; +0x347, 0x140214ca7 cmp byte ptr [rdi+41Ch], 0 ; +0x34e, 0x140214cae jnz short loc_140214CC5 ; +0x355, 0x140214cb5 cmp byte ptr [rdi+516h], 0 ; +0x357, 0x140214cb7 jnz short loc_140214CC5 ; +0x35e, 0x140214cbe xor r9d, r9d ; +0x360, 0x140214cc0 jmp short loc_140214CC8 ; +0x363, 0x140214cc3 mov r9b, 1 ; +0x365, 0x140214cc5 mov r8b, 1 ; +0x368, 0x140214cc8 mov rdx, r14 ; +0x36b, 0x140214ccb mov rcx, rsi ; +0x36e, 0x140214cce call GJBaseGameLayer__flipGravity ; +0x371, 0x140214cd1 mov rcx, rdi ; +0x376, 0x140214cd6 call GameObject__playShineEffect ; +0x379, 0x140214cd9 mov rax, [rdi] ; +0x37e, 0x140214cde mov rdx, r14 ; +0x381, 0x140214ce1 mov rcx, rdi ; +0x384, 0x140214ce4 call qword ptr [rax+558h] ; +0x387, 0x140214ce7 xor r9d, r9d ; +0x38d, 0x140214ced xor r8d, r8d ; +0x390, 0x140214cf0 lea edx, [r9+32h] ; +0x393, 0x140214cf3 mov rcx, rsi ; +0x397, 0x140214cf7 call GJBaseGameLayer__gameEventTriggered ; +0x39a, 0x140214cfa jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x39f, 0x140214cff mov r8, rdi; jumptable 0000000140214C45 case 4 ; +0x3a4, 0x140214d04 mov rdx, r14 ; +0x3a7, 0x140214d07 mov rcx, rsi ; +0x3aa, 0x140214d0a call GJBaseGameLayer__canBeActivatedByPlayer ; +0x3ad, 0x140214d0d test al, al ; +0x3b2, 0x140214d12 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x3b4, 0x140214d14 cmp byte ptr [r14+9BFh], 0 ; +0x3ba, 0x140214d1a jz short loc_140214D3B ; +0x3c2, 0x140214d22 cmp byte ptr [rdi+41Ch], 0 ; +0x3c4, 0x140214d24 jnz short loc_140214D3B ; +0x3cb, 0x140214d2b mov rax, [rsi] ; +0x3cd, 0x140214d2d xor edx, edx ; +0x3d0, 0x140214d30 mov rcx, rsi ; +0x3d2, 0x140214d32 call qword ptr [rax+500h] ; +0x3d5, 0x140214d35 mov rax, [rdi] ; +0x3db, 0x140214d3b mov rcx, rdi ; +0x3de, 0x140214d3e call qword ptr [rax+0C8h] ; +0x3e1, 0x140214d41 mov rdx, rax ; +0x3e7, 0x140214d47 lea rcx, [rbp+0D0h+var_138] ; +0x3ea, 0x140214d4a call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3ee, 0x140214d4e lea rcx, [r14+0A00h] ; +0x3f4, 0x140214d54 mov rdx, rax ; +0x3fb, 0x140214d5b call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x3fe, 0x140214d5e mov [r14+0A80h], rdi ; +0x404, 0x140214d64 cmp byte ptr [rdi+41Ch], 0 ; +0x40b, 0x140214d6b jnz short loc_140214D82 ; +0x412, 0x140214d72 cmp byte ptr [rdi+516h], 0 ; +0x414, 0x140214d74 jnz short loc_140214D82 ; +0x41b, 0x140214d7b xor r9d, r9d ; +0x41d, 0x140214d7d jmp short loc_140214D85 ; +0x420, 0x140214d80 mov r9b, 1 ; +0x422, 0x140214d82 xor r8d, r8d ; +0x425, 0x140214d85 mov rdx, r14 ; +0x428, 0x140214d88 mov rcx, rsi ; +0x42b, 0x140214d8b call GJBaseGameLayer__flipGravity ; +0x42e, 0x140214d8e mov rcx, rdi ; +0x433, 0x140214d93 call GameObject__playShineEffect ; +0x436, 0x140214d96 mov rax, [rdi] ; +0x43b, 0x140214d9b mov rdx, r14 ; +0x43e, 0x140214d9e mov rcx, rdi ; +0x441, 0x140214da1 call qword ptr [rax+558h] ; +0x444, 0x140214da4 xor r9d, r9d ; +0x44a, 0x140214daa xor r8d, r8d ; +0x44d, 0x140214dad lea edx, [r9+33h] ; +0x450, 0x140214db0 mov rcx, rsi ; +0x454, 0x140214db4 call GJBaseGameLayer__gameEventTriggered ; +0x457, 0x140214db7 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x45c, 0x140214dbc mov r8, rdi; jumptable 0000000140214C45 case 42 ; +0x461, 0x140214dc1 mov rdx, r14 ; +0x464, 0x140214dc4 mov rcx, rsi ; +0x467, 0x140214dc7 call GJBaseGameLayer__canBeActivatedByPlayer ; +0x46a, 0x140214dca test al, al ; +0x46f, 0x140214dcf jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x471, 0x140214dd1 cmp byte ptr [rdi+41Ch], 0 ; +0x477, 0x140214dd7 jnz short loc_140214DF7 ; +0x47e, 0x140214dde mov rax, [rsi] ; +0x480, 0x140214de0 cmp byte ptr [r14+9BFh], 0 ; +0x483, 0x140214de3 setz dl ; +0x48b, 0x140214deb mov rcx, rsi ; +0x48e, 0x140214dee call qword ptr [rax+500h] ; +0x491, 0x140214df1 mov rax, [rdi] ; +0x497, 0x140214df7 mov rcx, rdi ; +0x49a, 0x140214dfa call qword ptr [rax+0C8h] ; +0x49d, 0x140214dfd mov rdx, rax ; +0x4a3, 0x140214e03 lea rcx, [rbp+0D0h+var_130] ; +0x4a6, 0x140214e06 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4aa, 0x140214e0a lea rcx, [r14+0A00h] ; +0x4b0, 0x140214e10 mov rdx, rax ; +0x4b7, 0x140214e17 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x4ba, 0x140214e1a mov [r14+0A80h], rdi ; +0x4c0, 0x140214e20 cmp byte ptr [rdi+41Ch], 0 ; +0x4c7, 0x140214e27 jnz short loc_140214E3E ; +0x4ce, 0x140214e2e cmp byte ptr [rdi+516h], 0 ; +0x4d0, 0x140214e30 jnz short loc_140214E3E ; +0x4d7, 0x140214e37 xor r9d, r9d ; +0x4d9, 0x140214e39 jmp short loc_140214E41 ; +0x4dc, 0x140214e3c mov r9b, 1 ; +0x4de, 0x140214e3e cmp byte ptr [r14+9BFh], 0 ; +0x4e1, 0x140214e41 setz r8b ; +0x4e9, 0x140214e49 mov rdx, r14 ; +0x4ed, 0x140214e4d mov rcx, rsi ; +0x4f0, 0x140214e50 call GJBaseGameLayer__flipGravity ; +0x4f3, 0x140214e53 mov rcx, rdi ; +0x4f8, 0x140214e58 call GameObject__playShineEffect ; +0x4fb, 0x140214e5b mov rax, [rdi] ; +0x500, 0x140214e60 mov rdx, r14 ; +0x503, 0x140214e63 mov rcx, rdi ; +0x506, 0x140214e66 call qword ptr [rax+558h] ; +0x509, 0x140214e69 xor r9d, r9d ; +0x50f, 0x140214e6f xor r8d, r8d ; +0x512, 0x140214e72 lea edx, [r9+34h] ; +0x515, 0x140214e75 mov rcx, rsi ; +0x519, 0x140214e79 call GJBaseGameLayer__gameEventTriggered ; +0x51c, 0x140214e7c jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x521, 0x140214e81 mov r8, rdi; jumptable 0000000140214C45 case 6 ; +0x526, 0x140214e86 mov rdx, r14 ; +0x529, 0x140214e89 mov rcx, rsi ; +0x52c, 0x140214e8c call GJBaseGameLayer__canBeActivatedByPlayer ; +0x52f, 0x140214e8f test al, al ; +0x534, 0x140214e94 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x536, 0x140214e96 mov r8, rdi ; +0x53c, 0x140214e9c mov rdx, r14 ; +0x53f, 0x140214e9f mov rcx, rsi ; +0x542, 0x140214ea2 call GJBaseGameLayer__playerWillSwitchMode ; +0x545, 0x140214ea5 mov rax, [rdi] ; +0x54a, 0x140214eaa mov rcx, rdi ; +0x54d, 0x140214ead call qword ptr [rax+0C8h] ; +0x550, 0x140214eb0 mov rdx, rax ; +0x556, 0x140214eb6 lea rcx, [rbp+0D0h+var_128] ; +0x559, 0x140214eb9 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x55d, 0x140214ebd lea rcx, [r14+0A00h] ; +0x563, 0x140214ec3 mov rdx, rax ; +0x56a, 0x140214eca call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x56d, 0x140214ecd mov [r14+0A80h], rdi ; +0x573, 0x140214ed3 xor r8d, r8d ; +0x57a, 0x140214eda xor edx, edx ; +0x57d, 0x140214edd mov rcx, r14 ; +0x57f, 0x140214edf call PlayerObject__toggleFlyMode ; +0x582, 0x140214ee2 xor r8d, r8d ; +0x587, 0x140214ee7 xor edx, edx ; +0x58a, 0x140214eea mov rcx, r14 ; +0x58c, 0x140214eec call PlayerObject__toggleBirdMode ; +0x58f, 0x140214eef xor r8d, r8d ; +0x594, 0x140214ef4 xor edx, edx ; +0x597, 0x140214ef7 mov rcx, r14 ; +0x599, 0x140214ef9 call PlayerObject__toggleRollMode ; +0x59c, 0x140214efc xor r8d, r8d ; +0x5a1, 0x140214f01 xor edx, edx ; +0x5a4, 0x140214f04 mov rcx, r14 ; +0x5a6, 0x140214f06 call PlayerObject__toggleDartMode ; +0x5a9, 0x140214f09 xor r8d, r8d ; +0x5ae, 0x140214f0e xor edx, edx ; +0x5b1, 0x140214f11 mov rcx, r14 ; +0x5b3, 0x140214f13 call PlayerObject__toggleRobotMode ; +0x5b6, 0x140214f16 xor r8d, r8d ; +0x5bb, 0x140214f1b xor edx, edx ; +0x5be, 0x140214f1e mov rcx, r14 ; +0x5c0, 0x140214f20 call PlayerObject__toggleSpiderMode ; +0x5c3, 0x140214f23 xor r8d, r8d ; +0x5c8, 0x140214f28 xor edx, edx ; +0x5cb, 0x140214f2b mov rcx, r14 ; +0x5cd, 0x140214f2d call PlayerObject__toggleSwingMode ; +0x5d0, 0x140214f30 mov rcx, r14 ; +0x5d5, 0x140214f35 call PlayerObject__updatePlayerArt ; +0x5d8, 0x140214f38 mov rcx, r14 ; +0x5dd, 0x140214f3d call PlayerObject__updateDashArt ; +0x5e0, 0x140214f40 mov rcx, rdi ; +0x5e5, 0x140214f45 call GameObject__playShineEffect ; +0x5e8, 0x140214f48 mov rax, [rdi] ; +0x5ed, 0x140214f4d mov rdx, r14 ; +0x5f0, 0x140214f50 mov rcx, rdi ; +0x5f3, 0x140214f53 call qword ptr [rax+558h] ; +0x5f6, 0x140214f56 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x5fc, 0x140214f5c mov r8, rdi; jumptable 0000000140214C45 case 5 ; +0x601, 0x140214f61 mov rdx, r14 ; +0x604, 0x140214f64 mov rcx, rsi ; +0x607, 0x140214f67 call GJBaseGameLayer__canBeActivatedByPlayer ; +0x60a, 0x140214f6a test al, al ; +0x60f, 0x140214f6f jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x611, 0x140214f71 mov r8, rdi ; +0x617, 0x140214f77 mov rdx, r14 ; +0x61a, 0x140214f7a mov rcx, rsi ; +0x61d, 0x140214f7d call GJBaseGameLayer__playerWillSwitchMode ; +0x620, 0x140214f80 mov edx, 5 ; +0x625, 0x140214f85 mov rcx, r14 ; +0x62a, 0x140214f8a call PlayerObject__switchedToMode ; +0x62d, 0x140214f8d mov rbx, rdi ; +0x632, 0x140214f92 mov rax, [rdi] ; +0x635, 0x140214f95 mov rcx, rdi ; +0x638, 0x140214f98 call qword ptr [rax+0C8h] ; +0x63b, 0x140214f9b mov rdx, rax ; +0x641, 0x140214fa1 lea rcx, [rbp+0D0h+var_120] ; +0x644, 0x140214fa4 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x648, 0x140214fa8 lea rcx, [r14+0A00h] ; +0x64e, 0x140214fae mov rdx, rax ; +0x655, 0x140214fb5 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x658, 0x140214fb8 mov [r14+0A80h], rdi ; +0x65e, 0x140214fbe cmp byte ptr [rsi+422h], 0 ; +0x665, 0x140214fc5 jz short loc_140214FDF ; +0x66c, 0x140214fcc mov rax, [rsi+408h] ; +0x66e, 0x140214fce test rax, rax ; +0x675, 0x140214fd5 jz short loc_140214FDF ; +0x678, 0x140214fd8 mov rbx, rax ; +0x67a, 0x140214fda jmp short loc_140214FE4 ; +0x67d, 0x140214fdd test rbx, rbx ; +0x67f, 0x140214fdf jz short loc_140214FF9 ; +0x682, 0x140214fe2 mov [rsi+400h], rbx ; +0x684, 0x140214fe4 cmp byte ptr [rbx+41Ch], 0 ; +0x68b, 0x140214feb jz short loc_140214FF9 ; +0x692, 0x140214ff2 mov r8b, 1 ; +0x694, 0x140214ff4 jmp short loc_140214FFC ; +0x697, 0x140214ff7 xor r8d, r8d ; +0x699, 0x140214ff9 mov dl, 1 ; +0x69c, 0x140214ffc mov rcx, r14 ; +0x69e, 0x140214ffe call PlayerObject__toggleFlyMode ; +0x6a1, 0x140215001 mov rax, [rsi] ; +0x6a6, 0x140215006 mov dl, 1 ; +0x6a9, 0x140215009 mov rcx, rsi ; +0x6ab, 0x14021500b call qword ptr [rax+460h] ; +0x6ae, 0x14021500e jmp loc_140214F45 ; +0x6b4, 0x140215014 mov r8, rdi; jumptable 0000000140214C45 case 19 ; +0x6b9, 0x140215019 mov rdx, r14 ; +0x6bc, 0x14021501c mov rcx, rsi ; +0x6bf, 0x14021501f call GJBaseGameLayer__canBeActivatedByPlayer ; +0x6c2, 0x140215022 test al, al ; +0x6c7, 0x140215027 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x6c9, 0x140215029 mov r8, rdi ; +0x6cf, 0x14021502f mov rdx, r14 ; +0x6d2, 0x140215032 mov rcx, rsi ; +0x6d5, 0x140215035 call GJBaseGameLayer__playerWillSwitchMode ; +0x6d8, 0x140215038 mov edx, 13h ; +0x6dd, 0x14021503d mov rcx, r14 ; +0x6e2, 0x140215042 call PlayerObject__switchedToMode ; +0x6e5, 0x140215045 mov rbx, rdi ; +0x6ea, 0x14021504a mov rax, [rdi] ; +0x6ed, 0x14021504d mov rcx, rdi ; +0x6f0, 0x140215050 call qword ptr [rax+0C8h] ; +0x6f3, 0x140215053 mov rdx, rax ; +0x6f9, 0x140215059 lea rcx, [rbp+0D0h+var_118] ; +0x6fc, 0x14021505c call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x700, 0x140215060 lea rcx, [r14+0A00h] ; +0x706, 0x140215066 mov rdx, rax ; +0x70d, 0x14021506d call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x710, 0x140215070 mov [r14+0A80h], rdi ; +0x716, 0x140215076 cmp byte ptr [rsi+422h], 0 ; +0x71d, 0x14021507d jz short loc_140215097 ; +0x724, 0x140215084 mov rax, [rsi+408h] ; +0x726, 0x140215086 test rax, rax ; +0x72d, 0x14021508d jz short loc_140215097 ; +0x730, 0x140215090 mov rbx, rax ; +0x732, 0x140215092 jmp short loc_14021509C ; +0x735, 0x140215095 test rbx, rbx ; +0x737, 0x140215097 jz short loc_1402150B1 ; +0x73a, 0x14021509a mov [rsi+400h], rbx ; +0x73c, 0x14021509c cmp byte ptr [rbx+41Ch], 0 ; +0x743, 0x1402150a3 jz short loc_1402150B1 ; +0x74a, 0x1402150aa mov r8b, 1 ; +0x74c, 0x1402150ac jmp short loc_1402150B4 ; +0x74f, 0x1402150af xor r8d, r8d ; +0x751, 0x1402150b1 mov dl, 1 ; +0x754, 0x1402150b4 mov rcx, r14 ; +0x756, 0x1402150b6 call PlayerObject__toggleBirdMode ; +0x759, 0x1402150b9 mov rax, [rsi] ; +0x75e, 0x1402150be mov dl, 1 ; +0x761, 0x1402150c1 mov rcx, rsi ; +0x763, 0x1402150c3 call qword ptr [rax+460h] ; +0x766, 0x1402150c6 jmp loc_140214F45 ; +0x76c, 0x1402150cc cmp byte ptr [rsi+309Eh], 0; jumptable 0000000140214C45 case 41 ; +0x771, 0x1402150d1 jnz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x778, 0x1402150d8 mov r8, rdi ; +0x77e, 0x1402150de mov rdx, r14 ; +0x781, 0x1402150e1 mov rcx, rsi ; +0x784, 0x1402150e4 call GJBaseGameLayer__canBeActivatedByPlayer ; +0x787, 0x1402150e7 test al, al ; +0x78c, 0x1402150ec jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x78e, 0x1402150ee mov r8, rdi ; +0x794, 0x1402150f4 mov rdx, r14 ; +0x797, 0x1402150f7 mov rcx, rsi ; +0x79a, 0x1402150fa call GJBaseGameLayer__playerWillSwitchMode ; +0x79d, 0x1402150fd mov edx, 29h ; ')' ; +0x7a2, 0x140215102 mov rcx, r14 ; +0x7a7, 0x140215107 call PlayerObject__switchedToMode ; +0x7aa, 0x14021510a mov rbx, rdi ; +0x7af, 0x14021510f mov rax, [rdi] ; +0x7b2, 0x140215112 mov rcx, rdi ; +0x7b5, 0x140215115 call qword ptr [rax+0C8h] ; +0x7b8, 0x140215118 mov rdx, rax ; +0x7be, 0x14021511e lea rcx, [rbp+0D0h+var_110] ; +0x7c1, 0x140215121 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x7c5, 0x140215125 lea rcx, [r14+0A00h] ; +0x7cb, 0x14021512b mov rdx, rax ; +0x7d2, 0x140215132 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7d5, 0x140215135 mov [r14+0A80h], rdi ; +0x7db, 0x14021513b cmp byte ptr [rsi+422h], 0 ; +0x7e2, 0x140215142 jz short loc_14021515C ; +0x7e9, 0x140215149 mov rax, [rsi+408h] ; +0x7eb, 0x14021514b test rax, rax ; +0x7f2, 0x140215152 jz short loc_14021515C ; +0x7f5, 0x140215155 mov rbx, rax ; +0x7f7, 0x140215157 jmp short loc_140215161 ; +0x7fa, 0x14021515a test rbx, rbx ; +0x7fc, 0x14021515c jz short loc_140215176 ; +0x7ff, 0x14021515f mov [rsi+400h], rbx ; +0x801, 0x140215161 cmp byte ptr [rbx+41Ch], 0 ; +0x808, 0x140215168 jz short loc_140215176 ; +0x80f, 0x14021516f mov r8b, 1 ; +0x811, 0x140215171 jmp short loc_140215179 ; +0x814, 0x140215174 xor r8d, r8d ; +0x816, 0x140215176 mov dl, 1 ; +0x819, 0x140215179 mov rcx, r14 ; +0x81b, 0x14021517b call PlayerObject__toggleSwingMode ; +0x81e, 0x14021517e mov rax, [rsi] ; +0x823, 0x140215183 mov dl, 1 ; +0x826, 0x140215186 mov rcx, rsi ; +0x828, 0x140215188 call qword ptr [rax+460h] ; +0x82b, 0x14021518b jmp loc_140214F45 ; +0x831, 0x140215191 mov r8, rdi; jumptable 0000000140214C45 case 16 ; +0x836, 0x140215196 mov rdx, r14 ; +0x839, 0x140215199 mov rcx, rsi ; +0x83c, 0x14021519c call GJBaseGameLayer__canBeActivatedByPlayer ; +0x83f, 0x14021519f test al, al ; +0x844, 0x1402151a4 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x846, 0x1402151a6 mov r8, rdi ; +0x84c, 0x1402151ac mov rdx, r14 ; +0x84f, 0x1402151af mov rcx, rsi ; +0x852, 0x1402151b2 call GJBaseGameLayer__playerWillSwitchMode ; +0x855, 0x1402151b5 xor r8d, r8d ; +0x85a, 0x1402151ba xor edx, edx ; +0x85d, 0x1402151bd mov rcx, r14 ; +0x85f, 0x1402151bf call PlayerObject__toggleFlyMode ; +0x862, 0x1402151c2 xor r8d, r8d ; +0x867, 0x1402151c7 xor edx, edx ; +0x86a, 0x1402151ca mov rcx, r14 ; +0x86c, 0x1402151cc call PlayerObject__toggleBirdMode ; +0x86f, 0x1402151cf xor r8d, r8d ; +0x874, 0x1402151d4 xor edx, edx ; +0x877, 0x1402151d7 mov rcx, r14 ; +0x879, 0x1402151d9 call PlayerObject__toggleDartMode ; +0x87c, 0x1402151dc xor r8d, r8d ; +0x881, 0x1402151e1 xor edx, edx ; +0x884, 0x1402151e4 mov rcx, r14 ; +0x886, 0x1402151e6 call PlayerObject__toggleRobotMode ; +0x889, 0x1402151e9 xor r8d, r8d ; +0x88e, 0x1402151ee xor edx, edx ; +0x891, 0x1402151f1 mov rcx, r14 ; +0x893, 0x1402151f3 call PlayerObject__toggleSpiderMode ; +0x896, 0x1402151f6 xor r8d, r8d ; +0x89b, 0x1402151fb xor edx, edx ; +0x89e, 0x1402151fe mov rcx, r14 ; +0x8a0, 0x140215200 call PlayerObject__toggleSwingMode ; +0x8a3, 0x140215203 mov rbx, rdi ; +0x8a8, 0x140215208 mov rax, [rdi] ; +0x8ab, 0x14021520b mov rcx, rdi ; +0x8ae, 0x14021520e call qword ptr [rax+0C8h] ; +0x8b1, 0x140215211 mov rdx, rax ; +0x8b7, 0x140215217 lea rcx, [rbp+0D0h+var_108] ; +0x8ba, 0x14021521a call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x8be, 0x14021521e lea rcx, [r14+0A00h] ; +0x8c4, 0x140215224 mov rdx, rax ; +0x8cb, 0x14021522b call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x8ce, 0x14021522e mov [r14+0A80h], rdi ; +0x8d4, 0x140215234 cmp byte ptr [rsi+422h], 0 ; +0x8db, 0x14021523b jz short loc_140215255 ; +0x8e2, 0x140215242 mov rax, [rsi+408h] ; +0x8e4, 0x140215244 test rax, rax ; +0x8eb, 0x14021524b jz short loc_140215255 ; +0x8ee, 0x14021524e mov rbx, rax ; +0x8f0, 0x140215250 jmp short loc_14021525A ; +0x8f3, 0x140215253 test rbx, rbx ; +0x8f5, 0x140215255 jz short loc_14021527E ; +0x8f8, 0x140215258 mov [rsi+400h], rbx ; +0x8fa, 0x14021525a cmp byte ptr [rbx+41Ch], 0 ; +0x901, 0x140215261 jz short loc_14021527E ; +0x908, 0x140215268 mov r8b, 1 ; +0x90a, 0x14021526a movzx edx, r8b ; +0x90d, 0x14021526d mov rcx, r14 ; +0x911, 0x140215271 call PlayerObject__toggleRollMode ; +0x914, 0x140215274 jmp loc_140214F45 ; +0x919, 0x140215279 xor r8d, r8d ; +0x91e, 0x14021527e mov dl, 1 ; +0x921, 0x140215281 mov rcx, r14 ; +0x923, 0x140215283 call PlayerObject__toggleRollMode ; +0x926, 0x140215286 jmp loc_140214F45 ; +0x92b, 0x14021528b cmp byte ptr [rsi+309Eh], 0; jumptable 0000000140214C45 case 26 ; +0x930, 0x140215290 jnz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x937, 0x140215297 mov r8, rdi ; +0x93d, 0x14021529d mov rdx, r14 ; +0x940, 0x1402152a0 mov rcx, rsi ; +0x943, 0x1402152a3 call GJBaseGameLayer__canBeActivatedByPlayer ; +0x946, 0x1402152a6 test al, al ; +0x94b, 0x1402152ab jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x94d, 0x1402152ad mov r8, rdi ; +0x953, 0x1402152b3 mov rdx, r14 ; +0x956, 0x1402152b6 mov rcx, rsi ; +0x959, 0x1402152b9 call GJBaseGameLayer__playerWillSwitchMode ; +0x95c, 0x1402152bc mov edx, 1Ah ; +0x961, 0x1402152c1 mov rcx, r14 ; +0x966, 0x1402152c6 call PlayerObject__switchedToMode ; +0x969, 0x1402152c9 mov rbx, rdi ; +0x96e, 0x1402152ce mov rax, [rdi] ; +0x971, 0x1402152d1 mov rcx, rdi ; +0x974, 0x1402152d4 call qword ptr [rax+0C8h] ; +0x977, 0x1402152d7 mov rdx, rax ; +0x97d, 0x1402152dd lea rcx, [rbp+0D0h+var_100] ; +0x980, 0x1402152e0 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x984, 0x1402152e4 lea rcx, [r14+0A00h] ; +0x98a, 0x1402152ea mov rdx, rax ; +0x991, 0x1402152f1 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x994, 0x1402152f4 mov [r14+0A80h], rdi ; +0x99a, 0x1402152fa cmp byte ptr [rsi+422h], 0 ; +0x9a1, 0x140215301 jz short loc_14021531B ; +0x9a8, 0x140215308 mov rax, [rsi+408h] ; +0x9aa, 0x14021530a test rax, rax ; +0x9b1, 0x140215311 jz short loc_14021531B ; +0x9b4, 0x140215314 mov rbx, rax ; +0x9b6, 0x140215316 jmp short loc_140215320 ; +0x9b9, 0x140215319 test rbx, rbx ; +0x9bb, 0x14021531b jz short loc_140215335 ; +0x9be, 0x14021531e mov [rsi+400h], rbx ; +0x9c0, 0x140215320 cmp byte ptr [rbx+41Ch], 0 ; +0x9c7, 0x140215327 jz short loc_140215335 ; +0x9ce, 0x14021532e mov r8b, 1 ; +0x9d0, 0x140215330 jmp short loc_140215338 ; +0x9d3, 0x140215333 xor r8d, r8d ; +0x9d5, 0x140215335 mov dl, 1 ; +0x9d8, 0x140215338 mov rcx, r14 ; +0x9da, 0x14021533a call PlayerObject__toggleDartMode ; +0x9dd, 0x14021533d mov rax, [rsi] ; +0x9e2, 0x140215342 mov dl, 1 ; +0x9e5, 0x140215345 mov rcx, rsi ; +0x9e7, 0x140215347 call qword ptr [rax+460h] ; +0x9ea, 0x14021534a jmp loc_140214F45 ; +0x9f0, 0x140215350 mov r8, rdi; jumptable 0000000140214C45 case 27 ; +0x9f5, 0x140215355 mov rdx, r14 ; +0x9f8, 0x140215358 mov rcx, rsi ; +0x9fb, 0x14021535b call GJBaseGameLayer__canBeActivatedByPlayer ; +0x9fe, 0x14021535e test al, al ; +0xa03, 0x140215363 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xa05, 0x140215365 mov r8, rdi ; +0xa0b, 0x14021536b mov rdx, r14 ; +0xa0e, 0x14021536e mov rcx, rsi ; +0xa11, 0x140215371 call GJBaseGameLayer__playerWillSwitchMode ; +0xa14, 0x140215374 xor r8d, r8d ; +0xa19, 0x140215379 xor edx, edx ; +0xa1c, 0x14021537c mov rcx, r14 ; +0xa1e, 0x14021537e call PlayerObject__toggleFlyMode ; +0xa21, 0x140215381 xor r8d, r8d ; +0xa26, 0x140215386 xor edx, edx ; +0xa29, 0x140215389 mov rcx, r14 ; +0xa2b, 0x14021538b call PlayerObject__toggleBirdMode ; +0xa2e, 0x14021538e xor r8d, r8d ; +0xa33, 0x140215393 xor edx, edx ; +0xa36, 0x140215396 mov rcx, r14 ; +0xa38, 0x140215398 call PlayerObject__toggleRollMode ; +0xa3b, 0x14021539b xor r8d, r8d ; +0xa40, 0x1402153a0 xor edx, edx ; +0xa43, 0x1402153a3 mov rcx, r14 ; +0xa45, 0x1402153a5 call PlayerObject__toggleDartMode ; +0xa48, 0x1402153a8 xor r8d, r8d ; +0xa4d, 0x1402153ad xor edx, edx ; +0xa50, 0x1402153b0 mov rcx, r14 ; +0xa52, 0x1402153b2 call PlayerObject__toggleSpiderMode ; +0xa55, 0x1402153b5 xor r8d, r8d ; +0xa5a, 0x1402153ba xor edx, edx ; +0xa5d, 0x1402153bd mov rcx, r14 ; +0xa5f, 0x1402153bf call PlayerObject__toggleSwingMode ; +0xa62, 0x1402153c2 mov rbx, rdi ; +0xa67, 0x1402153c7 mov rax, [rdi] ; +0xa6a, 0x1402153ca mov rcx, rdi ; +0xa6d, 0x1402153cd call qword ptr [rax+0C8h] ; +0xa70, 0x1402153d0 mov rdx, rax ; +0xa76, 0x1402153d6 lea rcx, [rbp+0D0h+var_F8] ; +0xa79, 0x1402153d9 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xa7d, 0x1402153dd lea rcx, [r14+0A00h] ; +0xa83, 0x1402153e3 mov rdx, rax ; +0xa8a, 0x1402153ea call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xa8d, 0x1402153ed mov [r14+0A80h], rdi ; +0xa93, 0x1402153f3 cmp byte ptr [rsi+422h], 0 ; +0xa9a, 0x1402153fa jz short loc_140215414 ; +0xaa1, 0x140215401 mov rax, [rsi+408h] ; +0xaa3, 0x140215403 test rax, rax ; +0xaaa, 0x14021540a jz short loc_140215414 ; +0xaad, 0x14021540d mov rbx, rax ; +0xaaf, 0x14021540f jmp short loc_140215419 ; +0xab2, 0x140215412 test rbx, rbx ; +0xab4, 0x140215414 jz short loc_14021543D ; +0xab7, 0x140215417 mov [rsi+400h], rbx ; +0xab9, 0x140215419 cmp byte ptr [rbx+41Ch], 0 ; +0xac0, 0x140215420 jz short loc_14021543D ; +0xac7, 0x140215427 mov r8b, 1 ; +0xac9, 0x140215429 movzx edx, r8b ; +0xacc, 0x14021542c mov rcx, r14 ; +0xad0, 0x140215430 call PlayerObject__toggleRobotMode ; +0xad3, 0x140215433 jmp loc_140214F45 ; +0xad8, 0x140215438 xor r8d, r8d ; +0xadd, 0x14021543d mov dl, 1 ; +0xae0, 0x140215440 mov rcx, r14 ; +0xae2, 0x140215442 call PlayerObject__toggleRobotMode ; +0xae5, 0x140215445 jmp loc_140214F45 ; +0xaea, 0x14021544a mov r8, rdi; jumptable 0000000140214C45 case 33 ; +0xaef, 0x14021544f mov rdx, r14 ; +0xaf2, 0x140215452 mov rcx, rsi ; +0xaf5, 0x140215455 call GJBaseGameLayer__canBeActivatedByPlayer ; +0xaf8, 0x140215458 test al, al ; +0xafd, 0x14021545d jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xaff, 0x14021545f mov r8, rdi ; +0xb05, 0x140215465 mov rdx, r14 ; +0xb08, 0x140215468 mov rcx, rsi ; +0xb0b, 0x14021546b call GJBaseGameLayer__playerWillSwitchMode ; +0xb0e, 0x14021546e xor r8d, r8d ; +0xb13, 0x140215473 xor edx, edx ; +0xb16, 0x140215476 mov rcx, r14 ; +0xb18, 0x140215478 call PlayerObject__toggleFlyMode ; +0xb1b, 0x14021547b xor r8d, r8d ; +0xb20, 0x140215480 xor edx, edx ; +0xb23, 0x140215483 mov rcx, r14 ; +0xb25, 0x140215485 call PlayerObject__toggleBirdMode ; +0xb28, 0x140215488 xor r8d, r8d ; +0xb2d, 0x14021548d xor edx, edx ; +0xb30, 0x140215490 mov rcx, r14 ; +0xb32, 0x140215492 call PlayerObject__toggleRollMode ; +0xb35, 0x140215495 xor r8d, r8d ; +0xb3a, 0x14021549a xor edx, edx ; +0xb3d, 0x14021549d mov rcx, r14 ; +0xb3f, 0x14021549f call PlayerObject__toggleDartMode ; +0xb42, 0x1402154a2 xor r8d, r8d ; +0xb47, 0x1402154a7 xor edx, edx ; +0xb4a, 0x1402154aa mov rcx, r14 ; +0xb4c, 0x1402154ac call PlayerObject__toggleRobotMode ; +0xb4f, 0x1402154af xor r8d, r8d ; +0xb54, 0x1402154b4 xor edx, edx ; +0xb57, 0x1402154b7 mov rcx, r14 ; +0xb59, 0x1402154b9 call PlayerObject__toggleSwingMode ; +0xb5c, 0x1402154bc mov rbx, rdi ; +0xb61, 0x1402154c1 mov rax, [rdi] ; +0xb64, 0x1402154c4 mov rcx, rdi ; +0xb67, 0x1402154c7 call qword ptr [rax+0C8h] ; +0xb6a, 0x1402154ca mov rdx, rax ; +0xb70, 0x1402154d0 lea rcx, [rbp+0D0h+var_F0] ; +0xb73, 0x1402154d3 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xb77, 0x1402154d7 lea rcx, [r14+0A00h] ; +0xb7d, 0x1402154dd mov rdx, rax ; +0xb84, 0x1402154e4 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xb87, 0x1402154e7 mov [r14+0A80h], rdi ; +0xb8d, 0x1402154ed cmp byte ptr [rsi+422h], 0 ; +0xb94, 0x1402154f4 jz short loc_14021550E ; +0xb9b, 0x1402154fb mov rax, [rsi+408h] ; +0xb9d, 0x1402154fd test rax, rax ; +0xba4, 0x140215504 jz short loc_14021550E ; +0xba7, 0x140215507 mov rbx, rax ; +0xba9, 0x140215509 jmp short loc_140215513 ; +0xbac, 0x14021550c test rbx, rbx ; +0xbae, 0x14021550e jz short loc_140215537 ; +0xbb1, 0x140215511 mov [rsi+400h], rbx ; +0xbb3, 0x140215513 cmp byte ptr [rbx+41Ch], 0 ; +0xbba, 0x14021551a jz short loc_140215537 ; +0xbc1, 0x140215521 mov r8b, 1 ; +0xbc3, 0x140215523 movzx edx, r8b ; +0xbc6, 0x140215526 mov rcx, r14 ; +0xbca, 0x14021552a call PlayerObject__toggleSpiderMode ; +0xbcd, 0x14021552d jmp loc_140214F45 ; +0xbd2, 0x140215532 xor r8d, r8d ; +0xbd7, 0x140215537 mov dl, 1 ; +0xbda, 0x14021553a mov rcx, r14 ; +0xbdc, 0x14021553c call PlayerObject__toggleSpiderMode ; +0xbdf, 0x14021553f jmp loc_140214F45 ; +0xbe4, 0x140215544 mov r8, rdi; jumptable 0000000140214C45 case 28 ; +0xbe9, 0x140215549 mov rdx, r14 ; +0xbec, 0x14021554c mov rcx, rsi ; +0xbef, 0x14021554f call GJBaseGameLayer__canBeActivatedByPlayer ; +0xbf2, 0x140215552 test al, al ; +0xbf7, 0x140215557 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xbf9, 0x140215559 xor r9d, r9d ; +0xbff, 0x14021555f xor r8d, r8d ; +0xc02, 0x140215562 lea edx, [r9+3Bh] ; +0xc05, 0x140215565 mov rcx, rsi ; +0xc09, 0x140215569 call GJBaseGameLayer__gameEventTriggered ; +0xc0c, 0x14021556c mov r8, r14 ; +0xc11, 0x140215571 mov rdx, rdi ; +0xc14, 0x140215574 mov rcx, rsi ; +0xc17, 0x140215577 call GJBaseGameLayer__teleportPlayer ; +0xc1a, 0x14021557a jmp loc_140215E78 ; +0xc1f, 0x14021557f mov r8, rdi; jumptable 0000000140214C45 case 17 ; +0xc24, 0x140215584 mov rdx, r14 ; +0xc27, 0x140215587 mov rcx, rsi ; +0xc2a, 0x14021558a call GJBaseGameLayer__canBeActivatedByPlayer ; +0xc2d, 0x14021558d test al, al ; +0xc32, 0x140215592 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xc34, 0x140215594 mov rax, [rdi] ; +0xc3a, 0x14021559a mov rcx, rdi ; +0xc3d, 0x14021559d call qword ptr [rax+0C8h] ; +0xc40, 0x1402155a0 mov rdx, rax ; +0xc46, 0x1402155a6 lea rcx, [rbp+0D0h+var_E8] ; +0xc49, 0x1402155a9 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xc4d, 0x1402155ad lea rcx, [r14+0A00h] ; +0xc53, 0x1402155b3 mov rdx, rax ; +0xc5a, 0x1402155ba call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc5d, 0x1402155bd mov [r14+0A80h], rdi ; +0xc63, 0x1402155c3 movzx r8d, byte ptr [rdi+41Ch] ; +0xc6a, 0x1402155ca xor edx, edx ; +0xc72, 0x1402155d2 mov rcx, r14 ; +0xc74, 0x1402155d4 call PlayerObject__togglePlayerScale ; +0xc77, 0x1402155d7 mov rcx, rdi ; +0xc7c, 0x1402155dc call GameObject__playShineEffect ; +0xc7f, 0x1402155df mov rax, [rdi] ; +0xc84, 0x1402155e4 mov rdx, r14 ; +0xc87, 0x1402155e7 mov rcx, rdi ; +0xc8a, 0x1402155ea call qword ptr [rax+558h] ; +0xc8d, 0x1402155ed xor r9d, r9d ; +0xc93, 0x1402155f3 xor r8d, r8d ; +0xc96, 0x1402155f6 lea edx, [r9+37h] ; +0xc99, 0x1402155f9 mov rcx, rsi ; +0xc9d, 0x1402155fd call GJBaseGameLayer__gameEventTriggered ; +0xca0, 0x140215600 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xca5, 0x140215605 mov r8, rdi; jumptable 0000000140214C45 case 18 ; +0xcaa, 0x14021560a mov rdx, r14 ; +0xcad, 0x14021560d mov rcx, rsi ; +0xcb0, 0x140215610 call GJBaseGameLayer__canBeActivatedByPlayer ; +0xcb3, 0x140215613 test al, al ; +0xcb8, 0x140215618 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xcba, 0x14021561a mov rax, [rdi] ; +0xcc0, 0x140215620 mov rcx, rdi ; +0xcc3, 0x140215623 call qword ptr [rax+0C8h] ; +0xcc6, 0x140215626 mov rdx, rax ; +0xccc, 0x14021562c lea rcx, [rbp+0D0h+var_E0] ; +0xccf, 0x14021562f call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xcd3, 0x140215633 lea rcx, [r14+0A00h] ; +0xcd9, 0x140215639 mov rdx, rax ; +0xce0, 0x140215640 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xce3, 0x140215643 mov [r14+0A80h], rdi ; +0xce9, 0x140215649 movzx r8d, byte ptr [rdi+41Ch] ; +0xcf0, 0x140215650 mov dl, 1 ; +0xcf8, 0x140215658 mov rcx, r14 ; +0xcfa, 0x14021565a call PlayerObject__togglePlayerScale ; +0xcfd, 0x14021565d mov rcx, rdi ; +0xd02, 0x140215662 call GameObject__playShineEffect ; +0xd05, 0x140215665 mov rax, [rdi] ; +0xd0a, 0x14021566a mov rdx, r14 ; +0xd0d, 0x14021566d mov rcx, rdi ; +0xd10, 0x140215670 call qword ptr [rax+558h] ; +0xd13, 0x140215673 xor r9d, r9d ; +0xd19, 0x140215679 xor r8d, r8d ; +0xd1c, 0x14021567c lea edx, [r9+38h] ; +0xd1f, 0x14021567f mov rcx, rsi ; +0xd23, 0x140215683 call GJBaseGameLayer__gameEventTriggered ; +0xd26, 0x140215686 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xd2b, 0x14021568b cmp byte ptr [rsi+309Ch], 0; jumptable 0000000140214C45 case 15 ; +0xd30, 0x140215690 jnz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xd37, 0x140215697 mov r8, rdi ; +0xd3d, 0x14021569d mov rdx, r14 ; +0xd40, 0x1402156a0 mov rcx, rsi ; +0xd43, 0x1402156a3 call GJBaseGameLayer__canBeActivatedByPlayer ; +0xd46, 0x1402156a6 test al, al ; +0xd4b, 0x1402156ab jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xd4d, 0x1402156ad mov rax, [rdi] ; +0xd53, 0x1402156b3 mov rcx, rdi ; +0xd56, 0x1402156b6 call qword ptr [rax+0C8h] ; +0xd59, 0x1402156b9 mov rdx, rax ; +0xd5f, 0x1402156bf lea rcx, [rbp+0D0h+var_D8] ; +0xd62, 0x1402156c2 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xd66, 0x1402156c6 lea rcx, [r14+0A00h] ; +0xd6c, 0x1402156cc mov rdx, rax ; +0xd73, 0x1402156d3 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xd76, 0x1402156d6 mov [r14+0A80h], rdi ; +0xd7c, 0x1402156dc movzx r8d, byte ptr [rdi+41Ch] ; +0xd83, 0x1402156e3 xor edx, edx ; +0xd8b, 0x1402156eb mov rcx, rsi ; +0xd8d, 0x1402156ed call GJBaseGameLayer__toggleFlipped ; +0xd90, 0x1402156f0 mov rcx, rdi ; +0xd95, 0x1402156f5 call GameObject__playShineEffect ; +0xd98, 0x1402156f8 mov rax, [rdi] ; +0xd9d, 0x1402156fd movaps xmm1, xmm6 ; +0xda0, 0x140215700 mov rcx, rdi ; +0xda3, 0x140215703 call qword ptr [rax+528h] ; +0xda6, 0x140215706 xor r9d, r9d ; +0xdac, 0x14021570c xor r8d, r8d ; +0xdaf, 0x14021570f lea edx, [r9+36h] ; +0xdb2, 0x140215712 mov rcx, rsi ; +0xdb6, 0x140215716 call GJBaseGameLayer__gameEventTriggered ; +0xdb9, 0x140215719 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xdbe, 0x14021571e cmp byte ptr [rsi+309Ch], 0; jumptable 0000000140214C45 case 14 ; +0xdc3, 0x140215723 jnz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xdca, 0x14021572a mov r8, rdi ; +0xdd0, 0x140215730 mov rdx, r14 ; +0xdd3, 0x140215733 mov rcx, rsi ; +0xdd6, 0x140215736 call GJBaseGameLayer__canBeActivatedByPlayer ; +0xdd9, 0x140215739 test al, al ; +0xdde, 0x14021573e jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xde0, 0x140215740 mov rax, [rdi] ; +0xde6, 0x140215746 mov rcx, rdi ; +0xde9, 0x140215749 call qword ptr [rax+0C8h] ; +0xdec, 0x14021574c mov rdx, rax ; +0xdf2, 0x140215752 lea rcx, [rbp+0D0h+var_D0] ; +0xdf5, 0x140215755 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xdf9, 0x140215759 lea rcx, [r14+0A00h] ; +0xdff, 0x14021575f mov rdx, rax ; +0xe06, 0x140215766 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xe09, 0x140215769 mov [r14+0A80h], rdi ; +0xe0f, 0x14021576f movzx r8d, byte ptr [rdi+41Ch] ; +0xe16, 0x140215776 mov dl, 1 ; +0xe1e, 0x14021577e mov rcx, rsi ; +0xe20, 0x140215780 call GJBaseGameLayer__toggleFlipped ; +0xe23, 0x140215783 mov rcx, rdi ; +0xe28, 0x140215788 call GameObject__playShineEffect ; +0xe2b, 0x14021578b mov rax, [rdi] ; +0xe30, 0x140215790 movaps xmm1, xmm6 ; +0xe33, 0x140215793 mov rcx, rdi ; +0xe36, 0x140215796 call qword ptr [rax+528h] ; +0xe39, 0x140215799 xor r9d, r9d ; +0xe3f, 0x14021579f xor r8d, r8d ; +0xe42, 0x1402157a2 lea edx, [r9+35h] ; +0xe45, 0x1402157a5 mov rcx, rsi ; +0xe49, 0x1402157a9 call GJBaseGameLayer__gameEventTriggered ; +0xe4c, 0x1402157ac jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xe51, 0x1402157b1 mov r8, rdi; jumptable 0000000140214C45 case 24 ; +0xe56, 0x1402157b6 mov rdx, r14 ; +0xe59, 0x1402157b9 mov rcx, rsi ; +0xe5c, 0x1402157bc call GJBaseGameLayer__canBeActivatedByPlayer ; +0xe5f, 0x1402157bf test al, al ; +0xe64, 0x1402157c4 jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xe66, 0x1402157c6 mov rax, [rdi] ; +0xe6c, 0x1402157cc mov rcx, rdi ; +0xe6f, 0x1402157cf call qword ptr [rax+0C8h] ; +0xe72, 0x1402157d2 mov rdx, rax ; +0xe78, 0x1402157d8 lea rcx, [rbp+0D0h+var_C8] ; +0xe7b, 0x1402157db call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xe7f, 0x1402157df lea rcx, [r14+0A00h] ; +0xe85, 0x1402157e5 mov rdx, rax ; +0xe8c, 0x1402157ec call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xe8f, 0x1402157ef mov [r14+0A80h], rdi ; +0xe95, 0x1402157f5 mov [rsp+1D0h+var_1B0], 0 ; +0xe9c, 0x1402157fc mov r9, r14 ; +0xea1, 0x140215801 xor r8d, r8d ; +0xea4, 0x140215804 mov rdx, rdi ; +0xea7, 0x140215807 mov rcx, rsi ; +0xeaa, 0x14021580a call GJBaseGameLayer__toggleDualMode ; +0xead, 0x14021580d mov rcx, rdi ; +0xeb2, 0x140215812 call GameObject__playShineEffect ; +0xeb5, 0x140215815 mov rax, [rdi] ; +0xeba, 0x14021581a movaps xmm1, xmm6 ; +0xebd, 0x14021581d mov rcx, rdi ; +0xec0, 0x140215820 call qword ptr [rax+528h] ; +0xec3, 0x140215823 xor r9d, r9d ; +0xec9, 0x140215829 xor r8d, r8d ; +0xecc, 0x14021582c lea edx, [r9+3Ah] ; +0xecf, 0x14021582f mov rcx, rsi ; +0xed3, 0x140215833 call GJBaseGameLayer__gameEventTriggered ; +0xed6, 0x140215836 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xedb, 0x14021583b mov r8, rdi; jumptable 0000000140214C45 case 23 ; +0xee0, 0x140215840 mov rdx, r14 ; +0xee3, 0x140215843 mov rcx, rsi ; +0xee6, 0x140215846 call GJBaseGameLayer__canBeActivatedByPlayer ; +0xee9, 0x140215849 test al, al ; +0xeee, 0x14021584e jz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xef0, 0x140215850 mov rax, [rdi] ; +0xef6, 0x140215856 mov rcx, rdi ; +0xef9, 0x140215859 call qword ptr [rax+0C8h] ; +0xefc, 0x14021585c mov rdx, rax ; +0xf02, 0x140215862 lea rcx, [rbp+0D0h+var_C0] ; +0xf05, 0x140215865 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xf09, 0x140215869 lea rcx, [r14+0A00h] ; +0xf0f, 0x14021586f mov rdx, rax ; +0xf16, 0x140215876 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xf19, 0x140215879 mov [r14+0A80h], rdi ; +0xf1f, 0x14021587f mov rax, [rsi+0DA8h] ; +0xf26, 0x140215886 mov byte ptr [rax+0AA8h], 1 ; +0xf2d, 0x14021588d mov [rsp+1D0h+var_1B0], 0 ; +0xf34, 0x140215894 mov r9, r14 ; +0xf39, 0x140215899 mov r8b, 1 ; +0xf3c, 0x14021589c mov rdx, rdi ; +0xf3f, 0x14021589f mov rcx, rsi ; +0xf42, 0x1402158a2 call GJBaseGameLayer__toggleDualMode ; +0xf45, 0x1402158a5 mov rax, [rsi+0DA8h] ; +0xf4a, 0x1402158aa mov byte ptr [rax+0AA8h], 0 ; +0xf51, 0x1402158b1 mov rcx, rdi ; +0xf58, 0x1402158b8 call GameObject__playShineEffect ; +0xf5b, 0x1402158bb mov rax, [rdi] ; +0xf60, 0x1402158c0 movaps xmm1, xmm6 ; +0xf63, 0x1402158c3 mov rcx, rdi ; +0xf66, 0x1402158c6 call qword ptr [rax+528h] ; +0xf69, 0x1402158c9 xor r9d, r9d ; +0xf6f, 0x1402158cf xor r8d, r8d ; +0xf72, 0x1402158d2 lea edx, [r9+39h] ; +0xf75, 0x1402158d5 mov rcx, rsi ; +0xf79, 0x1402158d9 call GJBaseGameLayer__gameEventTriggered ; +0xf7c, 0x1402158dc jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xf81, 0x1402158e1 mov r8, rdi; jumptable 0000000140214C45 cases 8,9,34,44 ; +0xf86, 0x1402158e6 mov rdx, r14 ; +0xf89, 0x1402158e9 mov rcx, rsi ; +0xf8c, 0x1402158ec call GJBaseGameLayer__bumpPlayer ; +0xf8f, 0x1402158ef jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0xf94, 0x1402158f4 mov rcx, rdi; jumptable 0000000140214C45 case 10 ; +0xf99, 0x1402158f9 cmp byte ptr [r14+9C3h], 0 ; +0xf9c, 0x1402158fc jz short loc_14021590D ; +0xfa4, 0x140215904 call GameObject__isFacingLeft ; +0xfa6, 0x140215906 jmp short loc_140215912 ; +0xfab, 0x14021590b call GameObject__isFacingDown ; +0xfad, 0x14021590d movzx r15d, al ; +0xfb2, 0x140215912 xor r15b, 1 ; +0xfb6, 0x140215916 cmp [r14+9BFh], r15b ; +0xfba, 0x14021591a jz loc_140215A11 ; +0xfc1, 0x140215921 mov r8, rdi ; +0xfc7, 0x140215927 mov rdx, r14 ; +0xfca, 0x14021592a mov rcx, rsi ; +0xfcd, 0x14021592d call GJBaseGameLayer__canBeActivatedByPlayer ; +0xfd0, 0x140215930 test al, al ; +0xfd5, 0x140215935 jz loc_140215A11 ; +0xfd7, 0x140215937 cmp byte ptr [rdi+704h], 0 ; +0xfdd, 0x14021593d jz short loc_140215951 ; +0xfe4, 0x140215944 mov rdx, rdi ; +0xfe6, 0x140215946 mov rcx, r14 ; +0xfe9, 0x140215949 call PlayerObject__reversePlayer ; +0xfec, 0x14021594c cmp byte ptr [rdi+41Ch], 0 ; +0xff1, 0x140215951 jnz short loc_14021596A ; +0xff8, 0x140215958 mov rax, [rsi] ; +0xffa, 0x14021595a movzx edx, r15b ; +0xffd, 0x14021595d mov rcx, rsi ; +0x1001, 0x140215961 call qword ptr [rax+500h] ; +0x1004, 0x140215964 movss xmm2, cs:dword_14062381C ; +0x100a, 0x14021596a movaps xmm1, xmm6 ; +0x1012, 0x140215972 lea rcx, [rbp+0D0h+var_B8] ; +0x1015, 0x140215975 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1019, 0x140215979 mov rbx, rax ; +0x101f, 0x14021597f mov rdx, [rdi] ; +0x1022, 0x140215982 mov rcx, rdi ; +0x1025, 0x140215985 call qword ptr [rdx+0C8h] ; +0x1028, 0x140215988 mov r8, rbx ; +0x102e, 0x14021598e lea rdx, [rsp+1D0h+var_180] ; +0x1031, 0x140215991 mov rcx, rax ; +0x1036, 0x140215996 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x1039, 0x140215999 lea rcx, [r14+0A00h] ; +0x103f, 0x14021599f lea rdx, [rsp+1D0h+var_180] ; +0x1046, 0x1402159a6 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x104b, 0x1402159ab mov rax, [rdi] ; +0x1051, 0x1402159b1 mov rdx, r14 ; +0x1054, 0x1402159b4 mov rcx, rdi ; +0x1057, 0x1402159b7 call qword ptr [rax+558h] ; +0x105a, 0x1402159ba mov [r14+0A80h], rdi ; +0x1060, 0x1402159c0 mov r9d, 0Ah ; +0x1067, 0x1402159c7 movzx r8d, byte ptr [rdi+41Ch] ; +0x106d, 0x1402159cd movss xmm1, cs:dword_140622BA4 ; +0x1075, 0x1402159d5 mov rcx, r14 ; +0x107d, 0x1402159dd call PlayerObject__propellPlayer ; +0x1080, 0x1402159e0 mov r9b, 1 ; +0x1085, 0x1402159e5 movzx r8d, r15b ; +0x1088, 0x1402159e8 mov rdx, r14 ; +0x108c, 0x1402159ec mov rcx, rsi ; +0x108f, 0x1402159ef call GJBaseGameLayer__flipGravity ; +0x1092, 0x1402159f2 mov byte ptr [r14+7E0h], 1 ; +0x1097, 0x1402159f7 xor r9d, r9d ; +0x109f, 0x1402159ff xor r8d, r8d ; +0x10a2, 0x140215a02 lea edx, [r9+30h] ; +0x10a5, 0x140215a05 mov rcx, rsi ; +0x10a9, 0x140215a09 call GJBaseGameLayer__gameEventTriggered ; +0x10ac, 0x140215a0c lea r15, cs:140000000h ; +0x10b1, 0x140215a11 inc r12; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x10b8, 0x140215a18 cmp r12, [rsp+1D0h+var_160._Mypair._Myval2._Myfirst] ; +0x10bb, 0x140215a1b jge loc_140215FA5 ; +0x10c0, 0x140215a20 mov rdi, [rbp+0D0h+arg_10] ; +0x10c6, 0x140215a26 jmp loc_140214A20 ; +0x10cd, 0x140215a2d mov r8, rdi; jumptable 0000000140214C45 cases 11-13,29,32,35-38,43 ; +0x10d2, 0x140215a32 mov rdx, r14 ; +0x10d5, 0x140215a35 mov rcx, rsi ; +0x10d8, 0x140215a38 call GJBaseGameLayer__playerTouchedRing ; +0x10db, 0x140215a3b jmp short def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x10e0, 0x140215a40 mov r8, rdi; jumptable 0000000140214C45 case 46 ; +0x10e2, 0x140215a42 mov rdx, r14 ; +0x10e5, 0x140215a45 mov rcx, rsi ; +0x10e8, 0x140215a48 call GJBaseGameLayer__playerTouchedRing ; +0x10eb, 0x140215a4b jmp loc_140215E78 ; +0x10f0, 0x140215a50 mov r8, rdi; jumptable 0000000140214C45 cases 20,45 ; +0x10f5, 0x140215a55 mov rdx, r14 ; +0x10f8, 0x140215a58 mov rcx, rsi ; +0x10fb, 0x140215a5b call GJBaseGameLayer__playerTouchedTrigger ; +0x10fe, 0x140215a5e jmp short def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1103, 0x140215a63 mov ecx, [rdi+40Ch]; jumptable 0000000140214C45 case 40 ; +0x1105, 0x140215a65 cmp ecx, 743h ; +0x110b, 0x140215a6b jg short loc_140215AD6 ; +0x1111, 0x140215a71 jz short loc_140215AC6 ; +0x1113, 0x140215a73 sub ecx, 6DBh ; +0x1115, 0x140215a75 jz short loc_140215AB6 ; +0x111b, 0x140215a7b sub ecx, 3Ah ; ':' ; +0x111d, 0x140215a7d jz short loc_140215AA6 ; +0x1120, 0x140215a80 cmp ecx, 10h ; +0x1122, 0x140215a82 jnz short def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1125, 0x140215a85 cmp byte ptr [r14+9E4h], 0 ; +0x1127, 0x140215a87 jz short def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x112f, 0x140215a8f mov rcx, r14 ; +0x1131, 0x140215a91 call PlayerObject__stopDashing ; +0x1134, 0x140215a94 mov byte ptr [r14+985h], 0 ; +0x1139, 0x140215a99 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1141, 0x140215aa1 mov dword ptr [r14+0B74h], 2 ; +0x1146, 0x140215aa6 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1151, 0x140215ab1 mov dword ptr [r14+0B78h], 2 ; +0x1156, 0x140215ab6 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1161, 0x140215ac1 mov dword ptr [r14+0B7Ch], 2 ; +0x1166, 0x140215ac6 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1171, 0x140215ad1 cmp ecx, 815h ; +0x1176, 0x140215ad6 jz short loc_140215AF6 ; +0x117c, 0x140215adc cmp ecx, 0B32h ; +0x117e, 0x140215ade jz loc_140215BA1 ; +0x1184, 0x140215ae4 cmp ecx, 0E3Dh ; +0x118a, 0x140215aea jnz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1190, 0x140215af0 mov dword ptr [r14+0B88h], 2 ; +0x1196, 0x140215af6 mov eax, [rdi+750h] ; +0x11a1, 0x140215b01 mov [rbp+0D0h+arg_18], eax ; +0x11a7, 0x140215b07 test eax, eax ; +0x11ad, 0x140215b0d jle short loc_140215B43 ; +0x11af, 0x140215b0f lea rdx, [rbp+0D0h+arg_18] ; +0x11b1, 0x140215b11 lea rcx, [r14+0B98h] ; +0x11b8, 0x140215b18 call sub_1400CDBF0 ; +0x11bf, 0x140215b1f cmp byte ptr [rax], 0 ; +0x11c4, 0x140215b24 jnz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x11c7, 0x140215b27 lea rdx, [rbp+0D0h+arg_18] ; +0x11cd, 0x140215b2d lea rcx, [r14+0B98h] ; +0x11d4, 0x140215b34 call sub_1400CDBF0 ; +0x11db, 0x140215b3b mov byte ptr [rax], 1 ; +0x11e0, 0x140215b40 mov r8, r14 ; +0x11e3, 0x140215b43 lea rdx, [rsp+1D0h+var_178] ; +0x11e6, 0x140215b46 mov rcx, rdi ; +0x11eb, 0x140215b4b call ForceBlockGameObject__calculateForceToTarget ; +0x11ee, 0x140215b4e lea rbx, [r14+0B8Ch] ; +0x11f3, 0x140215b53 lea r8, [rsp+1D0h+var_178] ; +0x11fa, 0x140215b5a lea rdx, [rsp+1D0h+var_170] ; +0x11ff, 0x140215b5f mov rcx, rbx ; +0x1204, 0x140215b64 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x1207, 0x140215b67 lea rdx, [rsp+1D0h+var_170] ; +0x120d, 0x140215b6d mov rcx, rbx ; +0x1212, 0x140215b72 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1215, 0x140215b75 movss xmm0, dword ptr [rbx+4] ; +0x121b, 0x140215b7b movss xmm1, dword ptr [rbx] ; +0x1220, 0x140215b80 mulss xmm1, xmm1 ; +0x1224, 0x140215b84 mulss xmm0, xmm0 ; +0x1228, 0x140215b88 addss xmm1, xmm0 ; +0x122c, 0x140215b8c xorps xmm0, xmm0 ; +0x1230, 0x140215b90 ucomiss xmm0, xmm1 ; +0x1233, 0x140215b93 ja short loc_140215BB1 ; +0x1236, 0x140215b96 xorps xmm0, xmm0 ; +0x1238, 0x140215b98 sqrtss xmm0, xmm1 ; +0x123b, 0x140215b9b jmp short loc_140215BB9 ; +0x123f, 0x140215b9f mov dword ptr [r14+0B80h], 2 ; +0x1241, 0x140215ba1 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x124c, 0x140215bac movaps xmm0, xmm1; X ; +0x1251, 0x140215bb1 call sqrtf ; +0x1254, 0x140215bb4 comiss xmm0, cs:dword_140623610 ; +0x1259, 0x140215bb9 jbe def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1260, 0x140215bc0 movss xmm2, cs:dword_140623610 ; +0x1266, 0x140215bc6 divss xmm2, xmm0 ; +0x126e, 0x140215bce lea rdx, [rsp+1D0h+var_168] ; +0x1272, 0x140215bd2 mov rcx, rbx ; +0x1277, 0x140215bd7 call cs:??DCCPoint@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCPoint::operator*(float) ; +0x127a, 0x140215bda lea rdx, [rsp+1D0h+var_168] ; +0x1280, 0x140215be0 mov rcx, rbx ; +0x1285, 0x140215be5 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1288, 0x140215be8 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x128e, 0x140215bee cmp byte ptr [rsi+31F0h], 0; jumptable 0000000140214C45 case 22 ; +0x1293, 0x140215bf3 jnz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x129a, 0x140215bfa mov rax, [rdi] ; +0x12a0, 0x140215c00 xor r9d, r9d ; +0x12a3, 0x140215c03 mov r8d, [r14+39Ch] ; +0x12a6, 0x140215c06 mov rdx, rsi ; +0x12ad, 0x140215c0d mov rcx, rdi ; +0x12b0, 0x140215c10 call qword ptr [rax+468h] ; +0x12b3, 0x140215c13 mov rax, [rdi] ; +0x12b9, 0x140215c19 movaps xmm1, xmm6 ; +0x12bc, 0x140215c1c mov rcx, rdi ; +0x12bf, 0x140215c1f call qword ptr [rax+528h] ; +0x12c2, 0x140215c22 mov rdx, rdi ; +0x12c8, 0x140215c28 mov rcx, rsi ; +0x12cb, 0x140215c2b call GJBaseGameLayer__destroyObject ; +0x12ce, 0x140215c2e mov rdx, rdi ; +0x12d3, 0x140215c33 mov rcx, rsi ; +0x12d6, 0x140215c36 call GJBaseGameLayer__hasUniqueCoin ; +0x12d9, 0x140215c39 test al, al ; +0x12de, 0x140215c3e jnz short loc_140215C4D ; +0x12e0, 0x140215c40 mov rdx, rdi ; +0x12e2, 0x140215c42 mov rcx, rsi ; +0x12e5, 0x140215c45 call GJBaseGameLayer__pickupItem ; +0x12e8, 0x140215c48 xor r9d, r9d ; +0x12ed, 0x140215c4d xor r8d, r8d ; +0x12f0, 0x140215c50 lea edx, [r9+3Eh] ; +0x12f3, 0x140215c53 mov rcx, rsi ; +0x12f7, 0x140215c57 call GJBaseGameLayer__gameEventTriggered ; +0x12fa, 0x140215c5a jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x12ff, 0x140215c5f cmp byte ptr [rsi+31F0h], 0; jumptable 0000000140214C45 case 31 ; +0x1304, 0x140215c64 jnz def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x130b, 0x140215c6b mov edx, [rdi+39Ch] ; +0x1311, 0x140215c71 mov r9, [rsi+950h] ; +0x1317, 0x140215c77 mov r8, [r9+558h] ; +0x131e, 0x140215c7e mov rax, [r8+8] ; +0x1325, 0x140215c85 cmp byte ptr [rax+19h], 0 ; +0x1329, 0x140215c89 jnz short loc_140215CAF ; +0x132d, 0x140215c8d nop ; +0x132f, 0x140215c8f cmp [rax+1Ch], edx ; +0x1330, 0x140215c90 jl short loc_140215CA5 ; +0x1333, 0x140215c93 jg short loc_140215C9D ; +0x1335, 0x140215c95 cmp dword ptr [rax+20h], 0 ; +0x1337, 0x140215c97 jl short loc_140215CA5 ; +0x133b, 0x140215c9b mov r8, rax ; +0x133d, 0x140215c9d mov rax, [rax] ; +0x1340, 0x140215ca0 jmp short loc_140215CA9 ; +0x1343, 0x140215ca3 mov rax, [rax+10h] ; +0x1345, 0x140215ca5 cmp byte ptr [rax+19h], 0 ; +0x1349, 0x140215ca9 jz short loc_140215C90 ; +0x134d, 0x140215cad cmp byte ptr [r8+19h], 0 ; +0x134f, 0x140215caf jnz short loc_140215CC5 ; +0x1354, 0x140215cb4 cmp edx, [r8+1Ch] ; +0x1356, 0x140215cb6 jl short loc_140215CC5 ; +0x135a, 0x140215cba jg short loc_140215D16 ; +0x135c, 0x140215cbc cmp dword ptr [r8+20h], 0 ; +0x135e, 0x140215cbe jle short loc_140215D16 ; +0x1363, 0x140215cc3 xor r8d, r8d ; +0x1365, 0x140215cc5 mov rcx, r9 ; +0x1368, 0x140215cc8 call GJEffectManager__storeTriggeredID ; +0x136b, 0x140215ccb mov rax, [rdi] ; +0x1370, 0x140215cd0 xor r9d, r9d ; +0x1373, 0x140215cd3 mov r8d, [r14+39Ch] ; +0x1376, 0x140215cd6 mov rdx, rsi ; +0x137d, 0x140215cdd mov rcx, rdi ; +0x1380, 0x140215ce0 call qword ptr [rax+468h] ; +0x1383, 0x140215ce3 mov rdx, rdi ; +0x1389, 0x140215ce9 mov rcx, rsi ; +0x138c, 0x140215cec call GJBaseGameLayer__hasUniqueCoin ; +0x138f, 0x140215cef test al, al ; +0x1394, 0x140215cf4 jnz short loc_140215D03 ; +0x1396, 0x140215cf6 mov rdx, rdi ; +0x1398, 0x140215cf8 mov rcx, rsi ; +0x139b, 0x140215cfb call GJBaseGameLayer__pickupItem ; +0x139e, 0x140215cfe mov edx, 3Eh ; '>' ; +0x13a3, 0x140215d03 xor r9d, r9d ; +0x13a8, 0x140215d08 xor r8d, r8d ; +0x13ab, 0x140215d0b mov rcx, rsi ; +0x13ae, 0x140215d0e call GJBaseGameLayer__gameEventTriggered ; +0x13b1, 0x140215d11 mov rax, [rdi] ; +0x13b6, 0x140215d16 movaps xmm1, xmm6 ; +0x13b9, 0x140215d19 mov rcx, rdi ; +0x13bc, 0x140215d1c call qword ptr [rax+528h] ; +0x13bf, 0x140215d1f mov rdx, rdi ; +0x13c5, 0x140215d25 mov rcx, rsi ; +0x13c8, 0x140215d28 call GJBaseGameLayer__destroyObject ; +0x13cb, 0x140215d2b jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x13d0, 0x140215d30 mov edx, [rdi+39Ch]; jumptable 0000000140214C45 case 30 ; +0x13d5, 0x140215d35 mov r9, [rsi+950h] ; +0x13db, 0x140215d3b mov r8, [r9+558h] ; +0x13e2, 0x140215d42 mov rax, [r8+8] ; +0x13e9, 0x140215d49 cmp byte ptr [rax+19h], 0 ; +0x13ed, 0x140215d4d jnz short loc_140215D72 ; +0x13f1, 0x140215d51 cmp [rax+1Ch], edx ; +0x13f3, 0x140215d53 jl short loc_140215D68 ; +0x13f6, 0x140215d56 jg short loc_140215D60 ; +0x13f8, 0x140215d58 cmp dword ptr [rax+20h], 0 ; +0x13fa, 0x140215d5a jl short loc_140215D68 ; +0x13fe, 0x140215d5e mov r8, rax ; +0x1400, 0x140215d60 mov rax, [rax] ; +0x1403, 0x140215d63 jmp short loc_140215D6C ; +0x1406, 0x140215d66 mov rax, [rax+10h] ; +0x1408, 0x140215d68 cmp byte ptr [rax+19h], 0 ; +0x140c, 0x140215d6c jz short loc_140215D53 ; +0x1410, 0x140215d70 cmp byte ptr [r8+19h], 0 ; +0x1412, 0x140215d72 jnz short loc_140215D88 ; +0x1417, 0x140215d77 cmp edx, [r8+1Ch] ; +0x1419, 0x140215d79 jl short loc_140215D88 ; +0x141d, 0x140215d7d jg short loc_140215D16 ; +0x141f, 0x140215d7f cmp dword ptr [r8+20h], 0 ; +0x1421, 0x140215d81 jle short loc_140215D16 ; +0x1426, 0x140215d86 xor r8d, r8d ; +0x1428, 0x140215d88 mov rcx, r9 ; +0x142b, 0x140215d8b call GJEffectManager__storeTriggeredID ; +0x142e, 0x140215d8e cmp dword ptr [rdi+40Ch], 4F4h ; +0x1433, 0x140215d93 jnz short loc_140215DFD ; +0x143d, 0x140215d9d xorps xmm0, xmm0 ; +0x143f, 0x140215d9f movdqu xmmword ptr [rsp+1D0h+var_160._Mypair._Myval2._Mylast], xmm0 ; +0x1442, 0x140215da2 mov [rbp+0D0h+var_148], 0 ; +0x1448, 0x140215da8 lea rdx, [rsp+1D0h+var_160._Mypair._Myval2._Mylast] ; +0x1450, 0x140215db0 mov rcx, rdi ; +0x1455, 0x140215db5 call SpawnTriggerGameObject__updateRemapKeys ; +0x1458, 0x140215db8 nop ; +0x145d, 0x140215dbd mov rcx, [rsp+1D0h+var_160._Mypair._Myval2._Mylast] ; +0x145e, 0x140215dbe test rcx, rcx ; +0x1463, 0x140215dc3 jz short loc_140215DFD ; +0x1466, 0x140215dc6 mov rdx, [rbp+0D0h+var_148] ; +0x1468, 0x140215dc8 sub rdx, rcx ; +0x146c, 0x140215dcc and rdx, 0FFFFFFFFFFFFFFFCh ; +0x146f, 0x140215dcf mov rax, rcx ; +0x1473, 0x140215dd3 cmp rdx, 1000h ; +0x1476, 0x140215dd6 jb short loc_140215DF8 ; +0x147d, 0x140215ddd add rdx, 27h ; ''' ; +0x147f, 0x140215ddf mov rcx, [rcx-8]; Block ; +0x1483, 0x140215de3 sub rax, rcx ; +0x1487, 0x140215de7 add rax, 0FFFFFFFFFFFFFFF8h ; +0x148a, 0x140215dea cmp rax, 1Fh ; +0x148e, 0x140215dee ja loc_140215F9E ; +0x1492, 0x140215df2 call j_j_free ; +0x1498, 0x140215df8 mov rax, [rdi] ; +0x149d, 0x140215dfd xor r9d, r9d ; +0x14a0, 0x140215e00 mov r8d, [r14+39Ch] ; +0x14a3, 0x140215e03 mov rdx, rsi ; +0x14aa, 0x140215e0a mov rcx, rdi ; +0x14ad, 0x140215e0d call qword ptr [rax+468h] ; +0x14b0, 0x140215e10 mov edx, 3Fh ; '?' ; +0x14b6, 0x140215e16 jmp loc_140215D08 ; +0x14bb, 0x140215e1b cmp byte ptr [r14+9C3h], 0; jumptable 0000000140214C45 case 25 ; +0x14c0, 0x140215e20 jz short loc_140215E62 ; +0x14c8, 0x140215e28 lea rdx, stru_1406C2458 ; +0x14ca, 0x140215e2a lea rcx, [rbp+0D0h+var_A0] ; +0x14d1, 0x140215e31 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x14d5, 0x140215e35 mov r9, rax ; +0x14db, 0x140215e3b mov [rsp+1D0h+var_1A0], 1 ; +0x14de, 0x140215e3e mov [rsp+1D0h+var_1A8], 0 ; +0x14e3, 0x140215e43 mov [rsp+1D0h+var_1B0], 0 ; +0x14e8, 0x140215e48 mov r8, rdi ; +0x14ed, 0x140215e4d movss xmm1, [rbp+0D0h+arg_20] ; +0x14f0, 0x140215e50 mov rcx, r14 ; +0x14f8, 0x140215e58 call PlayerObject__handleRotatedCollisionInternal ; +0x14fb, 0x140215e5b jmp short loc_140215E78 ; +0x1500, 0x140215e60 xor r9d, r9d ; +0x1502, 0x140215e62 mov r8, rdi ; +0x1505, 0x140215e65 movss xmm1, [rbp+0D0h+arg_20] ; +0x1508, 0x140215e68 mov rcx, r14 ; +0x1510, 0x140215e70 call PlayerObject__collidedWithSlopeInternal ; +0x1513, 0x140215e73 mov rax, [r14] ; +0x1518, 0x140215e78 mov rcx, r14 ; +0x151b, 0x140215e7b call qword ptr [rax+490h] ; +0x151e, 0x140215e7e mov rdx, rax ; +0x1524, 0x140215e84 mov rcx, r13 ; +0x1527, 0x140215e87 call cs:??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0x152a, 0x140215e8a mov rcx, r13 ; +0x1530, 0x140215e90 call cs:?getMaxX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxX(void) ; +0x1533, 0x140215e93 movaps xmm7, xmm0 ; +0x1539, 0x140215e99 mov rcx, r13 ; +0x153c, 0x140215e9c call cs:?getMinX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinX(void) ; +0x153f, 0x140215e9f movaps xmm8, xmm0 ; +0x1545, 0x140215ea5 mov rcx, r13 ; +0x1549, 0x140215ea9 call cs:?getMaxY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxY(void) ; +0x154c, 0x140215eac movaps xmm9, xmm0 ; +0x1552, 0x140215eb2 mov rcx, r13 ; +0x1556, 0x140215eb6 call cs:?getMinY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinY(void) ; +0x1559, 0x140215eb9 movaps xmm10, xmm0 ; +0x155f, 0x140215ebf jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1563, 0x140215ec3 movsxd rcx, dword ptr [rsi+31B8h] ; +0x1568, 0x140215ec8 lea rax, [rsi+31C0h] ; +0x156f, 0x140215ecf cmp [rsi+31BCh], ecx ; +0x1576, 0x140215ed6 jg short loc_140215F21 ; +0x157c, 0x140215edc mov rdx, [rax+8] ; +0x157e, 0x140215ede cmp rdx, [rax+10h] ; +0x1582, 0x140215ee2 jz short loc_140215F01 ; +0x1586, 0x140215ee6 mov [rdx], rdi ; +0x1588, 0x140215ee8 add qword ptr [rax+8], 8 ; +0x158b, 0x140215eeb inc dword ptr [rsi+31BCh] ; +0x1590, 0x140215ef0 inc dword ptr [rsi+31B8h] ; +0x1596, 0x140215ef6 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x159c, 0x140215efc lea r8, [rbp+0D0h+arg_8] ; +0x15a1, 0x140215f01 mov rcx, rax ; +0x15a8, 0x140215f08 call sub_14012D2A0 ; +0x15ab, 0x140215f0b inc dword ptr [rsi+31BCh] ; +0x15b0, 0x140215f10 inc dword ptr [rsi+31B8h] ; +0x15b6, 0x140215f16 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x15bc, 0x140215f1c mov rax, [rax] ; +0x15c1, 0x140215f21 mov [rax+rcx*8], rdi ; +0x15c4, 0x140215f24 inc dword ptr [rsi+31B8h] ; +0x15c8, 0x140215f28 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x15ce, 0x140215f2e movsxd rcx, dword ptr [rsi+3194h] ; +0x15d3, 0x140215f33 lea rax, [rsi+31A0h] ; +0x15da, 0x140215f3a cmp [rsi+3198h], ecx ; +0x15e1, 0x140215f41 jg short loc_140215F8C ; +0x15e7, 0x140215f47 mov rdx, [rax+8] ; +0x15e9, 0x140215f49 cmp rdx, [rax+10h] ; +0x15ed, 0x140215f4d jz short loc_140215F6C ; +0x15f1, 0x140215f51 mov [rdx], rdi ; +0x15f3, 0x140215f53 add qword ptr [rax+8], 8 ; +0x15f6, 0x140215f56 inc dword ptr [rsi+3198h] ; +0x15fb, 0x140215f5b inc dword ptr [rsi+3194h] ; +0x1601, 0x140215f61 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1607, 0x140215f67 lea r8, [rbp+0D0h+arg_8] ; +0x160c, 0x140215f6c mov rcx, rax ; +0x1613, 0x140215f73 call sub_14012D2A0 ; +0x1616, 0x140215f76 inc dword ptr [rsi+3198h] ; +0x161b, 0x140215f7b inc dword ptr [rsi+3194h] ; +0x1621, 0x140215f81 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1627, 0x140215f87 mov rax, [rax] ; +0x162c, 0x140215f8c mov [rax+rcx*8], rdi ; +0x162f, 0x140215f8f inc dword ptr [rsi+3194h] ; +0x1633, 0x140215f93 jmp def_140214C45; jumptable 0000000140214C45 default case, cases 7,21,39 ; +0x1639, 0x140215f99 call cs:_invalid_parameter_noinfo_noreturn ; +0x163e, 0x140215f9e db 0CCh ; +0x1644, 0x140215fa4 lea r11, [rsp+1D0h+var_30] ; +0x1645, 0x140215fa5 mov rbx, [r11+40h] ; +0x164d, 0x140215fad movaps xmm6, xmmword ptr [r11-10h] ; +0x1651, 0x140215fb1 movaps xmm7, xmmword ptr [r11-20h] ; +0x1656, 0x140215fb6 movaps xmm8, xmmword ptr [r11-30h] ; +0x165b, 0x140215fbb movaps xmm9, xmmword ptr [r11-40h] ; +0x1660, 0x140215fc0 movaps xmm10, xmmword ptr [r11-50h] ; +0x1665, 0x140215fc5 movaps xmm11, xmmword ptr [r11-60h] ; +0x166a, 0x140215fca mov rsp, r11 ; +0x166f, 0x140215fcf pop r15 ; +0x1672, 0x140215fd2 pop r14 ; +0x1674, 0x140215fd4 pop r13 ; +0x1676, 0x140215fd6 pop r12 ; +0x1678, 0x140215fd8 pop rdi ; +0x167a, 0x140215fda pop rsi ; +0x167b, 0x140215fdb pop rbp ; +0x167c, 0x140215fdc retn ; +0x167d, 0x140215fdd align 20h ; +0x167e, 0x140215fde dd offset loc_140214C47 - 140000000h; jump table for switch statement ; +0x1680, 0x140215fe0