; ; cocos2d::CCNodeRGBA::setColor from 0x180004b40 to 0x180004bf0 (176 bytes) ; ; 16 xrefs: ; > cocos2d::CCAtlasNode::setColor @ 0x180001e5a ; > cocos2d::CCSprite::setColor @ 0x18008c3d3 ; > @ 0x1800e6120 ; > @ 0x1800e6a80 ; > @ 0x1800f7610 ; > @ 0x1800f7a58 ; > @ 0x1800f7ea0 ; > @ 0x1800f82e8 ; > @ 0x1800f8748 ; > @ 0x1800f8ba8 ; > @ 0x1800f8ff0 ; > @ 0x1800f97a8 ; > @ 0x1801312f8 ; > @ 0x180131308 ; > @ 0x1801438a8 ; > @ 0x1801ad594 ; ; 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, 0x180004b40 sub rsp, 30h ; +0x2, 0x180004b42 cmp byte ptr [rcx+10h], 0 ; +0x6, 0x180004b46 mov rbx, rcx ; +0xa, 0x180004b4a movzx eax, word ptr [rdx] ; +0xd, 0x180004b4d mov [rcx+0Dh], ax ; +0x10, 0x180004b50 movzx eax, byte ptr [rdx+2] ; +0x14, 0x180004b54 mov [rcx+0Fh], al ; +0x18, 0x180004b58 movzx eax, word ptr [rcx+0Dh] ; +0x1b, 0x180004b5b mov [rcx+0Ah], ax ; +0x1f, 0x180004b5f movzx eax, byte ptr [rcx+0Fh] ; +0x23, 0x180004b63 mov [rcx+0Ch], al ; +0x27, 0x180004b67 jz short loc_180004BEA ; +0x2a, 0x180004b6a movzx eax, cs:word_1800E5840 ; +0x2c, 0x180004b6c lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x33, 0x180004b73 mov rcx, [rcx-68h] ; +0x3a, 0x180004b7a lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x3e, 0x180004b7e mov [rsp+38h+arg_0], ax ; +0x45, 0x180004b85 xor edx, edx ; +0x4a, 0x180004b8a movzx eax, cs:byte_1800E5842 ; +0x4c, 0x180004b8c mov [rsp+38h+arg_2], al ; +0x53, 0x180004b93 mov [rsp+38h+arg_8], rdi ; +0x57, 0x180004b97 mov [rsp+38h+var_18], 0 ; +0x5c, 0x180004b9c call __RTDynamicCast ; +0x64, 0x180004ba4 mov rdi, rax ; +0x69, 0x180004ba9 test rax, rax ; +0x6c, 0x180004bac jz short loc_180004BD7 ; +0x6f, 0x180004baf mov rdx, [rax] ; +0x71, 0x180004bb1 mov rcx, rax ; +0x74, 0x180004bb4 call qword ptr [rdx+40h] ; +0x77, 0x180004bb7 test al, al ; +0x7a, 0x180004bba jz short loc_180004BD7 ; +0x7c, 0x180004bbc mov rdx, [rdi] ; +0x7e, 0x180004bbe mov rcx, rdi ; +0x81, 0x180004bc1 call qword ptr [rdx+10h] ; +0x84, 0x180004bc4 movzx ecx, word ptr [rax] ; +0x87, 0x180004bc7 mov [rsp+38h+arg_0], cx ; +0x8a, 0x180004bca movzx eax, byte ptr [rax+2] ; +0x8f, 0x180004bcf mov [rsp+38h+arg_2], al ; +0x93, 0x180004bd3 mov rax, [rbx] ; +0x97, 0x180004bd7 lea rdx, [rsp+38h+arg_0] ; +0x9a, 0x180004bda mov rcx, rbx ; +0x9f, 0x180004bdf call qword ptr [rax+50h] ; +0xa2, 0x180004be2 mov rdi, [rsp+38h+arg_8] ; +0xa5, 0x180004be5 add rsp, 30h ; +0xaa, 0x180004bea pop rbx ; +0xae, 0x180004bee retn ; +0xaf, 0x180004bef