//
// CCSpriteWithHue::setHueDegrees from 0x1005f0840 to 0x1005f0883 (67 bytes)
//
// 4 xrefs:
// > RewardUnlockLayer::init @ 0x10021c39b
// > GJShopLayer::init @ 0x10032356e
// > GJShopLayer::init @ 0x100323818
// > SecretLayer5::updateTweenActionInt @ 0x10047c691
//
// 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 __fastcall CCSpriteWithHue::setHueDegrees(CCSpriteWithHue *a1, float a2)
{
float v2; // xmm0_4
for ( ; a2 < 0.0; a2 = a2 + 360.0 )
;
v2 = (float)(a2 / 360.0) * 6.283185307179586;
a1->m_hue = v2;
CCSpriteWithHue::updateColorMatrix(a1);
}