; ; GJEffectManager::calculateBaseActiveColors from 0x140365760 to 0x140365813 (179 bytes) ; ; 6 xrefs: ; > GJEffectManager::processColors @ 0x14036564c ; > GJEffectManager::loadFromState @ 0x14036f181 ; > PlayLayer::loadDefaultColors @ 0x1405109d8 ; > @ 0x1408baa7c ; > @ 0x1408baa8c ; > @ 0x14092162c ; ; 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:54 +0000 ; push rdi ; +0x0, 0x140365760 sub rsp, 30h ; +0x2, 0x140365762 mov rdi, [rcx+150h] ; +0x6, 0x140365766 test rdi, rdi ; +0xd, 0x14036576d jz loc_14036580D ; +0x10, 0x140365770 mov rdi, [rdi+38h] ; +0x16, 0x140365776 test rdi, rdi ; +0x1a, 0x14036577a jz loc_14036580D ; +0x1d, 0x14036577d mov [rsp+38h+arg_10], rbx ; +0x23, 0x140365783 mov rbx, [rdi+120h] ; +0x28, 0x140365788 nop ; +0x2f, 0x14036578f mov rdi, [rdi+108h] ; +0x30, 0x140365790 mov rax, [rdi+158h] ; +0x37, 0x140365797 movzx ecx, word ptr [rdi+144h] ; +0x3e, 0x14036579e movzx edx, byte ptr [rdi+146h] ; +0x45, 0x1403657a5 mov [rsp+38h+arg_0], cx ; +0x4c, 0x1403657ac mov [rsp+38h+arg_2], dl ; +0x51, 0x1403657b1 test rax, rax ; +0x55, 0x1403657b5 jz short loc_1403657EA ; +0x58, 0x1403657b8 cmp dword ptr [rax+78h], 0 ; +0x5a, 0x1403657ba jle short loc_1403657EA ; +0x5e, 0x1403657be cmp byte ptr [rax+7Eh], 0 ; +0x60, 0x1403657c0 jnz short loc_1403657EA ; +0x64, 0x1403657c4 movups xmm0, xmmword ptr [rax+68h] ; +0x66, 0x1403657c6 lea r8, [rsp+38h+var_18] ; +0x6a, 0x1403657ca lea rdx, [rsp+38h+arg_0] ; +0x6f, 0x1403657cf lea rcx, [rsp+38h+arg_8] ; +0x74, 0x1403657d4 movaps xmmword ptr [rsp+38h+var_18], xmm0 ; +0x79, 0x1403657d9 call GameToolbox__transformColor ; +0x7e, 0x1403657de movzx ecx, word ptr [rax] ; +0x83, 0x1403657e3 movzx edx, byte ptr [rax+2] ; +0x86, 0x1403657e6 mov [rdi+147h], cx ; +0x8a, 0x1403657ea mov [rdi+149h], dl ; +0x91, 0x1403657f1 mov rdi, rbx ; +0x97, 0x1403657f7 test rbx, rbx ; +0x9a, 0x1403657fa jz short loc_140365808 ; +0x9d, 0x1403657fd mov rbx, [rbx+120h] ; +0x9f, 0x1403657ff jmp short loc_140365790 ; +0xa6, 0x140365806 mov rbx, [rsp+38h+arg_10] ; +0xa8, 0x140365808 add rsp, 30h ; +0xad, 0x14036580d pop rdi ; +0xb1, 0x140365811 retn ; +0xb2, 0x140365812