//
// CCSpriteWithHue::initWithTexture from 0x6dd140 to 0x6dd1e8 (168 bytes)
//
// 5 xrefs:
// > CCSpriteWithHue::createWithTexture @ 0x6dd5a8
// > CCSpriteGrayscale::createWithTexture @ 0x6de2d0
// > ??> @ 0xca6a8
// > ??> @ 0x1423ac0
// > ??> @ 0x1424070
//
// 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)
{
__int64 v5; // [xsp+50h] [xbp+50h] BYREF
_BYTE v6[8]; // [xsp+58h] [xbp+58h] BYREF
__int64 v7; // [xsp+60h] [xbp+60h] BYREF
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v6, (const cocos2d::CCRect *)&unk_155C298);
(*(void (__fastcall **)(__int64 *__return_ptr, cocos2d::CCTexture2D *))(*(_QWORD *)a2 + 144LL))(&v5, a2);
cocos2d::CCSize::operator=(&v7, &v5);
return (*(__int64 (__fastcall **)(CCSpriteWithHue *, cocos2d::CCTexture2D *, _BYTE *))(*(_QWORD *)this + 1016LL))(
this,
a2,
v6);
}