; ; cocos2d::CCLabelBMFont::setOpacityModifyRGB from 0x18004c720 to 0x18004c7d9 (185 bytes) ; ; 5 xrefs: ; > @ 0x1800ec698 ; > @ 0x180137948 ; > @ 0x1801379a0 ; > @ 0x1801438a8 ; > @ 0x1801b1aa0 ; ; 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 rdi ; +0x0, 0x18004c720 sub rsp, 30h ; +0x2, 0x18004c722 mov rdi, rcx ; +0x6, 0x18004c726 mov [rcx+8Ah], dl ; +0x9, 0x18004c729 mov rcx, [rcx-0A0h]; this ; +0xf, 0x18004c72f test rcx, rcx ; +0x16, 0x18004c736 jz loc_18004C7D3 ; +0x19, 0x18004c739 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1f, 0x18004c73f test eax, eax ; +0x24, 0x18004c744 jz loc_18004C7D3 ; +0x26, 0x18004c746 mov rax, [rdi-0A0h] ; +0x2c, 0x18004c74c test rax, rax ; +0x33, 0x18004c753 jz short loc_18004C7D3 ; +0x36, 0x18004c756 mov [rsp+38h+arg_0], rbx ; +0x38, 0x18004c758 mov rbx, [rax+38h] ; +0x3d, 0x18004c75d mov eax, [rbx] ; +0x41, 0x18004c761 test eax, eax ; +0x43, 0x18004c763 jz short loc_18004C7CE ; +0x45, 0x18004c765 mov rbx, [rbx+10h] ; +0x47, 0x18004c767 mov [rsp+38h+arg_10], rsi ; +0x4b, 0x18004c76b lea rsi, [rax-1] ; +0x50, 0x18004c770 lea rsi, [rbx+rsi*8] ; +0x54, 0x18004c774 cmp rbx, rsi ; +0x58, 0x18004c778 ja short loc_18004C7C9 ; +0x5b, 0x18004c77b mov [rsp+38h+arg_8], rbp ; +0x5d, 0x18004c77d xor ebp, ebp ; +0x62, 0x18004c782 mov rcx, [rbx] ; +0x64, 0x18004c784 test rcx, rcx ; +0x67, 0x18004c787 jz short loc_18004C7C4 ; +0x6a, 0x18004c78a lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x6c, 0x18004c78c mov [rsp+38h+var_18], ebp ; +0x73, 0x18004c793 lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x77, 0x18004c797 xor edx, edx ; +0x7e, 0x18004c79e call __RTDynamicCast ; +0x80, 0x18004c7a0 test rax, rax ; +0x85, 0x18004c7a5 jz short loc_18004C7BB ; +0x88, 0x18004c7a8 mov r8, [rax] ; +0x8a, 0x18004c7aa mov rcx, rax ; +0x8d, 0x18004c7ad movzx edx, byte ptr [rdi+8Ah] ; +0x90, 0x18004c7b0 call qword ptr [r8+30h] ; +0x97, 0x18004c7b7 add rbx, 8 ; +0x9b, 0x18004c7bb cmp rbx, rsi ; +0x9f, 0x18004c7bf jbe short loc_18004C784 ; +0xa2, 0x18004c7c2 mov rbp, [rsp+38h+arg_8] ; +0xa4, 0x18004c7c4 mov rsi, [rsp+38h+arg_10] ; +0xa9, 0x18004c7c9 mov rbx, [rsp+38h+arg_0] ; +0xae, 0x18004c7ce add rsp, 30h ; +0xb3, 0x18004c7d3 pop rdi ; +0xb7, 0x18004c7d7 retn ; +0xb8, 0x18004c7d8