; ; cocos2d::CCLabelBMFont::setOpacity from 0x18004e250 to 0x18004e2e1 (145 bytes) ; ; 5 xrefs: ; > @ 0x1800f27b0 ; > @ 0x180140bb4 ; > @ 0x180140bc4 ; > @ 0x18014cf68 ; > @ 0x1801bbd10 ; ; 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:44 +0000 ; push rbx ; +0x0, 0x18004e250 sub rsp, 30h ; +0x2, 0x18004e252 cmp byte ptr [rcx+89h], 0 ; +0x6, 0x18004e256 mov rbx, rcx ; +0xd, 0x18004e25d mov [rcx+81h], dl ; +0x10, 0x18004e260 mov [rcx+80h], dl ; +0x16, 0x18004e266 jz short loc_18004E2DB ; +0x1c, 0x18004e26c mov rcx, [rcx-98h] ; +0x1e, 0x18004e26e lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x25, 0x18004e275 mov [rsp+38h+arg_0], rsi ; +0x2c, 0x18004e27c lea r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x31, 0x18004e281 xor edx, edx ; +0x38, 0x18004e288 mov [rsp+38h+arg_8], rdi ; +0x3a, 0x18004e28a mov sil, 0FFh ; +0x3f, 0x18004e28f mov [rsp+38h+var_18], 0 ; +0x42, 0x18004e292 call __RTDynamicCast ; +0x4a, 0x18004e29a mov rdi, rax ; +0x4f, 0x18004e29f test rax, rax ; +0x52, 0x18004e2a2 jz short loc_18004E2C0 ; +0x55, 0x18004e2a5 mov rax, [rax] ; +0x57, 0x18004e2a7 mov rcx, rdi ; +0x5a, 0x18004e2aa call qword ptr [rax+58h] ; +0x5d, 0x18004e2ad test al, al ; +0x60, 0x18004e2b0 jz short loc_18004E2C0 ; +0x62, 0x18004e2b2 mov rax, [rdi] ; +0x64, 0x18004e2b4 mov rcx, rdi ; +0x67, 0x18004e2b7 call qword ptr [rax+18h] ; +0x6a, 0x18004e2ba movzx esi, al ; +0x6d, 0x18004e2bd mov rcx, [rbx] ; +0x70, 0x18004e2c0 movzx edx, sil ; +0x73, 0x18004e2c3 mov r8, [rcx+68h] ; +0x77, 0x18004e2c7 mov rcx, rbx ; +0x7b, 0x18004e2cb call r8 ; +0x7e, 0x18004e2ce mov rdi, [rsp+38h+arg_8] ; +0x81, 0x18004e2d1 mov rsi, [rsp+38h+arg_0] ; +0x86, 0x18004e2d6 add rsp, 30h ; +0x8b, 0x18004e2db pop rbx ; +0x8f, 0x18004e2df retn ; +0x90, 0x18004e2e0