; ; cocos2d::CCNodeRGBA::updateDisplayedOpacity from 0x180005670 to 0x180005732 (194 bytes) ; ; 19 xrefs: ; > cocos2d::CCSprite::updateDisplayedOpacity @ 0x18008d559 ; > @ 0x1800e57e0 ; > @ 0x1800e6188 ; > @ 0x1800e6ae8 ; > @ 0x1800eb7e0 ; > @ 0x1800f7678 ; > @ 0x1800f7ac0 ; > @ 0x1800f7f08 ; > @ 0x1800f8350 ; > @ 0x1800f87b0 ; > @ 0x1800f8c10 ; > @ 0x1800f9058 ; > @ 0x1800f9810 ; > @ 0x1800f9c48 ; > @ 0x1801059a0 ; > @ 0x18013128c ; > @ 0x1801312e4 ; > @ 0x1801438a8 ; > @ 0x1801ad72c ; ; 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 rdi ; +0x0, 0x180005670 sub rsp, 30h ; +0x2, 0x180005672 movzx r8d, byte ptr [rcx+9] ; +0x6, 0x180005676 mov rdi, rcx ; +0xb, 0x18000567b movzx eax, dl ; +0xe, 0x18000567e imul r8d, eax ; +0x11, 0x180005681 cmp byte ptr [rcx+11h], 0 ; +0x15, 0x180005685 movd xmm0, r8d ; +0x19, 0x180005689 cvtdq2pd xmm0, xmm0 ; +0x1e, 0x18000568e divsd xmm0, cs:qword_1800E61B0 ; +0x22, 0x180005692 cvttsd2si eax, xmm0 ; +0x2a, 0x18000569a mov [rcx+8], al ; +0x2e, 0x18000569e jz loc_18000572C ; +0x31, 0x1800056a1 mov rax, [rcx-70h] ; +0x37, 0x1800056a7 test rax, rax ; +0x3b, 0x1800056ab jz short loc_18000572C ; +0x3e, 0x1800056ae mov [rsp+38h+arg_0], rbx ; +0x40, 0x1800056b0 mov rbx, [rax+38h] ; +0x45, 0x1800056b5 mov eax, [rbx] ; +0x49, 0x1800056b9 test eax, eax ; +0x4b, 0x1800056bb jz short loc_180005727 ; +0x4d, 0x1800056bd mov rbx, [rbx+10h] ; +0x4f, 0x1800056bf mov [rsp+38h+arg_10], rsi ; +0x53, 0x1800056c3 lea rsi, [rax-1] ; +0x58, 0x1800056c8 lea rsi, [rbx+rsi*8] ; +0x5c, 0x1800056cc cmp rbx, rsi ; +0x60, 0x1800056d0 ja short loc_180005722 ; +0x63, 0x1800056d3 mov [rsp+38h+arg_8], rbp ; +0x65, 0x1800056d5 xor ebp, ebp ; +0x6a, 0x1800056da nop dword ptr [rax+00h] ; +0x6c, 0x1800056dc mov rcx, [rbx] ; +0x70, 0x1800056e0 test rcx, rcx ; +0x73, 0x1800056e3 jz short loc_18000571D ; +0x76, 0x1800056e6 lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x78, 0x1800056e8 mov [rsp+38h+var_18], ebp ; +0x7f, 0x1800056ef lea r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x83, 0x1800056f3 xor edx, edx ; +0x8a, 0x1800056fa call __RTDynamicCast ; +0x8c, 0x1800056fc test rax, rax ; +0x91, 0x180005701 jz short loc_180005714 ; +0x94, 0x180005704 mov r8, [rax] ; +0x96, 0x180005706 mov rcx, rax ; +0x99, 0x180005709 movzx edx, byte ptr [rdi+8] ; +0x9c, 0x18000570c call qword ptr [r8+68h] ; +0xa0, 0x180005710 add rbx, 8 ; +0xa4, 0x180005714 cmp rbx, rsi ; +0xa8, 0x180005718 jbe short loc_1800056E0 ; +0xab, 0x18000571b mov rbp, [rsp+38h+arg_8] ; +0xad, 0x18000571d mov rsi, [rsp+38h+arg_10] ; +0xb2, 0x180005722 mov rbx, [rsp+38h+arg_0] ; +0xb7, 0x180005727 add rsp, 30h ; +0xbc, 0x18000572c pop rdi ; +0xc0, 0x180005730 retn ; +0xc1, 0x180005731