//
// CCSpriteWithHue::initWithTexture from 0x6de538 to 0x6de578 (64 bytes)
//
// 5 xrefs:
// > CCSpriteWithHue::createWithTexture @ 0x6dd688
// > CCSpriteGrayscale::createWithTexture @ 0x6de3b0
// > ??> @ 0x94d80
// > ??> @ 0x1423ad0
// > ??> @ 0x1424080
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:51:35 +0000
//
__int64 __fastcall CCSpriteWithHue::initWithTexture(
CCSpriteWithHue *this,
cocos2d::CCTexture2D *a2,
const cocos2d::CCRect *a3,
bool a4)
{
unsigned __int8 v5; // w0
unsigned int v6; // w19
v5 = cocos2d::CCSprite::initWithTexture(this, a2, a3, a4);
v6 = v5;
if ( v5 )
{
CCSpriteWithHue::setupDefaultSettings(this);
CCSpriteWithHue::initShader(this);
}
return v6;
}