//
// ColorChannelSprite::updateBlending from 0x1002c3a00 to 0x1002c3b09 (265 bytes)
//
// 1 xrefs:
// > ColorChannelSprite::updateValues @ 0x1002c3b4c
//
// 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
//
void __fastcall ColorChannelSprite::updateBlending(_QWORD **a1, int a2)
{
_QWORD *v3; // rdi
__int64 v4; // rax
_QWORD *v5; // r14
__int64 v6; // rax
float v7[2]; // [rsp+4h] [rbp-2Ch] BYREF
float v8; // [rsp+Ch] [rbp-24h]
v3 = a1[77];
if ( a2 )
{
if ( !v3 )
{
v4 = cocos2d::CCLabelBMFont::create_3("•", "bigFont.fnt");
a1[77] = (_QWORD *)v4;
((void (__fastcall *)(_QWORD **, __int64))(*a1)[57])(a1, v4);
v5 = a1[77];
v8 = (float)(*(float *)((__int64 (__fastcall *)(_QWORD **))(*a1)[41])(a1) * 0.5) + -10.0;
v6 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[41])(a1);
sub_100278250(v7, v8, (float)(*(float *)(v6 + 4) * 0.5) + 12.0);
(*(void (__fastcall **)(_QWORD *, float *))(*v5 + 184LL))(v5, v7);
(*(void (__fastcall **)(_QWORD *, float))(*a1[77] + 160LL))(a1[77], 0.5);
v3 = a1[77];
}
}
else if ( !v3 )
{
return;
}
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v3 + 344LL))(v3, (unsigned __int8)a2);
}