//
// CCSpriteWithHue::updateColorMatrix from 0x306fec to 0x307010 (36 bytes)
//
// 2 xrefs:
// > CCSpriteWithHue::updateColor @ 0x30701e
// > CCSpriteWithHue::setHue @ 0x307026
//
// 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; // r5
float Alpha; // r1
p_m_colorMatrix = &a1->m_colorMatrix;
hueMatrix((float (*)[3])&a1->m_colorMatrix, a1->m_hue);
Alpha = CCSpriteWithHue::getAlpha(a1);
premultiplyAlpha((float *)p_m_colorMatrix, Alpha);
}