//
// CCSpritePart::create from 0x692bd0 to 0x692c98 (200 bytes)
//
// 2 xrefs:
// > CCPartAnimSprite::initWithAnimDesc @ 0x693dc0
// > ??> @ 0xd6c30
//
// 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 CCSpritePart::create(CCSpritePart *this, cocos2d::CCTexture2D *a2)
{
__int64 v3; // x19
v3 = operator new(0x290u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v3);
*(_QWORD *)(v3 + 600) = 0;
*(_QWORD *)(v3 + 608) = 0;
*(_BYTE *)(v3 + 616) = 0;
*(_BYTE *)(v3 + 617) = 0;
*(_BYTE *)(v3 + 618) = 0;
*(_BYTE *)(v3 + 619) = 0;
*(_QWORD *)(v3 + 624) = 0;
*(_QWORD *)v3 = &off_1417760;
*(_QWORD *)(v3 + 320) = &off_1417C58;
*(_QWORD *)(v3 + 344) = &off_1417CD8;
*(_QWORD *)(v3 + 632) = 0;
*(_QWORD *)(v3 + 640) = 0;
*(_QWORD *)(v3 + 648) = 0;
if ( (unsigned __int8)CCSpritePlus::initWithTexture((CCSpritePlus *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return v3;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3);
return 0;
}
}