; ; cocos2d::extension::CCControl::setOpacityModifyRGB from 0x180004370 to 0x180004415 (165 bytes) ; ; 14 xrefs: ; > @ 0x180025af0 ; > @ 0x180026110 ; > @ 0x180026d20 ; > @ 0x180026dc8 ; > @ 0x180027398 ; > @ 0x1800279a0 ; > @ 0x180027f70 ; > @ 0x180028560 ; > @ 0x180028ba8 ; > @ 0x18002a088 ; > @ 0x18002fb0c ; > @ 0x18002fb64 ; > @ 0x180032408 ; > @ 0x18004b378 ; ; 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:35 +0000 ; push rsi ; +0x0, 0x180004370 sub rsp, 30h ; +0x2, 0x180004372 mov [rcx+18h], dl ; +0x6, 0x180004376 movzx esi, dl ; +0x9, 0x180004379 add rcx, 0FFFFFFFFFFFFFE68h ; +0xc, 0x18000437c mov rax, [rcx] ; +0x13, 0x180004383 call qword ptr [rax+1E0h] ; +0x16, 0x180004386 test rax, rax ; +0x1c, 0x18000438c jz short loc_18000440F ; +0x1f, 0x18000438f mov [rsp+38h+arg_0], rbx ; +0x21, 0x180004391 mov rbx, [rax+38h] ; +0x26, 0x180004396 mov eax, [rbx] ; +0x2a, 0x18000439a test eax, eax ; +0x2c, 0x18000439c jz short loc_18000440A ; +0x2e, 0x18000439e mov rbx, [rbx+10h] ; +0x30, 0x1800043a0 mov [rsp+38h+arg_10], rdi ; +0x34, 0x1800043a4 lea rdi, [rax-1] ; +0x39, 0x1800043a9 lea rdi, [rbx+rdi*8] ; +0x3d, 0x1800043ad cmp rbx, rdi ; +0x41, 0x1800043b1 ja short loc_180004405 ; +0x44, 0x1800043b4 mov [rsp+38h+arg_8], rbp ; +0x46, 0x1800043b6 xor ebp, ebp ; +0x4b, 0x1800043bb nop dword ptr [rax] ; +0x4d, 0x1800043bd mov rcx, [rbx] ; +0x50, 0x1800043c0 test rcx, rcx ; +0x53, 0x1800043c3 jz short loc_180004400 ; +0x56, 0x1800043c6 lea r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x58, 0x1800043c8 mov [rsp+38h+var_18], ebp ; +0x5f, 0x1800043cf lea r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x63, 0x1800043d3 xor edx, edx ; +0x6a, 0x1800043da call __RTDynamicCast ; +0x6c, 0x1800043dc test rax, rax ; +0x71, 0x1800043e1 jz short loc_1800043F7 ; +0x74, 0x1800043e4 mov rcx, [rax] ; +0x76, 0x1800043e6 movzx edx, sil ; +0x79, 0x1800043e9 mov r8, [rcx+30h] ; +0x7d, 0x1800043ed mov rcx, rax ; +0x81, 0x1800043f1 call r8 ; +0x84, 0x1800043f4 add rbx, 8 ; +0x87, 0x1800043f7 cmp rbx, rdi ; +0x8b, 0x1800043fb jbe short loc_1800043C0 ; +0x8e, 0x1800043fe mov rbp, [rsp+38h+arg_8] ; +0x90, 0x180004400 mov rdi, [rsp+38h+arg_10] ; +0x95, 0x180004405 mov rbx, [rsp+38h+arg_0] ; +0x9a, 0x18000440a add rsp, 30h ; +0x9f, 0x18000440f pop rsi ; +0xa3, 0x180004413 retn ; +0xa4, 0x180004414