//
// cocos2d::CCTextureAtlas::setTexture from 0xda434c to 0xda4388 (60 bytes)
//
// 2 xrefs:
// > ??> @ 0xeb360
// > ??> @ 0x1530398
//
// This function is hookable on this platform (idp: arm, 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 13:08:31 +0000
//
_DWORD *__fastcall cocos2d::CCTextureAtlas::setTexture(cocos2d::CCTextureAtlas *this, cocos2d::CCTexture2D *a2)
{
_DWORD *result; // x0
if ( a2 )
cocos2d::CCObject::retain((__int64)a2);
result = *((_DWORD **)this + 11);
if ( result )
result = cocos2d::CCObject::release(result);
*((_QWORD *)this + 11) = a2;
return result;
}