; ; GJEffectManager::processColors from 0x14025b340 to 0x14025b452 (274 bytes) ; ; 9 xrefs: ; > GJBaseGameLayer::loadUpToPosition @ 0x140235c20 ; > LevelEditorLayer::updateGameObjects @ 0x1402dc871 ; > LevelEditorLayer::updateGameObjects @ 0x1402dcd0e ; > LevelEditorLayer::onPlaytest @ 0x1402dfe94 ; > LevelEditorLayer::postUpdate @ 0x1402e0f69 ; > PlayLayer::updateVisibility @ 0x1403af42b ; > @ 0x14068494c ; > @ 0x14068495c ; > @ 0x1406cfc90 ; ; 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, 0x14025b340 push rdi ; +0x2, 0x14025b342 push r15 ; +0x3, 0x14025b343 sub rsp, 20h ; +0x5, 0x14025b345 mov rdi, rcx ; +0x9, 0x14025b349 call GJEffectManager__calculateBaseActiveColors ; +0xc, 0x14025b34c mov r8, [rdi+158h] ; +0x11, 0x14025b351 mov r15, 0E38E38E38E38E39h ; +0x18, 0x14025b358 mov rdx, [rdi+160h] ; +0x22, 0x14025b362 mov rax, r15 ; +0x29, 0x14025b369 sub rdx, r8 ; +0x2c, 0x14025b36c xor ebp, ebp ; +0x2f, 0x14025b36f imul rdx ; +0x31, 0x14025b371 sar rdx, 2 ; +0x34, 0x14025b374 mov rax, rdx ; +0x38, 0x14025b378 shr rax, 3Fh ; +0x3b, 0x14025b37b add rdx, rax ; +0x3f, 0x14025b37f jz loc_14025B43A ; +0x42, 0x14025b382 mov [rsp+38h+arg_10], rsi ; +0x48, 0x14025b388 mov [rsp+38h+arg_18], r14 ; +0x4d, 0x14025b38d mov r14d, ebp ; +0x52, 0x14025b392 mov [rsp+38h+arg_8], rbx ; +0x55, 0x14025b395 nop word ptr [rax+rax+00h] ; +0x5a, 0x14025b39a mov edx, [r14+r8+14h] ; +0x60, 0x14025b3a0 lea rsi, [r14+r8] ; +0x65, 0x14025b3a5 mov rcx, rdi ; +0x69, 0x14025b3a9 call GJEffectManager__getColorAction ; +0x6c, 0x14025b3ac cmp dword ptr [rsi+34h], 0 ; +0x71, 0x14025b3b1 jnz short loc_14025B3F4 ; +0x75, 0x14025b3b5 test rax, rax ; +0x77, 0x14025b3b7 jz short loc_14025B3C2 ; +0x7a, 0x14025b3ba cmp dword ptr [rax+78h], 0 ; +0x7c, 0x14025b3bc jnz short loc_14025B3F4 ; +0x80, 0x14025b3c0 mov rbx, [rax+90h] ; +0x82, 0x14025b3c2 lea rdx, [rsp+38h+arg_0] ; +0x89, 0x14025b3c9 mov r9, rsi ; +0x8e, 0x14025b3ce mov rcx, rdi ; +0x91, 0x14025b3d1 lea r8, [rbx+147h] ; +0x94, 0x14025b3d4 call GJEffectManager__colorForPulseEffect ; +0x9b, 0x14025b3db movzx ecx, word ptr [rax] ; +0xa0, 0x14025b3e0 mov [rbx+147h], cx ; +0xa3, 0x14025b3e3 movzx eax, byte ptr [rax+2] ; +0xaa, 0x14025b3ea mov [rbx+149h], al ; +0xae, 0x14025b3ee mov r8, [rdi+158h] ; +0xb4, 0x14025b3f4 inc ebp ; +0xbb, 0x14025b3fb mov rcx, [rdi+160h] ; +0xbd, 0x14025b3fd mov rax, r15 ; +0xc4, 0x14025b404 sub rcx, r8 ; +0xc7, 0x14025b407 add r14, 48h ; 'H' ; +0xca, 0x14025b40a imul rcx ; +0xce, 0x14025b40e sar rdx, 2 ; +0xd1, 0x14025b411 mov rax, rdx ; +0xd5, 0x14025b415 shr rax, 3Fh ; +0xd8, 0x14025b418 add rdx, rax ; +0xdc, 0x14025b41c movsxd rax, ebp ; +0xdf, 0x14025b41f cmp rax, rdx ; +0xe2, 0x14025b422 jb loc_14025B3A0 ; +0xe5, 0x14025b425 mov r14, [rsp+38h+arg_18] ; +0xeb, 0x14025b42b mov rsi, [rsp+38h+arg_10] ; +0xf0, 0x14025b430 mov rbx, [rsp+38h+arg_8] ; +0xf5, 0x14025b435 mov rcx, rdi ; +0xfa, 0x14025b43a call GJEffectManager__processInheritedColors ; +0xfd, 0x14025b43d mov rcx, rdi ; +0x102, 0x14025b442 add rsp, 20h ; +0x105, 0x14025b445 pop r15 ; +0x109, 0x14025b449 pop rdi ; +0x10b, 0x14025b44b pop rbp ; +0x10c, 0x14025b44c jmp GJEffectManager__processCopyColorPulseActions ; +0x10d, 0x14025b44d