//
// CCSpriteWithHue::initWithSpriteFrame from 0x6dd1e8 to 0x6dd24c (100 bytes)
//
// 5 xrefs:
// > CCSpriteWithHue::createWithSpriteFrame @ 0x6dd780
// > CCSpriteGrayscale::createWithSpriteFrame @ 0x6de4a8
// > ??> @ 0x62c80
// > ??> @ 0x1423ad8
// > ??> @ 0x1424088
//
// 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::initWithSpriteFrame(CCSpriteWithHue *this, cocos2d::CCSpriteFrame *a2)
{
__int64 (__fastcall *v4)(CCSpriteWithHue *, __int64, char *); // x21
__int64 Texture; // x0
v4 = *(__int64 (__fastcall **)(CCSpriteWithHue *, __int64, char *))(*(_QWORD *)this + 1016LL);
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
LODWORD(v4) = v4(this, Texture, (char *)a2 + 92);
(*(void (__fastcall **)(CCSpriteWithHue *, cocos2d::CCSpriteFrame *))(*(_QWORD *)this + 1160LL))(this, a2);
return (unsigned int)v4;
}