; ; cocos2d::CCNodeRGBA::setColor from 0x180004c20 to 0x180004cda (186 bytes) ; ; 16 xrefs: ; > cocos2d::CCAtlasNode::setColor @ 0x180001e1a ; > cocos2d::CCSprite::setColor @ 0x18008f5c3 ; > @ 0x1800ec180 ; > @ 0x1800ecad8 ; > @ 0x1800fda88 ; > @ 0x1800fdee0 ; > @ 0x1800fe338 ; > @ 0x1800fe790 ; > @ 0x1800fec00 ; > @ 0x1800ff070 ; > @ 0x1800ff4c8 ; > @ 0x1800ffc98 ; > @ 0x18013a164 ; > @ 0x18013a174 ; > @ 0x18014cf68 ; > @ 0x1801b75b8 ; ; 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:17 +0000 ; push rbx ; +0x0, 0x180004c20 sub rsp, 30h ; +0x2, 0x180004c22 cmp byte ptr [rcx+10h], 0 ; +0x6, 0x180004c26 mov rbx, rcx ; +0xa, 0x180004c2a movzx eax, word ptr [rdx] ; +0xd, 0x180004c2d mov [rcx+0Dh], ax ; +0x10, 0x180004c30 movzx eax, byte ptr [rdx+2] ; +0x14, 0x180004c34 mov [rcx+0Fh], al ; +0x18, 0x180004c38 movzx eax, word ptr [rcx+0Dh] ; +0x1b, 0x180004c3b mov [rcx+0Ah], ax ; +0x1f, 0x180004c3f movzx eax, byte ptr [rcx+0Fh] ; +0x23, 0x180004c43 mov [rcx+0Ch], al ; +0x27, 0x180004c47 jz loc_180004CD4 ; +0x2a, 0x180004c4a movzx eax, cs:word_1800EB880 ; +0x30, 0x180004c50 lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x37, 0x180004c57 mov rcx, [rcx-68h] ; +0x3e, 0x180004c5e lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x42, 0x180004c62 mov [rsp+38h+arg_0], ax ; +0x49, 0x180004c69 xor edx, edx ; +0x4e, 0x180004c6e movzx eax, cs:byte_1800EB882 ; +0x50, 0x180004c70 mov [rsp+38h+arg_2], al ; +0x57, 0x180004c77 mov [rsp+38h+arg_8], rdi ; +0x5b, 0x180004c7b mov [rsp+38h+var_18], 0 ; +0x60, 0x180004c80 call __RTDynamicCast ; +0x68, 0x180004c88 mov rdi, rax ; +0x6d, 0x180004c8d test rax, rax ; +0x70, 0x180004c90 jz short loc_180004CC1 ; +0x73, 0x180004c93 mov rcx, [rax] ; +0x75, 0x180004c95 mov rdx, [rcx+40h] ; +0x78, 0x180004c98 mov rcx, rax ; +0x7c, 0x180004c9c call rdx ; +0x7f, 0x180004c9f test al, al ; +0x81, 0x180004ca1 jz short loc_180004CC1 ; +0x83, 0x180004ca3 mov rcx, [rdi] ; +0x85, 0x180004ca5 mov rdx, [rcx+10h] ; +0x88, 0x180004ca8 mov rcx, rdi ; +0x8c, 0x180004cac call rdx ; +0x8f, 0x180004caf movzx ecx, word ptr [rax] ; +0x91, 0x180004cb1 mov [rsp+38h+arg_0], cx ; +0x94, 0x180004cb4 movzx eax, byte ptr [rax+2] ; +0x99, 0x180004cb9 mov [rsp+38h+arg_2], al ; +0x9d, 0x180004cbd mov rax, [rbx] ; +0xa1, 0x180004cc1 lea rdx, [rsp+38h+arg_0] ; +0xa4, 0x180004cc4 mov rcx, rbx ; +0xa9, 0x180004cc9 call qword ptr [rax+50h] ; +0xac, 0x180004ccc mov rdi, [rsp+38h+arg_8] ; +0xaf, 0x180004ccf add rsp, 30h ; +0xb4, 0x180004cd4 pop rbx ; +0xb8, 0x180004cd8 retn ; +0xb9, 0x180004cd9