//
// CCSpriteWithHue::initWithTexture from 0x1005eff60 to 0x1005eff93 (51 bytes)
//
// 2 xrefs:
// > ??> @ 0x10097a598
// > ??> @ 0x10097ab50
//
// 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)
{
bool result; // al
bool v5; // bl
result = cocos2d::CCSprite::initWithTexture(a1, a2, a3, a4);
if ( result )
{
*(_OWORD *)&a1->m_hue = xmmword_100821A30;
v5 = result;
CCSpriteWithHue::initShader(a1);
return v5;
}
return result;
}