; ; cocos2d::CCLayerRGBA::setColor from 0x1800528c0 to 0x18005297d (189 bytes) ; ; 7 xrefs: ; > cocos2d::CCLayerColor::setColor @ 0x180052899 ; > @ 0x1800f3a00 ; > @ 0x1800fd620 ; > @ 0x1801413d4 ; > @ 0x1801413e4 ; > @ 0x18014cf68 ; > @ 0x1801bc2f8 ; ; 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:46 +0000 ; push rbx ; +0x0, 0x1800528c0 sub rsp, 30h ; +0x2, 0x1800528c2 cmp byte ptr [rcx+11h], 0 ; +0x6, 0x1800528c6 mov rbx, rcx ; +0xa, 0x1800528ca movzx eax, word ptr [rdx] ; +0xd, 0x1800528cd mov [rcx+0Dh], ax ; +0x10, 0x1800528d0 movzx eax, byte ptr [rdx+2] ; +0x14, 0x1800528d4 mov [rcx+0Fh], al ; +0x18, 0x1800528d8 movzx eax, word ptr [rcx+0Dh] ; +0x1b, 0x1800528db mov [rcx+0Ah], ax ; +0x1f, 0x1800528df movzx eax, byte ptr [rcx+0Fh] ; +0x23, 0x1800528e3 mov [rcx+0Ch], al ; +0x27, 0x1800528e7 jz loc_180052977 ; +0x2a, 0x1800528ea movzx eax, cs:word_1800F2F70 ; +0x30, 0x1800528f0 lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x37, 0x1800528f7 mov rcx, [rcx-0C0h] ; +0x3e, 0x1800528fe lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x45, 0x180052905 mov [rsp+38h+arg_0], ax ; +0x4c, 0x18005290c xor edx, edx ; +0x51, 0x180052911 movzx eax, cs:byte_1800F2F72 ; +0x53, 0x180052913 mov [rsp+38h+arg_2], al ; +0x5a, 0x18005291a mov [rsp+38h+arg_8], rdi ; +0x5e, 0x18005291e mov [rsp+38h+var_18], 0 ; +0x63, 0x180052923 call __RTDynamicCast ; +0x6b, 0x18005292b mov rdi, rax ; +0x70, 0x180052930 test rax, rax ; +0x73, 0x180052933 jz short loc_180052964 ; +0x76, 0x180052936 mov rcx, [rax] ; +0x78, 0x180052938 mov rdx, [rcx+40h] ; +0x7b, 0x18005293b mov rcx, rax ; +0x7f, 0x18005293f call rdx ; +0x82, 0x180052942 test al, al ; +0x84, 0x180052944 jz short loc_180052964 ; +0x86, 0x180052946 mov rcx, [rdi] ; +0x88, 0x180052948 mov rdx, [rcx+10h] ; +0x8b, 0x18005294b mov rcx, rdi ; +0x8f, 0x18005294f call rdx ; +0x92, 0x180052952 movzx ecx, word ptr [rax] ; +0x94, 0x180052954 mov [rsp+38h+arg_0], cx ; +0x97, 0x180052957 movzx eax, byte ptr [rax+2] ; +0x9c, 0x18005295c mov [rsp+38h+arg_2], al ; +0xa0, 0x180052960 mov rax, [rbx] ; +0xa4, 0x180052964 lea rdx, [rsp+38h+arg_0] ; +0xa7, 0x180052967 mov rcx, rbx ; +0xac, 0x18005296c call qword ptr [rax+50h] ; +0xaf, 0x18005296f mov rdi, [rsp+38h+arg_8] ; +0xb2, 0x180052972 add rsp, 30h ; +0xb7, 0x180052977 pop rbx ; +0xbb, 0x18005297b retn ; +0xbc, 0x18005297c