//
// cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName from 0x18000f5e0 to 0x18000f629 (73 bytes)
//
// 3 xrefs:
// > ??> @ 0x180029fb0
// > ??> @ 0x180032408
// > ??> @ 0x18004be70
//
// 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:15:39 +0000
//
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_18004A600);
return (*(bool (__fastcall **)(cocos2d::extension::CCScale9Sprite *, const char *, __int64))(v2 + 1056))(this, a2, v5);
}