//
// CCSpriteWithHue::initWithTexture from 0x14004c6b0 to 0x14004c709 (89 bytes)
//
// 3 xrefs:
// > ??> @ 0x14070bc30
// > ??> @ 0x14070c180
// > ??> @ 0x14091007c
//
// 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 11:25:33 +0000
//
bool __fastcall CCSpriteWithHue::initWithTexture(
cocos2d::CCSprite *a1,
struct cocos2d::CCTexture2D *a2,
const struct cocos2d::CCRect *a3,
bool a4)
{
bool result; // al
bool v6; // di
result = cocos2d::CCSprite::initWithTexture(a1, a2, a3, a4);
v6 = result;
if ( result )
{
*((_DWORD *)a1 + 150) = 0;
*((_DWORD *)a1 + 151) = 1045891645;
*((_DWORD *)a1 + 152) = 1060655596;
*((_DWORD *)a1 + 153) = 1032805417;
CCSpriteWithHue::initShader(a1);
return v6;
}
return result;
}