//
// cocos2d::CCSpriteFrame::createWithTexture from 0x1003430b0 to 0x1003431b3 (259 bytes)
//
// 1 xrefs:
// > cocos2d::CCSprite::displayFrame @ 0x100276635
//
// This function is hookable on this platform (idp: pc, 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 12:28:44 +0000
//
_OWORD *__fastcall cocos2d::CCSpriteFrame::createWithTexture(
__int64 a1,
__int64 a2,
unsigned __int8 a3,
__int64 a4,
__int64 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_100B1F0D0;
sub_1002782A0((_QWORD *)v7 + 7);
sub_100278600((_QWORD *)v7 + 8);
sub_1002787A0((_OWORD *)((char *)v7 + 72));
sub_1002787A0((_OWORD *)((char *)v7 + 92));
sub_1002782A0((_OWORD *)((char *)v7 + 108));
sub_100278600((_OWORD *)((char *)v7 + 116));
*(_OWORD *)((char *)v7 + 168) = 0;
*(_OWORD *)((char *)v7 + 152) = 0;
*(_OWORD *)((char *)v7 + 136) = 0;
cocos2d::CCSpriteFrame::initWithTexture(v7, a1, a2, a3, a4, a5);
cocos2d::CCObject::autorelease(v7);
return v7;
}