//
// cocos2d::extension::CCScale9Sprite::init from 0x18000db40 to 0x18000db9d (93 bytes)
//
// 3 xrefs:
// > ??> @ 0x180027598
// > ??> @ 0x18002fdf8
// > ??> @ 0x180049e64
//
// 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::init(cocos2d::extension::CCScale9Sprite *this)
{
__int64 v1; // rdi
__int64 v3; // rbx
__int64 v4; // rax
_BYTE v6[16]; // [rsp+20h] [rbp-28h] BYREF
_BYTE v7[24]; // [rsp+30h] [rbp-18h] BYREF
v1 = *(_QWORD *)this;
v3 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v6, (const struct cocos2d::CCRect *)&unk_180048610);
v4 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v7, (const struct cocos2d::CCRect *)&unk_180048610);
return (*(bool (__fastcall **)(cocos2d::extension::CCScale9Sprite *, _QWORD, __int64, __int64))(v1 + 968))(
this,
0,
v4,
v3);
}