//
// CCSpriteWithHue::updateColorMatrix from 0x5bcf90 to 0x5bcfc8 (56 bytes)
//
// 3 xrefs:
// > CCSpriteWithHue::updateColor @ 0x5bcfe8
// > CCSpriteWithHue::setHue @ 0x5bcff0
// > ??> @ 0x76c80
//
// 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
//
void CCSpriteWithHue::updateColorMatrix(CCSpriteWithHue *a1)
{
std::array, 3> *p_m_colorMatrix; // x20
double v3; // d0
p_m_colorMatrix = &a1->m_colorMatrix;
hueMatrix((float (*)[3])&a1->m_colorMatrix, a1->m_hue);
*(float *)&v3 = CCSpriteWithHue::getAlpha(a1);
premultiplyAlpha((float (*)[3])p_m_colorMatrix, v3);
}