//
// cocos2d::CCSprite::setDisplayFrame from 0x10028ade0 to 0x10028ae53 (115 bytes)
//
// 77 xrefs:
// > ??> @ 0x1008b4238
// > ??> @ 0x1008b8220
// > ??> @ 0x1008c44e0
// > ??> @ 0x1008c4d18
// > ??> @ 0x1008c5510
// > ??> @ 0x1008c5d08
// > ??> @ 0x1008c6500
// > ??> @ 0x1008c6cf8
// > ??> @ 0x1008c74f0
// > ??> @ 0x1008c7ce8
// > ??> @ 0x1008c84d0
// > ??> @ 0x1008c8ce0
// > ??> @ 0x1008c9558
// > ??> @ 0x1008c9d68
// > ??> @ 0x1008ca578
// > ??> @ 0x1008cad88
// > ??> @ 0x1008cb598
// > ??> @ 0x1008cbda8
// > ??> @ 0x1008cc5b8
// > ??> @ 0x1008ccdc8
// > ??> @ 0x1008cd5d8
// > ??> @ 0x1008cdde8
// > ??> @ 0x1008ce610
// > ??> @ 0x1008cee68
// > ??> @ 0x1008cf690
// > ??> @ 0x1008cfeb8
// > ??> @ 0x1008d06e0
// > ??> @ 0x1008d0f08
// > ??> @ 0x1008d1718
// > ??> @ 0x1008d1f28
// > ??> @ 0x1008d2738
// > ??> @ 0x1008d2f48
// > ??> @ 0x1008d3758
// > ??> @ 0x1008d3f68
// > ??> @ 0x1008d4778
// > ??> @ 0x1008d4f88
// > ??> @ 0x1008d5798
// > ??> @ 0x1008d5fa8
// > ??> @ 0x1008d67b8
// > ??> @ 0x1008d6fc8
// > ??> @ 0x1008d77d8
// > ??> @ 0x1008d7fe8
// > ??> @ 0x1008d87f8
// > ??> @ 0x1008d9008
// > ??> @ 0x1008dd5e8
// > ??> @ 0x1008e0b18
// > ??> @ 0x1008f0790
// > ??> @ 0x1008f3b20
// > ??> @ 0x100904f18
// > ??> @ 0x100909af0
// > ??> @ 0x10090bb28
// > ??> @ 0x1009135d0
// > ??> @ 0x100914878
// > ??> @ 0x100915408
// > ??> @ 0x10091c198
// > ??> @ 0x10091c720
// > ??> @ 0x10091e118
// > ??> @ 0x1009237b0
// > ??> @ 0x100928148
// > ??> @ 0x10092aea0
// > ??> @ 0x100933b78
// > ??> @ 0x1009343a0
// > ??> @ 0x10093ca40
// > ??> @ 0x10093cff0
// > ??> @ 0x100942280
// > ??> @ 0x10094e998
// > ??> @ 0x100971860
// > ??> @ 0x100972048
// > ??> @ 0x100972858
// > ??> @ 0x100974ac0
// > ??> @ 0x100975078
// > ??> @ 0x100975630
// > ??> @ 0x10097a620
// > ??> @ 0x10097abd8
// > ??> @ 0x1009856a8
// > ??> @ 0x100991a90
// > ??> @ 0x1009962b8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCSprite::setDisplayFrame(cocos2d::CCSprite *a1, cocos2d::CCSpriteFrame *a2)
{
double v2; // xmm0_8
cocos2d::CCTexture2D *Texture; // rax
_BOOL8 m_bRotated; // rdx
if ( a2 )
{
cocos2d::CCSpriteFrame::getOffset(a2);
v2 = sub_10028CC90();
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
if ( Texture != a1->m_pobTexture )
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCTexture2D *, double))a1->setTexture)(a1, Texture, v2);
m_bRotated = a2->m_bRotated;
a1->m_bRectRotated = m_bRotated;
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCRect *, _BOOL8, cocos2d::CCSize *, double))a1->setTextureRect_0)(
a1,
&a2->m_obRect,
m_bRotated,
&a2->m_obOriginalSize,
v2);
}
}