//
// CCSpriteWithHue::initWithSpriteFrame from 0x3f24e0 to 0x3f250e (46 bytes)
//
// 1 xrefs:
// > CCSpriteGrayscale::createWithSpriteFrame @ 0x3f2eee
//
// 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::initWithSpriteFrame(CCSpriteWithHue *this, cocos2d::CCSpriteFrame *a2)
{
int (__fastcall *v4)(CCSpriteWithHue *, int, char *); // r6
int Texture; // r0
int v6; // r6
v4 = *(int (__fastcall **)(CCSpriteWithHue *, int, char *))(*(_DWORD *)this + 508);
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
v6 = v4(this, Texture, (char *)a2 + 88);
(*(void (__fastcall **)(CCSpriteWithHue *, cocos2d::CCSpriteFrame *))(*(_DWORD *)this + 580))(this, a2);
return v6;
}