//
// CCSpriteWithHue::setLuminance from 0x6ddc34 to 0x6ddc5c (40 bytes)
//
// 4 xrefs:
// > GameToolbox::createOnOffSprite @ 0x69ef98
// > CCSpriteWithHue::setupDefaultSettings @ 0x6ddc74
// > GauntletSprite::addLockedSprite @ 0xa77e84
// > ??> @ 0xf4540
//
// 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::setLuminance(CCSpriteWithHue *this, float a2)
{
float v2; // s2
float v3; // s1
float result; // s0
v2 = a2 * 0.21;
v3 = a2 * 0.72;
result = a2 * 0.07;
*((float *)this + 150) = v2;
*((float *)this + 151) = v3;
*((float *)this + 152) = result;
return result;
}