//
// cocos2d::CCSpriteFrame::createWithTexture from 0x5e8a34 to 0x5e8a78 (68 bytes)
//
// 1 xrefs:
// > cocos2d::CCSprite::displayFrame @ 0x5e67e0
//
// 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 *cocos2d::CCSpriteFrame::createWithTexture(cocos2d::CCTexture2D *a1, const cocos2d::CCRect *a2)
{
bool v2; // r2
const cocos2d::CCPoint *v3; // r3
const cocos2d::CCPoint *v5; // r8
bool v7; // r5
cocos2d::CCSpriteFrame *v8; // r4
cocos2d::CCSize *v10; // [sp+20h] [bp+18h]
v5 = v3;
v7 = v2;
v8 = (cocos2d::CCSpriteFrame *)operator new(0x84u);
memset(v8, 0, sizeof(cocos2d::CCSpriteFrame));
cocos2d::CCSpriteFrame::CCSpriteFrame(v8);
cocos2d::CCSpriteFrame::initWithTexture(v8, a1, a2, v7, v5, v10);
cocos2d::CCObject::autorelease(v8);
return v8;
}