; ; GJBaseGameLayer::processDynamicObjectActions from 0x14022e280 to 0x14022e8a1 (1569 bytes) ; ; 5 xrefs: ; > GJBaseGameLayer::processMoveActionsStep @ 0x14022b6fb ; > GJBaseGameLayer::processMoveActionsStep @ 0x14022b71b ; > @ 0x140680bc4 ; > @ 0x140680c50 ; > @ 0x1406cdd28 ; ; 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_0], rcx ; +0x0, 0x14022e280 push r15 ; +0x5, 0x14022e285 sub rsp, 150h ; +0x7, 0x14022e287 movaps [rsp+158h+var_B8], xmm13 ; +0xe, 0x14022e28e movaps xmm13, xmm2 ; +0x17, 0x14022e297 mov r15d, edx ; +0x1b, 0x14022e29b mov r9, rcx ; +0x1e, 0x14022e29e test edx, edx ; +0x21, 0x14022e2a1 jz short loc_14022E2B5 ; +0x23, 0x14022e2a3 cmp edx, 1 ; +0x25, 0x14022e2a5 jnz loc_14022E88E ; +0x28, 0x14022e2a8 mov eax, 748h ; +0x2e, 0x14022e2ae jmp short loc_14022E2BA ; +0x33, 0x14022e2b3 mov eax, 730h ; +0x35, 0x14022e2b5 mov [rsp+158h+var_28], r12 ; +0x3a, 0x14022e2ba lea r12, [rcx+rax] ; +0x42, 0x14022e2c2 test r12, r12 ; +0x46, 0x14022e2c6 jz loc_14022E886 ; +0x49, 0x14022e2c9 mov rcx, [r12+8] ; +0x4f, 0x14022e2cf mov rax, 2AAAAAAAAAAAAAABh ; +0x54, 0x14022e2d4 mov [rsp+158h+var_10], rbp ; +0x5e, 0x14022e2de xor ebp, ebp ; +0x66, 0x14022e2e6 mov [rsp+158h+var_18], rsi ; +0x68, 0x14022e2e8 mov rsi, [r12] ; +0x70, 0x14022e2f0 sub rcx, rsi ; +0x74, 0x14022e2f4 imul rcx ; +0x77, 0x14022e2f7 sar rdx, 4 ; +0x7a, 0x14022e2fa mov rax, rdx ; +0x7e, 0x14022e2fe shr rax, 3Fh ; +0x81, 0x14022e301 add rdx, rax ; +0x85, 0x14022e305 jz loc_14022E876 ; +0x88, 0x14022e308 mov [rsp+158h+var_20], rdi ; +0x8e, 0x14022e30e xor edi, edi ; +0x96, 0x14022e316 movaps [rsp+158h+var_98], xmm11 ; +0x98, 0x14022e318 xorps xmm11, xmm11 ; +0xa1, 0x14022e321 movaps [rsp+158h+var_A8], xmm12 ; +0xa5, 0x14022e325 movss xmm12, cs:flt_140622C24 ; +0xae, 0x14022e32e movaps [rsp+158h+var_C8], xmm14 ; +0xb7, 0x14022e337 movss xmm14, cs:dword_1406236F0 ; +0xc0, 0x14022e340 movaps [rsp+158h+var_D8], xmm15 ; +0xc9, 0x14022e349 movss xmm15, cs:dword_140622994 ; +0xd2, 0x14022e352 mov [rsp+158h+arg_10], rbx ; +0xdb, 0x14022e35b mov [rsp+158h+var_30], r13 ; +0xe3, 0x14022e363 mov [rsp+158h+var_38], r14 ; +0xeb, 0x14022e36b movaps [rsp+158h+var_48], xmm6 ; +0xf3, 0x14022e373 movaps [rsp+158h+var_58], xmm7 ; +0xfb, 0x14022e37b movaps [rsp+158h+var_68], xmm8 ; +0x103, 0x14022e383 movaps [rsp+158h+var_78], xmm9 ; +0x10c, 0x14022e38c movaps [rsp+158h+var_88], xmm10 ; +0x115, 0x14022e395 xchg ax, ax ; +0x11e, 0x14022e39e cmp byte ptr [rdi+rsi+4Eh], 0 ; +0x120, 0x14022e3a0 jz short loc_14022E3B9 ; +0x125, 0x14022e3a5 cmp byte ptr [rdi+rsi+4Fh], 0 ; +0x127, 0x14022e3a7 jnz short loc_14022E3B9 ; +0x12c, 0x14022e3ac inc ebp ; +0x12e, 0x14022e3ae add rdi, 60h ; '`' ; +0x130, 0x14022e3b0 jmp loc_14022E7D4 ; +0x134, 0x14022e3b4 mov rcx, [r9+950h] ; +0x139, 0x14022e3b9 mov r13, [rdi+rsi] ; +0x140, 0x14022e3c0 call GJEffectManager__getTempGroupCommand ; +0x144, 0x14022e3c4 mov ecx, [rdi+rsi+54h] ; +0x149, 0x14022e3c9 xor r14d, r14d ; +0x14d, 0x14022e3cd mov [rsp+158h+var_118], rax ; +0x150, 0x14022e3d0 mov rbx, rax ; +0x155, 0x14022e3d5 mov [rax+28h], ecx ; +0x158, 0x14022e3d8 mov ecx, [rdi+rsi+58h] ; +0x15b, 0x14022e3db mov [rax+2Ch], ecx ; +0x15f, 0x14022e3df mov ecx, [r13+39Ch] ; +0x162, 0x14022e3e2 mov [rax+158h], ecx ; +0x169, 0x14022e3e9 mov ecx, [rdi+rsi+50h] ; +0x16f, 0x14022e3ef mov [rax+15Ch], ecx ; +0x173, 0x14022e3f3 test r15d, r15d ; +0x179, 0x14022e3f9 jnz short loc_14022E41A ; +0x17c, 0x14022e3fc mov rcx, [rsp+158h+arg_0] ; +0x17e, 0x14022e3fe mov rdx, rax ; +0x186, 0x14022e406 mov rcx, [rcx+950h] ; +0x189, 0x14022e409 call GJEffectManager__getMoveCommandNode ; +0x190, 0x14022e410 mov r14, rax ; +0x195, 0x14022e415 jmp short loc_14022E496 ; +0x198, 0x14022e418 cmp r15d, 1 ; +0x19a, 0x14022e41a jnz short loc_14022E496 ; +0x19e, 0x14022e41e mov eax, [rax+28h] ; +0x1a0, 0x14022e420 lea r8, [rsp+158h+arg_8] ; +0x1a3, 0x14022e423 mov rcx, [rsp+158h+arg_0] ; +0x1ab, 0x14022e42b lea rdx, [rsp+158h+var_F0] ; +0x1b3, 0x14022e433 mov [rsp+158h+arg_8], eax ; +0x1b8, 0x14022e438 mov rcx, [rcx+950h] ; +0x1bf, 0x14022e43f add rcx, 678h ; +0x1c6, 0x14022e446 call sub_14024F020 ; +0x1cd, 0x14022e44d mov rcx, [rax] ; +0x1d2, 0x14022e452 add rcx, 18h ; +0x1d5, 0x14022e455 mov rdx, [rcx+8] ; +0x1d9, 0x14022e459 cmp rdx, [rcx+10h] ; +0x1dd, 0x14022e45d jz short loc_14022E46D ; +0x1e1, 0x14022e461 mov [rdx], rbx ; +0x1e3, 0x14022e463 add qword ptr [rcx+8], 8 ; +0x1e6, 0x14022e466 jmp short loc_14022E477 ; +0x1eb, 0x14022e46b lea r8, [rsp+158h+var_118] ; +0x1ed, 0x14022e46d call sub_14012D2A0 ; +0x1f2, 0x14022e472 mov rax, [rsp+158h+arg_0] ; +0x1f7, 0x14022e477 mov rdx, rbx ; +0x1ff, 0x14022e47f mov rcx, [rax+950h] ; +0x202, 0x14022e482 movzx r8d, byte ptr [rcx+818h] ; +0x209, 0x14022e489 call GJEffectManager__registerRotationCommand ; +0x211, 0x14022e491 movss xmm7, dword ptr [r13+5BCh] ; +0x216, 0x14022e496 movss xmm1, dword ptr [rdi+rsi+40h] ; +0x21f, 0x14022e49f movaps xmm9, xmm7 ; +0x225, 0x14022e4a5 movss xmm10, dword ptr [rdi+rsi+44h] ; +0x229, 0x14022e4a9 subss xmm9, xmm1 ; +0x230, 0x14022e4b0 movaps xmm8, xmm7 ; +0x235, 0x14022e4b5 subss xmm8, xmm10 ; +0x239, 0x14022e4b9 comiss xmm9, xmm11 ; +0x23e, 0x14022e4be ja short loc_14022E4D7 ; +0x242, 0x14022e4c2 ucomiss xmm7, xmm14 ; +0x244, 0x14022e4c4 jp short loc_14022E4CC ; +0x248, 0x14022e4c8 jz short loc_14022E4D7 ; +0x24a, 0x14022e4ca cmp byte ptr [rdi+rsi+4Ch], 0 ; +0x24c, 0x14022e4cc jz loc_14022E756 ; +0x251, 0x14022e4d1 cmp byte ptr [rdi+rsi+4Dh], 0 ; +0x257, 0x14022e4d7 jnz loc_14022E756 ; +0x25c, 0x14022e4dc cmp byte ptr [rdi+rsi+4Eh], 0 ; +0x262, 0x14022e4e2 jnz loc_14022E756 ; +0x267, 0x14022e4e7 cmp byte ptr [rdi+rsi+4Ch], 0 ; +0x26d, 0x14022e4ed jz short loc_14022E4FB ; +0x272, 0x14022e4f2 mov byte ptr [rdi+rsi+4Ch], 0 ; +0x274, 0x14022e4f4 jmp short loc_14022E519 ; +0x279, 0x14022e4f9 ucomiss xmm7, xmm14 ; +0x27b, 0x14022e4fb jp short loc_14022E503 ; +0x27f, 0x14022e4ff jz short loc_14022E519 ; +0x281, 0x14022e501 movaps xmm0, xmm9 ; +0x283, 0x14022e503 minss xmm0, xmm13 ; +0x287, 0x14022e507 addss xmm0, xmm1 ; +0x28c, 0x14022e50c movss dword ptr [rdi+rsi+40h], xmm0 ; +0x290, 0x14022e510 movaps xmm1, xmm0 ; +0x296, 0x14022e516 test r15d, r15d ; +0x299, 0x14022e519 jnz loc_14022E6A2 ; +0x29c, 0x14022e51c movss xmm2, dword ptr [r13+5ECh] ; +0x2a2, 0x14022e522 mov edx, [r13+5E8h] ; +0x2ab, 0x14022e52b divss xmm1, xmm7 ; +0x2b2, 0x14022e532 movaps xmm0, xmm1 ; +0x2b6, 0x14022e536 call GameToolbox__getEasedValue ; +0x2b9, 0x14022e539 movaps xmm6, xmm0 ; +0x2be, 0x14022e53e ucomiss xmm6, xmm12 ; +0x2c1, 0x14022e541 jp short loc_14022E569 ; +0x2c5, 0x14022e545 jnz short loc_14022E569 ; +0x2c7, 0x14022e547 comiss xmm9, xmm13 ; +0x2c9, 0x14022e549 jbe short loc_14022E569 ; +0x2cd, 0x14022e54d comiss xmm12, dword ptr [rdi+rsi+48h] ; +0x2cf, 0x14022e54f jbe short loc_14022E55D ; +0x2d5, 0x14022e555 movaps xmm0, xmm15 ; +0x2d7, 0x14022e557 jmp short loc_14022E565 ; +0x2db, 0x14022e55b movss xmm0, cs:dword_1406236B8 ; +0x2dd, 0x14022e55d addss xmm6, xmm0 ; +0x2e5, 0x14022e565 ucomiss xmm8, xmm11 ; +0x2e9, 0x14022e569 movss dword ptr [rdi+rsi+48h], xmm6 ; +0x2ed, 0x14022e56d mulss xmm6, xmm7 ; +0x2f3, 0x14022e573 movss dword ptr [rdi+rsi+44h], xmm6 ; +0x2f7, 0x14022e577 jp short loc_14022E587 ; +0x2fd, 0x14022e57d jnz short loc_14022E587 ; +0x2ff, 0x14022e57f movaps xmm6, xmm11 ; +0x301, 0x14022e581 jmp short loc_14022E591 ; +0x305, 0x14022e585 subss xmm6, xmm10 ; +0x307, 0x14022e587 divss xmm6, xmm8 ; +0x30c, 0x14022e58c comiss xmm11, xmm7 ; +0x311, 0x14022e591 jb short loc_14022E59B ; +0x315, 0x14022e595 movaps xmm6, xmm12 ; +0x317, 0x14022e597 mov rcx, [rdi+rsi+8] ; +0x31b, 0x14022e59b lea rdx, [rsp+158h+var_108] ; +0x320, 0x14022e5a0 mov rax, [rcx] ; +0x325, 0x14022e5a5 call qword ptr [rax+4A8h] ; +0x328, 0x14022e5a8 mov rcx, [rdi+rsi+10h] ; +0x32e, 0x14022e5ae lea rdx, [rsp+158h+var_100] ; +0x333, 0x14022e5b3 mov rbx, rax ; +0x338, 0x14022e5b8 mov r8, [rcx] ; +0x33b, 0x14022e5bb call qword ptr [r8+4A8h] ; +0x33e, 0x14022e5be mov r8, rbx ; +0x345, 0x14022e5c5 lea rdx, [rsp+158h+arg_18] ; +0x348, 0x14022e5c8 mov rcx, rax ; +0x350, 0x14022e5d0 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x353, 0x14022e5d3 cmp byte ptr [r13+605h], 0 ; +0x359, 0x14022e5d9 jz short loc_14022E635 ; +0x361, 0x14022e5e1 comiss xmm11, xmm7 ; +0x363, 0x14022e5e3 jb short loc_14022E5EF ; +0x367, 0x14022e5e7 movaps xmm8, xmm12 ; +0x369, 0x14022e5e9 jmp short loc_14022E5F4 ; +0x36d, 0x14022e5ed divss xmm8, xmm7 ; +0x36f, 0x14022e5ef mulss xmm8, dword ptr [r13+60Ch] ; +0x374, 0x14022e5f4 lea rdx, [rsp+158h+arg_18] ; +0x37d, 0x14022e5fd lea rcx, [rsp+158h+var_F8] ; +0x385, 0x14022e605 call cs:?ccpNormalize@cocos2d@@YA?AVCCPoint@1@AEBV21@@Z; cocos2d::ccpNormalize(cocos2d::CCPoint const &) ; +0x38a, 0x14022e60a movaps xmm2, xmm8 ; +0x390, 0x14022e610 lea rdx, [rsp+158h+var_110] ; +0x394, 0x14022e614 mov rcx, rax ; +0x399, 0x14022e619 call cs:??DCCPoint@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCPoint::operator*(float) ; +0x39c, 0x14022e61c lea rdx, [rsp+158h+var_110] ; +0x3a2, 0x14022e622 lea rcx, [rsp+158h+arg_18] ; +0x3a7, 0x14022e627 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x3af, 0x14022e62f movss xmm0, [rsp+158h+arg_18] ; +0x3b5, 0x14022e635 inc ebp ; +0x3be, 0x14022e63e mulss xmm0, xmm6 ; +0x3c0, 0x14022e640 add rdi, 60h ; '`' ; +0x3c4, 0x14022e644 cvtps2pd xmm3, xmm0 ; +0x3c8, 0x14022e648 movss xmm0, [rsp+158h+arg_1C] ; +0x3cb, 0x14022e64b movaps xmm1, xmm3 ; +0x3d4, 0x14022e654 mulss xmm0, xmm6 ; +0x3d7, 0x14022e657 addsd xmm1, qword ptr [r14+38h] ; +0x3db, 0x14022e65b addsd xmm3, qword ptr [r14+90h] ; +0x3e1, 0x14022e661 cvtps2pd xmm2, xmm0 ; +0x3ea, 0x14022e66a movsd qword ptr [r14+38h], xmm1 ; +0x3ed, 0x14022e66d movaps xmm1, xmm2 ; +0x3f3, 0x14022e673 movsd qword ptr [r14+90h], xmm3 ; +0x3f6, 0x14022e676 addsd xmm1, qword ptr [r14+40h] ; +0x3ff, 0x14022e67f addsd xmm2, qword ptr [r14+98h] ; +0x405, 0x14022e685 movsd qword ptr [r14+40h], xmm1 ; +0x40e, 0x14022e68e movsd qword ptr [r14+98h], xmm2 ; +0x414, 0x14022e694 jmp loc_14022E7CC ; +0x41d, 0x14022e69d cmp r15d, 1 ; +0x422, 0x14022e6a2 jnz loc_14022E74E ; +0x426, 0x14022e6a6 mov rax, [rdi+rsi+38h] ; +0x42c, 0x14022e6ac mov rcx, r13 ; +0x431, 0x14022e6b1 mov r9, [rdi+rsi+10h] ; +0x434, 0x14022e6b4 mov r8, [rdi+rsi+18h] ; +0x439, 0x14022e6b9 mov rdx, [rdi+rsi+8] ; +0x43e, 0x14022e6be mov [rsp+158h+var_120], rax ; +0x443, 0x14022e6c3 mov rax, [rdi+rsi+30h] ; +0x448, 0x14022e6c8 mov [rsp+158h+var_128], rax ; +0x44d, 0x14022e6cd mov rax, [rdi+rsi+28h] ; +0x452, 0x14022e6d2 mov [rsp+158h+var_130], rax ; +0x457, 0x14022e6d7 mov rax, [rdi+rsi+20h] ; +0x45c, 0x14022e6dc mov [rsp+158h+var_138], rax ; +0x461, 0x14022e6e1 call sub_14021EFB0 ; +0x466, 0x14022e6e6 mov eax, [r13+62Ch] ; +0x46b, 0x14022e6eb mov ecx, r15d ; +0x472, 0x14022e6f2 cmp eax, r15d ; +0x475, 0x14022e6f5 cmovl eax, ecx ; +0x478, 0x14022e6f8 movd xmm1, eax ; +0x47b, 0x14022e6fb cvtdq2ps xmm1, xmm1 ; +0x47f, 0x14022e6ff divss xmm0, xmm1 ; +0x482, 0x14022e702 cvtss2sd xmm0, xmm0 ; +0x486, 0x14022e706 movsd qword ptr [rbx+98h], xmm0 ; +0x48a, 0x14022e70a cmp byte ptr [rbx+72h], 0 ; +0x492, 0x14022e712 movsd xmm0, qword ptr [rbx+0A0h] ; +0x496, 0x14022e716 mov rax, [rbx+0A8h] ; +0x49e, 0x14022e71e movsd qword ptr [rbx+110h], xmm0 ; +0x4a5, 0x14022e725 mov [rbx+118h], rax ; +0x4ad, 0x14022e72d jnz short loc_14022E746 ; +0x4b4, 0x14022e734 addsd xmm0, qword ptr [rbx+98h] ; +0x4b6, 0x14022e736 movsd qword ptr [rbx+0A0h], xmm0 ; +0x4be, 0x14022e73e movsd qword ptr [rbx+0A8h], xmm0 ; +0x4c6, 0x14022e746 inc ebp ; +0x4ce, 0x14022e74e add rdi, 60h ; '`' ; +0x4d0, 0x14022e750 jmp short loc_14022E7CC ; +0x4d4, 0x14022e754 test r15d, r15d ; +0x4d6, 0x14022e756 jnz short loc_14022E762 ; +0x4d9, 0x14022e759 mov byte ptr [r14+78h], 1 ; +0x4db, 0x14022e75b jmp short loc_14022E792 ; +0x4e0, 0x14022e760 cmp r15d, 1 ; +0x4e2, 0x14022e762 jnz short loc_14022E792 ; +0x4e6, 0x14022e766 mov [rbx+72h], r15b ; +0x4e8, 0x14022e768 movsd xmm0, qword ptr [rbx+0A0h] ; +0x4ec, 0x14022e76c mov rax, [rbx+0A8h] ; +0x4f4, 0x14022e774 movsd qword ptr [rbx+110h], xmm0 ; +0x4fb, 0x14022e77b movsd qword ptr [rbx+0A8h], xmm0 ; +0x503, 0x14022e783 mov [rbx+118h], rax ; +0x50b, 0x14022e78b cmp byte ptr [rdi+rsi+4Eh], 0 ; +0x512, 0x14022e792 jz short loc_14022E7A6 ; +0x517, 0x14022e797 inc ebp ; +0x519, 0x14022e799 mov byte ptr [rdi+rsi+4Fh], 0 ; +0x51b, 0x14022e79b add rdi, 60h ; '`' ; +0x520, 0x14022e7a0 jmp short loc_14022E7CC ; +0x524, 0x14022e7a4 mov r8, [r12+8] ; +0x526, 0x14022e7a6 movsxd rax, ebp ; +0x52b, 0x14022e7ab lea rcx, [rax+rax*2] ; +0x52e, 0x14022e7ae shl rcx, 5 ; +0x532, 0x14022e7b2 add rcx, [r12]; void * ; +0x536, 0x14022e7b6 lea rdx, [rcx+60h]; Src ; +0x53a, 0x14022e7ba sub r8, rdx; Size ; +0x53e, 0x14022e7be call memmove ; +0x541, 0x14022e7c1 add qword ptr [r12+8], 0FFFFFFFFFFFFFFA0h ; +0x546, 0x14022e7c6 mov r9, [rsp+158h+arg_0] ; +0x54c, 0x14022e7cc mov rsi, [r12] ; +0x554, 0x14022e7d4 mov rax, 2AAAAAAAAAAAAAABh ; +0x558, 0x14022e7d8 mov rcx, [r12+8] ; +0x562, 0x14022e7e2 sub rcx, rsi ; +0x567, 0x14022e7e7 imul rcx ; +0x56a, 0x14022e7ea sar rdx, 4 ; +0x56d, 0x14022e7ed mov rax, rdx ; +0x571, 0x14022e7f1 shr rax, 3Fh ; +0x574, 0x14022e7f4 add rdx, rax ; +0x578, 0x14022e7f8 movsxd rax, ebp ; +0x57b, 0x14022e7fb cmp rax, rdx ; +0x57e, 0x14022e7fe jb loc_14022E3A0 ; +0x581, 0x14022e801 movaps xmm15, [rsp+158h+var_D8] ; +0x587, 0x14022e807 movaps xmm14, [rsp+158h+var_C8] ; +0x590, 0x14022e810 movaps xmm12, [rsp+158h+var_A8] ; +0x599, 0x14022e819 movaps xmm11, [rsp+158h+var_98] ; +0x5a2, 0x14022e822 movaps xmm10, [rsp+158h+var_88] ; +0x5ab, 0x14022e82b movaps xmm9, [rsp+158h+var_78] ; +0x5b4, 0x14022e834 movaps xmm8, [rsp+158h+var_68] ; +0x5bd, 0x14022e83d movaps xmm7, [rsp+158h+var_58] ; +0x5c6, 0x14022e846 movaps xmm6, [rsp+158h+var_48] ; +0x5ce, 0x14022e84e mov r14, [rsp+158h+var_38] ; +0x5d6, 0x14022e856 mov r13, [rsp+158h+var_30] ; +0x5de, 0x14022e85e mov rdi, [rsp+158h+var_20] ; +0x5e6, 0x14022e866 mov rbx, [rsp+158h+arg_10] ; +0x5ee, 0x14022e86e mov rsi, [rsp+158h+var_18] ; +0x5f6, 0x14022e876 mov rbp, [rsp+158h+var_10] ; +0x5fe, 0x14022e87e mov r12, [rsp+158h+var_28] ; +0x606, 0x14022e886 movaps xmm13, [rsp+158h+var_B8] ; +0x60e, 0x14022e88e add rsp, 150h ; +0x617, 0x14022e897 pop r15 ; +0x61e, 0x14022e89e retn ; +0x620, 0x14022e8a0