//
// cocos2d::extension::CCScale9Sprite::init from 0x18000d660 to 0x18000d6bd (93 bytes)
//
// 3 xrefs:
// > ??> @ 0x180029be0
// > ??> @ 0x180032408
// > ??> @ 0x18004bd44
//
// 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:38 +0000
//
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_18004A600);
v4 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v7, (const struct cocos2d::CCRect *)&unk_18004A600);
return (*(bool (__fastcall **)(cocos2d::extension::CCScale9Sprite *, _QWORD, __int64, __int64))(v1 + 984))(
this,
0,
v4,
v3);
}