; ; GJBaseGameLayer::processAreaActions from 0x140331c00 to 0x140331e58 (600 bytes) ; ; 5 xrefs: ; > GJBaseGameLayer::processMoveActionsStep @ 0x14033439b ; > @ 0x1408b6718 ; > @ 0x1408b6768 ; > @ 0x1408b6778 ; > @ 0x14091f61c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:30:32 +0000 ; mov rax, rsp ; +0x0, 0x140331c00 push rbx ; +0x3, 0x140331c03 push r13 ; +0x4, 0x140331c04 sub rsp, 58h ; +0x6, 0x140331c06 cmp byte ptr [rcx+331Dh], 0 ; +0xa, 0x140331c0a movzx r13d, r8b ; +0x11, 0x140331c11 movaps xmmword ptr [rax-38h], xmm6 ; +0x15, 0x140331c15 mov rbx, rcx ; +0x19, 0x140331c19 movaps xmm6, xmm1 ; +0x1c, 0x140331c1c jnz loc_140331E4B ; +0x1f, 0x140331c1f mov [rax+10h], rbp ; +0x25, 0x140331c25 lea rdx, [rcx+688h] ; +0x29, 0x140331c29 mov [rax+18h], rsi ; +0x30, 0x140331c30 movaps xmm3, xmm1 ; +0x34, 0x140331c34 mov [rax-18h], r12 ; +0x37, 0x140331c37 mov [rax-28h], r15 ; +0x3b, 0x140331c3b mov [rax+20h], rdi ; +0x3f, 0x140331c3f mov [rax-20h], r14 ; +0x43, 0x140331c43 mov eax, [rcx+3E0h] ; +0x47, 0x140331c47 dec eax ; +0x4d, 0x140331c4d mov [rsp+68h+var_48], r8b ; +0x4f, 0x140331c4f mov r8d, 2 ; +0x54, 0x140331c54 mov [rcx+3E4h], eax ; +0x5a, 0x140331c5a call GJBaseGameLayer__processAreaEffects ; +0x60, 0x140331c60 lea rdx, [rbx+670h] ; +0x65, 0x140331c65 mov [rsp+68h+var_48], r13b ; +0x6c, 0x140331c6c movaps xmm3, xmm6 ; +0x71, 0x140331c71 mov r8d, 1 ; +0x74, 0x140331c74 mov rcx, rbx ; +0x7a, 0x140331c7a call GJBaseGameLayer__processAreaEffects ; +0x7d, 0x140331c7d lea rdx, [rbx+658h] ; +0x82, 0x140331c82 mov [rsp+68h+var_48], r13b ; +0x89, 0x140331c89 movaps xmm3, xmm6 ; +0x8e, 0x140331c8e xor r8d, r8d ; +0x91, 0x140331c91 mov rcx, rbx ; +0x94, 0x140331c94 call GJBaseGameLayer__processAreaEffects ; +0x97, 0x140331c97 xor esi, esi ; +0x9c, 0x140331c9c mov ebp, esi ; +0x9e, 0x140331c9e cmp [rbx+0F08h], esi ; +0xa0, 0x140331ca0 jle loc_140331D3D ; +0xa6, 0x140331ca6 movss xmm6, cs:flt_140835080 ; +0xac, 0x140331cac mov r14d, esi ; +0xb4, 0x140331cb4 nop word ptr [rax+rax+00000000h] ; +0xb7, 0x140331cb7 mov rax, [rbx+0E60h] ; +0xc0, 0x140331cc0 mov rdi, [r14+rax] ; +0xc7, 0x140331cc7 mov eax, [rbx+3E0h] ; +0xcb, 0x140331ccb cmp [rdi+4E0h], eax ; +0xd1, 0x140331cd1 jge short loc_140331D0C ; +0xd7, 0x140331cd7 xor r8d, r8d ; +0xd9, 0x140331cd9 mov byte ptr [rdi+350h], 1 ; +0xdc, 0x140331cdc mov rdx, rdi ; +0xe3, 0x140331ce3 mov word ptr [rdi+368h], 101h ; +0xe6, 0x140331ce6 mov rcx, rbx ; +0xef, 0x140331cef call GJBaseGameLayer__resetAreaObjectValues ; +0xf2, 0x140331cf2 test al, al ; +0xf7, 0x140331cf7 jz short loc_140331D11 ; +0xf9, 0x140331cf9 mov rax, [rbx] ; +0xfb, 0x140331cfb mov rdx, rdi ; +0xfe, 0x140331cfe mov rcx, rbx ; +0x101, 0x140331d01 call qword ptr [rax+4C0h] ; +0x104, 0x140331d04 jmp short loc_140331D11 ; +0x10a, 0x140331d0a test r13b, r13b ; +0x10c, 0x140331d0c jz short loc_140331D2F ; +0x10f, 0x140331d0f mov rax, [rdi] ; +0x111, 0x140331d11 xorps xmm1, xmm1 ; +0x114, 0x140331d14 mov rcx, rdi ; +0x117, 0x140331d17 call qword ptr [rax+530h] ; +0x11a, 0x140331d1a mov rax, [rdi] ; +0x120, 0x140331d20 movaps xmm1, xmm6 ; +0x123, 0x140331d23 mov rcx, rdi ; +0x126, 0x140331d26 call qword ptr [rax+518h] ; +0x129, 0x140331d29 inc ebp ; +0x12f, 0x140331d2f add r14, 8 ; +0x131, 0x140331d31 cmp ebp, [rbx+0F08h] ; +0x135, 0x140331d35 jl short loc_140331CC0 ; +0x13b, 0x140331d3b mov eax, [rbx+0F04h] ; +0x13d, 0x140331d3d lea rdi, [rbx+0F08h] ; +0x143, 0x140331d43 mov r12, [rsp+68h+var_18] ; +0x14a, 0x140331d4a mov ebp, esi ; +0x14f, 0x140331d4f mov [rbx+0F08h], esi ; +0x151, 0x140331d51 test eax, eax ; +0x157, 0x140331d57 jle short loc_140331DB3 ; +0x159, 0x140331d59 mov ecx, esi ; +0x15b, 0x140331d5b mov r14, rsi ; +0x15d, 0x140331d5d mov rax, [rbx+0E48h] ; +0x160, 0x140331d60 mov rdx, [r14+rax] ; +0x167, 0x140331d67 mov [rsp+68h+arg_0], rdx ; +0x16b, 0x140331d6b cmp [rbx+0F1Ch], ecx ; +0x170, 0x140331d70 jg short loc_140331D91 ; +0x176, 0x140331d76 lea rdx, [rsp+68h+arg_0] ; +0x178, 0x140331d78 lea rcx, [rbx+0E60h] ; +0x17d, 0x140331d7d call sub_1400BD3C0 ; +0x184, 0x140331d84 inc dword ptr [rbx+0F1Ch] ; +0x189, 0x140331d89 jmp short loc_140331D9F ; +0x18f, 0x140331d8f mov rax, [rbx+0E60h] ; +0x191, 0x140331d91 movsxd rcx, ecx ; +0x198, 0x140331d98 mov [rax+rcx*8], rdx ; +0x19b, 0x140331d9b inc dword ptr [rdi] ; +0x19f, 0x140331d9f inc ebp ; +0x1a1, 0x140331da1 mov eax, [rbx+0F04h] ; +0x1a3, 0x140331da3 add r14, 8 ; +0x1a9, 0x140331da9 mov ecx, [rdi] ; +0x1ad, 0x140331dad cmp ebp, eax ; +0x1af, 0x140331daf jl short loc_140331D60 ; +0x1b1, 0x140331db1 mov r15, [rsp+68h+var_28] ; +0x1b3, 0x140331db3 mov r14, [rsp+68h+var_20] ; +0x1b8, 0x140331db8 mov rdi, [rsp+68h+arg_18] ; +0x1bd, 0x140331dbd mov rbp, [rsp+68h+arg_8] ; +0x1c5, 0x140331dc5 cmp [rbx+3269h], sil ; +0x1ca, 0x140331dca jz short loc_140331E43 ; +0x1d1, 0x140331dd1 test eax, eax ; +0x1d3, 0x140331dd3 jle short loc_140331E43 ; +0x1d5, 0x140331dd5 mov rdx, rsi ; +0x1d7, 0x140331dd7 nop word ptr [rax+rax+00h] ; +0x1da, 0x140331dda mov rax, [rbx+0E48h] ; +0x1e0, 0x140331de0 lea rdx, [rdx+8] ; +0x1e7, 0x140331de7 inc esi ; +0x1eb, 0x140331deb mov rcx, [rdx+rax-8] ; +0x1ed, 0x140331ded mov eax, [rcx+488h] ; +0x1f2, 0x140331df2 movsd xmm0, qword ptr [rcx+3B8h] ; +0x1f8, 0x140331df8 movsd xmm1, qword ptr [rcx+3C0h] ; +0x200, 0x140331e00 mov [rcx+3E4h], eax ; +0x208, 0x140331e08 mov eax, [rcx+48Ch] ; +0x20e, 0x140331e0e cvtpd2ps xmm0, xmm0 ; +0x214, 0x140331e14 mov [rcx+3E8h], eax ; +0x218, 0x140331e18 mov word ptr [rcx+368h], 101h ; +0x21e, 0x140331e1e cvtpd2ps xmm1, xmm1 ; +0x227, 0x140331e27 movss dword ptr [rcx+4D0h], xmm0 ; +0x22b, 0x140331e2b movss dword ptr [rcx+4D4h], xmm1 ; +0x233, 0x140331e33 cmp esi, [rbx+0F04h] ; +0x23b, 0x140331e3b jl short loc_140331DE0 ; +0x241, 0x140331e41 mov rsi, [rsp+68h+arg_10] ; +0x243, 0x140331e43 movaps xmm6, [rsp+68h+var_38] ; +0x24b, 0x140331e4b add rsp, 58h ; +0x250, 0x140331e50 pop r13 ; +0x254, 0x140331e54 pop rbx ; +0x256, 0x140331e56 retn ; +0x257, 0x140331e57