//
// cocos2d::CCTextureAtlas::setTexture from 0x1800aaa10 to 0x1800aaa4a (58 bytes)
//
// 4 xrefs:
// > ??> @ 0x18010b5d0
// > ??> @ 0x18010c9d8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2064
//
// 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 11:22:17 +0000
//
// Alternative name is '?setLayers@CCTMXMapInfo@cocos2d@@UEAAXPEAVCCArray@2@@Z'
void __fastcall cocos2d::CCTextureAtlas::setTexture(cocos2d::CCTextureAtlas *this, struct cocos2d::CCTexture2D *a2)
{
cocos2d::CCObject *v4; // rcx
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)this + 11);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_QWORD *)this + 11) = a2;
}