//
// CCSpriteWithHue::initWithSpriteFrame from 0x1005f0230 to 0x1005f027b (75 bytes)
//
// 2 xrefs:
// > ??> @ 0x10097a5a0
// > ??> @ 0x10097ab58
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall CCSpriteWithHue::initWithSpriteFrame(CCSpriteWithHue *a1, cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCTexture2D *Texture; // rax
char v4; // r15
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
v4 = ((__int64 (__fastcall *)(CCSpriteWithHue *, cocos2d::CCTexture2D *, cocos2d::CCRect *))a1->initWithTexture_0)(
a1,
Texture,
&a2->m_obRect);
((void (__fastcall *)(CCSpriteWithHue *, cocos2d::CCSpriteFrame *))a1->setDisplayFrame)(a1, a2);
return v4;
}