; ; cocos2d::extension::CCScale9Sprite::setOpacityModifyRGB from 0x18000ff10 to 0x18000ffbb (171 bytes) ; ; 5 xrefs: ; > @ 0x180027508 ; > @ 0x18002e478 ; > @ 0x18002e4d0 ; > @ 0x18002fdf8 ; > @ 0x18004a014 ; ; 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, 0x18000ff10 sub rsp, 30h ; +0x2, 0x18000ff12 mov rsi, rcx ; +0x6, 0x18000ff16 mov rcx, [rcx+78h] ; +0x9, 0x18000ff19 test rcx, rcx ; +0xd, 0x18000ff1d jz loc_18000FFB5 ; +0x10, 0x18000ff20 mov [rsi+0C8h], dl ; +0x16, 0x18000ff26 mov rax, [rcx] ; +0x1c, 0x18000ff2c call qword ptr [rax+1D0h] ; +0x1f, 0x18000ff2f test rax, rax ; +0x25, 0x18000ff35 jz short loc_18000FFB5 ; +0x28, 0x18000ff38 mov [rsp+38h+arg_0], rbx ; +0x2a, 0x18000ff3a mov rbx, [rax+38h] ; +0x2f, 0x18000ff3f mov eax, [rbx] ; +0x33, 0x18000ff43 test eax, eax ; +0x35, 0x18000ff45 jz short loc_18000FFB0 ; +0x37, 0x18000ff47 mov rbx, [rbx+10h] ; +0x39, 0x18000ff49 mov [rsp+38h+arg_10], rdi ; +0x3d, 0x18000ff4d lea rdi, [rax-1] ; +0x42, 0x18000ff52 lea rdi, [rbx+rdi*8] ; +0x46, 0x18000ff56 cmp rbx, rdi ; +0x4a, 0x18000ff5a ja short loc_18000FFAB ; +0x4d, 0x18000ff5d mov [rsp+38h+arg_8], rbp ; +0x4f, 0x18000ff5f xor ebp, ebp ; +0x54, 0x18000ff64 mov rcx, [rbx] ; +0x56, 0x18000ff66 test rcx, rcx ; +0x59, 0x18000ff69 jz short loc_18000FFA6 ; +0x5c, 0x18000ff6c lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x5e, 0x18000ff6e mov [rsp+38h+var_18], ebp ; +0x65, 0x18000ff75 lea r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x69, 0x18000ff79 xor edx, edx ; +0x70, 0x18000ff80 call __RTDynamicCast ; +0x72, 0x18000ff82 test rax, rax ; +0x77, 0x18000ff87 jz short loc_18000FF9D ; +0x7a, 0x18000ff8a mov r8, [rax] ; +0x7c, 0x18000ff8c mov rcx, rax ; +0x7f, 0x18000ff8f movzx edx, byte ptr [rsi+0C8h] ; +0x82, 0x18000ff92 call qword ptr [r8+30h] ; +0x89, 0x18000ff99 add rbx, 8 ; +0x8d, 0x18000ff9d cmp rbx, rdi ; +0x91, 0x18000ffa1 jbe short loc_18000FF66 ; +0x94, 0x18000ffa4 mov rbp, [rsp+38h+arg_8] ; +0x96, 0x18000ffa6 mov rdi, [rsp+38h+arg_10] ; +0x9b, 0x18000ffab mov rbx, [rsp+38h+arg_0] ; +0xa0, 0x18000ffb0 add rsp, 30h ; +0xa5, 0x18000ffb5 pop rsi ; +0xa9, 0x18000ffb9 retn ; +0xaa, 0x18000ffba