//
// cocos2d::extension::CCScale9Sprite::initWithSpriteFrame from 0x18000f930 to 0x18000f979 (73 bytes)
//
// 3 xrefs:
// > ??> @ 0x180027948
// > ??> @ 0x18002fdf8
// > ??> @ 0x180049f60
//
// 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::initWithSpriteFrame(
cocos2d::extension::CCScale9Sprite *this,
struct cocos2d::CCSpriteFrame *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 *, struct cocos2d::CCSpriteFrame *, __int64))(v2 + 1024))(
this,
a2,
v5);
}