//
// cocos2d::CCSprite::setDisplayFrame from 0x100239524 to 0x1002395a4 (128 bytes)
//
// 74 xrefs:
// > ??> @ 0x100763738
// > ??> @ 0x100773868
// > ??> @ 0x1007741a0
// > ??> @ 0x100775308
// > ??> @ 0x100777eb8
// > ??> @ 0x10077bbf8
// > ??> @ 0x100785ea8
// > ??> @ 0x100790c48
// > ??> @ 0x100799a38
// > ??> @ 0x1007ace90
// > ??> @ 0x1007ad448
// > ??> @ 0x1007b3400
// > ??> @ 0x1007b8ec0
// > ??> @ 0x1007ba010
// > ??> @ 0x1007c4030
// > ??> @ 0x1007c4868
// > ??> @ 0x1007c7770
// > ??> @ 0x1007c8250
// > ??> @ 0x1007c9a70
// > ??> @ 0x1007ca028
// > ??> @ 0x1007cfd00
// > ??> @ 0x1007d04e8
// > ??> @ 0x1007d0cf8
// > ??> @ 0x1007e54c0
// > ??> @ 0x1007ea4e8
// > ??> @ 0x1007eaaa0
// > ??> @ 0x1007ec6d0
// > ??> @ 0x1007ecc58
// > ??> @ 0x1007efa80
// > ??> @ 0x1007f5568
// > ??> @ 0x1007f5da0
// > ??> @ 0x1007f6598
// > ??> @ 0x1007f6d90
// > ??> @ 0x1007f7588
// > ??> @ 0x1007f7d80
// > ??> @ 0x1007f8578
// > ??> @ 0x1007f8d70
// > ??> @ 0x1007f9558
// > ??> @ 0x1007f9d68
// > ??> @ 0x1007fa5d0
// > ??> @ 0x1007fade0
// > ??> @ 0x1007fb5f0
// > ??> @ 0x1007fbe00
// > ??> @ 0x1007fc610
// > ??> @ 0x1007fce20
// > ??> @ 0x1007fd630
// > ??> @ 0x1007fde40
// > ??> @ 0x1007fe650
// > ??> @ 0x1007fee60
// > ??> @ 0x1007ff688
// > ??> @ 0x1007ffee0
// > ??> @ 0x100800708
// > ??> @ 0x100800f30
// > ??> @ 0x100801758
// > ??> @ 0x100801f80
// > ??> @ 0x100802790
// > ??> @ 0x100802fa0
// > ??> @ 0x1008037b0
// > ??> @ 0x100803fc0
// > ??> @ 0x1008047d0
// > ??> @ 0x100804fe0
// > ??> @ 0x1008057f0
// > ??> @ 0x100806000
// > ??> @ 0x100806810
// > ??> @ 0x100807020
// > ??> @ 0x100807830
// > ??> @ 0x100808040
// > ??> @ 0x100808850
// > ??> @ 0x100809060
// > ??> @ 0x100809870
// > ??> @ 0x10080a080
// > ??> @ 0x10080b008
// > ??> @ 0x100811018
// > ??> @ 0x1008163a0
//
// 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 *Offset; // x0
cocos2d::CCTexture2D *Texture; // x0
if ( a2 )
{
Offset = (double *)cocos2d::CCSpriteFrame::getOffset(a2);
sub_1000229D0(&a1->m_obUnflippedOffsetPositionFromCenter, Offset);
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
if ( Texture != a1->m_pobTexture )
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCTexture2D *))a1->setTexture)(a1, Texture);
a1->m_bRectRotated = a2->m_bRotated;
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCRect *))a1->setTextureRect_0)(a1, &a2->m_obRect);
}
}