//
// cocos2d::CCSpriteFrame::createWithTexture from 0x7f32f0 to 0x7f3334 (68 bytes)
//
// 1 xrefs:
// > cocos2d::CCSprite::displayFrame @ 0x7f1080
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:06 +0000
//
void *__fastcall cocos2d::CCSpriteFrame::createWithTexture(
cocos2d::CCSpriteFrame *this,
cocos2d::CCTexture2D *a2,
const cocos2d::CCRect *a3,
const cocos2d::CCPoint *a4,
const cocos2d::CCPoint *a5,
const cocos2d::CCSize *a6)
{
char v9; // r5
void *v10; // r4
v9 = (char)a3;
v10 = (void *)operator new(0x94u);
memset(v10, 0, 0x94u);
cocos2d::CCSpriteFrame::CCSpriteFrame((cocos2d::CCSpriteFrame *)v10);
cocos2d::CCSpriteFrame::initWithTexture((cocos2d::CCSpriteFrame *)v10, this, a2, v9, a4, a5);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
return v10;
}