; ; GJBaseGameLayer::activateSFXTrigger from 0x14034bd80 to 0x14034bf8c (524 bytes) ; ; 5 xrefs: ; > GJBaseGameLayer::processQueuedAudioTriggers @ 0x140345b78 ; > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034ee03 ; > LevelEditorLayer::activateTriggerEffect @ 0x1403fbfa1 ; > EffectGameObject::triggerObject @ 0x14064949f ; > @ 0x140920078 ; ; 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:44 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x14034bd80 mov [rsp+arg_8], rdx ; +0x5, 0x14034bd85 push rbp ; +0xa, 0x14034bd8a push rsi ; +0xb, 0x14034bd8b push rdi ; +0xc, 0x14034bd8c sub rsp, 40h ; +0xd, 0x14034bd8d mov rbx, rdx ; +0x11, 0x14034bd91 mov rdi, rcx ; +0x14, 0x14034bd94 cmp byte ptr [rcx+32E1h], 0 ; +0x17, 0x14034bd97 jnz short loc_14034BDA9 ; +0x1e, 0x14034bd9e cmp byte ptr [rcx+32E0h], 0 ; +0x20, 0x14034bda0 jnz short loc_14034BDF5 ; +0x27, 0x14034bda7 cmp dword ptr [rdx+760h], 0 ; +0x29, 0x14034bda9 jle short loc_14034BDF5 ; +0x30, 0x14034bdb0 mov eax, [rcx+3E0h] ; +0x32, 0x14034bdb2 cmp [rcx+3330h], eax ; +0x38, 0x14034bdb8 jz short loc_14034BDD0 ; +0x3e, 0x14034bdbe mov [rcx+3330h], eax ; +0x40, 0x14034bdc0 mov dword ptr [rcx+332Ch], 0 ; +0x46, 0x14034bdc6 mov eax, [rcx+332Ch] ; +0x50, 0x14034bdd0 cmp eax, 64h ; 'd' ; +0x56, 0x14034bdd6 jg short loc_14034BDF5 ; +0x59, 0x14034bdd9 inc eax ; +0x5b, 0x14034bddb mov [rcx+332Ch], eax ; +0x5d, 0x14034bddd cmp byte ptr [rcx+3864h], 0 ; +0x63, 0x14034bde3 jz short loc_14034BE04 ; +0x6a, 0x14034bdea mov rax, [rcx] ; +0x6c, 0x14034bdec call qword ptr [rax+558h] ; +0x6f, 0x14034bdef xor eax, eax ; +0x75, 0x14034bdf5 mov rbx, [rsp+58h+arg_18] ; +0x77, 0x14034bdf7 add rsp, 40h ; +0x7c, 0x14034bdfc pop rdi ; +0x80, 0x14034be00 pop rsi ; +0x81, 0x14034be01 pop rbp ; +0x82, 0x14034be02 retn ; +0x83, 0x14034be03 cmp byte ptr [rcx+8A7h], 0 ; +0x84, 0x14034be04 jz short loc_14034BE2D ; +0x8b, 0x14034be0b add rcx, 8A8h ; +0x8d, 0x14034be0d lea rdx, [rsp+58h+arg_8] ; +0x94, 0x14034be14 call sub_1400BD3C0 ; +0x99, 0x14034be19 xor eax, eax ; +0x9e, 0x14034be1e mov rbx, [rsp+58h+arg_18] ; +0xa0, 0x14034be20 add rsp, 40h ; +0xa5, 0x14034be25 pop rdi ; +0xa9, 0x14034be29 pop rsi ; +0xaa, 0x14034be2a pop rbp ; +0xab, 0x14034be2b retn ; +0xac, 0x14034be2c cmp byte ptr [rdx+7B2h], 0 ; +0xad, 0x14034be2d jnz short loc_14034BE6F ; +0xb4, 0x14034be34 mov eax, [rdx+5C8h] ; +0xb6, 0x14034be36 test eax, eax ; +0xbc, 0x14034be3c jle short loc_14034BE6F ; +0xbe, 0x14034be3e mov [rsp+58h+var_28], rbx ; +0xc0, 0x14034be40 mov [rsp+58h+var_38], eax ; +0xc5, 0x14034be45 mov eax, [rdx+5CCh] ; +0xc9, 0x14034be49 mov [rsp+58h+var_34], eax ; +0xcf, 0x14034be4f mov eax, [rdx+698h] ; +0xd3, 0x14034be53 mov [rsp+58h+var_30], eax ; +0xd9, 0x14034be59 lea rdx, [rsp+58h+var_38] ; +0xdd, 0x14034be5d call GJBaseGameLayer__volumeForProximityEffect ; +0xe2, 0x14034be62 xorps xmm1, xmm1 ; +0xe7, 0x14034be67 comiss xmm1, xmm0 ; +0xea, 0x14034be6a jnb short loc_14034BDF5 ; +0xed, 0x14034be6d movzx ebp, byte ptr [rbx+7B1h] ; +0xef, 0x14034be6f mov byte ptr [rbx+7B1h], 0 ; +0xf6, 0x14034be76 cmp byte ptr [rbx+7CCh], 0 ; +0xfd, 0x14034be7d jz short loc_14034BED2 ; +0x104, 0x14034be84 mov rcx, cs:qword_14090BF60 ; +0x106, 0x14034be86 test rcx, rcx ; +0x10d, 0x14034be8d jnz short loc_14034BEC4 ; +0x110, 0x14034be90 mov ecx, 8A8h; Size ; +0x112, 0x14034be92 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x117, 0x14034be97 mov [rsp+58h+arg_0], rax ; +0x11c, 0x14034be9c mov rcx, rax ; +0x121, 0x14034bea1 call FMODAudioEngine__FMODAudioEngine ; +0x124, 0x14034bea4 nop ; +0x129, 0x14034bea9 mov cs:qword_14090BF60, rax ; +0x12a, 0x14034beaa mov rcx, [rax] ; +0x131, 0x14034beb1 mov rdx, [rcx+48h] ; +0x134, 0x14034beb4 mov rcx, rax ; +0x138, 0x14034beb8 call rdx ; +0x13b, 0x14034bebb mov rcx, cs:qword_14090BF60 ; +0x13d, 0x14034bebd xor r8d, r8d ; +0x144, 0x14034bec4 mov edx, [rbx+7C8h] ; +0x147, 0x14034bec7 call FMODAudioEngine__updateReverb ; +0x14d, 0x14034becd cmp cs:qword_14090BFD0, 0 ; +0x152, 0x14034bed2 jnz short loc_14034BF07 ; +0x15a, 0x14034beda mov ecx, 6E8h; Size ; +0x15c, 0x14034bedc call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x161, 0x14034bee1 mov [rsp+58h+arg_0], rax ; +0x166, 0x14034bee6 mov rcx, rax ; +0x16b, 0x14034beeb call GameManager__GameManager ; +0x16e, 0x14034beee nop ; +0x173, 0x14034bef3 mov cs:qword_14090BFD0, rax ; +0x174, 0x14034bef4 mov rcx, [rax] ; +0x17b, 0x14034befb mov rdx, [rcx+48h] ; +0x17e, 0x14034befe mov rcx, rax ; +0x182, 0x14034bf02 call rdx ; +0x185, 0x14034bf05 mov rdx, rbx ; +0x187, 0x14034bf07 call GameManager__playSFXTrigger ; +0x18a, 0x14034bf0a mov esi, eax ; +0x18f, 0x14034bf0f mov [rsp+58h+arg_10], eax ; +0x191, 0x14034bf11 mov [rbx+7B1h], bpl ; +0x195, 0x14034bf15 test eax, eax ; +0x19c, 0x14034bf1c jle short loc_14034BF7D ; +0x19e, 0x14034bf1e mov eax, [rbx+39Ch] ; +0x1a0, 0x14034bf20 mov dword ptr [rsp+58h+arg_0], eax ; +0x1a6, 0x14034bf26 lea rcx, [rdi+768h] ; +0x1aa, 0x14034bf2a lea r8, [rsp+58h+arg_0] ; +0x1b1, 0x14034bf31 lea rdx, [rsp+58h+var_38] ; +0x1b6, 0x14034bf36 call sub_14018CB00 ; +0x1bb, 0x14034bf3b mov rcx, [rax] ; +0x1c0, 0x14034bf40 add rcx, 18h ; +0x1c3, 0x14034bf43 mov rdx, [rcx+8] ; +0x1c7, 0x14034bf47 cmp rdx, [rcx+10h] ; +0x1cb, 0x14034bf4b jz short loc_14034BF5A ; +0x1cf, 0x14034bf4f mov [rdx], esi ; +0x1d1, 0x14034bf51 add qword ptr [rcx+8], 4 ; +0x1d3, 0x14034bf53 jmp short loc_14034BF64 ; +0x1d8, 0x14034bf58 lea r8, [rsp+58h+arg_10] ; +0x1da, 0x14034bf5a call sub_140069B30 ; +0x1df, 0x14034bf5f cmp dword ptr [rbx+5C8h], 0 ; +0x1e4, 0x14034bf64 jle short loc_14034BF7D ; +0x1eb, 0x14034bf6b mov r9, rbx ; +0x1ed, 0x14034bf6d xor r8d, r8d ; +0x1f0, 0x14034bf70 mov edx, esi ; +0x1f3, 0x14034bf73 mov rcx, rdi ; +0x1f5, 0x14034bf75 call GJBaseGameLayer__addProximityVolumeEffect ; +0x1f8, 0x14034bf78 mov eax, esi ; +0x1fd, 0x14034bf7d mov rbx, [rsp+58h+arg_18] ; +0x1ff, 0x14034bf7f add rsp, 40h ; +0x204, 0x14034bf84 pop rdi ; +0x208, 0x14034bf88 pop rsi ; +0x209, 0x14034bf89 pop rbp ; +0x20a, 0x14034bf8a retn ; +0x20b, 0x14034bf8b