; ; cocos2d::extension::CCScale9Sprite::setOpacityModifyRGB from 0x18000fa20 to 0x18000face (174 bytes) ; ; 5 xrefs: ; > @ 0x180029b50 ; > @ 0x180030960 ; > @ 0x1800309b8 ; > @ 0x180032408 ; > @ 0x18004bef4 ; ; 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, 0x18000fa20 sub rsp, 30h ; +0x2, 0x18000fa22 mov rsi, rcx ; +0x6, 0x18000fa26 mov rcx, [rcx+78h] ; +0x9, 0x18000fa29 test rcx, rcx ; +0xd, 0x18000fa2d jz loc_18000FAC8 ; +0x10, 0x18000fa30 mov [rsi+0C8h], dl ; +0x16, 0x18000fa36 mov rax, [rcx] ; +0x1c, 0x18000fa3c call qword ptr [rax+1E0h] ; +0x1f, 0x18000fa3f test rax, rax ; +0x25, 0x18000fa45 jz short loc_18000FAC8 ; +0x28, 0x18000fa48 mov [rsp+38h+arg_0], rbx ; +0x2a, 0x18000fa4a mov rbx, [rax+38h] ; +0x2f, 0x18000fa4f mov eax, [rbx] ; +0x33, 0x18000fa53 test eax, eax ; +0x35, 0x18000fa55 jz short loc_18000FAC3 ; +0x37, 0x18000fa57 mov rbx, [rbx+10h] ; +0x39, 0x18000fa59 mov [rsp+38h+arg_10], rdi ; +0x3d, 0x18000fa5d lea rdi, [rax-1] ; +0x42, 0x18000fa62 lea rdi, [rbx+rdi*8] ; +0x46, 0x18000fa66 cmp rbx, rdi ; +0x4a, 0x18000fa6a ja short loc_18000FABE ; +0x4d, 0x18000fa6d mov [rsp+38h+arg_8], rbp ; +0x4f, 0x18000fa6f xor ebp, ebp ; +0x54, 0x18000fa74 mov rcx, [rbx] ; +0x56, 0x18000fa76 test rcx, rcx ; +0x59, 0x18000fa79 jz short loc_18000FAB9 ; +0x5c, 0x18000fa7c lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x5e, 0x18000fa7e mov [rsp+38h+var_18], ebp ; +0x65, 0x18000fa85 lea r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x69, 0x18000fa89 xor edx, edx ; +0x70, 0x18000fa90 call __RTDynamicCast ; +0x72, 0x18000fa92 test rax, rax ; +0x77, 0x18000fa97 jz short loc_18000FAB0 ; +0x7a, 0x18000fa9a mov rcx, [rax] ; +0x7c, 0x18000fa9c movzx edx, byte ptr [rsi+0C8h] ; +0x7f, 0x18000fa9f mov r8, [rcx+30h] ; +0x86, 0x18000faa6 mov rcx, rax ; +0x8a, 0x18000faaa call r8 ; +0x8d, 0x18000faad add rbx, 8 ; +0x90, 0x18000fab0 cmp rbx, rdi ; +0x94, 0x18000fab4 jbe short loc_18000FA76 ; +0x97, 0x18000fab7 mov rbp, [rsp+38h+arg_8] ; +0x99, 0x18000fab9 mov rdi, [rsp+38h+arg_10] ; +0x9e, 0x18000fabe mov rbx, [rsp+38h+arg_0] ; +0xa3, 0x18000fac3 add rsp, 30h ; +0xa8, 0x18000fac8 pop rsi ; +0xac, 0x18000facc retn ; +0xad, 0x18000facd