//
// CCAnimatedSprite::createWithType from 0x10034fe10 to 0x10034fed4 (196 bytes)
//
// 1 xrefs:
// > AnimatedGameObject::init @ 0x1001b650c
//
// 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 *__fastcall CCAnimatedSprite::createWithType(const char *a1, cocos2d::CCTexture2D *a2, bool a3)
{
char *v4; // rbx
v4 = (char *)operator new(0x2D0u);
cocos2d::CCSprite::CCSprite((__int64)v4, (__int64)a2);
*(_QWORD *)v4 = off_100914F90;
*((_QWORD *)v4 + 40) = off_100915478;
*((_QWORD *)v4 + 43) = off_1009154F8;
*(_OWORD *)(v4 + 600) = 0;
*(_OWORD *)(v4 + 616) = 0;
*(_OWORD *)(v4 + 632) = 0;
*(_OWORD *)(v4 + 648) = 0;
*(_OWORD *)(v4 + 664) = 0;
*((_DWORD *)v4 + 170) = 0;
*((_OWORD *)v4 + 43) = 0;
*((_OWORD *)v4 + 44) = 0;
if ( CCAnimatedSprite::initWithType((CCAnimatedSprite *)v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return (CCAnimatedSprite *)v4;
}