//
// CCAnimatedSprite::createWithType from 0x10033b520 to 0x10033b5e4 (196 bytes)
//
// 1 xrefs:
// > AnimatedGameObject::init @ 0x100196b7c
//
// This function is hookable on this platform (idp: pc, 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:28:41 +0000
//
char *__fastcall CCAnimatedSprite::createWithType(__int64 a1, __int64 a2, unsigned __int8 a3)
{
char *v4; // rbx
v4 = (char *)operator new(0x2D0u);
cocos2d::CCSprite::CCSprite((__int64)v4);
*(_QWORD *)v4 = off_100B1CDC0;
*((_QWORD *)v4 + 40) = off_100B1D2B8;
*((_QWORD *)v4 + 43) = off_100B1D338;
*(_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 ( (unsigned __int8)CCAnimatedSprite::initWithType(v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}