//
// cocos2d::CCSpriteFrame::setTexture from 0x1002eb6f8 to 0x1002eb73c (68 bytes)
//
// 1 xrefs:
// > cocos2d::CCSpriteFrame::copyWithZone @ 0x1002eb6c0
//
// 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 11:02:53 +0000
//
_DWORD *__fastcall cocos2d::CCSpriteFrame::setTexture(__int64 a1, __int64 a2)
{
_DWORD *result; // x0
result = *(_DWORD **)(a1 + 128);
if ( result != (_DWORD *)a2 )
{
if ( result )
result = cocos2d::CCObject::release(result);
if ( a2 )
result = (_DWORD *)cocos2d::CCObject::retain(a2);
*(_QWORD *)(a1 + 128) = a2;
}
return result;
}