//
// CCSpriteWithHue::initWithSpriteFrame from 0x14004c780 to 0x14004c7e3 (99 bytes)
//
// 7 xrefs:
// > CCSpriteWithHue::createWithSpriteFrameName @ 0x14004c663
// > CCSpriteGrayscale::createWithSpriteFrameName @ 0x14004d203
// > CCSpriteWithHue::createWithSpriteFrameName @ 0x14004c651
// > CCSpriteGrayscale::createWithSpriteFrameName @ 0x14004d1f1
// > ??> @ 0x14070bc48
// > ??> @ 0x14070c198
// > ??> @ 0x140910094
//
// This function is hookable on this platform (idp: pc, 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 11:25:33 +0000
//
__int64 __fastcall CCSpriteWithHue::initWithSpriteFrame(__int64 *a1, cocos2d::CCSpriteFrame *a2)
{
__int64 v2; // rdi
struct cocos2d::CCTexture2D *Texture; // rax
unsigned __int8 v6; // bl
v2 = *a1;
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
v6 = (*(__int64 (__fastcall **)(__int64 *, struct cocos2d::CCTexture2D *, __int64))(v2 + 896))(
a1,
Texture,
(__int64)a2 + 92);
(*(void (__fastcall **)(__int64 *, cocos2d::CCSpriteFrame *))(*a1 + 1008))(a1, a2);
return v6;
}