; ; GJBaseGameLayer::processMoveActionsStep from 0x14022b5d0 to 0x14022b7eb (539 bytes) ; ; 5 xrefs: ; > GJBaseGameLayer::loadUpToPosition @ 0x140235be2 ; > GJBaseGameLayer::update @ 0x140238388 ; > @ 0x140680894 ; > @ 0x1406808c8 ; > @ 0x1406cdb90 ; ; 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 [rsp+arg_10], rbx ; +0x0, 0x14022b5d0 push rsi ; +0x5, 0x14022b5d5 push rdi ; +0x6, 0x14022b5d6 push r14 ; +0x7, 0x14022b5d7 sub rsp, 30h ; +0x9, 0x14022b5d9 xor edi, edi ; +0xd, 0x14022b5dd movaps [rsp+48h+var_28], xmm6 ; +0xf, 0x14022b5df mov [rcx+0ED8h], rdi ; +0x14, 0x14022b5e4 movzx ebx, r8b ; +0x1b, 0x14022b5eb mov [rcx+0EE0h], rdi ; +0x1f, 0x14022b5ef movaps xmm6, xmm1 ; +0x26, 0x14022b5f6 mov r11, [rcx+738h] ; +0x29, 0x14022b5f9 mov rsi, rcx ; +0x30, 0x14022b600 mov r10, [rcx+730h] ; +0x33, 0x14022b603 cmp r10, r11 ; +0x3a, 0x14022b60a jz loc_14022B6F0 ; +0x3d, 0x14022b60d mov [rsp+48h+arg_8], rbp ; +0x43, 0x14022b613 mov r14, 0CBF29CE484222325h ; +0x48, 0x14022b618 mov rbp, 100000001B3h ; +0x52, 0x14022b622 nop dword ptr [rax+00h] ; +0x5c, 0x14022b62c mov rax, [r10] ; +0x60, 0x14022b630 mov r8, [rsi+950h] ; +0x63, 0x14022b633 mov r9d, [rax+5C8h] ; +0x6a, 0x14022b63a mov eax, r9d ; +0x71, 0x14022b641 shr eax, 8 ; +0x74, 0x14022b644 movzx edx, al ; +0x77, 0x14022b647 movzx eax, r9b ; +0x7a, 0x14022b64a xor rax, r14 ; +0x7e, 0x14022b64e imul rax, rbp ; +0x81, 0x14022b651 xor rdx, rax ; +0x85, 0x14022b655 mov eax, r9d ; +0x88, 0x14022b658 imul rdx, rbp ; +0x8b, 0x14022b65b shr eax, 10h ; +0x8f, 0x14022b65f movzx ecx, al ; +0x92, 0x14022b662 mov eax, r9d ; +0x95, 0x14022b665 xor rdx, rcx ; +0x98, 0x14022b668 shr rax, 18h ; +0x9b, 0x14022b66b mov rcx, [r8+700h] ; +0x9f, 0x14022b66f imul rdx, rbp ; +0xa6, 0x14022b676 xor rdx, rax ; +0xaa, 0x14022b67a imul rdx, rbp ; +0xad, 0x14022b67d and rcx, rdx ; +0xb1, 0x14022b681 mov rdx, [r8+6E8h] ; +0xb4, 0x14022b684 mov r8, [r8+6D8h] ; +0xbb, 0x14022b68b add rcx, rcx ; +0xc2, 0x14022b692 mov rax, [rdx+rcx*8+8] ; +0xc5, 0x14022b695 cmp rax, r8 ; +0xca, 0x14022b69a jz short loc_14022B6C1 ; +0xcd, 0x14022b69d mov rcx, [rdx+rcx*8] ; +0xcf, 0x14022b69f cmp r9d, [rax+10h] ; +0xd3, 0x14022b6a3 jz short loc_14022B6C4 ; +0xd7, 0x14022b6a7 nop dword ptr [rax+00000000h] ; +0xd9, 0x14022b6a9 cmp rax, rcx ; +0xe0, 0x14022b6b0 jz short loc_14022B6C1 ; +0xe3, 0x14022b6b3 mov rax, [rax+8] ; +0xe5, 0x14022b6b5 cmp r9d, [rax+10h] ; +0xe9, 0x14022b6b9 jnz short loc_14022B6B0 ; +0xed, 0x14022b6bd jmp short loc_14022B6C4 ; +0xef, 0x14022b6bf mov rax, rdi ; +0xf1, 0x14022b6c1 test rax, rax ; +0xf4, 0x14022b6c4 jz short loc_14022B6DE ; +0xf7, 0x14022b6c7 cmp rax, r8 ; +0xf9, 0x14022b6c9 jz short loc_14022B6DE ; +0xfc, 0x14022b6cc mov rcx, [rax+18h] ; +0xfe, 0x14022b6ce test rcx, rcx ; +0x102, 0x14022b6d2 jz short loc_14022B6DE ; +0x105, 0x14022b6d5 mov byte ptr [rcx+0D1h], 1 ; +0x107, 0x14022b6d7 add r10, 60h ; '`' ; +0x10e, 0x14022b6de cmp r10, r11 ; +0x112, 0x14022b6e2 jnz loc_14022B630 ; +0x115, 0x14022b6e5 mov rbp, [rsp+48h+arg_8] ; +0x11b, 0x14022b6eb movaps xmm2, xmm6 ; +0x120, 0x14022b6f0 mov edx, 1 ; +0x123, 0x14022b6f3 mov rcx, rsi ; +0x128, 0x14022b6f8 call GJBaseGameLayer__processDynamicObjectActions ; +0x12b, 0x14022b6fb movzx edx, bl ; +0x130, 0x14022b700 mov rcx, rsi ; +0x133, 0x14022b703 call GJBaseGameLayer__processTransformActions ; +0x136, 0x14022b706 mov rcx, rsi ; +0x13b, 0x14022b70b call GJBaseGameLayer__processRotationActions ; +0x13e, 0x14022b70e movaps xmm2, xmm6 ; +0x143, 0x14022b713 xor edx, edx ; +0x146, 0x14022b716 mov rcx, rsi ; +0x148, 0x14022b718 call GJBaseGameLayer__processDynamicObjectActions ; +0x14b, 0x14022b71b mov rcx, rsi ; +0x150, 0x14022b720 call GJBaseGameLayer__processMoveActions ; +0x153, 0x14022b723 movaps xmm1, xmm6 ; +0x158, 0x14022b728 mov rcx, rsi ; +0x15b, 0x14022b72b call GJBaseGameLayer__processPlayerFollowActions ; +0x15e, 0x14022b72e movaps xmm1, xmm6 ; +0x163, 0x14022b733 mov rcx, rsi ; +0x166, 0x14022b736 call GJBaseGameLayer__processAdvancedFollowActions ; +0x169, 0x14022b739 mov rcx, rsi ; +0x16e, 0x14022b73e call GJBaseGameLayer__processFollowActions ; +0x171, 0x14022b741 movzx r8d, bl ; +0x176, 0x14022b746 movaps xmm1, xmm6 ; +0x17a, 0x14022b74a mov rcx, rsi ; +0x17d, 0x14022b74d call GJBaseGameLayer__processAreaActions ; +0x180, 0x14022b750 movaps xmm6, [rsp+48h+var_28] ; +0x185, 0x14022b755 cmp [rsi+309Ch], dil ; +0x18a, 0x14022b75a jz short loc_14022B7DD ; +0x191, 0x14022b761 cmp [rsi+0EDCh], edi ; +0x193, 0x14022b763 jle short loc_14022B7DD ; +0x199, 0x14022b769 mov r14, rdi ; +0x19b, 0x14022b76b xchg ax, ax ; +0x19e, 0x14022b76e mov rax, [rsi+0DF8h] ; +0x1a0, 0x14022b770 lea rcx, [rsp+48h+arg_0] ; +0x1a7, 0x14022b777 mov rbx, [r14+rax] ; +0x1ac, 0x14022b77c movsd xmm2, qword ptr [rbx+3C0h] ; +0x1b0, 0x14022b780 movsd xmm1, qword ptr [rbx+3B8h] ; +0x1b8, 0x14022b788 cvtpd2ps xmm2, xmm2 ; +0x1c0, 0x14022b790 cvtpd2ps xmm1, xmm1 ; +0x1c4, 0x14022b794 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1c8, 0x14022b798 lea rdx, [rsp+48h+arg_0] ; +0x1ce, 0x14022b79e mov rcx, rbx ; +0x1d3, 0x14022b7a3 call cs:__imp_?setPosition@CCSprite@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCSprite::setPosition(cocos2d::CCPoint const &) ; +0x1d6, 0x14022b7a6 mov rcx, [rbx+380h] ; +0x1dc, 0x14022b7ac test rcx, rcx ; +0x1e3, 0x14022b7b3 jz short loc_14022B7CF ; +0x1e6, 0x14022b7b6 cmp byte ptr [rbx+36Ah], 0 ; +0x1e8, 0x14022b7b8 jnz short loc_14022B7CF ; +0x1ef, 0x14022b7bf mov rax, [rcx] ; +0x1f1, 0x14022b7c1 lea rdx, [rsp+48h+arg_0] ; +0x1f4, 0x14022b7c4 call qword ptr [rax+0B8h] ; +0x1f9, 0x14022b7c9 inc edi ; +0x1ff, 0x14022b7cf add r14, 8 ; +0x201, 0x14022b7d1 cmp edi, [rsi+0EDCh] ; +0x205, 0x14022b7d5 jl short loc_14022B770 ; +0x20b, 0x14022b7db mov rbx, [rsp+48h+arg_10] ; +0x20d, 0x14022b7dd add rsp, 30h ; +0x212, 0x14022b7e2 pop r14 ; +0x216, 0x14022b7e6 pop rdi ; +0x218, 0x14022b7e8 pop rsi ; +0x219, 0x14022b7e9 retn ; +0x21a, 0x14022b7ea