//
// CCSpriteWithHue::initWithTexture from 0x307336 to 0x307352 (28 bytes)
//
// 1 xrefs:
// > CCSpriteGrayscale::createWithTexture @ 0x30726a
//
// 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)
{
_BOOL4 v3; // r4
v3 = cocos2d::CCSprite::initWithTexture(a1, a2);
if ( v3 )
{
CCSpriteWithHue::setupDefaultSettings(a1);
CCSpriteWithHue::initShader(a1);
}
return v3;
}