//
// CCSpriteWithHue::initWithTexture from 0x3f2480 to 0x3f24d6 (86 bytes)
//
// 1 xrefs:
// > CCSpriteGrayscale::createWithTexture @ 0x3f2de4
//
// 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:14 +0000
//
int __fastcall CCSpriteWithHue::initWithTexture(CCSpriteWithHue *this, cocos2d::CCTexture2D *a2)
{
_BYTE v5[8]; // [sp+4h] [bp-8h] BYREF
_BYTE v6[8]; // [sp+Ch] [bp+0h] BYREF
_BYTE v7[8]; // [sp+14h] [bp+8h] BYREF
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v6, (const cocos2d::CCRect *)&unk_D2B4F4);
(*(void (__fastcall **)(_BYTE *, cocos2d::CCTexture2D *))(*(_DWORD *)a2 + 72))(v5, a2);
cocos2d::CCSize::operator=(v7, v5);
return (*(int (__fastcall **)(CCSpriteWithHue *, cocos2d::CCTexture2D *, _BYTE *))(*(_DWORD *)this + 508))(
this,
a2,
v6);
}