; ; ColorChannelSprite::updateOpacity from 0x140258bd0 to 0x140258d1d (333 bytes) ; ; 9 xrefs: ; > CustomizeObjectLayer::updateColorSprite @ 0x1400a8606 ; > CustomizeObjectLayer::updateColorSprite @ 0x1400a869f ; > GJColorSetupLayer::updateSpriteColor @ 0x140256ab9 ; > GJColorSetupLayer::updateSpriteColor @ 0x140256b46 ; > LevelSettingsLayer::updateColorSprite @ 0x140321b24 ; > LevelSettingsLayer::updateColorSprite @ 0x140321ba5 ; > @ 0x140684728 ; > @ 0x140684738 ; > @ 0x1406cfb94 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x140258bd0 mov [rsp+arg_8], rsi ; +0x5, 0x140258bd5 push rdi ; +0xa, 0x140258bda sub rsp, 40h ; +0xb, 0x140258bdb movaps [rsp+48h+var_28], xmm7 ; +0xf, 0x140258bdf lea rsi, [rcx+260h] ; +0x14, 0x140258be4 movaps xmm7, xmm1 ; +0x1b, 0x140258beb mov rdi, rcx ; +0x1e, 0x140258bee ucomiss xmm7, cs:flt_140622C24 ; +0x21, 0x140258bf1 jp short loc_140258C0B ; +0x28, 0x140258bf8 jnz short loc_140258C0B ; +0x2a, 0x140258bfa cmp qword ptr [rsi], 0 ; +0x2c, 0x140258bfc jz loc_140258D08 ; +0x30, 0x140258c00 jmp loc_140258CB3 ; +0x36, 0x140258c06 cmp qword ptr [rsi], 0 ; +0x3b, 0x140258c0b jnz loc_140258CB3 ; +0x3f, 0x140258c0f lea rdx, qword_14052A4D8 ; +0x45, 0x140258c15 movaps [rsp+48h+var_18], xmm6 ; +0x4c, 0x140258c1c lea rcx, asc_140518984; " " ; +0x51, 0x140258c21 call cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x58, 0x140258c28 mov r8, [rdi] ; +0x5e, 0x140258c2e mov rcx, rdi ; +0x61, 0x140258c31 mov rdx, rax ; +0x64, 0x140258c34 mov [rsi], rax ; +0x67, 0x140258c37 call qword ptr [r8+1C0h] ; +0x6a, 0x140258c3a mov rax, [rsi] ; +0x71, 0x140258c41 mov rcx, rdi ; +0x74, 0x140258c44 mov rbx, [rax] ; +0x77, 0x140258c47 mov rax, [rdi] ; +0x7a, 0x140258c4a call qword ptr [rax+130h] ; +0x7d, 0x140258c4d mov rcx, rdi ; +0x83, 0x140258c53 movss xmm6, dword ptr [rax+4] ; +0x86, 0x140258c56 mov rax, [rdi] ; +0x8b, 0x140258c5b call qword ptr [rax+130h] ; +0x8e, 0x140258c5e mulss xmm6, cs:dword_140622B08 ; +0x94, 0x140258c64 lea rcx, [rsp+48h+arg_10] ; +0x9c, 0x140258c6c movss xmm1, dword ptr [rax] ; +0xa1, 0x140258c71 subss xmm6, cs:dword_140623074 ; +0xa5, 0x140258c75 mulss xmm1, cs:dword_140622B08 ; +0xad, 0x140258c7d movaps xmm2, xmm6 ; +0xb5, 0x140258c85 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xb8, 0x140258c88 mov rcx, [rsi] ; +0xbe, 0x140258c8e mov rdx, rax ; +0xc1, 0x140258c91 call qword ptr [rbx+0B8h] ; +0xc4, 0x140258c94 mov rcx, [rsi] ; +0xca, 0x140258c9a movss xmm1, cs:dword_140622AA0 ; +0xcd, 0x140258c9d mov rax, [rcx] ; +0xd5, 0x140258ca5 call qword ptr [rax+0A0h] ; +0xd8, 0x140258ca8 movaps xmm6, [rsp+48h+var_18] ; +0xde, 0x140258cae ucomiss xmm7, cs:flt_140622C24 ; +0xe3, 0x140258cb3 jp short loc_140258CC2 ; +0xea, 0x140258cba jnz short loc_140258CC2 ; +0xec, 0x140258cbc xor edx, edx ; +0xee, 0x140258cbe jmp short loc_140258CFC ; +0xf0, 0x140258cc0 mov rbx, [rsi] ; +0xf2, 0x140258cc2 lea rcx, a02f_0; "%0.2f" ; +0xf5, 0x140258cc5 xorps xmm1, xmm1 ; +0xfc, 0x140258ccc cvtss2sd xmm1, xmm7 ; +0xff, 0x140258ccf mov rdi, [rbx+168h] ; +0x103, 0x140258cd3 movq rdx, xmm1 ; +0x10a, 0x140258cda call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x10f, 0x140258cdf mov rcx, rax ; +0x115, 0x140258ce5 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x118, 0x140258ce8 mov rdx, rax ; +0x11e, 0x140258cee lea rcx, [rbx+168h] ; +0x121, 0x140258cf1 call qword ptr [rdi] ; +0x128, 0x140258cf8 mov dl, 1 ; +0x12a, 0x140258cfa mov rcx, [rsi] ; +0x12c, 0x140258cfc mov rax, [rcx] ; +0x12f, 0x140258cff call qword ptr [rax+140h] ; +0x132, 0x140258d02 mov rbx, [rsp+48h+arg_0] ; +0x138, 0x140258d08 mov rsi, [rsp+48h+arg_8] ; +0x13d, 0x140258d0d movaps xmm7, [rsp+48h+var_28] ; +0x142, 0x140258d12 add rsp, 40h ; +0x147, 0x140258d17 pop rdi ; +0x14b, 0x140258d1b retn ; +0x14c, 0x140258d1c