; ; cocos2d::CCLabelBMFont::setColor from 0x18004e040 to 0x18004e112 (210 bytes) ; ; 5 xrefs: ; > @ 0x1800f2788 ; > @ 0x180140bfc ; > @ 0x180140c0c ; > @ 0x18014cf68 ; > @ 0x1801bbcb0 ; ; 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:21:44 +0000 ; push rbx ; +0x0, 0x18004e040 sub rsp, 30h ; +0x2, 0x18004e042 cmp byte ptr [rcx+88h], 0 ; +0x6, 0x18004e046 mov rbx, rcx ; +0xd, 0x18004e04d movzx eax, word ptr [rdx] ; +0x10, 0x18004e050 mov [rcx+85h], ax ; +0x13, 0x18004e053 movzx eax, byte ptr [rdx+2] ; +0x1a, 0x18004e05a mov [rcx+87h], al ; +0x1e, 0x18004e05e movzx eax, word ptr [rcx+85h] ; +0x24, 0x18004e064 mov [rcx+82h], ax ; +0x2b, 0x18004e06b movzx eax, byte ptr [rcx+87h] ; +0x32, 0x18004e072 mov [rcx+84h], al ; +0x39, 0x18004e079 jz loc_18004E10C ; +0x3f, 0x18004e07f movzx eax, cs:word_1800F1960 ; +0x45, 0x18004e085 lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x4c, 0x18004e08c mov rcx, [rcx-98h] ; +0x53, 0x18004e093 lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x5a, 0x18004e09a mov [rsp+38h+arg_0], ax ; +0x61, 0x18004e0a1 xor edx, edx ; +0x66, 0x18004e0a6 movzx eax, cs:byte_1800F1962 ; +0x68, 0x18004e0a8 mov [rsp+38h+arg_2], al ; +0x6f, 0x18004e0af mov [rsp+38h+arg_8], rdi ; +0x73, 0x18004e0b3 mov [rsp+38h+var_18], 0 ; +0x78, 0x18004e0b8 call __RTDynamicCast ; +0x80, 0x18004e0c0 mov rdi, rax ; +0x85, 0x18004e0c5 test rax, rax ; +0x88, 0x18004e0c8 jz short loc_18004E0F9 ; +0x8b, 0x18004e0cb mov rcx, [rax] ; +0x8d, 0x18004e0cd mov rdx, [rcx+40h] ; +0x90, 0x18004e0d0 mov rcx, rax ; +0x94, 0x18004e0d4 call rdx ; +0x97, 0x18004e0d7 test al, al ; +0x99, 0x18004e0d9 jz short loc_18004E0F9 ; +0x9b, 0x18004e0db mov rcx, [rdi] ; +0x9d, 0x18004e0dd mov rdx, [rcx+10h] ; +0xa0, 0x18004e0e0 mov rcx, rdi ; +0xa4, 0x18004e0e4 call rdx ; +0xa7, 0x18004e0e7 movzx ecx, word ptr [rax] ; +0xa9, 0x18004e0e9 mov [rsp+38h+arg_0], cx ; +0xac, 0x18004e0ec movzx eax, byte ptr [rax+2] ; +0xb1, 0x18004e0f1 mov [rsp+38h+arg_2], al ; +0xb5, 0x18004e0f5 mov rax, [rbx] ; +0xb9, 0x18004e0f9 lea rdx, [rsp+38h+arg_0] ; +0xbc, 0x18004e0fc mov rcx, rbx ; +0xc1, 0x18004e101 call qword ptr [rax+50h] ; +0xc4, 0x18004e104 mov rdi, [rsp+38h+arg_8] ; +0xc7, 0x18004e107 add rsp, 30h ; +0xcc, 0x18004e10c pop rbx ; +0xd0, 0x18004e110 retn ; +0xd1, 0x18004e111