; ; GJBaseGameLayer::resetAreaObjectValues from 0x1403308a0 to 0x140330af4 (596 bytes) ; ; 15 xrefs: ; > GJBaseGameLayer::processAreaEffects @ 0x140331443 ; > GJBaseGameLayer::processAreaActions @ 0x140331cf2 ; > GJBaseGameLayer::processAreaTransformGroupAction @ 0x140332011 ; > GJBaseGameLayer::transformAreaObjects @ 0x14033239e ; > GJBaseGameLayer::transformAreaObjects @ 0x1403325b1 ; > GJBaseGameLayer::processAreaRotateGroupAction @ 0x140332af7 ; > GJBaseGameLayer::rotateAreaObjects @ 0x140332d82 ; > GJBaseGameLayer::rotateAreaObjects @ 0x140332f82 ; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x1403332c5 ; > GJBaseGameLayer::moveAreaObject @ 0x140333723 ; > LevelEditorLayer::onStopPlaytest @ 0x1404000e4 ; > @ 0x1408b664c ; > @ 0x1408b6668 ; > @ 0x1408b6678 ; > @ 0x14091f5a4 ; ; 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 ; push rbx ; +0x0, 0x1403308a0 push rsi ; +0x2, 0x1403308a2 push rdi ; +0x3, 0x1403308a3 sub rsp, 30h ; +0x4, 0x1403308a4 mov eax, [rcx+3E0h] ; +0x8, 0x1403308a8 movzx esi, r8b ; +0xe, 0x1403308ae mov rbx, rdx ; +0x12, 0x1403308b2 mov rdi, rcx ; +0x15, 0x1403308b5 cmp [rdx+4E0h], eax ; +0x18, 0x1403308b8 jge loc_140330AEA ; +0x1e, 0x1403308be mov [rsp+48h+arg_8], rbp ; +0x24, 0x1403308c4 mov [rsp+48h+arg_10], r14 ; +0x29, 0x1403308c9 movaps [rsp+48h+var_28], xmm6 ; +0x2e, 0x1403308ce test r8b, r8b ; +0x33, 0x1403308d3 jz short loc_1403308DD ; +0x36, 0x1403308d6 call GJBaseGameLayer__updateAreaObjectLastValues ; +0x38, 0x1403308d8 movss xmm0, dword ptr [rdx+2A0h] ; +0x3d, 0x1403308dd xor bpl, bpl ; +0x45, 0x1403308e5 xorps xmm6, xmm6 ; +0x48, 0x1403308e8 xor r14d, r14d ; +0x4b, 0x1403308eb ucomiss xmm0, xmm6 ; +0x4e, 0x1403308ee jp short loc_1403308F5 ; +0x51, 0x1403308f1 jz short loc_14033091D ; +0x53, 0x1403308f3 movsd xmm1, qword ptr [rdx+3B8h] ; +0x55, 0x1403308f5 mov bpl, 1 ; +0x5d, 0x1403308fd cvtps2pd xmm0, xmm0 ; +0x60, 0x140330900 mov [rdx+2A0h], r14d ; +0x63, 0x140330903 mov [rdx+352h], bpl ; +0x6a, 0x14033090a subsd xmm1, xmm0 ; +0x71, 0x140330911 movsd qword ptr [rdx+3B8h], xmm1 ; +0x75, 0x140330915 movss xmm0, dword ptr [rdx+2A4h] ; +0x7d, 0x14033091d ucomiss xmm0, xmm6 ; +0x85, 0x140330925 jp short loc_14033092C ; +0x88, 0x140330928 jz short loc_140330954 ; +0x8a, 0x14033092a movsd xmm1, qword ptr [rdx+3C0h] ; +0x8c, 0x14033092c mov bpl, 1 ; +0x94, 0x140330934 cvtps2pd xmm0, xmm0 ; +0x97, 0x140330937 mov [rdx+2A4h], r14d ; +0x9a, 0x14033093a mov [rdx+352h], bpl ; +0xa1, 0x140330941 subsd xmm1, xmm0 ; +0xa8, 0x140330948 movsd qword ptr [rdx+3C0h], xmm1 ; +0xac, 0x14033094c movss xmm2, dword ptr [rdx+2C0h] ; +0xb4, 0x140330954 ucomiss xmm2, xmm6 ; +0xbc, 0x14033095c jp short loc_140330972 ; +0xbf, 0x14033095f jnz short loc_140330972 ; +0xc1, 0x140330961 movss xmm0, dword ptr [rdx+2C4h] ; +0xc3, 0x140330963 ucomiss xmm0, xmm6 ; +0xcb, 0x14033096b jp short loc_140330972 ; +0xce, 0x14033096e jz short loc_1403309F1 ; +0xd0, 0x140330970 movss xmm0, dword ptr [rdx+2B8h] ; +0xd2, 0x140330972 movss xmm1, dword ptr [rdx+488h] ; +0xda, 0x14033097a subss xmm0, xmm2 ; +0xe2, 0x140330982 mov [rdx+2C0h], r14d ; +0xe6, 0x140330986 subss xmm1, xmm2 ; +0xed, 0x14033098d movss xmm2, dword ptr [rdx+2C4h] ; +0xf1, 0x140330991 mov [rdx+2C4h], r14d ; +0xf9, 0x140330999 movss dword ptr [rdx+2B8h], xmm0 ; +0x100, 0x1403309a0 movss xmm0, dword ptr [rdx+2BCh] ; +0x108, 0x1403309a8 movss dword ptr [rdx+488h], xmm1 ; +0x110, 0x1403309b0 subss xmm0, xmm2 ; +0x118, 0x1403309b8 movss xmm1, dword ptr [rdx+48Ch] ; +0x11c, 0x1403309bc subss xmm1, xmm2 ; +0x124, 0x1403309c4 movss dword ptr [rdx+2BCh], xmm0 ; +0x128, 0x1403309c8 movss dword ptr [rdx+48Ch], xmm1 ; +0x130, 0x1403309d0 test sil, sil ; +0x138, 0x1403309d8 jnz short loc_1403309F1 ; +0x13b, 0x1403309db mov rax, [rdx] ; +0x13d, 0x1403309dd mov rcx, rbx ; +0x140, 0x1403309e0 movss xmm1, cs:flt_140835080 ; +0x143, 0x1403309e3 call qword ptr [rax+518h] ; +0x14b, 0x1403309eb movss xmm1, dword ptr [rbx+2ACh] ; +0x151, 0x1403309f1 ucomiss xmm1, xmm6 ; +0x159, 0x1403309f9 jp short loc_140330A13 ; +0x15c, 0x1403309fc jnz short loc_140330A13 ; +0x15e, 0x1403309fe movss xmm0, dword ptr [rbx+2B4h] ; +0x160, 0x140330a00 ucomiss xmm0, xmm6 ; +0x168, 0x140330a08 jp short loc_140330A13 ; +0x16b, 0x140330a0b jz loc_140330A93 ; +0x16d, 0x140330a0d movss xmm0, dword ptr [rbx+2A8h] ; +0x173, 0x140330a13 mov [rbx+2ACh], r14d ; +0x17b, 0x140330a1b subss xmm0, xmm1 ; +0x182, 0x140330a22 movss dword ptr [rbx+2A8h], xmm0 ; +0x186, 0x140330a26 movss xmm0, dword ptr [rbx+2B0h] ; +0x18e, 0x140330a2e subss xmm0, dword ptr [rbx+2B4h] ; +0x196, 0x140330a36 mov [rbx+2B4h], r14d ; +0x19e, 0x140330a3e movss dword ptr [rbx+2B0h], xmm0 ; +0x1a5, 0x140330a45 test sil, sil ; +0x1ad, 0x140330a4d jnz short loc_140330A93 ; +0x1b0, 0x140330a50 mov rax, [rbx] ; +0x1b2, 0x140330a52 xorps xmm1, xmm1 ; +0x1b5, 0x140330a55 mov rcx, rbx ; +0x1b8, 0x140330a58 call qword ptr [rax+530h] ; +0x1bb, 0x140330a5b mov eax, [rdi+3E0h] ; +0x1c1, 0x140330a61 mov [rbx+4E0h], eax ; +0x1c7, 0x140330a67 mov rdx, rbx ; +0x1cd, 0x140330a6d mov rcx, rdi ; +0x1d0, 0x140330a70 call GJBaseGameLayer__updateAreaObjectLastValues ; +0x1d3, 0x140330a73 movaps xmm6, [rsp+48h+var_28] ; +0x1d8, 0x140330a78 movzx eax, bpl ; +0x1dd, 0x140330a7d mov rbp, [rsp+48h+arg_8] ; +0x1e1, 0x140330a81 mov r14, [rsp+48h+arg_10] ; +0x1e6, 0x140330a86 add rsp, 30h ; +0x1eb, 0x140330a8b pop rdi ; +0x1ef, 0x140330a8f pop rsi ; +0x1f0, 0x140330a90 pop rbx ; +0x1f1, 0x140330a91 retn ; +0x1f2, 0x140330a92 mov eax, [rdi+3E0h] ; +0x1f3, 0x140330a93 mov [rbx+4E0h], eax ; +0x1f9, 0x140330a99 test sil, sil ; +0x1ff, 0x140330a9f jz short loc_140330A6D ; +0x202, 0x140330aa2 movsxd rcx, dword ptr [rdi+0F04h] ; +0x204, 0x140330aa4 mov [rsp+48h+arg_0], rbx ; +0x20b, 0x140330aab cmp [rdi+0F18h], ecx ; +0x210, 0x140330ab0 jg short loc_140330AD7 ; +0x216, 0x140330ab6 lea rdx, [rsp+48h+arg_0] ; +0x218, 0x140330ab8 lea rcx, [rdi+0E48h] ; +0x21d, 0x140330abd call sub_1400BD3C0 ; +0x224, 0x140330ac4 inc dword ptr [rdi+0F18h] ; +0x229, 0x140330ac9 inc dword ptr [rdi+0F04h] ; +0x22f, 0x140330acf jmp short loc_140330A78 ; +0x235, 0x140330ad5 mov rax, [rdi+0E48h] ; +0x237, 0x140330ad7 mov [rax+rcx*8], rbx ; +0x23e, 0x140330ade inc dword ptr [rdi+0F04h] ; +0x242, 0x140330ae2 jmp short loc_140330A78 ; +0x248, 0x140330ae8 xor al, al ; +0x24a, 0x140330aea add rsp, 30h ; +0x24c, 0x140330aec pop rdi ; +0x250, 0x140330af0 pop rsi ; +0x251, 0x140330af1 pop rbx ; +0x252, 0x140330af2 retn ; +0x253, 0x140330af3