//
// CCSpriteWithHue::initWithTexture from 0x140048600 to 0x140048659 (89 bytes)
//
// 3 xrefs:
// > ??> @ 0x140530fa0
// > ??> @ 0x1405314e0
// > ??> @ 0x1406c4b90
//
// 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
//
bool CCSpriteWithHue::initWithTexture(
CCSpriteWithHue *a1,
cocos2d::CCTexture2D *a2,
const cocos2d::CCRect *a3,
bool a4)
{
bool result; // al
bool v6; // di
result = cocos2d::CCSprite::initWithTexture(a1, a2, a3, a4);
v6 = result;
if ( result )
{
a1->m_hue = 0.0;
a1->m_luminance._Elems[0] = 0.20999999;
a1->m_luminance._Elems[1] = 0.72000003;
a1->m_luminance._Elems[2] = 0.07;
CCSpriteWithHue::initShader(a1);
return v6;
}
return result;
}