//
// cocos2d::extension::CCScale9Sprite::create from 0x7ac5d4 to 0x7ac644 (112 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:03 +0000
//
cocos2d::extension::CCScale9Sprite *__fastcall cocos2d::extension::CCScale9Sprite::create(
const cocos2d::CCRect *a1,
int a2)
{
cocos2d::extension::CCScale9Sprite *v4; // r4
int (__fastcall *v5)(cocos2d::extension::CCScale9Sprite *, _BYTE *, int); // r7
_BYTE v7[16]; // [sp+4h] [bp-18h] BYREF
v4 = (cocos2d::extension::CCScale9Sprite *)operator new(0x1A4u);
cocos2d::extension::CCScale9Sprite::CCScale9Sprite(v4);
v5 = *(int (__fastcall **)(cocos2d::extension::CCScale9Sprite *, _BYTE *, int))(*(_DWORD *)v4 + 568);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v7, a1);
if ( v5(v4, v7, a2) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
(*(void (__fastcall **)(cocos2d::extension::CCScale9Sprite *))(*(_DWORD *)v4 + 8))(v4);
return nullptr;
}
}