//
// cocos2d::CCSpriteFrame::create from 0x180092b60 to 0x180092c04 (164 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c04c8
//
// 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,
bool a3,
const struct cocos2d::CCPoint *a4,
const struct cocos2d::CCSize *a5)
{
cocos2d::CCSpriteFrame *v9; // rax
cocos2d::CCSpriteFrame *v10; // rbx
cocos2d::CCSpriteFrame *v11; // rbx
v9 = (cocos2d::CCSpriteFrame *)sub_1800E4AC0(0xC8u);
v10 = v9;
if ( v9 )
{
memset(v9, 0, 0xC8u);
v11 = cocos2d::CCSpriteFrame::CCSpriteFrame(v10);
}
else
{
v11 = nullptr;
}
cocos2d::CCSpriteFrame::initWithTextureFilename(v11, a1, a2, a3, a4, a5);
cocos2d::CCObject::autorelease(v11);
return v11;
}