; ; ColorChannelSprite::updateOpacity from 0x1002c38b0 to 0x1002c39f6 (326 bytes) ; ; 1 xrefs: ; > ColorChannelSprite::updateValues @ 0x1002c3b3f ; ; 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:28:06 +0000 ; push rbp ; +0x0, 0x1002c38b0 mov rbp, rsp ; +0x1, 0x1002c38b1 push r15 ; +0x4, 0x1002c38b4 push r14 ; +0x6, 0x1002c38b6 push rbx ; +0x8, 0x1002c38b8 sub rsp, 18h ; +0x9, 0x1002c38b9 mov rbx, rdi ; +0xd, 0x1002c38bd ucomiss xmm0, cs:alpha ; +0x10, 0x1002c38c0 mov rax, [rdi+260h] ; +0x17, 0x1002c38c7 jnz short loc_1002C38D6 ; +0x1e, 0x1002c38ce jnp loc_1002C39C6 ; +0x20, 0x1002c38d0 test rax, rax ; +0x26, 0x1002c38d6 movss [rbp+var_1C], xmm0 ; +0x29, 0x1002c38d9 jnz loc_1002C398A ; +0x2e, 0x1002c38de lea rdi, asc_100A41844; " " ; +0x34, 0x1002c38e4 lea rsi, aBigfontFnt; "bigFont.fnt" ; +0x3b, 0x1002c38eb call cocos2d__CCLabelBMFont__create_3 ; +0x42, 0x1002c38f2 mov [rbx+260h], rax ; +0x47, 0x1002c38f7 mov rcx, [rbx] ; +0x4e, 0x1002c38fe mov rdi, rbx ; +0x51, 0x1002c3901 mov rsi, rax ; +0x54, 0x1002c3904 call qword ptr [rcx+1C8h] ; +0x57, 0x1002c3907 mov r14, [rbx+260h] ; +0x5d, 0x1002c390d mov rax, [rbx] ; +0x64, 0x1002c3914 mov rdi, rbx ; +0x67, 0x1002c3917 call qword ptr [rax+148h] ; +0x6a, 0x1002c391a movss xmm0, dword ptr [rax] ; +0x70, 0x1002c3920 mulss xmm0, cs:dword_100A03578 ; +0x74, 0x1002c3924 movss [rbp+var_20], xmm0 ; +0x7c, 0x1002c392c mov rax, [rbx] ; +0x81, 0x1002c3931 mov rdi, rbx ; +0x84, 0x1002c3934 call qword ptr [rax+148h] ; +0x87, 0x1002c3937 movss xmm1, cs:dword_100A03578 ; +0x8d, 0x1002c393d mulss xmm1, dword ptr [rax+4] ; +0x95, 0x1002c3945 addss xmm1, cs:dword_100A07980 ; +0x9a, 0x1002c394a lea r15, [rbp+var_28] ; +0xa2, 0x1002c3952 mov rdi, r15 ; +0xa6, 0x1002c3956 movss xmm0, [rbp+var_20] ; +0xa9, 0x1002c3959 call sub_100278250 ; +0xae, 0x1002c395e mov rax, [r14] ; +0xb3, 0x1002c3963 mov rdi, r14 ; +0xb6, 0x1002c3966 mov rsi, r15 ; +0xb9, 0x1002c3969 call qword ptr [rax+0B8h] ; +0xbc, 0x1002c396c mov rdi, [rbx+260h] ; +0xc2, 0x1002c3972 mov rax, [rdi] ; +0xc9, 0x1002c3979 movss xmm0, cs:dword_100A03748 ; +0xcc, 0x1002c397c call qword ptr [rax+0A0h] ; +0xd4, 0x1002c3984 mov r14, [rbx+260h] ; +0xda, 0x1002c398a movss xmm0, [rbp+var_1C] ; +0xe1, 0x1002c3991 cvtss2sd xmm0, xmm0 ; +0xe6, 0x1002c3996 lea rdi, a02f_0; "%0.2f" ; +0xea, 0x1002c399a mov al, 1 ; +0xf1, 0x1002c39a1 call sub_10088E820 ; +0xf3, 0x1002c39a3 mov rdi, rax ; +0xf8, 0x1002c39a8 call cocos2d__CCString__getCString ; +0xfb, 0x1002c39ab mov rcx, [r14] ; +0x100, 0x1002c39b0 mov rdi, r14 ; +0x103, 0x1002c39b3 mov rsi, rax ; +0x106, 0x1002c39b6 call qword ptr [rcx+3A0h] ; +0x109, 0x1002c39b9 movss xmm0, [rbp+var_1C] ; +0x10f, 0x1002c39bf jmp short loc_1002C39CB ; +0x114, 0x1002c39c4 test rax, rax ; +0x116, 0x1002c39c6 jz short loc_1002C39EB ; +0x119, 0x1002c39c9 cmpneqss xmm0, cs:alpha ; +0x11b, 0x1002c39cb movd esi, xmm0 ; +0x124, 0x1002c39d4 and esi, 1 ; +0x128, 0x1002c39d8 mov rdi, [rbx+260h] ; +0x12b, 0x1002c39db mov rax, [rdi] ; +0x132, 0x1002c39e2 call qword ptr [rax+158h] ; +0x135, 0x1002c39e5 add rsp, 18h ; +0x13b, 0x1002c39eb pop rbx ; +0x13f, 0x1002c39ef pop r14 ; +0x140, 0x1002c39f0 pop r15 ; +0x142, 0x1002c39f2 pop rbp ; +0x144, 0x1002c39f4 retn ; +0x145, 0x1002c39f5