//
// CCSpriteWithHue::initWithTexture from 0x5bd4bc to 0x5bd4fc (64 bytes)
//
// 5 xrefs:
// > CCSpriteWithHue::createWithTexture @ 0x5bc548
// > CCSpriteGrayscale::createWithTexture @ 0x5bd340
// > ??> @ 0x6e580
// > ??> @ 0x1144de0
// > ??> @ 0x1145380
//
// 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)
{
bool v3; // w19
v3 = cocos2d::CCSprite::initWithTexture(a1, a2);
if ( v3 )
{
CCSpriteWithHue::setupDefaultSettings(a1);
CCSpriteWithHue::initShader(a1);
}
return v3;
}