; ; GJBaseGameLayer::updateColor from 0x14032b610 to 0x14032b7e2 (466 bytes) ; ; 4 xrefs: ; > LevelEditorLayer::updateColor @ 0x1403fc583 ; > PlayLayer::updateColor @ 0x140510a99 ; > @ 0x14076b7b0 ; > @ 0x14091f178 ; ; 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:29 +0000 ; mov rax, rsp ; +0x0, 0x14032b610 mov [rax+8], rbx ; +0x3, 0x14032b613 mov [rax+10h], rbp ; +0x7, 0x14032b617 mov [rax+18h], rsi ; +0xb, 0x14032b61b mov [rax+20h], rdi ; +0xf, 0x14032b61f push r14 ; +0x13, 0x14032b623 sub rsp, 50h ; +0x15, 0x14032b625 movaps xmmword ptr [rax-18h], xmm6 ; +0x19, 0x14032b629 xor r14d, r14d ; +0x1d, 0x14032b62d cmp r9d, 44Dh ; +0x20, 0x14032b630 movaps xmmword ptr [rax-28h], xmm7 ; +0x27, 0x14032b637 mov ebx, r9d ; +0x2b, 0x14032b63b movaps xmmword ptr [rax-38h], xmm9 ; +0x2e, 0x14032b63e cmova ebx, r14d ; +0x33, 0x14032b643 mov rsi, rdx ; +0x37, 0x14032b647 mov rbp, rcx ; +0x3a, 0x14032b64a mov edx, ebx ; +0x3d, 0x14032b64d mov rcx, [rcx+968h] ; +0x3f, 0x14032b64f movaps xmm9, xmm2 ; +0x46, 0x14032b656 call GJEffectManager__getColorSprite ; +0x4a, 0x14032b65a mov rcx, [rbp+968h] ; +0x4f, 0x14032b65f mov edx, ebx ; +0x56, 0x14032b666 mov rdi, rax ; +0x58, 0x14032b668 call GJEffectManager__getColorAction ; +0x5b, 0x14032b66b mov ecx, [rsp+58h+arg_50] ; +0x60, 0x14032b670 mov rbx, rax ; +0x67, 0x14032b677 movss xmm6, [rsp+58h+arg_28] ; +0x6a, 0x14032b67a mov [rax+80h], ecx ; +0x73, 0x14032b683 movzx ecx, byte ptr [rax+54h] ; +0x79, 0x14032b689 mov [rbp+317Dh], cl ; +0x7d, 0x14032b68d movzx ecx, word ptr [rdi+144h] ; +0x83, 0x14032b693 mov [rax+48h], cx ; +0x8a, 0x14032b69a movzx ecx, byte ptr [rdi+146h] ; +0x8e, 0x14032b69e mov [rax+4Ah], cl ; +0x95, 0x14032b6a5 movzx ecx, word ptr [rsi] ; +0x98, 0x14032b6a8 mov [rax+4Bh], cx ; +0x9b, 0x14032b6ab movzx eax, byte ptr [rsi+2] ; +0x9f, 0x14032b6af mov [rbx+4Dh], al ; +0xa3, 0x14032b6b3 movzx eax, [rsp+58h+arg_20] ; +0xa6, 0x14032b6b6 mov [rbx+54h], al ; +0xae, 0x14032b6be mov rax, [rsp+58h+arg_30] ; +0xb1, 0x14032b6c1 movss dword ptr [rbx+50h], xmm9 ; +0xb9, 0x14032b6c9 movss xmm0, dword ptr [rdi+140h] ; +0xbf, 0x14032b6cf divss xmm0, cs:dword_140835964 ; +0xc7, 0x14032b6d7 movss dword ptr [rbx+64h], xmm6 ; +0xcf, 0x14032b6df movss dword ptr [rbx+60h], xmm0 ; +0xd4, 0x14032b6e4 movups xmm0, xmmword ptr [rax] ; +0xd9, 0x14032b6e9 mov rax, [rsp+58h+arg_48] ; +0xdc, 0x14032b6ec movups xmmword ptr [rbx+68h], xmm0 ; +0xe4, 0x14032b6f4 test rax, rax ; +0xe8, 0x14032b6f8 jz short loc_14032B704 ; +0xeb, 0x14032b6fb movzx eax, byte ptr [rax+674h] ; +0xed, 0x14032b6fd mov [rbx+88h], al ; +0xf4, 0x14032b704 xorps xmm1, xmm1 ; +0xfa, 0x14032b70a mov eax, [rsp+58h+arg_38] ; +0xfd, 0x14032b70d mov rcx, rbx ; +0x104, 0x14032b714 mov [rbx+78h], eax ; +0x107, 0x14032b717 xorps xmm7, xmm7 ; +0x10a, 0x14032b71a movzx eax, [rsp+58h+arg_40] ; +0x10d, 0x14032b71d mov [rbx+7Dh], al ; +0x115, 0x14032b725 mov [rbx+44h], r14d ; +0x118, 0x14032b728 mov [rbx+38h], r14w ; +0x11c, 0x14032b72c call ColorAction__step ; +0x121, 0x14032b731 mov r10, [rbp+968h] ; +0x126, 0x14032b736 movsxd rdx, dword ptr [rbx+5Ch] ; +0x12d, 0x14032b73d mov rcx, [r10+278h] ; +0x131, 0x14032b741 cmp [rbx+78h], r14d ; +0x138, 0x14032b748 jle short loc_14032B75C ; +0x13c, 0x14032b74c mov r8, rdx ; +0x13e, 0x14032b74e mov rdx, rbx ; +0x141, 0x14032b751 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x144, 0x14032b754 jmp short loc_14032B762 ; +0x14a, 0x14032b75a call cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAX_J@Z; cocos2d::CCDictionary::removeObjectForKey(__int64) ; +0x14c, 0x14032b75c comiss xmm7, xmm9 ; +0x152, 0x14032b762 jb short loc_14032B799 ; +0x156, 0x14032b766 mov rcx, [rbx+90h] ; +0x158, 0x14032b768 cmp [rbx+78h], r14d ; +0x15f, 0x14032b76f jnz short loc_14032B7C7 ; +0x163, 0x14032b773 movzx eax, word ptr [rsi] ; +0x165, 0x14032b775 mulss xmm6, cs:dword_140835964 ; +0x168, 0x14032b778 mov [rcx+144h], ax ; +0x170, 0x14032b780 movzx eax, byte ptr [rsi+2] ; +0x177, 0x14032b787 mov [rcx+146h], al ; +0x17b, 0x14032b78b movss dword ptr [rcx+140h], xmm6 ; +0x181, 0x14032b791 mov rax, rbx ; +0x189, 0x14032b799 mov rbx, [rsp+58h+arg_0] ; +0x18c, 0x14032b79c mov rbp, [rsp+58h+arg_8] ; +0x191, 0x14032b7a1 mov rsi, [rsp+58h+arg_10] ; +0x196, 0x14032b7a6 mov rdi, [rsp+58h+arg_18] ; +0x19b, 0x14032b7ab movaps xmm6, [rsp+58h+var_18] ; +0x1a0, 0x14032b7b0 movaps xmm7, [rsp+58h+var_28] ; +0x1a5, 0x14032b7b5 movaps xmm9, [rsp+58h+var_38] ; +0x1aa, 0x14032b7ba add rsp, 50h ; +0x1b0, 0x14032b7c0 pop r14 ; +0x1b4, 0x14032b7c4 retn ; +0x1b6, 0x14032b7c6 mov rax, rbx ; +0x1b7, 0x14032b7c7 cmp [rbx+7Dh], r14b ; +0x1ba, 0x14032b7ca jnz short loc_14032B79C ; +0x1be, 0x14032b7ce mulss xmm6, cs:dword_140835964 ; +0x1c0, 0x14032b7d0 movss dword ptr [rcx+140h], xmm6 ; +0x1c8, 0x14032b7d8 jmp short loc_14032B79C ; +0x1d0, 0x14032b7e0