//
// cocos2d::CCTMXLayer::CCTMXLayer from 0x1800c9980 to 0x1800c9a96 (278 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b9bdc
//
// 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::CCTMXLayer *__fastcall cocos2d::CCTMXLayer::CCTMXLayer(
cocos2d::CCTMXLayer *this,
const struct cocos2d::CCTMXLayer *a2)
{
cocos2d::CCSpriteBatchNode::CCSpriteBatchNode(this, a2);
this->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCTMXLayer_vtbl *)&cocos2d::CCTMXLayer::`vftable'{for `cocos2d::CCNode'};
this->cocos2d::CCSpriteBatchNode::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&cocos2d::CCTMXLayer::`vftable'{for `cocos2d::CCTextureProtocol'};
cocos2d::cc_timeval::operator=((_DWORD *)this + 90, &a2[1]);
cocos2d::cc_timeval::operator=((_DWORD *)this + 92, &a2[1].m_uID);
*((_QWORD *)this + 47) = *(_QWORD *)&a2[1].m_nTag;
*((_QWORD *)this + 48) = *(_QWORD *)&a2[1].m_uAutoReleaseCount;
*((_DWORD *)this + 98) = a2[1].m_uIndexInArray;
*((_QWORD *)this + 50) = *(_QWORD *)&a2[1].m_unknown2;
sub_180016C80((__int64)this + 408, (__int64)&a2[1].m_uOrderOfArrival);
*((_BYTE *)this + 440) = LOBYTE(a2[1].m_obPosition.y);
*((_DWORD *)this + 111) = LODWORD(a2[1].m_fSkewX);
*((_DWORD *)this + 112) = LODWORD(a2[1].m_fSkewY);
*((_DWORD *)this + 113) = LODWORD(a2[1].m_obAnchorPointInPoints.x);
*((_BYTE *)this + 456) = LOBYTE(a2[1].m_obAnchorPointInPoints.y);
*((_QWORD *)this + 58) = *(_QWORD *)&a2[1].m_obAnchorPoint.y;
*((_QWORD *)this + 59) = *(_QWORD *)&a2[1].m_obContentSize.height;
*((_DWORD *)this + 120) = LODWORD(a2[1].m_sAdditionalTransform.b);
return this;
}