//
// cocos2d::CCSprite::setDisplayFrame from 0xb15284 to 0xb15304 (128 bytes)
//
// 79 xrefs:
// > ??> @ 0x50ca0
// > ??> @ 0x1136368
// > ??> @ 0x1136918
// > ??> @ 0x1137698
// > ??> @ 0x1139d78
// > ??> @ 0x113cff8
// > ??> @ 0x113d618
// > ??> @ 0x113ea48
// > ??> @ 0x1142f78
// > ??> @ 0x1143518
// > ??> @ 0x1144e68
// > ??> @ 0x1145408
// > ??> @ 0x1149848
// > ??> @ 0x1152b58
// > ??> @ 0x1153348
// > ??> @ 0x1153928
// > ??> @ 0x11540f8
// > ??> @ 0x11548f8
// > ??> @ 0x1159b98
// > ??> @ 0x11622a8
// > ??> @ 0x1162aa8
// > ??> @ 0x11632a8
// > ??> @ 0x1163aa8
// > ??> @ 0x11642a8
// > ??> @ 0x1164aa8
// > ??> @ 0x11652a8
// > ??> @ 0x1165aa8
// > ??> @ 0x1166278
// > ??> @ 0x1166a78
// > ??> @ 0x1167278
// > ??> @ 0x1167a78
// > ??> @ 0x1168278
// > ??> @ 0x1168ab8
// > ??> @ 0x11692b8
// > ??> @ 0x1169ab8
// > ??> @ 0x116a2b8
// > ??> @ 0x116aab8
// > ??> @ 0x116b2c8
// > ??> @ 0x116bac8
// > ??> @ 0x116c2c8
// > ??> @ 0x116cac8
// > ??> @ 0x116d2c8
// > ??> @ 0x116dac8
// > ??> @ 0x116e2c8
// > ??> @ 0x116eac8
// > ??> @ 0x116f2c8
// > ??> @ 0x116fac8
// > ??> @ 0x11702c8
// > ??> @ 0x1170ac8
// > ??> @ 0x11712c8
// > ??> @ 0x1171ac8
// > ??> @ 0x11722c8
// > ??> @ 0x1172ac8
// > ??> @ 0x11732c8
// > ??> @ 0x1173ac8
// > ??> @ 0x11742c8
// > ??> @ 0x1174ac8
// > ??> @ 0x11752c8
// > ??> @ 0x1175ac8
// > ??> @ 0x11762c8
// > ??> @ 0x1176ac8
// > ??> @ 0x11772e8
// > ??> @ 0x1179138
// > ??> @ 0x11796c8
// > ??> @ 0x1192758
// > ??> @ 0x1194448
// > ??> @ 0x11a1018
// > ??> @ 0x11a15b8
// > ??> @ 0x11aab38
// > ??> @ 0x11b04f8
// > ??> @ 0x11b27f8
// > ??> @ 0x11d9f58
// > ??> @ 0x11ed808
// > ??> @ 0x11f7558
// > ??> @ 0x12022f8
// > ??> @ 0x1202888
// > ??> @ 0x12033e8
// > ??> @ 0x1218998
// > ??> @ 0x1219fc8
//
// 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 cocos2d::CCSprite::setDisplayFrame(cocos2d::CCSprite *a1, cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCPoint *Offset; // x0
float v5; // s0
float v6; // s1
cocos2d::CCSprite_vtbl *v7; // x4
if ( a2 )
{
Offset = (cocos2d::CCPoint *)cocos2d::CCSpriteFrame::getOffset(a2);
cocos2d::CCPoint::operator=(&a1->m_obUnflippedOffsetPositionFromCenter, v5, v6, (float *)Offset);
if ( a1->m_pobTexture != cocos2d::CCSpriteFrame::getTexture(a2) )
((void (__fastcall *)(cocos2d::CCSprite *))a1->setTexture)(a1);
v7 = a1->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_bRectRotated = a2->m_bRotated;
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCRect *))v7->setTextureRect_0)(a1, &a2->m_obRect);
}
}