; ; GJBaseGameLayer::processRotationActions from 0x14022b7f0 to 0x14022c0fd (2317 bytes) ; ; 4 xrefs: ; > GJBaseGameLayer::processMoveActionsStep @ 0x14022b70e ; > @ 0x140680918 ; > @ 0x140680928 ; > @ 0x1406cdbcc ; ; 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, 0x14022b7f0 push rbp ; +0x3, 0x14022b7f3 push rbx ; +0x4, 0x14022b7f4 push rdi ; +0x5, 0x14022b7f5 lea rbp, [rax-38h] ; +0x6, 0x14022b7f6 sub rsp, 120h ; +0xa, 0x14022b7fa movaps xmmword ptr [rax-58h], xmm8 ; +0x11, 0x14022b801 movaps xmmword ptr [rax-68h], xmm9 ; +0x16, 0x14022b806 movaps xmmword ptr [rax-78h], xmm10 ; +0x1b, 0x14022b80b mov rax, cs:__security_cookie ; +0x20, 0x14022b810 xor rax, rsp ; +0x27, 0x14022b817 mov [rbp+30h+var_78], rax ; +0x2a, 0x14022b81a mov rdi, rcx ; +0x2e, 0x14022b81e mov rcx, [rcx+0FE8h] ; +0x31, 0x14022b821 mov rax, [rcx] ; +0x38, 0x14022b828 call qword ptr [rax+80h] ; +0x3b, 0x14022b82b mov rcx, [rdi+0FE8h] ; +0x41, 0x14022b831 movaps xmm9, xmm0 ; +0x48, 0x14022b838 mov rax, [rcx] ; +0x4c, 0x14022b83c call qword ptr [rax+90h] ; +0x4f, 0x14022b83f mov rcx, [rdi+0FE8h] ; +0x55, 0x14022b845 movaps xmm10, xmm0 ; +0x5c, 0x14022b84c mov rax, [rcx] ; +0x60, 0x14022b850 call qword ptr [rax+0C8h] ; +0x63, 0x14022b853 mov rdx, rax ; +0x69, 0x14022b859 lea rcx, [rbp+30h+var_B0] ; +0x6c, 0x14022b85c call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x70, 0x14022b860 mov rcx, [rdi+0FE8h] ; +0x76, 0x14022b866 movss xmm8, cs:flt_140622C24 ; +0x7d, 0x14022b86d movaps xmm1, xmm8 ; +0x86, 0x14022b876 mov rax, [rcx] ; +0x8a, 0x14022b87a call qword ptr [rax+0A0h] ; +0x8d, 0x14022b87d mov rcx, [rdi+0FE8h] ; +0x93, 0x14022b883 lea rdx, dword_1406C1D28 ; +0x9a, 0x14022b88a mov rax, [rcx] ; +0xa1, 0x14022b891 call qword ptr [rax+0B8h] ; +0xa4, 0x14022b894 mov rcx, [rdi+950h] ; +0xaa, 0x14022b89a mov rcx, [rcx+680h] ; +0xb1, 0x14022b8a1 mov rax, [rcx] ; +0xb8, 0x14022b8a8 cmp rax, rcx ; +0xbb, 0x14022b8ab jz short loc_14022B8E1 ; +0xbe, 0x14022b8ae mov r10, [rax+20h] ; +0xc0, 0x14022b8b0 mov r9, [rax+18h] ; +0xc4, 0x14022b8b4 cmp r9, r10 ; +0xc8, 0x14022b8b8 jz short loc_14022B8D9 ; +0xcb, 0x14022b8bb nop dword ptr [rax] ; +0xcd, 0x14022b8bd mov r8, [r9] ; +0xd0, 0x14022b8c0 add r9, 8 ; +0xd3, 0x14022b8c3 mov edx, [rdi+3E0h] ; +0xd7, 0x14022b8c7 mov [r8+204h], edx ; +0xdd, 0x14022b8cd cmp r9, r10 ; +0xe4, 0x14022b8d4 jnz short loc_14022B8C0 ; +0xe7, 0x14022b8d7 mov rax, [rax] ; +0xe9, 0x14022b8d9 cmp rax, rcx ; +0xec, 0x14022b8dc jnz short loc_14022B8B0 ; +0xef, 0x14022b8df mov rax, [rdi+950h] ; +0xf1, 0x14022b8e1 mov rbx, [rax+668h] ; +0xf8, 0x14022b8e8 mov rax, [rax+660h] ; +0xff, 0x14022b8ef mov [rsp+130h+var_E8], rbx ; +0x106, 0x14022b8f6 mov [rsp+130h+var_C0], rax ; +0x10b, 0x14022b8fb cmp rax, rbx ; +0x110, 0x14022b900 jz loc_14022C09A ; +0x113, 0x14022b903 mov [rsp+130h+arg_8], rsi ; +0x119, 0x14022b909 mov rcx, rbx ; +0x121, 0x14022b911 mov [rsp+130h+arg_10], r12 ; +0x124, 0x14022b914 mov r12d, 270Fh ; +0x12c, 0x14022b91c mov [rsp+130h+arg_18], r13 ; +0x132, 0x14022b922 xor r13d, r13d ; +0x13a, 0x14022b92a mov qword ptr [rsp+130h+var_18], r14 ; +0x13d, 0x14022b92d mov [rsp+130h+var_20], r15 ; +0x145, 0x14022b935 movaps [rsp+130h+var_38+8], xmm6 ; +0x14d, 0x14022b93d movaps [rsp+130h+var_48+8], xmm7 ; +0x155, 0x14022b945 xorps xmm7, xmm7 ; +0x15d, 0x14022b94d mov rbx, [rax] ; +0x160, 0x14022b950 mov eax, [rdi+3E0h] ; +0x163, 0x14022b953 cmp [rbx+204h], eax ; +0x169, 0x14022b959 jnz loc_14022C04B ; +0x16f, 0x14022b95f cmp byte ptr [rbx+1A8h], 0 ; +0x175, 0x14022b965 jnz loc_14022C04B ; +0x17c, 0x14022b96c movsxd r14, dword ptr [rbx+2Ch] ; +0x182, 0x14022b972 test r14d, r14d ; +0x186, 0x14022b976 jle short loc_14022B9C4 ; +0x189, 0x14022b979 mov rcx, [rdi+0F60h] ; +0x18b, 0x14022b97b mov rdx, r14 ; +0x192, 0x14022b982 call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x195, 0x14022b985 mov rsi, rax ; +0x19b, 0x14022b98b test rax, rax ; +0x19e, 0x14022b98e jnz short loc_14022B9C7 ; +0x1a1, 0x14022b991 mov edx, r14d ; +0x1a3, 0x14022b993 mov rcx, rdi ; +0x1a6, 0x14022b996 call GJBaseGameLayer__getGroup ; +0x1a9, 0x14022b999 mov rsi, rax ; +0x1ae, 0x14022b99e test rax, rax ; +0x1b1, 0x14022b9a1 jz short loc_14022B9C4 ; +0x1b4, 0x14022b9a4 mov rcx, rax ; +0x1b6, 0x14022b9a6 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1b9, 0x14022b9a9 cmp eax, 1 ; +0x1bf, 0x14022b9af jnz short loc_14022B9C4 ; +0x1c2, 0x14022b9b2 xor edx, edx ; +0x1c4, 0x14022b9b4 mov rcx, rsi ; +0x1c6, 0x14022b9b6 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x1c9, 0x14022b9b9 mov rsi, rax ; +0x1cf, 0x14022b9bf jmp short loc_14022B9C7 ; +0x1d2, 0x14022b9c2 mov rsi, r13 ; +0x1d4, 0x14022b9c4 mov eax, [rbx+28h] ; +0x1d7, 0x14022b9c7 cmp eax, r12d ; +0x1da, 0x14022b9ca cmovg eax, r12d ; +0x1dd, 0x14022b9cd test eax, eax ; +0x1e1, 0x14022b9d1 cmovs eax, r13d ; +0x1e3, 0x14022b9d3 mov r14d, eax ; +0x1e7, 0x14022b9d7 mov rax, [rdi+0F30h] ; +0x1ea, 0x14022b9da mov r15, [rax+r14*8] ; +0x1f1, 0x14022b9e1 test r15, r15 ; +0x1f5, 0x14022b9e5 jnz short loc_14022BA11 ; +0x1f8, 0x14022b9e8 call cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x1fa, 0x14022b9ea mov rcx, [rdi+0F08h] ; +0x200, 0x14022b9f0 mov r8d, r14d ; +0x207, 0x14022b9f7 mov rdx, rax ; +0x20a, 0x14022b9fa mov r15, rax ; +0x20d, 0x14022b9fd call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x210, 0x14022ba00 mov rcx, [rdi+0F30h] ; +0x216, 0x14022ba06 mov [rcx+r14*8], r15 ; +0x21d, 0x14022ba0d mov ecx, [rbx+28h] ; +0x221, 0x14022ba11 cmp ecx, r12d ; +0x224, 0x14022ba14 mov rax, [rdi+0F48h] ; +0x227, 0x14022ba17 cmovg ecx, r12d ; +0x22e, 0x14022ba1e test ecx, ecx ; +0x232, 0x14022ba22 cmovs ecx, r13d ; +0x234, 0x14022ba24 mov r12d, ecx ; +0x238, 0x14022ba28 mov r14, [rax+rcx*8] ; +0x23b, 0x14022ba2b test r14, r14 ; +0x23f, 0x14022ba2f jnz short loc_14022BA5B ; +0x242, 0x14022ba32 call cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x244, 0x14022ba34 mov rcx, [rdi+0F10h] ; +0x24a, 0x14022ba3a mov r8d, r12d ; +0x251, 0x14022ba41 mov rdx, rax ; +0x254, 0x14022ba44 mov r14, rax ; +0x257, 0x14022ba47 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x25a, 0x14022ba4a mov rax, [rdi+0F48h] ; +0x260, 0x14022ba50 mov [rax+r12*8], r14 ; +0x267, 0x14022ba57 mov rcx, r15 ; +0x26b, 0x14022ba5b xor r13b, r13b ; +0x26e, 0x14022ba5e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x271, 0x14022ba61 test eax, eax ; +0x277, 0x14022ba67 jz short loc_14022BACE ; +0x279, 0x14022ba69 mov eax, [rbx+28h] ; +0x27b, 0x14022ba6b mov ecx, 270Fh ; +0x27e, 0x14022ba6e cmp eax, ecx ; +0x283, 0x14022ba73 cmovg eax, ecx ; +0x285, 0x14022ba75 mov ecx, 0 ; +0x288, 0x14022ba78 test eax, eax ; +0x28d, 0x14022ba7d cmovs eax, ecx ; +0x28f, 0x14022ba7f mov r15d, eax ; +0x292, 0x14022ba82 mov rax, [rdi+0F18h] ; +0x295, 0x14022ba85 mov r14, [rax+r15*8] ; +0x29c, 0x14022ba8c test r14, r14 ; +0x2a0, 0x14022ba90 jnz short loc_14022BABC ; +0x2a3, 0x14022ba93 call cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x2a5, 0x14022ba95 mov rcx, [rdi+0F00h] ; +0x2ab, 0x14022ba9b mov r8d, r15d ; +0x2b2, 0x14022baa2 mov rdx, rax ; +0x2b5, 0x14022baa5 mov r14, rax ; +0x2b8, 0x14022baa8 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x2bb, 0x14022baab mov rax, [rdi+0F18h] ; +0x2c1, 0x14022bab1 mov [rax+r15*8], r14 ; +0x2c8, 0x14022bab8 movsd xmm0, qword ptr [rbx+0A0h] ; +0x2cc, 0x14022babc subsd xmm0, qword ptr [rbx+110h] ; +0x2d4, 0x14022bac4 jmp short loc_14022BAE1 ; +0x2dc, 0x14022bacc movsd xmm0, qword ptr [rbx+0A8h] ; +0x2de, 0x14022bace mov r13b, 1 ; +0x2e6, 0x14022bad6 subsd xmm0, qword ptr [rbx+118h] ; +0x2e9, 0x14022bad9 movzx r12d, byte ptr [rbx+72h] ; +0x2f1, 0x14022bae1 cvtpd2ps xmm1, xmm0 ; +0x2f6, 0x14022bae6 ucomiss xmm1, xmm7 ; +0x2fa, 0x14022baea movss [rsp+130h+var_E0], xmm1 ; +0x2fd, 0x14022baed jp short loc_14022BB00 ; +0x303, 0x14022baf3 jnz short loc_14022BB00 ; +0x305, 0x14022baf5 test r12b, r12b ; +0x307, 0x14022baf7 jz loc_14022C03D ; +0x30a, 0x14022bafa cmp byte ptr [rbx+0B8h], 0 ; +0x310, 0x14022bb00 mov byte ptr [rbx+1A8h], 1 ; +0x317, 0x14022bb07 jz short loc_14022BB1A ; +0x31e, 0x14022bb0e mov dword ptr [rsp+130h+var_F0], 0 ; +0x320, 0x14022bb10 jmp short loc_14022BB20 ; +0x328, 0x14022bb18 movss dword ptr [rsp+130h+var_F0], xmm1 ; +0x32a, 0x14022bb1a mov r8d, [rbx+2Ch] ; +0x330, 0x14022bb20 lea rax, [rsp+130h+var_F0] ; +0x334, 0x14022bb24 mov edx, [rbx+28h] ; +0x339, 0x14022bb29 lea r9, [rsp+130h+var_E0] ; +0x33c, 0x14022bb2c mov [rsp+130h+var_108], r13b ; +0x341, 0x14022bb31 mov rcx, rdi ; +0x346, 0x14022bb36 mov qword ptr [rsp+130h+var_110], rax ; +0x349, 0x14022bb39 call GJBaseGameLayer__claimRotationAction ; +0x34e, 0x14022bb3e test rsi, rsi ; +0x353, 0x14022bb43 jz loc_14022BF73 ; +0x356, 0x14022bb46 movsd xmm1, qword ptr [rsi+3C0h] ; +0x35c, 0x14022bb4c lea rcx, [rsp+130h+var_D8] ; +0x364, 0x14022bb54 movss xmm0, dword ptr [rsi+2A4h] ; +0x369, 0x14022bb59 movss xmm3, dword ptr [rsi+2A0h] ; +0x371, 0x14022bb61 cvtps2pd xmm0, xmm0 ; +0x379, 0x14022bb69 cvtps2pd xmm3, xmm3 ; +0x37c, 0x14022bb6c subsd xmm1, xmm0 ; +0x37f, 0x14022bb6f movsd xmm0, qword ptr [rsi+3B8h] ; +0x383, 0x14022bb73 subsd xmm0, xmm3 ; +0x38b, 0x14022bb7b cvtpd2ps xmm2, xmm1 ; +0x38f, 0x14022bb7f cvtpd2ps xmm1, xmm0 ; +0x393, 0x14022bb83 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x397, 0x14022bb87 mov r8d, [rbx+28h] ; +0x39d, 0x14022bb8d lea rdx, [rsp+130h+var_D0] ; +0x3a1, 0x14022bb91 movzx r9d, r13b ; +0x3a6, 0x14022bb96 mov rcx, rdi ; +0x3aa, 0x14022bb9a call GJBaseGameLayer__claimMoveAction ; +0x3ad, 0x14022bb9d mov rcx, [rdi+8C8h] ; +0x3b2, 0x14022bba2 lea rdx, [rsp+130h+var_D8] ; +0x3b9, 0x14022bba9 mov rax, [rcx] ; +0x3be, 0x14022bbae call qword ptr [rax+0B8h] ; +0x3c1, 0x14022bbb1 mov rcx, [rdi+8C8h] ; +0x3c7, 0x14022bbb7 movaps xmm1, xmm8 ; +0x3ce, 0x14022bbbe mov rax, [rcx] ; +0x3d2, 0x14022bbc2 call qword ptr [rax+78h] ; +0x3d5, 0x14022bbc5 mov rcx, [rdi+8C8h] ; +0x3d8, 0x14022bbc8 movaps xmm1, xmm8 ; +0x3df, 0x14022bbcf mov rax, [rcx] ; +0x3e3, 0x14022bbd3 call qword ptr [rax+88h] ; +0x3e6, 0x14022bbd6 mov rcx, [rdi+8D8h] ; +0x3ec, 0x14022bbdc movaps xmm1, xmm8 ; +0x3f3, 0x14022bbe3 mov rax, [rcx] ; +0x3f7, 0x14022bbe7 call qword ptr [rax+78h] ; +0x3fa, 0x14022bbea mov rcx, [rdi+8D8h] ; +0x3fd, 0x14022bbed movaps xmm1, xmm8 ; +0x404, 0x14022bbf4 mov rax, [rcx] ; +0x408, 0x14022bbf8 call qword ptr [rax+88h] ; +0x40b, 0x14022bbfb mov rcx, [rdi+8C8h] ; +0x411, 0x14022bc01 movaps xmm1, xmm7 ; +0x418, 0x14022bc08 mov rax, [rcx] ; +0x41b, 0x14022bc0b call qword ptr [rax+0F0h] ; +0x41e, 0x14022bc0e mov rcx, [rdi+8C8h] ; +0x424, 0x14022bc14 movaps xmm1, xmm7 ; +0x42b, 0x14022bc1b mov rax, [rcx] ; +0x42e, 0x14022bc1e call qword ptr [rax+100h] ; +0x431, 0x14022bc21 mov rcx, [rdi+8D0h] ; +0x437, 0x14022bc27 movaps xmm1, xmm7 ; +0x43e, 0x14022bc2e mov rax, [rcx] ; +0x441, 0x14022bc31 call qword ptr [rax+0F0h] ; +0x444, 0x14022bc34 mov rcx, [rdi+8D0h] ; +0x44a, 0x14022bc3a movaps xmm1, xmm7 ; +0x451, 0x14022bc41 mov rax, [rcx] ; +0x454, 0x14022bc44 call qword ptr [rax+100h] ; +0x457, 0x14022bc47 mov rcx, [rdi+8C8h] ; +0x45d, 0x14022bc4d movss xmm1, [rsp+130h+var_E0] ; +0x464, 0x14022bc54 mov rax, [rcx] ; +0x46a, 0x14022bc5a call qword ptr [rax+150h] ; +0x46d, 0x14022bc5d mov rcx, [rdi+8E8h] ; +0x473, 0x14022bc63 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x47a, 0x14022bc6a mov rcx, [rdi+8E8h] ; +0x480, 0x14022bc70 xor edx, edx ; +0x487, 0x14022bc77 mov rax, [rcx] ; +0x489, 0x14022bc79 call qword ptr [rax+1F8h] ; +0x48c, 0x14022bc7c mov rcx, [rdi+8C8h] ; +0x492, 0x14022bc82 mov rdx, [rdi+8E8h] ; +0x499, 0x14022bc89 mov rax, [rcx] ; +0x4a0, 0x14022bc90 call qword ptr [rax+1C0h] ; +0x4a3, 0x14022bc93 mov rcx, [rdi+8E8h] ; +0x4a9, 0x14022bc99 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x4b0, 0x14022bca0 mov rcx, [rdi+8C8h] ; +0x4b6, 0x14022bca6 lea rdx, [rbp+30h+var_A8] ; +0x4bd, 0x14022bcad mov rax, [rcx] ; +0x4c1, 0x14022bcb1 call qword ptr [rax+320h] ; +0x4c4, 0x14022bcb4 mov rcx, [rdi+8D0h] ; +0x4ca, 0x14022bcba lea rdx, [rbp+30h+var_90] ; +0x4d1, 0x14022bcc1 mov rax, [rcx] ; +0x4d5, 0x14022bcc5 call qword ptr [rax+320h] ; +0x4d8, 0x14022bcc8 mov rcx, [rdi+8D8h] ; +0x4de, 0x14022bcce lea rdx, [rbp+30h+var_90] ; +0x4e5, 0x14022bcd5 mov rax, [rcx] ; +0x4e9, 0x14022bcd9 call qword ptr [rax+320h] ; +0x4ec, 0x14022bcdc mov rcx, [rdi+8E8h] ; +0x4f2, 0x14022bce2 movaps xmm1, xmm8 ; +0x4f9, 0x14022bce9 mov rax, [rcx] ; +0x4fd, 0x14022bced call qword ptr [rax+78h] ; +0x500, 0x14022bcf0 mov rcx, [rdi+8E8h] ; +0x503, 0x14022bcf3 movaps xmm1, xmm8 ; +0x50a, 0x14022bcfa mov rax, [rcx] ; +0x50e, 0x14022bcfe call qword ptr [rax+88h] ; +0x511, 0x14022bd01 mov rcx, [rdi+8E8h] ; +0x517, 0x14022bd07 movaps xmm1, xmm7 ; +0x51e, 0x14022bd0e mov rax, [rcx] ; +0x521, 0x14022bd11 call qword ptr [rax+0F0h] ; +0x524, 0x14022bd14 mov rcx, [rdi+8E8h] ; +0x52a, 0x14022bd1a movaps xmm1, xmm7 ; +0x531, 0x14022bd21 mov rax, [rcx] ; +0x534, 0x14022bd24 call qword ptr [rax+100h] ; +0x537, 0x14022bd27 mov rcx, [rdi+8E8h] ; +0x53d, 0x14022bd2d movaps xmm1, xmm7 ; +0x544, 0x14022bd34 mov rax, [rcx] ; +0x547, 0x14022bd37 call qword ptr [rax+150h] ; +0x54a, 0x14022bd3a mov rcx, r14 ; +0x550, 0x14022bd40 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x553, 0x14022bd43 add [rdi+372Ch], eax ; +0x559, 0x14022bd49 test r14, r14 ; +0x55f, 0x14022bd4f jz loc_14022BF5F ; +0x562, 0x14022bd52 mov rsi, [r14+38h] ; +0x568, 0x14022bd58 mov eax, [rsi] ; +0x56c, 0x14022bd5c test eax, eax ; +0x56e, 0x14022bd5e jz loc_14022BF5F ; +0x570, 0x14022bd60 mov rsi, [rsi+10h] ; +0x576, 0x14022bd66 lea r15, [rax-1] ; +0x57a, 0x14022bd6a lea r15, [rsi+r15*8] ; +0x57e, 0x14022bd6e cmp rsi, r15 ; +0x582, 0x14022bd72 ja loc_14022BF5F ; +0x585, 0x14022bd75 movss xmm6, dword ptr [rsp+130h+var_F0] ; +0x58b, 0x14022bd7b mov rbx, [rsi] ; +0x591, 0x14022bd81 test rbx, rbx ; +0x594, 0x14022bd84 jz loc_14022BF5F ; +0x597, 0x14022bd87 cmp byte ptr [rbx+512h], 0 ; +0x59d, 0x14022bd8d mov [rbx+513h], r12b ; +0x5a4, 0x14022bd94 jnz short loc_14022BDE8 ; +0x5ab, 0x14022bd9b mov eax, [rdi+3E0h] ; +0x5ad, 0x14022bd9d cmp [rbx+4DCh], eax ; +0x5b3, 0x14022bda3 jz short loc_14022BDE8 ; +0x5b9, 0x14022bda9 movsd xmm0, qword ptr [rbx+3B8h] ; +0x5bb, 0x14022bdab movsd xmm1, qword ptr [rbx+3C0h] ; +0x5c3, 0x14022bdb3 cvtpd2ps xmm0, xmm0 ; +0x5cb, 0x14022bdbb cvtpd2ps xmm1, xmm1 ; +0x5cf, 0x14022bdbf movss dword ptr [rbx+4D0h], xmm0 ; +0x5d3, 0x14022bdc3 movss dword ptr [rbx+4D4h], xmm1 ; +0x5db, 0x14022bdcb mov eax, [rdi+3E0h] ; +0x5e3, 0x14022bdd3 mov [rbx+4DCh], eax ; +0x5e9, 0x14022bdd9 mov word ptr [rbx+368h], 101h ; +0x5ef, 0x14022bddf movsd xmm2, qword ptr [rbx+3C0h] ; +0x5f8, 0x14022bde8 lea rcx, [rsp+130h+var_B8] ; +0x600, 0x14022bdf0 movsd xmm3, qword ptr [rbx+3B8h] ; +0x605, 0x14022bdf5 movss xmm0, dword ptr [rbx+2A4h] ; +0x60d, 0x14022bdfd cvtps2pd xmm0, xmm0 ; +0x615, 0x14022be05 mov byte ptr [rbx+350h], 1 ; +0x618, 0x14022be08 mov byte ptr [rbx+352h], 1 ; +0x61f, 0x14022be0f movss xmm1, [rsp+130h+var_D4] ; +0x626, 0x14022be16 cvtps2pd xmm1, xmm1 ; +0x62c, 0x14022be1c subsd xmm2, xmm0 ; +0x62f, 0x14022be1f movss xmm0, dword ptr [rbx+2A0h] ; +0x633, 0x14022be23 cvtps2pd xmm0, xmm0 ; +0x63b, 0x14022be2b subsd xmm2, xmm1 ; +0x63e, 0x14022be2e movss xmm1, [rsp+130h+var_D8] ; +0x642, 0x14022be32 cvtps2pd xmm1, xmm1 ; +0x648, 0x14022be38 subsd xmm3, xmm0 ; +0x64b, 0x14022be3b cvtpd2ps xmm2, xmm2 ; +0x64f, 0x14022be3f subsd xmm3, xmm1 ; +0x653, 0x14022be43 cvtpd2ps xmm1, xmm3 ; +0x657, 0x14022be47 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x65b, 0x14022be4b lea r8, [rbp+30h+var_A8] ; +0x661, 0x14022be51 lea rdx, [rsp+130h+var_B8] ; +0x665, 0x14022be55 lea rcx, [rsp+130h+var_C8] ; +0x66a, 0x14022be5a call cs:?__CCPointApplyAffineTransform@cocos2d@@YA?AVCCPoint@1@AEBV21@AEBUCCAffineTransform@1@@Z; cocos2d::__CCPointApplyAffineTransform(cocos2d::CCPoint const &,cocos2d::CCAffineTransform const &) ; +0x66f, 0x14022be5f ucomiss xmm6, xmm7 ; +0x675, 0x14022be65 movss xmm0, [rsp+130h+var_D0] ; +0x678, 0x14022be68 addss xmm0, dword ptr [rsp+130h+var_C8] ; +0x67e, 0x14022be6e movsd xmm3, qword ptr [rbx+3B8h] ; +0x684, 0x14022be74 movsd xmm4, qword ptr [rbx+3C0h] ; +0x68c, 0x14022be7c movss xmm1, dword ptr [rbx+2A0h] ; +0x694, 0x14022be84 cvtps2pd xmm1, xmm1 ; +0x69c, 0x14022be8c cvtps2pd xmm2, xmm0 ; +0x69f, 0x14022be8f subsd xmm2, xmm3 ; +0x6a2, 0x14022be92 addsd xmm2, xmm1 ; +0x6a6, 0x14022be96 movss xmm1, dword ptr [rbx+2A4h] ; +0x6aa, 0x14022be9a cvtps2pd xmm1, xmm1 ; +0x6b2, 0x14022bea2 addsd xmm2, xmm3 ; +0x6b5, 0x14022bea5 movsd qword ptr [rbx+3B8h], xmm2 ; +0x6b9, 0x14022bea9 movss xmm0, [rsp+130h+var_CC] ; +0x6c1, 0x14022beb1 addss xmm0, dword ptr [rsp+130h+var_C8+4] ; +0x6c7, 0x14022beb7 cvtps2pd xmm2, xmm0 ; +0x6cd, 0x14022bebd subsd xmm2, xmm4 ; +0x6d0, 0x14022bec0 addsd xmm2, xmm1 ; +0x6d4, 0x14022bec4 addsd xmm2, xmm4 ; +0x6d8, 0x14022bec8 movsd qword ptr [rbx+3C0h], xmm2 ; +0x6dc, 0x14022becc jp short loc_14022BED8 ; +0x6e4, 0x14022bed4 jz short loc_14022BF43 ; +0x6e6, 0x14022bed6 cmp byte ptr [rbx+36Ch], 0 ; +0x6e8, 0x14022bed8 jz short loc_14022BF43 ; +0x6ef, 0x14022bedf movaps xmm1, xmm6 ; +0x6f1, 0x14022bee1 movaps xmm0, xmm6 ; +0x6f4, 0x14022bee4 addss xmm1, dword ptr [rbx+2B0h] ; +0x6f7, 0x14022bee7 addss xmm0, dword ptr [rbx+2A8h] ; +0x6ff, 0x14022beef mov rcx, rbx ; +0x707, 0x14022bef7 movss dword ptr [rbx+2B0h], xmm1 ; +0x70a, 0x14022befa movaps xmm1, xmm6 ; +0x712, 0x14022bf02 movss dword ptr [rbx+2A8h], xmm0 ; +0x715, 0x14022bf05 call GameObject__addRotation ; +0x71d, 0x14022bf0d cmp dword ptr [rbx+3A0h], 7 ; +0x722, 0x14022bf12 jz short loc_14022BF43 ; +0x729, 0x14022bf19 cmp byte ptr [rbx+2E8h], 0 ; +0x72b, 0x14022bf1b jnz short loc_14022BF43 ; +0x732, 0x14022bf22 mov rax, [rbx] ; +0x734, 0x14022bf24 mov rcx, rbx ; +0x737, 0x14022bf27 mov byte ptr [rbx+2E8h], 1 ; +0x73a, 0x14022bf2a call qword ptr [rax+578h] ; +0x741, 0x14022bf31 mov rax, [rbx] ; +0x747, 0x14022bf37 mov rcx, rbx ; +0x74a, 0x14022bf3a call qword ptr [rax+490h] ; +0x74d, 0x14022bf3d mov rax, [rdi] ; +0x753, 0x14022bf43 mov rdx, rbx ; +0x756, 0x14022bf46 mov rcx, rdi ; +0x759, 0x14022bf49 call qword ptr [rax+490h] ; +0x75c, 0x14022bf4c add rsi, 8 ; +0x762, 0x14022bf52 cmp rsi, r15 ; +0x766, 0x14022bf56 jbe loc_14022BD81 ; +0x769, 0x14022bf59 mov rax, [rdi] ; +0x76f, 0x14022bf5f mov rdx, r14 ; +0x772, 0x14022bf62 mov rcx, rdi ; +0x775, 0x14022bf65 call qword ptr [rax+498h] ; +0x778, 0x14022bf68 jmp loc_14022C03D ; +0x77e, 0x14022bf6e movss xmm6, dword ptr [rsp+130h+var_F0] ; +0x783, 0x14022bf73 ucomiss xmm6, xmm7 ; +0x789, 0x14022bf79 jp short loc_14022BF84 ; +0x78c, 0x14022bf7c jz loc_14022C03D ; +0x78e, 0x14022bf7e test r14, r14 ; +0x794, 0x14022bf84 jz loc_14022C03D ; +0x797, 0x14022bf87 mov rsi, [r14+38h] ; +0x79d, 0x14022bf8d mov eax, [rsi] ; +0x7a1, 0x14022bf91 test eax, eax ; +0x7a3, 0x14022bf93 jz loc_14022C03D ; +0x7a5, 0x14022bf95 mov rsi, [rsi+10h] ; +0x7ab, 0x14022bf9b lea r14, [rax-1] ; +0x7af, 0x14022bf9f lea r14, [rsi+r14*8] ; +0x7b3, 0x14022bfa3 cmp rsi, r14 ; +0x7b7, 0x14022bfa7 ja loc_14022C03D ; +0x7ba, 0x14022bfaa mov rbx, [rsi] ; +0x7c0, 0x14022bfb0 test rbx, rbx ; +0x7c3, 0x14022bfb3 jz loc_14022C03D ; +0x7c6, 0x14022bfb6 cmp byte ptr [rbx+36Ch], 0 ; +0x7cc, 0x14022bfbc jz short loc_14022C030 ; +0x7d3, 0x14022bfc3 movaps xmm1, xmm6 ; +0x7d5, 0x14022bfc5 movaps xmm0, xmm6 ; +0x7d8, 0x14022bfc8 addss xmm1, dword ptr [rbx+2B0h] ; +0x7db, 0x14022bfcb addss xmm0, dword ptr [rbx+2A8h] ; +0x7e3, 0x14022bfd3 mov rcx, rbx ; +0x7eb, 0x14022bfdb movss dword ptr [rbx+2B0h], xmm1 ; +0x7ee, 0x14022bfde movaps xmm1, xmm6 ; +0x7f6, 0x14022bfe6 movss dword ptr [rbx+2A8h], xmm0 ; +0x7f9, 0x14022bfe9 call GameObject__addRotation ; +0x801, 0x14022bff1 cmp dword ptr [rbx+3A0h], 7 ; +0x806, 0x14022bff6 jz short loc_14022C030 ; +0x80d, 0x14022bffd cmp byte ptr [rbx+2E8h], 0 ; +0x80f, 0x14022bfff mov word ptr [rbx+368h], 101h ; +0x816, 0x14022c006 jnz short loc_14022C030 ; +0x81f, 0x14022c00f mov rax, [rbx] ; +0x821, 0x14022c011 mov rcx, rbx ; +0x824, 0x14022c014 mov byte ptr [rbx+2E8h], 1 ; +0x827, 0x14022c017 call qword ptr [rax+578h] ; +0x82e, 0x14022c01e mov rax, [rbx] ; +0x834, 0x14022c024 mov rcx, rbx ; +0x837, 0x14022c027 call qword ptr [rax+490h] ; +0x83a, 0x14022c02a add rsi, 8 ; +0x840, 0x14022c030 cmp rsi, r14 ; +0x844, 0x14022c034 jbe loc_14022BFB0 ; +0x847, 0x14022c037 mov rcx, [rsp+130h+var_E8] ; +0x84d, 0x14022c03d mov r12d, 270Fh ; +0x852, 0x14022c042 xor r13d, r13d ; +0x858, 0x14022c048 mov rax, [rsp+130h+var_C0] ; +0x85b, 0x14022c04b add rax, 8 ; +0x860, 0x14022c050 mov [rsp+130h+var_C0], rax ; +0x864, 0x14022c054 cmp rax, rcx ; +0x869, 0x14022c059 jnz loc_14022B950 ; +0x86c, 0x14022c05c movaps xmm7, [rsp+130h+var_48+8] ; +0x872, 0x14022c062 movaps xmm6, [rsp+130h+var_38+8] ; +0x87a, 0x14022c06a mov r15, [rsp+130h+var_20] ; +0x882, 0x14022c072 mov r14, qword ptr [rsp+130h+var_18] ; +0x88a, 0x14022c07a mov r13, [rsp+130h+arg_18] ; +0x892, 0x14022c082 mov r12, [rsp+130h+arg_10] ; +0x89a, 0x14022c08a mov rsi, [rsp+130h+arg_8] ; +0x8a2, 0x14022c092 mov rcx, [rdi+0FE8h] ; +0x8aa, 0x14022c09a movaps xmm1, xmm9 ; +0x8b1, 0x14022c0a1 mov rax, [rcx] ; +0x8b5, 0x14022c0a5 call qword ptr [rax+78h] ; +0x8b8, 0x14022c0a8 mov rcx, [rdi+0FE8h] ; +0x8bb, 0x14022c0ab movaps xmm1, xmm10 ; +0x8c2, 0x14022c0b2 mov rax, [rcx] ; +0x8c6, 0x14022c0b6 call qword ptr [rax+88h] ; +0x8c9, 0x14022c0b9 mov rcx, [rdi+0FE8h] ; +0x8cf, 0x14022c0bf lea rdx, [rbp+30h+var_B0] ; +0x8d6, 0x14022c0c6 mov rax, [rcx] ; +0x8da, 0x14022c0ca call qword ptr [rax+0B8h] ; +0x8dd, 0x14022c0cd mov rcx, [rbp+30h+var_78] ; +0x8e3, 0x14022c0d3 xor rcx, rsp; StackCookie ; +0x8e7, 0x14022c0d7 call __security_check_cookie ; +0x8ea, 0x14022c0da lea r11, [rsp+130h+var_10] ; +0x8ef, 0x14022c0df movaps xmm8, xmmword ptr [r11-40h] ; +0x8f7, 0x14022c0e7 movaps xmm9, xmmword ptr [r11-50h] ; +0x8fc, 0x14022c0ec movaps xmm10, xmmword ptr [r11-60h] ; +0x901, 0x14022c0f1 mov rsp, r11 ; +0x906, 0x14022c0f6 pop rdi ; +0x909, 0x14022c0f9 pop rbx ; +0x90a, 0x14022c0fa pop rbp ; +0x90b, 0x14022c0fb retn ; +0x90c, 0x14022c0fc