//
// cocos2d::CCSpriteFrame::createWithTexture from 0x1003579a0 to 0x100357aa3 (259 bytes)
//
// 1 xrefs:
// > cocos2d::CCSprite::displayFrame @ 0x10028b0d5
//
// 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::CCSpriteFrame::createWithTexture(
cocos2d::CCTexture2D *a1,
const cocos2d::CCRect *a2,
bool a3,
const cocos2d::CCPoint *a4,
const cocos2d::CCSize *a5)
{
_OWORD *v7; // rbx
v7 = operator new(0xB8u);
*v7 = 0;
v7[1] = 0;
v7[2] = 0;
v7[3] = 0;
v7[4] = 0;
v7[5] = 0;
v7[6] = 0;
v7[7] = 0;
v7[8] = 0;
v7[9] = 0;
v7[10] = 0;
*((_QWORD *)v7 + 22) = 0;
cocos2d::CCObject::CCObject(v7);
*(_QWORD *)v7 = off_100917210;
sub_10028CC30((_QWORD *)v7 + 7);
sub_10028CF90((_QWORD *)v7 + 8);
sub_10028D130((_OWORD *)((char *)v7 + 72));
sub_10028D130((_OWORD *)((char *)v7 + 92));
sub_10028CC30((_OWORD *)((char *)v7 + 108));
sub_10028CF90((_OWORD *)((char *)v7 + 116));
*(_OWORD *)((char *)v7 + 168) = 0;
*(_OWORD *)((char *)v7 + 152) = 0;
*(_OWORD *)((char *)v7 + 136) = 0;
cocos2d::CCSpriteFrame::initWithTexture((cocos2d::CCSpriteFrame *)v7, a1, a2, a3, a4, a5);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);
return (cocos2d::CCSpriteFrame *)v7;
}