//
// CCPartAnimSprite::createWithAnimDesc from 0x693f30 to 0x694014 (228 bytes)
//
// 2 xrefs:
// > CCAnimatedSprite::loadType @ 0x68cd60
// > ??> @ 0x62080
//
// This function is hookable on this platform (idp: arm, 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:50:36 +0000
//
__int64 __fastcall CCPartAnimSprite::createWithAnimDesc(
CCPartAnimSprite *this,
cocos2d::CCTexture2D *a2,
cocos2d::CCTexture2D *a3)
{
unsigned __int8 v5; // w20
__int64 v6; // x19
v5 = (unsigned __int8)a3;
v6 = operator new(0x280u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v6);
*(_QWORD *)(v6 + 600) = 0;
*(_QWORD *)v6 = &off_14171C0;
*(_QWORD *)(v6 + 320) = &off_14176A8;
*(_QWORD *)(v6 + 344) = &off_1417728;
*(_QWORD *)(v6 + 608) = 0;
*(_BYTE *)(v6 + 616) = 0;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v6 + 620));
*(_QWORD *)(v6 + 632) = 0;
if ( (unsigned __int8)CCPartAnimSprite::initWithAnimDesc((cocos2d::CCArray **)v6, (char *)this, a2, v5) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
return 0;
}
}