//
// cocos2d::extension::CCScale9Sprite::initWithBatchNode from 0x10021476c to 0x1002147d8 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007c32b8
//
// 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::initWithBatchNode(
cocos2d::extension::CCScale9Sprite *a1,
cocos2d::CCSpriteBatchNode *a2,
cocos2d::CCRect a3,
cocos2d::CCRect a4)
{
__int64 v4; // x2
__int64 v5; // x3
__int64 v6; // x19
double v9; // d0
_QWORD v11[2]; // [xsp+0h] [xbp-40h] BYREF
_QWORD v12[2]; // [xsp+10h] [xbp-30h] BYREF
v6 = v5;
sub_100022B98(v12, v4);
v9 = sub_100022B98(v11, v6);
return ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, _QWORD *, _QWORD, _QWORD *, double))a1->initWithBatchNode)(
a1,
a2,
v12,
0,
v11,
v9);
}