//
// cocos2d::extension::CCScale9Sprite::initWithBatchNode from 0x18000d6c0 to 0x18000d737 (119 bytes)
//
// 3 xrefs:
// > ??> @ 0x180029f70
// > ??> @ 0x180032408
// > ??> @ 0x18004bd50
//
// 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
//
__int64 __fastcall cocos2d::extension::CCScale9Sprite::initWithBatchNode(
__int64 *a1,
__int64 a2,
const struct cocos2d::CCRect *a3,
const struct cocos2d::CCRect *a4)
{
__int64 v4; // rsi
__int64 v8; // rbx
__int64 v9; // rax
_BYTE v11[16]; // [rsp+30h] [rbp-28h] BYREF
_BYTE v12[24]; // [rsp+40h] [rbp-18h] BYREF
v4 = *a1;
v8 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, a4);
v9 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v12, a3);
return (*(__int64 (__fastcall **)(__int64 *, __int64, __int64, _QWORD, __int64))(v4 + 992))(a1, a2, v9, 0, v8);
}