//
// cocos2d::CCSpriteFrame::setTexture from 0x7f3570 to 0x7f358e (30 bytes)
//
// 1 xrefs:
// > cocos2d::CCSpriteFrame::copyWithZone @ 0x7f389a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:06 +0000
//
cocos2d::CCObject *__fastcall cocos2d::CCSpriteFrame::setTexture(int a1, cocos2d::CCObject *this)
{
cocos2d::CCObject *result; // r0
result = *(cocos2d::CCObject **)(a1 + 120);
if ( result != this )
{
if ( result )
result = (cocos2d::CCObject *)cocos2d::CCObject::release(result);
if ( this )
result = (cocos2d::CCObject *)cocos2d::CCObject::retain((int)this);
*(_DWORD *)(a1 + 120) = this;
}
return result;
}