; ; cocos2d::extension::CCScale9Sprite::setOpacity from 0x180010260 to 0x180010312 (178 bytes) ; ; 5 xrefs: ; > @ 0x180027500 ; > @ 0x18002e550 ; > @ 0x18002e5a8 ; > @ 0x18002fdf8 ; > @ 0x18004a0ec ; ; 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 rsi ; +0x0, 0x180010260 sub rsp, 30h ; +0x2, 0x180010262 mov rax, rcx ; +0x6, 0x180010266 movzx esi, dl ; +0x9, 0x180010269 mov rcx, [rcx+78h] ; +0xc, 0x18001026c test rcx, rcx ; +0x10, 0x180010270 jz loc_18001030C ; +0x13, 0x180010273 mov [rax+0C9h], dl ; +0x19, 0x180010279 mov rax, [rcx] ; +0x1f, 0x18001027f call qword ptr [rax+1D0h] ; +0x22, 0x180010282 test rax, rax ; +0x28, 0x180010288 jz short loc_18001030C ; +0x2b, 0x18001028b mov [rsp+38h+arg_0], rbx ; +0x2d, 0x18001028d mov rbx, [rax+38h] ; +0x32, 0x180010292 mov eax, [rbx] ; +0x36, 0x180010296 test eax, eax ; +0x38, 0x180010298 jz short loc_180010307 ; +0x3a, 0x18001029a mov rbx, [rbx+10h] ; +0x3c, 0x18001029c mov [rsp+38h+arg_10], rdi ; +0x40, 0x1800102a0 lea rdi, [rax-1] ; +0x45, 0x1800102a5 lea rdi, [rbx+rdi*8] ; +0x49, 0x1800102a9 cmp rbx, rdi ; +0x4d, 0x1800102ad ja short loc_180010302 ; +0x50, 0x1800102b0 mov [rsp+38h+arg_8], rbp ; +0x52, 0x1800102b2 xor ebp, ebp ; +0x57, 0x1800102b7 nop dword ptr [rax+00000000h] ; +0x59, 0x1800102b9 mov rcx, [rbx] ; +0x60, 0x1800102c0 test rcx, rcx ; +0x63, 0x1800102c3 jz short loc_1800102FD ; +0x66, 0x1800102c6 lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x68, 0x1800102c8 mov [rsp+38h+var_18], ebp ; +0x6f, 0x1800102cf lea r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x73, 0x1800102d3 xor edx, edx ; +0x7a, 0x1800102da call __RTDynamicCast ; +0x7c, 0x1800102dc test rax, rax ; +0x81, 0x1800102e1 jz short loc_1800102F4 ; +0x84, 0x1800102e4 mov r8, [rax] ; +0x86, 0x1800102e6 movzx edx, sil ; +0x89, 0x1800102e9 mov rcx, rax ; +0x8d, 0x1800102ed call qword ptr [r8+28h] ; +0x90, 0x1800102f0 add rbx, 8 ; +0x94, 0x1800102f4 cmp rbx, rdi ; +0x98, 0x1800102f8 jbe short loc_1800102C0 ; +0x9b, 0x1800102fb mov rbp, [rsp+38h+arg_8] ; +0x9d, 0x1800102fd mov rdi, [rsp+38h+arg_10] ; +0xa2, 0x180010302 mov rbx, [rsp+38h+arg_0] ; +0xa7, 0x180010307 add rsp, 30h ; +0xac, 0x18001030c pop rsi ; +0xb0, 0x180010310 retn ; +0xb1, 0x180010311