//
// cocos2d::CCSprite::setDisplayFrame from 0xd86760 to 0xd867e0 (128 bytes)
//
// 81 xrefs:
// > ??> @ 0x70918
// > ??> @ 0x1413a68
// > ??> @ 0x1414028
// > ??> @ 0x1414dd8
// > ??> @ 0x1417be8
// > ??> @ 0x141b508
// > ??> @ 0x141bb38
// > ??> @ 0x141cfb8
// > ??> @ 0x1421be8
// > ??> @ 0x1422198
// > ??> @ 0x1423b58
// > ??> @ 0x1424108
// > ??> @ 0x14246d8
// > ??> @ 0x14290b8
// > ??> @ 0x1433728
// > ??> @ 0x1433f28
// > ??> @ 0x1434518
// > ??> @ 0x1434cf8
// > ??> @ 0x1435508
// > ??> @ 0x143a498
// > ??> @ 0x1443868
// > ??> @ 0x1444078
// > ??> @ 0x1444888
// > ??> @ 0x1445098
// > ??> @ 0x14458a8
// > ??> @ 0x14460b8
// > ??> @ 0x14468c8
// > ??> @ 0x14470d8
// > ??> @ 0x14478b8
// > ??> @ 0x14480c8
// > ??> @ 0x14488d8
// > ??> @ 0x14490e8
// > ??> @ 0x14498f8
// > ??> @ 0x144a148
// > ??> @ 0x144a958
// > ??> @ 0x144b168
// > ??> @ 0x144b978
// > ??> @ 0x144c188
// > ??> @ 0x144c9a8
// > ??> @ 0x144d1b8
// > ??> @ 0x144d9c8
// > ??> @ 0x144e1d8
// > ??> @ 0x144e9e8
// > ??> @ 0x144f1f8
// > ??> @ 0x144fa08
// > ??> @ 0x1450218
// > ??> @ 0x1450a28
// > ??> @ 0x1451238
// > ??> @ 0x1451a48
// > ??> @ 0x1452258
// > ??> @ 0x1452a68
// > ??> @ 0x1453278
// > ??> @ 0x1453a88
// > ??> @ 0x1454298
// > ??> @ 0x1454aa8
// > ??> @ 0x14552b8
// > ??> @ 0x1455ac8
// > ??> @ 0x14562d8
// > ??> @ 0x1456ae8
// > ??> @ 0x14572f8
// > ??> @ 0x1457b08
// > ??> @ 0x1458318
// > ??> @ 0x1458b28
// > ??> @ 0x1459358
// > ??> @ 0x145b248
// > ??> @ 0x145b7e8
// > ??> @ 0x14778d8
// > ??> @ 0x1479988
// > ??> @ 0x1486de8
// > ??> @ 0x1487398
// > ??> @ 0x1491cc8
// > ??> @ 0x1497108
// > ??> @ 0x1499658
// > ??> @ 0x14c1f88
// > ??> @ 0x14d9988
// > ??> @ 0x150cda8
// > ??> @ 0x1517c68
// > ??> @ 0x1518208
// > ??> @ 0x1518d88
// > ??> @ 0x152e7e8
// > ??> @ 0x152ffe8
//
// 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:13 +0000
//
__int64 __fastcall cocos2d::CCSprite::setDisplayFrame(__int64 this, cocos2d::CCSpriteFrame *a2)
{
__int64 v2; // x19
float *Offset; // x0
__int64 v5; // x4
if ( a2 )
{
v2 = this;
Offset = (float *)cocos2d::CCSpriteFrame::getOffset(a2);
cocos2d::CCPoint::operator=((float *)(v2 + 452), Offset);
if ( *(_QWORD *)(v2 + 416) != cocos2d::CCSpriteFrame::getTexture(a2) )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1064LL))(v2);
v5 = *(_QWORD *)v2;
*(_BYTE *)(v2 + 440) = *((_BYTE *)a2 + 88);
return (*(__int64 (__fastcall **)(__int64, char *))(v5 + 1144))(v2, (char *)a2 + 92);
}
return this;
}