; ; GameObject::colorForMode from 0x1401a1f90 to 0x1401a20bc (300 bytes) ; ; 7 xrefs: ; > PlayLayer::updateVisibility @ 0x1403af83d ; > PlayLayer::updateVisibility @ 0x1403af994 ; > PlayLayer::updateVisibility @ 0x1403afb47 ; > PlayLayer::updateVisibility @ 0x1403afbd6 ; > PlayLayer::manualUpdateObjectColors @ 0x1403b0369 ; > PlayLayer::manualUpdateObjectColors @ 0x1403b0389 ; > @ 0x1406cbfe8 ; ; 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 rbx ; +0x0, 0x1401a1f90 push rdi ; +0x2, 0x1401a1f92 push r14 ; +0x3, 0x1401a1f93 sub rsp, 40h ; +0x5, 0x1401a1f95 lea rdi, [rcx+281h] ; +0x9, 0x1401a1f99 movzx r14d, r8b ; +0x10, 0x1401a1fa0 mov rbx, rcx ; +0x14, 0x1401a1fa4 test edx, edx ; +0x17, 0x1401a1fa7 jle short loc_1401A1FBC ; +0x19, 0x1401a1fa9 call GameObject__getActiveColorForMode ; +0x1b, 0x1401a1fab movzx ecx, word ptr [rax] ; +0x20, 0x1401a1fb0 mov [rdi], cx ; +0x23, 0x1401a1fb3 movzx eax, byte ptr [rax+2] ; +0x26, 0x1401a1fb6 jmp short loc_1401A1FCD ; +0x2a, 0x1401a1fba movzx eax, cs:word_140529A70 ; +0x2c, 0x1401a1fbc mov [rdi], ax ; +0x33, 0x1401a1fc3 movzx eax, cs:byte_140529A72 ; +0x36, 0x1401a1fc6 cmp word ptr [rbx+4A8h], 0 ; +0x3d, 0x1401a1fcd mov [rsp+58h+arg_0], rbp ; +0x45, 0x1401a1fd5 mov [rsp+58h+arg_8], rsi ; +0x4a, 0x1401a1fda mov [rsp+58h+arg_18], r15 ; +0x4f, 0x1401a1fdf mov [rdi+2], al ; +0x54, 0x1401a1fe4 jle short loc_1401A2044 ; +0x57, 0x1401a1fe7 test r14b, r14b ; +0x59, 0x1401a1fe9 jnz short loc_1401A205B ; +0x5c, 0x1401a1fec cmp dword ptr [rbx+298h], 3F4h ; +0x5e, 0x1401a1fee jz short loc_1401A2069 ; +0x68, 0x1401a1ff8 xor r15b, r15b ; +0x6a, 0x1401a1ffa xor esi, esi ; +0x6d, 0x1401a1ffd mov ebp, esi ; +0x6f, 0x1401a1fff mov rax, [rbx+4A0h] ; +0x71, 0x1401a2001 lea rdx, [rsp+58h+arg_10] ; +0x78, 0x1401a2008 mov rcx, [rbx+508h] ; +0x7d, 0x1401a200d mov r9, rdi ; +0x84, 0x1401a2014 mov [rsp+58h+var_38], r15b ; +0x87, 0x1401a2017 movsx r8d, word ptr [rsi+rax] ; +0x8c, 0x1401a201c call GJEffectManager__colorForGroupID ; +0x91, 0x1401a2021 inc ebp ; +0x96, 0x1401a2026 lea rsi, [rsi+2] ; +0x98, 0x1401a2028 movzx ecx, word ptr [rax] ; +0x9c, 0x1401a202c mov [rdi], cx ; +0x9f, 0x1401a202f movzx eax, byte ptr [rax+2] ; +0xa2, 0x1401a2032 mov [rdi+2], al ; +0xa6, 0x1401a2036 movsx eax, word ptr [rbx+4A8h] ; +0xa9, 0x1401a2039 cmp ebp, eax ; +0xb0, 0x1401a2040 jl short loc_1401A2001 ; +0xb2, 0x1401a2042 test r14b, r14b ; +0xb4, 0x1401a2044 jz short loc_1401A2069 ; +0xb7, 0x1401a2047 cmp byte ptr [rbx+29Ch], 0 ; +0xb9, 0x1401a2049 jz short loc_1401A20A1 ; +0xc0, 0x1401a2050 mov rax, [rbx+450h] ; +0xc2, 0x1401a2052 jmp short loc_1401A2079 ; +0xc9, 0x1401a2059 cmp byte ptr [rbx+416h], 0 ; +0xcb, 0x1401a205b jnz short loc_1401A1FFA ; +0xd2, 0x1401a2062 mov r15b, 1 ; +0xd4, 0x1401a2064 jmp short loc_1401A1FFD ; +0xd7, 0x1401a2067 cmp byte ptr [rbx+29Dh], 0 ; +0xd9, 0x1401a2069 jz short loc_1401A20A1 ; +0xe0, 0x1401a2070 mov rax, [rbx+458h] ; +0xe2, 0x1401a2072 movups xmm0, xmmword ptr [rax+10h] ; +0xe9, 0x1401a2079 lea r8, [rsp+58h+var_28] ; +0xed, 0x1401a207d mov rdx, rdi ; +0xf2, 0x1401a2082 lea rcx, [rsp+58h+arg_10] ; +0xf5, 0x1401a2085 movaps [rsp+58h+var_28], xmm0 ; +0xfa, 0x1401a208a call GameToolbox__transformColor ; +0xff, 0x1401a208f movzx ecx, word ptr [rax] ; +0x104, 0x1401a2094 movzx edx, byte ptr [rax+2] ; +0x107, 0x1401a2097 mov [rdi], cx ; +0x10b, 0x1401a209b mov [rdi+2], dl ; +0x10e, 0x1401a209e mov r15, [rsp+58h+arg_18] ; +0x111, 0x1401a20a1 mov rax, rdi ; +0x116, 0x1401a20a6 mov rsi, [rsp+58h+arg_8] ; +0x119, 0x1401a20a9 mov rbp, [rsp+58h+arg_0] ; +0x11e, 0x1401a20ae add rsp, 40h ; +0x123, 0x1401a20b3 pop r14 ; +0x127, 0x1401a20b7 pop rdi ; +0x129, 0x1401a20b9 pop rbx ; +0x12a, 0x1401a20ba retn ; +0x12b, 0x1401a20bb