//
// CCPartAnimSprite::createWithAnimDesc from 0x3c7d64 to 0x3c7df0 (140 bytes)
//
// 1 xrefs:
// > CCAnimatedSprite::loadType @ 0x3c3a5a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:35 +0000
//
int __fastcall CCPartAnimSprite::createWithAnimDesc(
CCPartAnimSprite *this,
cocos2d::CCTexture2D *a2,
cocos2d::CCTexture2D *a3,
bool a4)
{
int v7; // r4
v7 = operator new(0x214u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v7);
*(_DWORD *)v7 = &off_C85320;
*(_DWORD *)(v7 + 264) = &off_C85594;
*(_DWORD *)(v7 + 280) = &off_C855D4;
*(_DWORD *)(v7 + 508) = 0;
*(_DWORD *)(v7 + 512) = 0;
*(_BYTE *)(v7 + 516) = 0;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v7 + 520));
*(_DWORD *)(v7 + 528) = 0;
if ( CCPartAnimSprite::initWithAnimDesc((cocos2d::CCArray **)v7, (const char *)this, a2, (int)a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);
return v7;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v7 + 8))(v7);
return 0;
}
}