//
// CCSpriteWithHue::initWithSpriteFrame from 0x1001a38ec to 0x1001a3950 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x1007ace10
// > ??> @ 0x1007ad3c8
//
// 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; // x0
char v5; // w21
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
v5 = ((__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 v5;
}