//
// CCPartAnimSprite::createWithAnimDesc from 0x100373a70 to 0x100373b21 (177 bytes)
//
// 1 xrefs:
// > CCAnimatedSprite::loadType @ 0x100350598
//
// 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
//
CCPartAnimSprite *__fastcall CCPartAnimSprite::createWithAnimDesc(const char *a1, cocos2d::CCTexture2D *a2, bool a3)
{
char *v4; // rbx
v4 = (char *)operator new(0x280u);
cocos2d::CCSprite::CCSprite((__int64)v4, (__int64)a2);
*(_QWORD *)v4 = off_10091D700;
*((_QWORD *)v4 + 40) = off_10091DBD8;
*((_QWORD *)v4 + 43) = off_10091DC58;
*(_OWORD *)(v4 + 600) = 0;
v4[616] = 0;
sub_10028CF90(v4 + 620);
*((_QWORD *)v4 + 79) = 0;
if ( CCPartAnimSprite::initWithAnimDesc((CCPartAnimSprite *)v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return (CCPartAnimSprite *)v4;
}