//
// hueMatrix from 0x3f2b04 to 0x3f2b90 (140 bytes)
//
// 1 xrefs:
// > CCSpriteWithHue::updateColorMatrix @ 0x3f2bea
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:15 +0000
//
float __fastcall hueMatrix(float (*a1)[3], float a2)
{
float v4; // r8
float v5; // r0
float v7[9]; // [sp+0h] [bp-28h] BYREF
xRotateMat((int)a1, 0.70711, 0.70711);
yRotateMat((int)v7, -0.57735, 0.8165);
matrixMult((float (*)[3])v7, a1, a1);
v4 = sinf(a2);
v5 = cosf(a2);
zRotateMat((int)v7, v4, v5);
matrixMult((float (*)[3])v7, a1, a1);
yRotateMat((int)v7, 0.57735, 0.8165);
matrixMult((float (*)[3])v7, a1, a1);
xRotateMat((int)v7, -0.70711, 0.70711);
return matrixMult((float (*)[3])v7, a1, a1);
}