//
// CCSpriteWithHue::setHueDegrees from 0x1001a3bd0 to 0x1001a3c14 (68 bytes)
//
// 4 xrefs:
// > SecretLayer5::updateTweenActionInt @ 0x100075c08
// > GJShopLayer::init @ 0x10014aa1c
// > GJShopLayer::init @ 0x10014ac68
// > RewardUnlockLayer::init @ 0x1001c533c
//
// 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; // s0
for ( ; a2 < 0.0; a2 = a2 + 360.0 )
;
v2 = (float)(a2 / 360.0) * 6.28318531;
a1->m_hue = v2;
CCSpriteWithHue::updateColorMatrix(a1);
}