//
// cocos2d::CCSprite::displayFrame from 0xd86834 to 0xd86980 (332 bytes)
//
// 81 xrefs:
// > ??> @ 0xef9c8
// > ??> @ 0x1413a78
// > ??> @ 0x1414038
// > ??> @ 0x1414de8
// > ??> @ 0x1417bf8
// > ??> @ 0x141b518
// > ??> @ 0x141bb48
// > ??> @ 0x141cfc8
// > ??> @ 0x1421bf8
// > ??> @ 0x14221a8
// > ??> @ 0x1423b68
// > ??> @ 0x1424118
// > ??> @ 0x14246e8
// > ??> @ 0x14290c8
// > ??> @ 0x1433738
// > ??> @ 0x1433f38
// > ??> @ 0x1434528
// > ??> @ 0x1434d08
// > ??> @ 0x1435518
// > ??> @ 0x143a4a8
// > ??> @ 0x1443878
// > ??> @ 0x1444088
// > ??> @ 0x1444898
// > ??> @ 0x14450a8
// > ??> @ 0x14458b8
// > ??> @ 0x14460c8
// > ??> @ 0x14468d8
// > ??> @ 0x14470e8
// > ??> @ 0x14478c8
// > ??> @ 0x14480d8
// > ??> @ 0x14488e8
// > ??> @ 0x14490f8
// > ??> @ 0x1449908
// > ??> @ 0x144a158
// > ??> @ 0x144a968
// > ??> @ 0x144b178
// > ??> @ 0x144b988
// > ??> @ 0x144c198
// > ??> @ 0x144c9b8
// > ??> @ 0x144d1c8
// > ??> @ 0x144d9d8
// > ??> @ 0x144e1e8
// > ??> @ 0x144e9f8
// > ??> @ 0x144f208
// > ??> @ 0x144fa18
// > ??> @ 0x1450228
// > ??> @ 0x1450a38
// > ??> @ 0x1451248
// > ??> @ 0x1451a58
// > ??> @ 0x1452268
// > ??> @ 0x1452a78
// > ??> @ 0x1453288
// > ??> @ 0x1453a98
// > ??> @ 0x14542a8
// > ??> @ 0x1454ab8
// > ??> @ 0x14552c8
// > ??> @ 0x1455ad8
// > ??> @ 0x14562e8
// > ??> @ 0x1456af8
// > ??> @ 0x1457308
// > ??> @ 0x1457b18
// > ??> @ 0x1458328
// > ??> @ 0x1458b38
// > ??> @ 0x1459368
// > ??> @ 0x145b258
// > ??> @ 0x145b7f8
// > ??> @ 0x14778e8
// > ??> @ 0x1479998
// > ??> @ 0x1486df8
// > ??> @ 0x14873a8
// > ??> @ 0x1491cd8
// > ??> @ 0x1497118
// > ??> @ 0x1499668
// > ??> @ 0x14c1f98
// > ??> @ 0x14d9998
// > ??> @ 0x150cdb8
// > ??> @ 0x1517c78
// > ??> @ 0x1518218
// > ??> @ 0x1518d98
// > ??> @ 0x152e7f8
// > ??> @ 0x152fff8
//
// 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
//
__int64 __fastcall cocos2d::CCSprite::displayFrame(cocos2d::CCSprite *this)
{
float v2; // s9
cocos2d::CCSpriteFrame *v3; // x22
cocos2d::CCDirector *v4; // x0
float ContentScaleFactor; // s0
float v6; // s11
float v7; // s9
cocos2d::CCDirector *v8; // x0
cocos2d::CCDirector *v9; // x0
float v10; // s0
float v11; // s10
cocos2d::CCDirector *v12; // x0
cocos2d::CCDirector *v13; // x0
float v14; // s0
float v15; // s8
cocos2d::CCDirector *v16; // x0
cocos2d::CCDirector *v17; // x0
float v18; // s0
float *v19; // x0
unsigned int v20; // w21
float v21; // s9
cocos2d::CCDirector *v22; // x0
float v23; // s0
float v24; // s8
float v25; // s9
cocos2d::CCDirector *v26; // x0
cocos2d::CCDirector *v27; // x0
float v28; // s0
float *v29; // x0
float v30; // s9
cocos2d::CCDirector *v31; // x0
float v32; // s0
float v33; // s8
float v34; // s9
cocos2d::CCDirector *v35; // x0
cocos2d::CCDirector *v36; // x0
float v37; // s0
const cocos2d::CCSize *v38; // x5
float v40; // [xsp+70h] [xbp+70h]
float v41; // [xsp+80h] [xbp+80h]
float v42; // [xsp+98h] [xbp+98h] BYREF
float v43; // [xsp+A0h] [xbp+A0h] BYREF
_BYTE v44[16]; // [xsp+A8h] [xbp+A8h] BYREF
v2 = *((float *)this + 106);
v3 = *((cocos2d::CCSpriteFrame **)this + 52);
v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v4);
v6 = *((float *)this + 107);
v7 = v2 * ContentScaleFactor;
v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8);
v10 = cocos2d::CCDirector::getContentScaleFactor(v9);
v11 = *((float *)this + 108);
v40 = v6 * v10;
v13 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v12);
v14 = cocos2d::CCDirector::getContentScaleFactor(v13);
v15 = *((float *)this + 109);
v41 = v11 * v14;
v17 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v16);
v18 = cocos2d::CCDirector::getContentScaleFactor(v17);
v19 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v44, v7, v40, v41, v15 * v18);
v20 = *((unsigned __int8 *)this + 440);
v21 = *((float *)this + 113);
v22 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v19);
v23 = cocos2d::CCDirector::getContentScaleFactor(v22);
v24 = *((float *)this + 114);
v25 = v21 * v23;
v27 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v26);
v28 = cocos2d::CCDirector::getContentScaleFactor(v27);
v29 = cocos2d::CCPoint::CCPoint(&v42, v25, v24 * v28);
v30 = *((float *)this + 27);
v31 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v29);
v32 = cocos2d::CCDirector::getContentScaleFactor(v31);
v33 = *((float *)this + 28);
v34 = v30 * v32;
v36 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v35);
v37 = cocos2d::CCDirector::getContentScaleFactor(v36);
cocos2d::CCSize::CCSize(&v43, v34, v33 * v37);
return cocos2d::CCSpriteFrame::createWithTexture(
v3,
(cocos2d::CCTexture2D *)v44,
(const cocos2d::CCRect *)v20,
(bool)&v42,
(const cocos2d::CCPoint *)&v43,
v38);
}