; ; GJBaseGameLayer::activatePlayerControlTrigger from 0x100129da0 to 0x100129fb2 (530 bytes) ; ; 1 xrefs: ; > EffectGameObject::triggerObject @ 0x1001ba0e0 ; ; 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 rbp ; +0x0, 0x100129da0 mov rbp, rsp ; +0x1, 0x100129da1 push r15 ; +0x4, 0x100129da4 push r14 ; +0x6, 0x100129da6 push r13 ; +0x8, 0x100129da8 push r12 ; +0xa, 0x100129daa push rbx ; +0xc, 0x100129dac push rax ; +0xd, 0x100129dad mov r14, rsi ; +0xe, 0x100129dae mov rbx, rdi ; +0x11, 0x100129db1 movzx r15d, byte ptr [rsi+694h] ; +0x14, 0x100129db4 movzx r13d, byte ptr [rsi+695h] ; +0x1c, 0x100129dbc movzx ecx, byte ptr [rsi+72Ch] ; +0x24, 0x100129dc4 movzx r12d, byte ptr [rsi+72Dh] ; +0x2b, 0x100129dcb movzx eax, byte ptr [rsi+72Eh] ; +0x33, 0x100129dd3 mov [rbp+var_2A], al ; +0x3a, 0x100129dda mov eax, r13d ; +0x3d, 0x100129ddd not al ; +0x40, 0x100129de0 or al, r15b ; +0x42, 0x100129de2 test al, 1 ; +0x45, 0x100129de5 jz loc_100129EDF ; +0x47, 0x100129de7 test cl, cl ; +0x4d, 0x100129ded mov [rbp+var_29], cl ; +0x4f, 0x100129def jnz short loc_100129E30 ; +0x52, 0x100129df2 movzx eax, byte ptr [rbx+2F36h] ; +0x54, 0x100129df4 and al, r12b ; +0x5b, 0x100129dfb cmp al, 1 ; +0x5e, 0x100129dfe jz short loc_100129E53 ; +0x60, 0x100129e00 xor r15b, 1 ; +0x62, 0x100129e02 cmp [rbp+var_2A], 0 ; +0x66, 0x100129e06 jnz loc_100129E98 ; +0x6a, 0x100129e0a or r15b, r13b ; +0x70, 0x100129e10 cmp byte ptr [r14+72Fh], 1 ; +0x73, 0x100129e13 jz loc_100129EC0 ; +0x7b, 0x100129e1b test r15b, 1 ; +0x81, 0x100129e21 jnz loc_100129EDF ; +0x85, 0x100129e25 jmp loc_100129FA3 ; +0x8b, 0x100129e2b mov rdi, [rbx+0CA0h] ; +0x90, 0x100129e30 mov esi, 1 ; +0x97, 0x100129e37 call PlayerObject__releaseButton ; +0x9c, 0x100129e3c movzx ecx, [rbp+var_29] ; +0xa1, 0x100129e41 movzx eax, byte ptr [rbx+2F36h] ; +0xa5, 0x100129e45 and al, r12b ; +0xac, 0x100129e4c cmp al, 1 ; +0xaf, 0x100129e4f jnz short loc_100129E02 ; +0xb1, 0x100129e51 mov rdi, [rbx+0CA0h] ; +0xb3, 0x100129e53 mov esi, 5 ; +0xba, 0x100129e5a call PlayerObject__releaseButton ; +0xbf, 0x100129e5f mov rdi, [rbx+0CA0h] ; +0xc4, 0x100129e64 mov esi, 2 ; +0xcb, 0x100129e6b call PlayerObject__releaseButton ; +0xd0, 0x100129e70 mov rdi, [rbx+0CA0h] ; +0xd5, 0x100129e75 mov esi, 3 ; +0xdc, 0x100129e7c call PlayerObject__releaseButton ; +0xe1, 0x100129e81 movzx ecx, [rbp+var_29] ; +0xe6, 0x100129e86 xor r15b, 1 ; +0xea, 0x100129e8a cmp [rbp+var_2A], 0 ; +0xee, 0x100129e8e jz loc_100129E10 ; +0xf2, 0x100129e92 mov rdi, [rbx+0CA0h] ; +0xf8, 0x100129e98 mov esi, 1 ; +0xff, 0x100129e9f xor edx, edx ; +0x104, 0x100129ea4 call PlayerObject__stopRotation ; +0x106, 0x100129ea6 movzx ecx, [rbp+var_29] ; +0x10b, 0x100129eab or r15b, r13b ; +0x10f, 0x100129eaf cmp byte ptr [r14+72Fh], 1 ; +0x112, 0x100129eb2 jnz loc_100129E21 ; +0x11a, 0x100129eba mov rdi, [rbx+0CA0h] ; +0x120, 0x100129ec0 mov esi, 21Fh ; +0x127, 0x100129ec7 call PlayerObject__handlePlayerCommand ; +0x12c, 0x100129ecc movzx ecx, [rbp+var_29] ; +0x131, 0x100129ed1 test r15b, 1 ; +0x135, 0x100129ed5 jz loc_100129FA3 ; +0x139, 0x100129ed9 test cl, cl ; +0x13f, 0x100129edf jnz short loc_100129F27 ; +0x141, 0x100129ee1 and r12b, [rbx+2F36h] ; +0x143, 0x100129ee3 cmp r12b, 1 ; +0x14a, 0x100129eea jz short loc_100129F45 ; +0x14e, 0x100129eee cmp [rbp+var_2A], 0 ; +0x150, 0x100129ef0 jnz loc_100129F82 ; +0x154, 0x100129ef4 cmp byte ptr [r14+72Fh], 1 ; +0x15a, 0x100129efa jnz loc_100129FA3 ; +0x162, 0x100129f02 mov rdi, [rbx+0CA8h] ; +0x168, 0x100129f08 mov esi, 21Fh ; +0x16f, 0x100129f0f add rsp, 8 ; +0x174, 0x100129f14 pop rbx ; +0x178, 0x100129f18 pop r12 ; +0x179, 0x100129f19 pop r13 ; +0x17b, 0x100129f1b pop r14 ; +0x17d, 0x100129f1d pop r15 ; +0x17f, 0x100129f1f pop rbp ; +0x181, 0x100129f21 jmp PlayerObject__handlePlayerCommand ; +0x182, 0x100129f22 mov rdi, [rbx+0CA8h] ; +0x187, 0x100129f27 mov esi, 1 ; +0x18e, 0x100129f2e call PlayerObject__releaseButton ; +0x193, 0x100129f33 and r12b, [rbx+2F36h] ; +0x198, 0x100129f38 cmp r12b, 1 ; +0x19f, 0x100129f3f jnz short loc_100129EF0 ; +0x1a3, 0x100129f43 mov rdi, [rbx+0CA8h] ; +0x1a5, 0x100129f45 mov esi, 5 ; +0x1ac, 0x100129f4c call PlayerObject__releaseButton ; +0x1b1, 0x100129f51 mov rdi, [rbx+0CA8h] ; +0x1b6, 0x100129f56 mov esi, 2 ; +0x1bd, 0x100129f5d call PlayerObject__releaseButton ; +0x1c2, 0x100129f62 mov rdi, [rbx+0CA8h] ; +0x1c7, 0x100129f67 mov esi, 3 ; +0x1ce, 0x100129f6e call PlayerObject__releaseButton ; +0x1d3, 0x100129f73 cmp [rbp+var_2A], 0 ; +0x1d8, 0x100129f78 jz loc_100129EFA ; +0x1dc, 0x100129f7c mov rdi, [rbx+0CA8h] ; +0x1e2, 0x100129f82 mov esi, 1 ; +0x1e9, 0x100129f89 xor edx, edx ; +0x1ee, 0x100129f8e call PlayerObject__stopRotation ; +0x1f0, 0x100129f90 cmp byte ptr [r14+72Fh], 1 ; +0x1f5, 0x100129f95 jz loc_100129F08 ; +0x1fd, 0x100129f9d add rsp, 8 ; +0x203, 0x100129fa3 pop rbx ; +0x207, 0x100129fa7 pop r12 ; +0x208, 0x100129fa8 pop r13 ; +0x20a, 0x100129faa pop r14 ; +0x20c, 0x100129fac pop r15 ; +0x20e, 0x100129fae pop rbp ; +0x210, 0x100129fb0 retn ; +0x211, 0x100129fb1