; ; cocos2d::extension::CCScale9Sprite::setOpacity from 0x18000fd70 to 0x18000fe25 (181 bytes) ; ; 5 xrefs: ; > @ 0x180029b48 ; > @ 0x180030a38 ; > @ 0x180030a90 ; > @ 0x180032408 ; > @ 0x18004bfcc ; ; 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 12:15:39 +0000 ; push rsi ; +0x0, 0x18000fd70 sub rsp, 30h ; +0x2, 0x18000fd72 mov rax, rcx ; +0x6, 0x18000fd76 movzx esi, dl ; +0x9, 0x18000fd79 mov rcx, [rcx+78h] ; +0xc, 0x18000fd7c test rcx, rcx ; +0x10, 0x18000fd80 jz loc_18000FE1F ; +0x13, 0x18000fd83 mov [rax+0C9h], dl ; +0x19, 0x18000fd89 mov rax, [rcx] ; +0x1f, 0x18000fd8f call qword ptr [rax+1E0h] ; +0x22, 0x18000fd92 test rax, rax ; +0x28, 0x18000fd98 jz loc_18000FE1F ; +0x2b, 0x18000fd9b mov [rsp+38h+arg_0], rbx ; +0x31, 0x18000fda1 mov rbx, [rax+38h] ; +0x36, 0x18000fda6 mov eax, [rbx] ; +0x3a, 0x18000fdaa test eax, eax ; +0x3c, 0x18000fdac jz short loc_18000FE1A ; +0x3e, 0x18000fdae mov rbx, [rbx+10h] ; +0x40, 0x18000fdb0 mov [rsp+38h+arg_10], rdi ; +0x44, 0x18000fdb4 lea rdi, [rax-1] ; +0x49, 0x18000fdb9 lea rdi, [rbx+rdi*8] ; +0x4d, 0x18000fdbd cmp rbx, rdi ; +0x51, 0x18000fdc1 ja short loc_18000FE15 ; +0x54, 0x18000fdc4 mov [rsp+38h+arg_8], rbp ; +0x56, 0x18000fdc6 xor ebp, ebp ; +0x5b, 0x18000fdcb nop dword ptr [rax] ; +0x5d, 0x18000fdcd mov rcx, [rbx] ; +0x60, 0x18000fdd0 test rcx, rcx ; +0x63, 0x18000fdd3 jz short loc_18000FE10 ; +0x66, 0x18000fdd6 lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x68, 0x18000fdd8 mov [rsp+38h+var_18], ebp ; +0x6f, 0x18000fddf lea r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x73, 0x18000fde3 xor edx, edx ; +0x7a, 0x18000fdea call __RTDynamicCast ; +0x7c, 0x18000fdec test rax, rax ; +0x81, 0x18000fdf1 jz short loc_18000FE07 ; +0x84, 0x18000fdf4 mov rcx, [rax] ; +0x86, 0x18000fdf6 movzx edx, sil ; +0x89, 0x18000fdf9 mov r8, [rcx+28h] ; +0x8d, 0x18000fdfd mov rcx, rax ; +0x91, 0x18000fe01 call r8 ; +0x94, 0x18000fe04 add rbx, 8 ; +0x97, 0x18000fe07 cmp rbx, rdi ; +0x9b, 0x18000fe0b jbe short loc_18000FDD0 ; +0x9e, 0x18000fe0e mov rbp, [rsp+38h+arg_8] ; +0xa0, 0x18000fe10 mov rdi, [rsp+38h+arg_10] ; +0xa5, 0x18000fe15 mov rbx, [rsp+38h+arg_0] ; +0xaa, 0x18000fe1a add rsp, 30h ; +0xaf, 0x18000fe1f pop rsi ; +0xb3, 0x18000fe23 retn ; +0xb4, 0x18000fe24