//
// cocos2d::CCSprite::isFrameDisplayed from 0xb159f4 to 0xb15ab8 (196 bytes)
//
// 79 xrefs:
// > ??> @ 0x77298
// > ??> @ 0x1136370
// > ??> @ 0x1136920
// > ??> @ 0x11376a0
// > ??> @ 0x1139d80
// > ??> @ 0x113d000
// > ??> @ 0x113d620
// > ??> @ 0x113ea50
// > ??> @ 0x1142f80
// > ??> @ 0x1143520
// > ??> @ 0x1144e70
// > ??> @ 0x1145410
// > ??> @ 0x1149850
// > ??> @ 0x1152b60
// > ??> @ 0x1153350
// > ??> @ 0x1153930
// > ??> @ 0x1154100
// > ??> @ 0x1154900
// > ??> @ 0x1159ba0
// > ??> @ 0x11622b0
// > ??> @ 0x1162ab0
// > ??> @ 0x11632b0
// > ??> @ 0x1163ab0
// > ??> @ 0x11642b0
// > ??> @ 0x1164ab0
// > ??> @ 0x11652b0
// > ??> @ 0x1165ab0
// > ??> @ 0x1166280
// > ??> @ 0x1166a80
// > ??> @ 0x1167280
// > ??> @ 0x1167a80
// > ??> @ 0x1168280
// > ??> @ 0x1168ac0
// > ??> @ 0x11692c0
// > ??> @ 0x1169ac0
// > ??> @ 0x116a2c0
// > ??> @ 0x116aac0
// > ??> @ 0x116b2d0
// > ??> @ 0x116bad0
// > ??> @ 0x116c2d0
// > ??> @ 0x116cad0
// > ??> @ 0x116d2d0
// > ??> @ 0x116dad0
// > ??> @ 0x116e2d0
// > ??> @ 0x116ead0
// > ??> @ 0x116f2d0
// > ??> @ 0x116fad0
// > ??> @ 0x11702d0
// > ??> @ 0x1170ad0
// > ??> @ 0x11712d0
// > ??> @ 0x1171ad0
// > ??> @ 0x11722d0
// > ??> @ 0x1172ad0
// > ??> @ 0x11732d0
// > ??> @ 0x1173ad0
// > ??> @ 0x11742d0
// > ??> @ 0x1174ad0
// > ??> @ 0x11752d0
// > ??> @ 0x1175ad0
// > ??> @ 0x11762d0
// > ??> @ 0x1176ad0
// > ??> @ 0x11772f0
// > ??> @ 0x1179140
// > ??> @ 0x11796d0
// > ??> @ 0x1192760
// > ??> @ 0x1194450
// > ??> @ 0x11a1020
// > ??> @ 0x11a15c0
// > ??> @ 0x11aab40
// > ??> @ 0x11b0500
// > ??> @ 0x11b2800
// > ??> @ 0x11d9f60
// > ??> @ 0x11ed810
// > ??> @ 0x11f7560
// > ??> @ 0x1202300
// > ??> @ 0x1202890
// > ??> @ 0x12033f0
// > ??> @ 0x12189a0
// > ??> @ 0x1219fd0
//
// 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
//
bool cocos2d::CCSprite::isFrameDisplayed(cocos2d::CCSprite *a1, cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCTexture2D *Texture; // x0
GLuint v6; // w20
cocos2d::CCPoint *Offset; // x0
cocos2d::CCRect v8; // [xsp+38h] [xbp+38h] BYREF
cocos2d::CCRect::CCRect(&v8, &a2->m_obRect);
if ( !cocos2d::CCRect::equals(&v8, &a1->m_obRect) )
return 0;
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
v6 = Texture->getName(Texture);
if ( v6 != a1->m_pobTexture->getName(a1->m_pobTexture) )
return 0;
Offset = (cocos2d::CCPoint *)cocos2d::CCSpriteFrame::getOffset(a2);
return cocos2d::CCPoint::equals(Offset, &a1->m_obUnflippedOffsetPositionFromCenter);
}