; ; GJBaseGameLayer::updateSpecialGroupData from 0x14020df30 to 0x14020e0ac (380 bytes) ; ; 6 xrefs: ; > LevelEditorLayer::onPlaytest @ 0x1402e01f1 ; > PlayLayer::setupHasCompleted @ 0x1403a672f ; > @ 0x14067ec9c ; > @ 0x14067ecf8 ; > @ 0x1406ccd98 ; > @ 0x1406ccda4 ; ; 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 ; push rdi ; +0x0, 0x14020df30 sub rsp, 20h ; +0x2, 0x14020df32 mov rdi, rcx ; +0x6, 0x14020df36 call GJBaseGameLayer__generateSpawnRemap ; +0x9, 0x14020df39 mov rax, [rdi+3020h] ; +0xe, 0x14020df3e cmp rax, [rdi+3028h] ; +0x15, 0x14020df45 jz short loc_14020DF55 ; +0x1c, 0x14020df4c mov [rdi+3028h], rax ; +0x1e, 0x14020df4e lea rcx, [rdi+3038h] ; +0x25, 0x14020df55 call sub_14005E0D0 ; +0x2c, 0x14020df5c mov rax, [rdi+0DB8h] ; +0x31, 0x14020df61 mov dword ptr [rdi+3078h], 0 ; +0x38, 0x14020df68 test rax, rax ; +0x42, 0x14020df72 jz loc_14020E045 ; +0x45, 0x14020df75 mov [rsp+28h+arg_0], rbx ; +0x4b, 0x14020df7b mov rbx, [rax+38h] ; +0x50, 0x14020df80 mov eax, [rbx] ; +0x54, 0x14020df84 test eax, eax ; +0x56, 0x14020df86 jz loc_14020E040 ; +0x58, 0x14020df88 mov rbx, [rbx+10h] ; +0x5e, 0x14020df8e mov [rsp+28h+arg_8], rbp ; +0x62, 0x14020df92 lea rbp, [rax-1] ; +0x67, 0x14020df97 lea rbp, [rbx+rbp*8] ; +0x6b, 0x14020df9b cmp rbx, rbp ; +0x6f, 0x14020df9f ja loc_14020E03B ; +0x72, 0x14020dfa2 mov [rsp+28h+arg_10], rsi ; +0x78, 0x14020dfa8 mov [rsp+28h+arg_18], r14 ; +0x7d, 0x14020dfad lea r14, cs:140000000h ; +0x82, 0x14020dfb2 nop dword ptr [rax+00000000h] ; +0x89, 0x14020dfb9 mov rsi, [rbx] ; +0x90, 0x14020dfc0 test rsi, rsi ; +0x93, 0x14020dfc3 jz short loc_14020E031 ; +0x96, 0x14020dfc6 mov eax, [rsi+40Ch] ; +0x98, 0x14020dfc8 add eax, 0FFFFF442h; switch 16 cases ; +0x9e, 0x14020dfce cmp eax, 0Fh ; +0xa3, 0x14020dfd3 ja short def_14020DFEE; jumptable 000000014020DFEE default case, case 3016 ; +0xa6, 0x14020dfd6 cdqe ; +0xa8, 0x14020dfd8 movzx eax, ds:(byte_14020E09C - 140000000h)[r14+rax] ; +0xaa, 0x14020dfda mov ecx, ds:(jpt_14020DFEE - 140000000h)[r14+rax*4] ; +0xb3, 0x14020dfe3 add rcx, r14 ; +0xbb, 0x14020dfeb jmp rcx; switch jump ; +0xbe, 0x14020dfee movss xmm2, dword ptr [rsi+794h]; jumptable 000000014020DFEE cases 3006-3015,3017-3021 ; +0xc0, 0x14020dff0 mov rcx, rdi ; +0xc8, 0x14020dff8 mov edx, [rsi+790h] ; +0xcb, 0x14020dffb call GJBaseGameLayer__generateEnterEasingBuffer ; +0xd1, 0x14020e001 movss xmm2, dword ptr [rsi+7A0h] ; +0xd6, 0x14020e006 mov rcx, rdi ; +0xde, 0x14020e00e mov edx, [rsi+79Ch] ; +0xe1, 0x14020e011 mov [rsi+798h], eax ; +0xe7, 0x14020e017 call GJBaseGameLayer__generateEnterEasingBuffer ; +0xed, 0x14020e01d mov [rsi+7A4h], eax ; +0xf2, 0x14020e022 add rbx, 8; jumptable 000000014020DFEE default case, case 3016 ; +0xf8, 0x14020e028 cmp rbx, rbp ; +0xfc, 0x14020e02c jbe short loc_14020DFC0 ; +0xff, 0x14020e02f mov rsi, [rsp+28h+arg_10] ; +0x101, 0x14020e031 mov r14, [rsp+28h+arg_18] ; +0x106, 0x14020e036 mov rbp, [rsp+28h+arg_8] ; +0x10b, 0x14020e03b mov rbx, [rsp+28h+arg_0] ; +0x110, 0x14020e040 mov rcx, rdi ; +0x115, 0x14020e045 call GJBaseGameLayer__sortGroups ; +0x118, 0x14020e048 mov rcx, rdi ; +0x11d, 0x14020e04d call GJBaseGameLayer__optimizeMoveGroups ; +0x120, 0x14020e050 mov rcx, rdi ; +0x125, 0x14020e055 call GJBaseGameLayer__prepareSavePositionObjects ; +0x128, 0x14020e058 mov rcx, rdi ; +0x12d, 0x14020e05d call GJBaseGameLayer__sortStickyGroups ; +0x130, 0x14020e060 mov rcx, rdi ; +0x135, 0x14020e065 call GJBaseGameLayer__generateTargetGroups ; +0x138, 0x14020e068 mov rcx, rdi ; +0x13d, 0x14020e06d call GJBaseGameLayer__positionUIObjects ; +0x140, 0x14020e070 mov rcx, rdi ; +0x145, 0x14020e075 call GJBaseGameLayer__generateVisibilityGroups ; +0x148, 0x14020e078 mov rcx, rdi ; +0x14d, 0x14020e07d call GJBaseGameLayer__refreshKeyframeAnims ; +0x150, 0x14020e080 mov rcx, rdi ; +0x155, 0x14020e085 add rsp, 20h ; +0x158, 0x14020e088 pop rdi ; +0x15c, 0x14020e08c jmp GJBaseGameLayer__processSFXObjects ; +0x15d, 0x14020e08d align 4 ; +0x162, 0x14020e092 dd offset loc_14020DFF0 - 140000000h; jump table for switch statement ; +0x164, 0x14020e094 db 0, 0, 0, 0; indirect table for switch statement ; +0x16c, 0x14020e09c