//
// CCSpritePart::create from 0x3c72a0 to 0x3c7324 (132 bytes)
//
// 1 xrefs:
// > CCPartAnimSprite::initWithAnimDesc @ 0x3c7bf8
//
// 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 CCSpritePart::create(CCSpritePart *this, cocos2d::CCTexture2D *a2)
{
int v3; // r4
v3 = operator new(0x218u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v3);
*(_DWORD *)(v3 + 508) = 0;
*(_DWORD *)(v3 + 512) = 0;
*(_BYTE *)(v3 + 516) = 0;
*(_DWORD *)v3 = &off_C855F0;
*(_BYTE *)(v3 + 517) = 0;
*(_DWORD *)(v3 + 264) = &off_C8586C;
*(_BYTE *)(v3 + 518) = 0;
*(_DWORD *)(v3 + 280) = &off_C858AC;
*(_BYTE *)(v3 + 519) = 0;
*(_DWORD *)(v3 + 520) = 0;
*(_DWORD *)(v3 + 524) = 0;
*(_DWORD *)(v3 + 528) = 0;
*(_DWORD *)(v3 + 532) = 0;
if ( CCSpritePlus::initWithTexture((CCSpritePlus *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return v3;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v3 + 8))(v3);
return 0;
}
}