//
// GJSpriteColor::GJSpriteColor from 0x353848 to 0x353884 (60 bytes)
//
// 2 xrefs:
// > GameObject::createSpriteColor @ 0x3545d2
// > GameObject::createSpriteColor @ 0x3545ea
//
// 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
//
// Alternative name is '_ZN13GJSpriteColorC1Ev'
GJSpriteColor *GJSpriteColor::GJSpriteColor(GJSpriteColor *a1)
{
float v1; // r1
float v2; // r2
int v3; // r3
a1->m_opacity = 1.0;
a1->m_baseOpacity = 1.0;
a1->m_colorID = 0;
a1->m_defaultColorID = 0;
v1 = flt_AC5CAC;
v2 = flt_AC5CB0;
v3 = *(_DWORD *)&word_AC5CB4;
a1->m_hsv.h = flt_AC5CA8;
a1->m_hsv.s = v1;
a1->m_hsv.v = v2;
*(_DWORD *)&a1->m_hsv.absoluteSaturation = v3;
a1->m_usesHSV = 0;
a1->m_usesCustomBlend = 0;
*(_WORD *)&a1->m_customColor.r = -1;
a1->m_customColor.b = -1;
return a1;
}