; ; cocos2d::CCLayerRGBA::setOpacity from 0x180052c10 to 0x180052c98 (136 bytes) ; ; 7 xrefs: ; > cocos2d::CCLayerColor::setOpacity @ 0x180052be9 ; > @ 0x1800f3a28 ; > @ 0x1800fd648 ; > @ 0x180141344 ; > @ 0x180141354 ; > @ 0x18014cf68 ; > @ 0x1801bc3b8 ; ; 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, 0x180052c10 sub rsp, 30h ; +0x2, 0x180052c12 cmp byte ptr [rcx+10h], 0 ; +0x6, 0x180052c16 mov rbx, rcx ; +0xa, 0x180052c1a mov [rcx+9], dl ; +0xd, 0x180052c1d mov [rcx+8], dl ; +0x10, 0x180052c20 jz short loc_180052C92 ; +0x13, 0x180052c23 mov rcx, [rcx-0C0h] ; +0x15, 0x180052c25 lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x1c, 0x180052c2c mov [rsp+38h+arg_0], rsi ; +0x23, 0x180052c33 lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x28, 0x180052c38 xor edx, edx ; +0x2f, 0x180052c3f mov [rsp+38h+arg_8], rdi ; +0x31, 0x180052c41 mov sil, 0FFh ; +0x36, 0x180052c46 mov [rsp+38h+var_18], 0 ; +0x39, 0x180052c49 call __RTDynamicCast ; +0x41, 0x180052c51 mov rdi, rax ; +0x46, 0x180052c56 test rax, rax ; +0x49, 0x180052c59 jz short loc_180052C77 ; +0x4c, 0x180052c5c mov rax, [rax] ; +0x4e, 0x180052c5e mov rcx, rdi ; +0x51, 0x180052c61 call qword ptr [rax+58h] ; +0x54, 0x180052c64 test al, al ; +0x57, 0x180052c67 jz short loc_180052C77 ; +0x59, 0x180052c69 mov rax, [rdi] ; +0x5b, 0x180052c6b mov rcx, rdi ; +0x5e, 0x180052c6e call qword ptr [rax+18h] ; +0x61, 0x180052c71 movzx esi, al ; +0x64, 0x180052c74 mov rcx, [rbx] ; +0x67, 0x180052c77 movzx edx, sil ; +0x6a, 0x180052c7a mov r8, [rcx+68h] ; +0x6e, 0x180052c7e mov rcx, rbx ; +0x72, 0x180052c82 call r8 ; +0x75, 0x180052c85 mov rdi, [rsp+38h+arg_8] ; +0x78, 0x180052c88 mov rsi, [rsp+38h+arg_0] ; +0x7d, 0x180052c8d add rsp, 30h ; +0x82, 0x180052c92 pop rbx ; +0x86, 0x180052c96 retn ; +0x87, 0x180052c97