//
// cocos2d::CCTexture2D::CCTexture2D from 0x1800ca120 to 0x1800ca1ed (205 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b9c30
//
// 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
//
// Hidden C++ exception states: #wind=1
cocos2d::CCTexture2D *__fastcall cocos2d::CCTexture2D::CCTexture2D(
cocos2d::CCTexture2D *this,
const struct cocos2d::CCTexture2D *a2)
{
this->__vftable = (cocos2d::CCTexture2D_vtbl *)&cocos2d::CCObject::`vftable';
this->m_uID = a2->m_uID;
this->m_nLuaID = a2->m_nLuaID;
this->m_nTag = a2->m_nTag;
this->m_uReference = a2->m_uReference;
this->m_uAutoReleaseCount = a2->m_uAutoReleaseCount;
this->m_eObjType = a2->m_eObjType;
this->m_uIndexInArray = a2->m_uIndexInArray;
this->m_uUnknown = a2->m_uUnknown;
this->m_unknown2 = a2->m_unknown2;
this->m_nZOrder = a2->m_nZOrder;
this->m_uOrderOfArrival = a2->m_uOrderOfArrival;
this->m_unknown5 = a2->m_unknown5;
this->__vftable = (cocos2d::CCTexture2D_vtbl *)&cocos2d::CCTexture2D::`vftable';
this->m_bPVRHaveAlphaPremultiplied = a2->m_bPVRHaveAlphaPremultiplied;
this->m_ePixelFormat = a2->m_ePixelFormat;
this->m_uPixelsWide = a2->m_uPixelsWide;
this->m_uPixelsHigh = a2->m_uPixelsHigh;
this->m_uName = a2->m_uName;
this->m_fMaxS = a2->m_fMaxS;
this->m_fMaxT = a2->m_fMaxT;
cocos2d::cc_timeval::operator=(&this->m_tContentSize, &a2->m_tContentSize);
this->m_bHasPremultipliedAlpha = a2->m_bHasPremultipliedAlpha;
this->m_bHasMipmaps = a2->m_bHasMipmaps;
this->m_pShaderProgram = a2->m_pShaderProgram;
return this;
}