//
// cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName from 0x18000fb00 to 0x18000fb49 (73 bytes)
//
// 3 xrefs:
// > ??> @ 0x180027958
// > ??> @ 0x18002fdf8
// > ??> @ 0x180049f90
//
// 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
//
bool __fastcall cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName(
cocos2d::extension::CCScale9Sprite *this,
const char *a2)
{
__int64 v2; // rbx
__int64 v5; // rax
_BYTE v7[24]; // [rsp+20h] [rbp-18h] BYREF
v2 = *(_QWORD *)this;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v7, (const struct cocos2d::CCRect *)&unk_180048610);
return (*(bool (__fastcall **)(cocos2d::extension::CCScale9Sprite *, const char *, __int64))(v2 + 1040))(this, a2, v5);
}