; ; cocos2d::CCLabelBMFont::setOpacity from 0x18004c690 to 0x18004c71e (142 bytes) ; ; 5 xrefs: ; > @ 0x1800ec690 ; > @ 0x1801379b8 ; > @ 0x1801379c8 ; > @ 0x1801438a8 ; > @ 0x1801b1a7c ; ; 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, 0x18004c690 sub rsp, 30h ; +0x2, 0x18004c692 cmp byte ptr [rcx+89h], 0 ; +0x6, 0x18004c696 mov rbx, rcx ; +0xd, 0x18004c69d mov [rcx+81h], dl ; +0x10, 0x18004c6a0 mov [rcx+80h], dl ; +0x16, 0x18004c6a6 jz short loc_18004C718 ; +0x1c, 0x18004c6ac mov rcx, [rcx-98h] ; +0x1e, 0x18004c6ae lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x25, 0x18004c6b5 mov [rsp+38h+arg_0], rsi ; +0x2c, 0x18004c6bc lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x31, 0x18004c6c1 xor edx, edx ; +0x38, 0x18004c6c8 mov [rsp+38h+arg_8], rdi ; +0x3a, 0x18004c6ca mov sil, 0FFh ; +0x3f, 0x18004c6cf mov [rsp+38h+var_18], 0 ; +0x42, 0x18004c6d2 call __RTDynamicCast ; +0x4a, 0x18004c6da mov rdi, rax ; +0x4f, 0x18004c6df test rax, rax ; +0x52, 0x18004c6e2 jz short loc_18004C700 ; +0x55, 0x18004c6e5 mov rax, [rax] ; +0x57, 0x18004c6e7 mov rcx, rdi ; +0x5a, 0x18004c6ea call qword ptr [rax+58h] ; +0x5d, 0x18004c6ed test al, al ; +0x60, 0x18004c6f0 jz short loc_18004C700 ; +0x62, 0x18004c6f2 mov rax, [rdi] ; +0x64, 0x18004c6f4 mov rcx, rdi ; +0x67, 0x18004c6f7 call qword ptr [rax+18h] ; +0x6a, 0x18004c6fa movzx esi, al ; +0x6d, 0x18004c6fd mov r8, [rbx] ; +0x70, 0x18004c700 movzx edx, sil ; +0x73, 0x18004c703 mov rcx, rbx ; +0x77, 0x18004c707 call qword ptr [r8+68h] ; +0x7a, 0x18004c70a mov rdi, [rsp+38h+arg_8] ; +0x7e, 0x18004c70e mov rsi, [rsp+38h+arg_0] ; +0x83, 0x18004c713 add rsp, 30h ; +0x88, 0x18004c718 pop rbx ; +0x8c, 0x18004c71c retn ; +0x8d, 0x18004c71d