//
// CCSpriteWithHue::updateColorMatrix from 0x6ddfec to 0x6de024 (56 bytes)
//
// 3 xrefs:
// > CCSpriteWithHue::updateColor @ 0x6de044
// > CCSpriteWithHue::setHue @ 0x6de04c
// > ??> @ 0x9f178
//
// This function is hookable on this platform (idp: arm, 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:51:35 +0000
//
float __fastcall CCSpriteWithHue::updateColorMatrix(CCSpriteWithHue *this)
{
float *v1; // x20
double v3; // d0
v1 = (float *)((char *)this + 612);
hueMatrix((float (*)[3])((float *)this + 51), *((float *)this + 149));
*(float *)&v3 = CCSpriteWithHue::getAlpha(this);
return premultiplyAlpha((float (*)[3])v1, v3);
}