//
// CCAnimatedSprite::createWithType from 0x3c3cb4 to 0x3c3d54 (160 bytes)
//
// 1 xrefs:
// > AnimatedGameObject::init @ 0x4ec0a8
//
// 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:32 +0000
//
cocos2d::CCSprite *__fastcall CCAnimatedSprite::createWithType(
CCAnimatedSprite *this,
cocos2d::CCTexture2D *a2,
cocos2d::CCTexture2D *a3,
bool a4)
{
cocos2d::CCSprite *v7; // r4
v7 = (cocos2d::CCSprite *)operator new(0x238u);
cocos2d::CCSprite::CCSprite(v7);
*(_DWORD *)v7 = &off_C83810;
*((_DWORD *)v7 + 66) = &off_C83A8C;
*((_DWORD *)v7 + 70) = &off_C83ACC;
*((_DWORD *)v7 + 127) = 0;
*((_DWORD *)v7 + 128) = 0;
*((_DWORD *)v7 + 129) = 0;
*((_DWORD *)v7 + 130) = 0;
*((_DWORD *)v7 + 131) = 0;
*((_DWORD *)v7 + 132) = 0;
*((_DWORD *)v7 + 133) = 0;
*((_DWORD *)v7 + 134) = 0;
*((_DWORD *)v7 + 135) = 0;
*((_DWORD *)v7 + 136) = 0;
*((_DWORD *)v7 + 137) = 0;
*((_DWORD *)v7 + 138) = 0;
*((_DWORD *)v7 + 139) = 0;
*((_DWORD *)v7 + 140) = 0;
*((_DWORD *)v7 + 141) = 0;
if ( CCAnimatedSprite::initWithType(v7, (const char *)this, a2, a3) )
{
cocos2d::CCObject::autorelease(v7);
return v7;
}
else
{
(*(void (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)v7 + 8))(v7);
return nullptr;
}
}