//
// CCPartAnimSprite::createWithAnimDesc from 0x10035cf40 to 0x10035cff1 (177 bytes)
//
// 1 xrefs:
// > CCAnimatedSprite::loadType @ 0x10033bca8
//
// 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 12:28:54 +0000
//
char *__fastcall CCPartAnimSprite::createWithAnimDesc(__int64 a1, __int64 a2, unsigned __int8 a3)
{
char *v4; // rbx
v4 = (char *)operator new(0x280u);
cocos2d::CCSprite::CCSprite((__int64)v4);
*(_QWORD *)v4 = off_100B25998;
*((_QWORD *)v4 + 40) = off_100B25E80;
*((_QWORD *)v4 + 43) = off_100B25F00;
*(_OWORD *)(v4 + 600) = 0;
v4[616] = 0;
sub_100278600(v4 + 620);
*((_QWORD *)v4 + 79) = 0;
if ( (unsigned __int8)CCPartAnimSprite::initWithAnimDesc(v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}