//
// cocos2d::extension::CCScale9Sprite::init from 0x10021470c to 0x10021476c (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007c2ec0
//
// 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 *a1)
{
double v2; // d0
_QWORD v4[2]; // [xsp+0h] [xbp-30h] BYREF
_QWORD v5[2]; // [xsp+10h] [xbp-20h] BYREF
sub_100022B98(v5, (__int64)&unk_10086CB20);
v2 = sub_100022B98(v4, (__int64)&unk_10086CB20);
return ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, _QWORD, _QWORD *, _QWORD *, double))a1->initWithBatchNode_0)(
a1,
0,
v5,
v4,
v2);
}