//
// CCSpriteWithHue::initWithTexture from 0x3f30a8 to 0x3f30c4 (28 bytes)
//
// 1 xrefs:
// > CCSpriteGrayscale::createWithTexture @ 0x3f2e6a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:15 +0000
//
int __fastcall CCSpriteWithHue::initWithTexture(
CCSpriteWithHue *this,
cocos2d::CCTexture2D *a2,
const cocos2d::CCRect *a3,
bool a4)
{
int v5; // r4
int v6; // r1
char *v7; // r2
int v8; // r3
v5 = cocos2d::CCSprite::initWithTexture(this, a2, a3, a4);
if ( v5 )
{
CCSpriteWithHue::setupDefaultSettings(this);
CCSpriteWithHue::initShader(this, v6, v7, v8);
}
return v5;
}