//
// cocos2d::CCSpriteFrame::create from 0xd8a634 to 0xd8a708 (212 bytes)
//
// 1 xrefs:
// > ??> @ 0x798b8
//
// 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:15 +0000
//
_QWORD *__fastcall cocos2d::CCSpriteFrame::create(
cocos2d::CCSpriteFrame *this,
const cocos2d::CCRect *a2,
const cocos2d::CCRect *a3)
{
_QWORD *v4; // x0
_QWORD *v5; // x19
v4 = (_QWORD *)operator new(0xB8u);
v4[22] = 0;
*v4 = 0;
v4[1] = 0;
v4[2] = 0;
v4[3] = 0;
v4[4] = 0;
v4[5] = 0;
v4[6] = 0;
v4[7] = 0;
v4[8] = 0;
v4[9] = 0;
v4[10] = 0;
v4[11] = 0;
v4[12] = 0;
v4[13] = 0;
v4[14] = 0;
v4[15] = 0;
v4[16] = 0;
v4[17] = 0;
v4[18] = 0;
v4[19] = 0;
v4[20] = 0;
v4[21] = 0;
v5 = v4;
cocos2d::CCObject::CCObject((__int64)v4);
*v5 = &off_152ED40;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 7));
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v5 + 8));
cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v5 + 9));
cocos2d::CCRect::CCRect((cocos2d::CCRect *)((char *)v5 + 92));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)((char *)v5 + 108));
cocos2d::CCSize::CCSize((cocos2d::CCSize *)((char *)v5 + 116));
v5[17] = 0;
v5[18] = 0;
v5[19] = 0;
v5[20] = 0;
v5[21] = 0;
v5[22] = 0;
cocos2d::CCSpriteFrame::initWithTextureFilename((cocos2d::CCSpriteFrame *)v5, (const char *)this, a2);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
return v5;
}