//
// CCAnimatedSprite::createWithType from 0x5710d4 to 0x5711c0 (236 bytes)
//
// 2 xrefs:
// > AnimatedGameObject::init @ 0x756b74
// > ??> @ 0x8b7b8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
CCAnimatedSprite *CCAnimatedSprite::createWithType(const char *a1, cocos2d::CCTexture2D *a2, bool a3)
{
__int64 v6; // x19
v6 = operator new(0x2A0u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v6);
*(_QWORD *)(v6 + 344) = &off_1136A08;
*(_QWORD *)v6 = &off_11364A0;
*(_QWORD *)(v6 + 320) = &off_1136988;
*(_QWORD *)(v6 + 616) = 0;
*(_QWORD *)(v6 + 624) = 0;
*(_QWORD *)(v6 + 600) = &byte_124B6C8;
*(_QWORD *)(v6 + 608) = &byte_124B6C8;
*(_QWORD *)(v6 + 632) = 0;
*(_QWORD *)(v6 + 640) = 0;
*(_DWORD *)(v6 + 648) = 0;
*(_QWORD *)(v6 + 656) = &byte_124B6C8;
*(_QWORD *)(v6 + 664) = 0;
if ( CCAnimatedSprite::initWithType((CCAnimatedSprite *)v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return (CCAnimatedSprite *)v6;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
}