//
// CCSpriteWithHue::initWithTexture from 0x1006c30a0 to 0x1006c30d3 (51 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b8d9f0
// > ??> @ 0x100b8dfb8
//
// This function is hookable on this platform (idp: pc, 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:35:32 +0000
//
char __fastcall CCSpriteWithHue::initWithTexture(__int64 a1, __int64 a2, __int64 a3, unsigned __int8 a4)
{
char result; // al
char v5; // bl
result = cocos2d::CCSprite::initWithTexture(a1, a2, a3, a4);
if ( result )
{
*(_OWORD *)(a1 + 596) = xmmword_100A10930;
v5 = result;
CCSpriteWithHue::initShader(a1);
return v5;
}
return result;
}