; ; GJBaseGameLayer::processOptionsTrigger from 0x140223d50 to 0x140223f3f (495 bytes) ; ; 4 xrefs: ; > EffectGameObject::triggerObject @ 0x1404a739b ; > @ 0x14067fec4 ; > @ 0x14067fed4 ; > @ 0x1406cd5f0 ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x140223d50 push rdi ; +0x5, 0x140223d55 sub rsp, 20h ; +0x6, 0x140223d56 mov eax, [rdx+740h] ; +0xa, 0x140223d5a mov rdi, rdx ; +0x10, 0x140223d60 mov rbx, rcx ; +0x13, 0x140223d63 test eax, eax ; +0x16, 0x140223d66 jz short loc_140223DAB ; +0x18, 0x140223d68 cmp eax, 1 ; +0x1a, 0x140223d6a mov [rsp+28h+arg_0], rsi ; +0x1d, 0x140223d6d setz sil ; +0x22, 0x140223d72 cmp sil, [rcx+32Ch] ; +0x26, 0x140223d76 jz short loc_140223DA6 ; +0x2d, 0x140223d7d mov [rcx+32Ch], sil ; +0x2f, 0x140223d7f movzx edx, sil ; +0x36, 0x140223d86 mov rcx, [rcx+0DA0h] ; +0x3a, 0x140223d8a call PlayerObject__updateStreakBlend ; +0x41, 0x140223d91 mov rcx, [rbx+0DA8h] ; +0x46, 0x140223d96 movzx edx, sil ; +0x4d, 0x140223d9d call PlayerObject__updateStreakBlend ; +0x51, 0x140223da1 mov rsi, [rsp+28h+arg_0] ; +0x56, 0x140223da6 mov eax, [rdi+744h] ; +0x5b, 0x140223dab test eax, eax ; +0x61, 0x140223db1 jz short loc_140223DC1 ; +0x63, 0x140223db3 cmp eax, 1 ; +0x65, 0x140223db5 setz al ; +0x68, 0x140223db8 mov [rbx+860h], al ; +0x6b, 0x140223dbb mov ecx, [rdi+748h] ; +0x71, 0x140223dc1 test ecx, ecx ; +0x77, 0x140223dc7 jz short loc_140223DDD ; +0x79, 0x140223dc9 mov rax, [rbx] ; +0x7b, 0x140223dcb cmp ecx, 1 ; +0x7e, 0x140223dce mov rcx, rbx ; +0x81, 0x140223dd1 setnz dl ; +0x84, 0x140223dd4 call qword ptr [rax+4A0h] ; +0x87, 0x140223dd7 mov ecx, [rdi+75Ch] ; +0x8d, 0x140223ddd test ecx, ecx ; +0x93, 0x140223de3 jz short loc_140223DF9 ; +0x95, 0x140223de5 mov rax, [rbx] ; +0x97, 0x140223de7 cmp ecx, 1 ; +0x9a, 0x140223dea mov rcx, rbx ; +0x9d, 0x140223ded setnz dl ; +0xa0, 0x140223df0 call qword ptr [rax+4A8h] ; +0xa3, 0x140223df3 mov eax, [rdi+74Ch] ; +0xa9, 0x140223df9 test eax, eax ; +0xaf, 0x140223dff jz short loc_140223E15 ; +0xb1, 0x140223e01 mov rcx, [rbx+0DA0h] ; +0xb3, 0x140223e03 cmp eax, 1 ; +0xba, 0x140223e0a setnz dl ; +0xbd, 0x140223e0d call PlayerObject__toggleVisibility ; +0xc0, 0x140223e10 mov eax, [rdi+750h] ; +0xc5, 0x140223e15 test eax, eax ; +0xcb, 0x140223e1b jz short loc_140223E3A ; +0xcd, 0x140223e1d cmp eax, 1 ; +0xcf, 0x140223e1f setnz dl ; +0xd2, 0x140223e22 cmp byte ptr [rbx+422h], 0 ; +0xd5, 0x140223e25 jz short loc_140223E3A ; +0xdc, 0x140223e2c mov rcx, [rbx+0DA8h] ; +0xde, 0x140223e2e call PlayerObject__toggleVisibility ; +0xe5, 0x140223e35 mov eax, [rdi+754h] ; +0xea, 0x140223e3a test eax, eax ; +0xf0, 0x140223e40 jz short loc_140223E5C ; +0xf2, 0x140223e42 mov rcx, [rbx+0DA0h] ; +0xf4, 0x140223e44 cmp eax, 1 ; +0xfb, 0x140223e4b jnz short loc_140223E57 ; +0xfe, 0x140223e4e call PlayerObject__disablePlayerControls ; +0x100, 0x140223e50 jmp short loc_140223E5C ; +0x105, 0x140223e55 call PlayerObject__enablePlayerControls ; +0x107, 0x140223e57 mov eax, [rdi+758h] ; +0x10c, 0x140223e5c test eax, eax ; +0x112, 0x140223e62 jz short loc_140223E7E ; +0x114, 0x140223e64 mov rcx, [rbx+0DA8h] ; +0x116, 0x140223e66 cmp eax, 1 ; +0x11d, 0x140223e6d jnz short loc_140223E79 ; +0x120, 0x140223e70 call PlayerObject__disablePlayerControls ; +0x122, 0x140223e72 jmp short loc_140223E7E ; +0x127, 0x140223e77 call PlayerObject__enablePlayerControls ; +0x129, 0x140223e79 mov ecx, [rdi+760h] ; +0x12e, 0x140223e7e test ecx, ecx ; +0x134, 0x140223e84 jz short loc_140223E9A ; +0x136, 0x140223e86 mov rax, [rbx] ; +0x138, 0x140223e88 cmp ecx, 1 ; +0x13b, 0x140223e8b mov rcx, rbx ; +0x13e, 0x140223e8e setz dl ; +0x141, 0x140223e91 call qword ptr [rax+4B0h] ; +0x144, 0x140223e94 mov eax, [rdi+76Ch] ; +0x14a, 0x140223e9a test eax, eax ; +0x150, 0x140223ea0 jz short loc_140223EB0 ; +0x152, 0x140223ea2 cmp eax, 1 ; +0x154, 0x140223ea4 setz al ; +0x157, 0x140223ea7 mov [rbx+516h], al ; +0x15a, 0x140223eaa mov eax, [rdi+770h] ; +0x160, 0x140223eb0 test eax, eax ; +0x166, 0x140223eb6 jz short loc_140223EC6 ; +0x168, 0x140223eb8 cmp eax, 1 ; +0x16a, 0x140223eba setz al ; +0x16d, 0x140223ebd mov [rbx+51Ch], al ; +0x170, 0x140223ec0 mov eax, [rdi+774h] ; +0x176, 0x140223ec6 test eax, eax ; +0x17c, 0x140223ecc jz short loc_140223EFA ; +0x17e, 0x140223ece cmp eax, 1 ; +0x180, 0x140223ed0 mov rax, [rbx+0DA0h] ; +0x183, 0x140223ed3 setz cl ; +0x18a, 0x140223eda mov [rax+0A28h], cl ; +0x18d, 0x140223edd cmp dword ptr [rdi+774h], 1 ; +0x193, 0x140223ee3 mov rax, [rbx+0DA8h] ; +0x19a, 0x140223eea setz cl ; +0x1a1, 0x140223ef1 mov [rax+0A28h], cl ; +0x1a4, 0x140223ef4 mov eax, [rdi+764h] ; +0x1aa, 0x140223efa test eax, eax ; +0x1b0, 0x140223f00 jz short loc_140223F34 ; +0x1b2, 0x140223f02 xorps xmm0, xmm0 ; +0x1b4, 0x140223f04 cmp eax, 1 ; +0x1b7, 0x140223f07 jnz short loc_140223F2C ; +0x1ba, 0x140223f0a movss xmm1, cs:flt_140622C24 ; +0x1bc, 0x140223f0c maxss xmm1, dword ptr [rdi+768h] ; +0x1c4, 0x140223f14 movss xmm0, cs:flt_14062307C ; +0x1cc, 0x140223f1c comiss xmm1, xmm0 ; +0x1d4, 0x140223f24 ja short loc_140223F2C ; +0x1d7, 0x140223f27 movaps xmm0, xmm1 ; +0x1d9, 0x140223f29 movss dword ptr [rbx+518h], xmm0 ; +0x1dc, 0x140223f2c mov rbx, [rsp+28h+arg_8] ; +0x1e4, 0x140223f34 add rsp, 20h ; +0x1e9, 0x140223f39 pop rdi ; +0x1ed, 0x140223f3d retn ; +0x1ee, 0x140223f3e