//
// cocos2d::CCSprite::displayFrame from 0x10023968c to 0x100239794 (264 bytes)
//
// 74 xrefs:
// > ??> @ 0x100763748
// > ??> @ 0x100773878
// > ??> @ 0x1007741b0
// > ??> @ 0x100775318
// > ??> @ 0x100777ec8
// > ??> @ 0x10077bc08
// > ??> @ 0x100785eb8
// > ??> @ 0x100790c58
// > ??> @ 0x100799a48
// > ??> @ 0x1007acea0
// > ??> @ 0x1007ad458
// > ??> @ 0x1007b3410
// > ??> @ 0x1007b8ed0
// > ??> @ 0x1007ba020
// > ??> @ 0x1007c4040
// > ??> @ 0x1007c4878
// > ??> @ 0x1007c7780
// > ??> @ 0x1007c8260
// > ??> @ 0x1007c9a80
// > ??> @ 0x1007ca038
// > ??> @ 0x1007cfd10
// > ??> @ 0x1007d04f8
// > ??> @ 0x1007d0d08
// > ??> @ 0x1007e54d0
// > ??> @ 0x1007ea4f8
// > ??> @ 0x1007eaab0
// > ??> @ 0x1007ec6e0
// > ??> @ 0x1007ecc68
// > ??> @ 0x1007efa90
// > ??> @ 0x1007f5578
// > ??> @ 0x1007f5db0
// > ??> @ 0x1007f65a8
// > ??> @ 0x1007f6da0
// > ??> @ 0x1007f7598
// > ??> @ 0x1007f7d90
// > ??> @ 0x1007f8588
// > ??> @ 0x1007f8d80
// > ??> @ 0x1007f9568
// > ??> @ 0x1007f9d78
// > ??> @ 0x1007fa5e0
// > ??> @ 0x1007fadf0
// > ??> @ 0x1007fb600
// > ??> @ 0x1007fbe10
// > ??> @ 0x1007fc620
// > ??> @ 0x1007fce30
// > ??> @ 0x1007fd640
// > ??> @ 0x1007fde50
// > ??> @ 0x1007fe660
// > ??> @ 0x1007fee70
// > ??> @ 0x1007ff698
// > ??> @ 0x1007ffef0
// > ??> @ 0x100800718
// > ??> @ 0x100800f40
// > ??> @ 0x100801768
// > ??> @ 0x100801f90
// > ??> @ 0x1008027a0
// > ??> @ 0x100802fb0
// > ??> @ 0x1008037c0
// > ??> @ 0x100803fd0
// > ??> @ 0x1008047e0
// > ??> @ 0x100804ff0
// > ??> @ 0x100805800
// > ??> @ 0x100806010
// > ??> @ 0x100806820
// > ??> @ 0x100807030
// > ??> @ 0x100807840
// > ??> @ 0x100808050
// > ??> @ 0x100808860
// > ??> @ 0x100809070
// > ??> @ 0x100809880
// > ??> @ 0x10080a090
// > ??> @ 0x10080b018
// > ??> @ 0x100811028
// > ??> @ 0x1008163b0
//
// 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
//
cocos2d::CCSpriteFrame *__fastcall cocos2d::CCSprite::displayFrame(cocos2d::CCSprite *a1)
{
cocos2d::CCTexture2D *m_pobTexture; // x19
float x; // s8
cocos2d::CCDirector *v4; // x0
float v5; // s8
float y; // s9
cocos2d::CCDirector *v7; // x0
float v8; // s9
float width; // s10
cocos2d::CCDirector *v10; // x0
float v11; // s10
float height; // s11
cocos2d::CCDirector *v13; // x0
float v14; // s0
bool m_bRectRotated; // w21
float v16; // s8
cocos2d::CCDirector *v17; // x0
float v18; // s8
float v19; // s9
cocos2d::CCDirector *v20; // x0
__n128 v21; // q1
__n128 v22; // q0
float v23; // s8
cocos2d::CCDirector *v24; // x0
float v25; // s8
float v26; // s9
cocos2d::CCDirector *v27; // x0
float v28; // s0
cocos2d::CCSize v30; // [xsp+0h] [xbp-60h] BYREF
cocos2d::CCPoint v31; // [xsp+8h] [xbp-58h] BYREF
cocos2d::CCRect v32; // [xsp+10h] [xbp-50h] BYREF
m_pobTexture = a1->m_pobTexture;
x = a1->m_obRect.origin.x;
v4 = cocos2d::CCDirector::sharedDirector();
v5 = x * sub_1001765E4((__int64)v4);
y = a1->m_obRect.origin.y;
v7 = cocos2d::CCDirector::sharedDirector();
v8 = y * sub_1001765E4((__int64)v7);
width = a1->m_obRect.size.width;
v10 = cocos2d::CCDirector::sharedDirector();
v11 = width * sub_1001765E4((__int64)v10);
height = a1->m_obRect.size.height;
v13 = cocos2d::CCDirector::sharedDirector();
v14 = sub_1001765E4((__int64)v13);
sub_100022990((float *)&v32.origin, v5, v8, v11, height * v14);
m_bRectRotated = a1->m_bRectRotated;
v16 = a1->m_obUnflippedOffsetPositionFromCenter.x;
v17 = cocos2d::CCDirector::sharedDirector();
v18 = v16 * sub_1001765E4((__int64)v17);
v19 = a1->m_obUnflippedOffsetPositionFromCenter.y;
v20 = cocos2d::CCDirector::sharedDirector();
v21.n128_f32[0] = v19 * sub_1001765E4((__int64)v20);
v22.n128_f32[0] = v18;
sub_100022980(v22, v21, &v31);
v23 = a1->m_obContentSize.width;
v24 = cocos2d::CCDirector::sharedDirector();
v25 = v23 * sub_1001765E4((__int64)v24);
v26 = a1->m_obContentSize.height;
v27 = cocos2d::CCDirector::sharedDirector();
v28 = sub_1001765E4((__int64)v27);
sub_100022988((float *)&v30, v25, v26 * v28);
return cocos2d::CCSpriteFrame::createWithTexture(m_pobTexture, &v32, m_bRectRotated, &v31, &v30);
}