; ; cocos2d::CCLabelBMFont::setColor from 0x18004c470 to 0x18004c53c (204 bytes) ; ; 5 xrefs: ; > @ 0x1800ec668 ; > @ 0x180137a0c ; > @ 0x180137a1c ; > @ 0x1801438a8 ; > @ 0x1801b1a1c ; ; 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, 0x18004c470 sub rsp, 30h ; +0x2, 0x18004c472 cmp byte ptr [rcx+88h], 0 ; +0x6, 0x18004c476 mov rbx, rcx ; +0xd, 0x18004c47d movzx eax, word ptr [rdx] ; +0x10, 0x18004c480 mov [rcx+85h], ax ; +0x13, 0x18004c483 movzx eax, byte ptr [rdx+2] ; +0x1a, 0x18004c48a mov [rcx+87h], al ; +0x1e, 0x18004c48e movzx eax, word ptr [rcx+85h] ; +0x24, 0x18004c494 mov [rcx+82h], ax ; +0x2b, 0x18004c49b movzx eax, byte ptr [rcx+87h] ; +0x32, 0x18004c4a2 mov [rcx+84h], al ; +0x39, 0x18004c4a9 jz loc_18004C536 ; +0x3f, 0x18004c4af movzx eax, cs:word_1800EB870 ; +0x45, 0x18004c4b5 lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x4c, 0x18004c4bc mov rcx, [rcx-98h] ; +0x53, 0x18004c4c3 lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x5a, 0x18004c4ca mov [rsp+38h+arg_0], ax ; +0x61, 0x18004c4d1 xor edx, edx ; +0x66, 0x18004c4d6 movzx eax, cs:byte_1800EB872 ; +0x68, 0x18004c4d8 mov [rsp+38h+arg_2], al ; +0x6f, 0x18004c4df mov [rsp+38h+arg_8], rdi ; +0x73, 0x18004c4e3 mov [rsp+38h+var_18], 0 ; +0x78, 0x18004c4e8 call __RTDynamicCast ; +0x80, 0x18004c4f0 mov rdi, rax ; +0x85, 0x18004c4f5 test rax, rax ; +0x88, 0x18004c4f8 jz short loc_18004C523 ; +0x8b, 0x18004c4fb mov rdx, [rax] ; +0x8d, 0x18004c4fd mov rcx, rax ; +0x90, 0x18004c500 call qword ptr [rdx+40h] ; +0x93, 0x18004c503 test al, al ; +0x96, 0x18004c506 jz short loc_18004C523 ; +0x98, 0x18004c508 mov rdx, [rdi] ; +0x9a, 0x18004c50a mov rcx, rdi ; +0x9d, 0x18004c50d call qword ptr [rdx+10h] ; +0xa0, 0x18004c510 movzx ecx, word ptr [rax] ; +0xa3, 0x18004c513 mov [rsp+38h+arg_0], cx ; +0xa6, 0x18004c516 movzx eax, byte ptr [rax+2] ; +0xab, 0x18004c51b mov [rsp+38h+arg_2], al ; +0xaf, 0x18004c51f mov rax, [rbx] ; +0xb3, 0x18004c523 lea rdx, [rsp+38h+arg_0] ; +0xb6, 0x18004c526 mov rcx, rbx ; +0xbb, 0x18004c52b call qword ptr [rax+50h] ; +0xbe, 0x18004c52e mov rdi, [rsp+38h+arg_8] ; +0xc1, 0x18004c531 add rsp, 30h ; +0xc6, 0x18004c536 pop rbx ; +0xca, 0x18004c53a retn ; +0xcb, 0x18004c53b