//
// cocos2d::extension::CCScale9Sprite::create from 0x1003e2620 to 0x1003e26ad (141 bytes)
//
// 0 xrefs:
//
// 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 12:29:46 +0000
//
void *__fastcall cocos2d::extension::CCScale9Sprite::create(__int64 a1, unsigned __int64 *a2, unsigned __int64 *a3)
{
void *v4; // rbx
__m128 v6; // [rsp+8h] [rbp-48h] BYREF
__m128 v7[3]; // [rsp+18h] [rbp-38h] BYREF
v4 = operator new(0x208u);
cocos2d::extension::CCScale9Sprite::CCScale9Sprite((__int64)v4);
sub_1002787F0(&v6, a2);
sub_1002787F0(v7, a3);
if ( (*(unsigned __int8 (__fastcall **)(void *, __int64, __m128 *, __m128 *))(*(_QWORD *)v4 + 1120LL))(
v4,
a1,
&v6,
v7) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}