//
// cocos2d::extension::CCScale9Sprite::create_1 from 0x1003f5630 to 0x1003f56a4 (116 bytes)
//
// 0 xrefs:
//
// 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::extension::CCScale9Sprite *__fastcall cocos2d::extension::CCScale9Sprite::create_1(
cocos2d::CCRect a1,
const char *a2)
{
__int64 v2; // rsi
cocos2d::extension::CCScale9Sprite *v3; // rbx
double v4; // xmm0_8
__m128 v6[3]; // [rsp+0h] [rbp-30h] BYREF
v3 = (cocos2d::extension::CCScale9Sprite *)operator new(0x208u);
cocos2d::extension::CCScale9Sprite::CCScale9Sprite((__int64)v3);
v4 = sub_10028D180(v6, (unsigned __int64 *)a2);
if ( ((unsigned __int8 (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __m128 *, __int64, double, double))v3->initWithFile_1)(
v3,
v6,
v2,
v4,
*(double *)&a1.size) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *))v3->~CCScale9Sprite_0)(v3);
return nullptr;
}
return v3;
}