//
// cocos2d::CCTexture2D::CCTexture2D from 0x5f370c to 0x5f3748 (60 bytes)
//
// 12 xrefs:
// > cocos2d::CCGridBase::initWithSize @ 0x5c7234
// > cocos2d::CCLabelBMFont::initWithString @ 0x5cdbda
// > cocos2d::CCLabelTTF::updateTexture @ 0x5ce3f0
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x5d81de
// > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x5d8252
// > cocos2d::CCSpriteBatchNode::init @ 0x5e8464
// > cocos2d::CCTextureCache::addETCImage @ 0x5f4cfe
// > cocos2d::CCTextureCache::addImageAsyncCallBack @ 0x5f5186
// > cocos2d::CCTextureCache::addPVRImage @ 0x5f52d2
// > cocos2d::CCTextureCache::addImage @ 0x5f5486
// > cocos2d::CCTextureCache::addUIImage @ 0x5f569e
// > cocos2d::CCTextureCache::addUIImage @ 0x5f56b4
//
// 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
//
// Alternative name is '_ZN7cocos2d11CCTexture2DC2Ev'
cocos2d::CCTexture2D *__fastcall cocos2d::CCTexture2D::CCTexture2D(cocos2d::CCTexture2D *this)
{
cocos2d::CCObject::CCObject(this);
this->m_uPixelsWide = 0;
this->m_uPixelsHigh = 0;
this->m_uName = 0;
this->__vftable = (cocos2d::CCTexture2D_vtbl *)&off_AAE4A8;
this->m_bPVRHaveAlphaPremultiplied = 1;
this->m_fMaxS = 0.0;
this->m_fMaxT = 0.0;
cocos2d::CCSize::CCSize(&this->m_tContentSize);
this->m_bHasPremultipliedAlpha = 0;
this->m_bHasMipmaps = 0;
this->m_pShaderProgram = nullptr;
return this;
}