; ; GJBaseGameLayer::triggerAreaEffect from 0x14032fe50 to 0x140330108 (696 bytes) ; ; 4 xrefs: ; > EffectGameObject::triggerObject @ 0x1406492f4 ; > @ 0x1408b6538 ; > @ 0x1408b656c ; > @ 0x14091f4f0 ; ; 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 r13 ; +0x0, 0x14032fe50 push r14 ; +0x2, 0x14032fe52 sub rsp, 28h ; +0x4, 0x14032fe54 mov eax, [rdx+40Ch] ; +0x8, 0x14032fe58 mov r13, rdx ; +0xe, 0x14032fe5e add eax, 0FFFFF442h; switch 10 cases ; +0x11, 0x14032fe61 mov r14, rcx ; +0x16, 0x14032fe66 cmp eax, 9 ; +0x19, 0x14032fe69 ja def_14032FE86; jumptable 000000014032FE86 default case ; +0x1c, 0x14032fe6c lea rcx, cs:140000000h ; +0x22, 0x14032fe72 cdqe ; +0x29, 0x14032fe79 mov r8d, ds:(jpt_14032FE86 - 140000000h)[rcx+rax*4] ; +0x2b, 0x14032fe7b add r8, rcx ; +0x33, 0x14032fe83 jmp r8; switch jump ; +0x36, 0x14032fe86 lea r8, [r14+658h]; jumptable 000000014032FE86 case 3006 ; +0x39, 0x14032fe89 xor r9d, r9d ; +0x40, 0x14032fe90 mov rcx, r14 ; +0x43, 0x14032fe93 add rsp, 28h ; +0x46, 0x14032fe96 pop r14 ; +0x4a, 0x14032fe9a pop r13 ; +0x4c, 0x14032fe9c jmp GJBaseGameLayer__addAreaEffect ; +0x4e, 0x14032fe9e lea r8, [r14+670h]; jumptable 000000014032FE86 case 3007 ; +0x53, 0x14032fea3 mov r9d, 1 ; +0x5a, 0x14032feaa mov rcx, r14 ; +0x60, 0x14032feb0 add rsp, 28h ; +0x63, 0x14032feb3 pop r14 ; +0x67, 0x14032feb7 pop r13 ; +0x69, 0x14032feb9 jmp GJBaseGameLayer__addAreaEffect ; +0x6b, 0x14032febb lea r8, [r14+688h]; jumptable 000000014032FE86 case 3008 ; +0x70, 0x14032fec0 mov r9d, 2 ; +0x77, 0x14032fec7 mov rcx, r14 ; +0x7d, 0x14032fecd add rsp, 28h ; +0x80, 0x14032fed0 pop r14 ; +0x84, 0x14032fed4 pop r13 ; +0x86, 0x14032fed6 jmp GJBaseGameLayer__addAreaEffect ; +0x88, 0x14032fed8 lea r8, [r14+6A0h]; jumptable 000000014032FE86 case 3009 ; +0x8d, 0x14032fedd mov r9d, 3 ; +0x94, 0x14032fee4 mov rcx, r14 ; +0x9a, 0x14032feea add rsp, 28h ; +0x9d, 0x14032feed pop r14 ; +0xa1, 0x14032fef1 pop r13 ; +0xa3, 0x14032fef3 jmp GJBaseGameLayer__addAreaEffect ; +0xa5, 0x14032fef5 lea r8, [r14+6B8h]; jumptable 000000014032FE86 case 3010 ; +0xaa, 0x14032fefa mov r9d, 4 ; +0xb1, 0x14032ff01 mov rcx, r14 ; +0xb7, 0x14032ff07 add rsp, 28h ; +0xba, 0x14032ff0a pop r14 ; +0xbe, 0x14032ff0e pop r13 ; +0xc0, 0x14032ff10 jmp GJBaseGameLayer__addAreaEffect ; +0xc2, 0x14032ff12 cmp byte ptr [rdx+804h], 0; jumptable 000000014032FE86 cases 3011-3015 ; +0xc7, 0x14032ff17 mov [rsp+38h+arg_0], rbx ; +0xce, 0x14032ff1e mov [rsp+38h+arg_8], rbp ; +0xd3, 0x14032ff23 mov [rsp+38h+arg_10], rsi ; +0xd8, 0x14032ff28 mov esi, [rdx+5C8h] ; +0xdd, 0x14032ff2d mov [rsp+38h+arg_18], rdi ; +0xe3, 0x14032ff33 jz loc_14032FFD7 ; +0xe8, 0x14032ff38 xor ebp, ebp ; +0xee, 0x14032ff3e mov ecx, ebp ; +0xf0, 0x14032ff40 test ebp, ebp ; +0xf2, 0x14032ff42 jz short loc_14032FF76 ; +0xf4, 0x14032ff44 sub ecx, 1 ; +0xf6, 0x14032ff46 jz short loc_14032FF6F ; +0xf9, 0x14032ff49 sub ecx, 1 ; +0xfb, 0x14032ff4b jz short loc_14032FF68 ; +0xfe, 0x14032ff4e sub ecx, 1 ; +0x100, 0x14032ff50 jz short loc_14032FF61 ; +0x103, 0x14032ff53 cmp ecx, 1 ; +0x105, 0x14032ff55 jnz short loc_14032FFC7 ; +0x108, 0x14032ff58 mov eax, 6B8h ; +0x10a, 0x14032ff5a jmp short loc_14032FF7B ; +0x10f, 0x14032ff5f mov eax, 6A0h ; +0x111, 0x14032ff61 jmp short loc_14032FF7B ; +0x116, 0x14032ff66 mov eax, 688h ; +0x118, 0x14032ff68 jmp short loc_14032FF7B ; +0x11d, 0x14032ff6d mov eax, 670h ; +0x11f, 0x14032ff6f jmp short loc_14032FF7B ; +0x124, 0x14032ff74 mov eax, 658h ; +0x126, 0x14032ff76 lea rdi, [r14+rax] ; +0x12b, 0x14032ff7b test rdi, rdi ; +0x12f, 0x14032ff7f jz short loc_14032FFC7 ; +0x132, 0x14032ff82 mov rbx, [rdi] ; +0x134, 0x14032ff84 mov rdi, [rdi+8] ; +0x137, 0x14032ff87 cmp rbx, rdi ; +0x13b, 0x14032ff8b jz short loc_14032FFC7 ; +0x13e, 0x14032ff8e mov rax, [rbx+0A0h] ; +0x140, 0x14032ff90 cmp [rax+7D8h], esi ; +0x147, 0x14032ff97 jnz short loc_14032FFBB ; +0x14d, 0x14032ff9d movsd xmm2, qword ptr [r14+3C8h] ; +0x14f, 0x14032ff9f mov rdx, r13 ; +0x158, 0x14032ffa8 cvtpd2ps xmm2, xmm2 ; +0x15b, 0x14032ffab mov rcx, rbx ; +0x15f, 0x14032ffaf call EnterEffectInstance__loadTransitions ; +0x162, 0x14032ffb2 test esi, esi ; +0x167, 0x14032ffb7 jg short loc_14032FFC7 ; +0x169, 0x14032ffb9 add rbx, 0E8h ; +0x16b, 0x14032ffbb cmp rbx, rdi ; +0x172, 0x14032ffc2 jnz short loc_14032FF90 ; +0x175, 0x14032ffc5 inc ebp ; +0x177, 0x14032ffc7 cmp ebp, 5 ; +0x179, 0x14032ffc9 jl loc_14032FF40 ; +0x17c, 0x14032ffcc jmp loc_1403300C2 ; +0x182, 0x14032ffd2 mov edx, esi ; +0x187, 0x14032ffd7 mov rcx, r14 ; +0x189, 0x14032ffd9 call GJBaseGameLayer__getGroup ; +0x18c, 0x14032ffdc test rax, rax ; +0x191, 0x14032ffe1 jz loc_1403300C2 ; +0x194, 0x14032ffe4 mov rcx, [rax+38h] ; +0x19a, 0x14032ffea mov eax, [rcx] ; +0x19e, 0x14032ffee test eax, eax ; +0x1a0, 0x14032fff0 jz loc_1403300C2 ; +0x1a2, 0x14032fff2 mov [rsp+38h+var_18], r15 ; +0x1a8, 0x14032fff8 lea rbp, [rax-1] ; +0x1ad, 0x14032fffd mov r15, [rcx+10h] ; +0x1b1, 0x140330001 lea rbp, [r15+rbp*8] ; +0x1b5, 0x140330005 cmp r15, rbp ; +0x1b9, 0x140330009 ja loc_1403300BD ; +0x1bc, 0x14033000c mov rdi, [r15] ; +0x1c2, 0x140330012 test rdi, rdi ; +0x1c5, 0x140330015 jz loc_1403300BD ; +0x1c8, 0x140330018 cmp dword ptr [rdi+3A8h], 2Dh ; '-' ; +0x1ce, 0x14033001e jnz loc_1403300B0 ; +0x1d5, 0x140330025 mov ecx, [rdi+40Ch] ; +0x1db, 0x14033002b sub ecx, 0BBEh ; +0x1e1, 0x140330031 jz short loc_140330069 ; +0x1e7, 0x140330037 sub ecx, 1 ; +0x1e9, 0x140330039 jz short loc_140330062 ; +0x1ec, 0x14033003c sub ecx, 1 ; +0x1ee, 0x14033003e jz short loc_14033005B ; +0x1f1, 0x140330041 sub ecx, 1 ; +0x1f3, 0x140330043 jz short loc_140330054 ; +0x1f6, 0x140330046 cmp ecx, 1 ; +0x1f8, 0x140330048 jnz short loc_1403300B0 ; +0x1fb, 0x14033004b mov eax, 6B8h ; +0x1fd, 0x14033004d jmp short loc_14033006E ; +0x202, 0x140330052 mov eax, 6A0h ; +0x204, 0x140330054 jmp short loc_14033006E ; +0x209, 0x140330059 mov eax, 688h ; +0x20b, 0x14033005b jmp short loc_14033006E ; +0x210, 0x140330060 mov eax, 670h ; +0x212, 0x140330062 jmp short loc_14033006E ; +0x217, 0x140330067 mov eax, 658h ; +0x219, 0x140330069 lea rbx, [rax+r14] ; +0x21e, 0x14033006e test rbx, rbx ; +0x222, 0x140330072 jz short loc_1403300B0 ; +0x225, 0x140330075 mov rsi, [rbx+8] ; +0x227, 0x140330077 mov rbx, [rbx] ; +0x22b, 0x14033007b cmp rbx, rsi ; +0x22e, 0x14033007e jz short loc_1403300B0 ; +0x231, 0x140330081 cmp [rbx+0A0h], rdi ; +0x233, 0x140330083 jnz short loc_1403300A4 ; +0x23a, 0x14033008a movsd xmm2, qword ptr [r14+3C8h] ; +0x23c, 0x14033008c mov rdx, r13 ; +0x245, 0x140330095 cvtpd2ps xmm2, xmm2 ; +0x248, 0x140330098 mov rcx, rbx ; +0x24c, 0x14033009c call EnterEffectInstance__loadTransitions ; +0x24f, 0x14033009f add rbx, 0E8h ; +0x254, 0x1403300a4 cmp rbx, rsi ; +0x25b, 0x1403300ab jnz short loc_140330083 ; +0x25e, 0x1403300ae add r15, 8 ; +0x260, 0x1403300b0 cmp r15, rbp ; +0x264, 0x1403300b4 jbe loc_140330012 ; +0x267, 0x1403300b7 mov r15, [rsp+38h+var_18] ; +0x26d, 0x1403300bd mov rsi, [rsp+38h+arg_10] ; +0x272, 0x1403300c2 mov rbp, [rsp+38h+arg_8] ; +0x277, 0x1403300c7 mov rbx, [rsp+38h+arg_0] ; +0x27c, 0x1403300cc mov rdi, [rsp+38h+arg_18] ; +0x281, 0x1403300d1 add rsp, 28h; jumptable 000000014032FE86 default case ; +0x286, 0x1403300d6 pop r14 ; +0x28a, 0x1403300da pop r13 ; +0x28c, 0x1403300dc retn ; +0x28e, 0x1403300de align 20h ; +0x28f, 0x1403300df dd offset loc_14032FE89 - 140000000h; jump table for switch statement ; +0x290, 0x1403300e0