//
// cocos2d::CCSpriteFrame::create from 0x180092ae0 to 0x180092b54 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c04bc
//
// 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 11:22:08 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCSpriteFrame *__fastcall cocos2d::CCSpriteFrame::create(
const char *a1,
const struct cocos2d::CCRect *a2)
{
cocos2d::CCSpriteFrame *v4; // rax
cocos2d::CCSpriteFrame *v5; // rbx
cocos2d::CCSpriteFrame *v6; // rbx
v4 = (cocos2d::CCSpriteFrame *)sub_1800E4AC0(0xC8u);
v5 = v4;
if ( v4 )
{
memset(v4, 0, 0xC8u);
v6 = cocos2d::CCSpriteFrame::CCSpriteFrame(v5);
}
else
{
v6 = nullptr;
}
cocos2d::CCSpriteFrame::initWithTextureFilename(v6, a1, a2);
cocos2d::CCObject::autorelease(v6);
return v6;
}