//
// cocos2d::CCSprite::isFrameDisplayed from 0xd86ed0 to 0xd86f94 (196 bytes)
//
// 81 xrefs:
// > ??> @ 0x9f8e0
// > ??> @ 0x1413a70
// > ??> @ 0x1414030
// > ??> @ 0x1414de0
// > ??> @ 0x1417bf0
// > ??> @ 0x141b510
// > ??> @ 0x141bb40
// > ??> @ 0x141cfc0
// > ??> @ 0x1421bf0
// > ??> @ 0x14221a0
// > ??> @ 0x1423b60
// > ??> @ 0x1424110
// > ??> @ 0x14246e0
// > ??> @ 0x14290c0
// > ??> @ 0x1433730
// > ??> @ 0x1433f30
// > ??> @ 0x1434520
// > ??> @ 0x1434d00
// > ??> @ 0x1435510
// > ??> @ 0x143a4a0
// > ??> @ 0x1443870
// > ??> @ 0x1444080
// > ??> @ 0x1444890
// > ??> @ 0x14450a0
// > ??> @ 0x14458b0
// > ??> @ 0x14460c0
// > ??> @ 0x14468d0
// > ??> @ 0x14470e0
// > ??> @ 0x14478c0
// > ??> @ 0x14480d0
// > ??> @ 0x14488e0
// > ??> @ 0x14490f0
// > ??> @ 0x1449900
// > ??> @ 0x144a150
// > ??> @ 0x144a960
// > ??> @ 0x144b170
// > ??> @ 0x144b980
// > ??> @ 0x144c190
// > ??> @ 0x144c9b0
// > ??> @ 0x144d1c0
// > ??> @ 0x144d9d0
// > ??> @ 0x144e1e0
// > ??> @ 0x144e9f0
// > ??> @ 0x144f200
// > ??> @ 0x144fa10
// > ??> @ 0x1450220
// > ??> @ 0x1450a30
// > ??> @ 0x1451240
// > ??> @ 0x1451a50
// > ??> @ 0x1452260
// > ??> @ 0x1452a70
// > ??> @ 0x1453280
// > ??> @ 0x1453a90
// > ??> @ 0x14542a0
// > ??> @ 0x1454ab0
// > ??> @ 0x14552c0
// > ??> @ 0x1455ad0
// > ??> @ 0x14562e0
// > ??> @ 0x1456af0
// > ??> @ 0x1457300
// > ??> @ 0x1457b10
// > ??> @ 0x1458320
// > ??> @ 0x1458b30
// > ??> @ 0x1459360
// > ??> @ 0x145b250
// > ??> @ 0x145b7f0
// > ??> @ 0x14778e0
// > ??> @ 0x1479990
// > ??> @ 0x1486df0
// > ??> @ 0x14873a0
// > ??> @ 0x1491cd0
// > ??> @ 0x1497110
// > ??> @ 0x1499660
// > ??> @ 0x14c1f90
// > ??> @ 0x14d9990
// > ??> @ 0x150cdb0
// > ??> @ 0x1517c70
// > ??> @ 0x1518210
// > ??> @ 0x1518d90
// > ??> @ 0x152e7f0
// > ??> @ 0x152fff0
//
// 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
//
bool __fastcall cocos2d::CCSprite::isFrameDisplayed(cocos2d::CCSprite *this, cocos2d::CCSpriteFrame *a2)
{
__int64 Texture; // x0
int v6; // w20
cocos2d::CCPoint *Offset; // x0
_BYTE v8[16]; // [xsp+38h] [xbp+38h] BYREF
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, (cocos2d::CCSpriteFrame *)((char *)a2 + 92));
if ( !cocos2d::CCRect::equals((cocos2d::CCRect *)v8, (cocos2d::CCSprite *)((char *)this + 424)) )
return 0;
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)Texture + 104LL))(Texture);
if ( v6 != (*(unsigned int (__fastcall **)(_QWORD))(**((_QWORD **)this + 52) + 104LL))(*((_QWORD *)this + 52)) )
return 0;
Offset = (cocos2d::CCPoint *)cocos2d::CCSpriteFrame::getOffset(a2);
return cocos2d::CCPoint::equals(Offset, (cocos2d::CCSprite *)((char *)this + 452));
}