//
// CCSpriteWithHue::initWithTexture from 0x1001a3664 to 0x1001a36a8 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0x1007ace08
// > ??> @ 0x1007ad3c0
//
// 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 __fastcall CCSpriteWithHue::initWithTexture(
CCSpriteWithHue *a1,
cocos2d::CCTexture2D *a2,
const cocos2d::CCRect *a3,
bool a4)
{
_BOOL4 v5; // w20
v5 = cocos2d::CCSprite::initWithTexture(a1, a2, a3, a4);
if ( v5 )
{
*(_OWORD *)&a1->m_hue = xmmword_100639530;
CCSpriteWithHue::initShader(a1);
}
return v5;
}