//
// cocos2d::extension::CCScale9Sprite::initWithBatchNode from 0x1003f3df0 to 0x1003f3e4e (94 bytes)
//
// 1 xrefs:
// > ??> @ 0x100932ff8
//
// 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)
{
unsigned __int64 *v4; // rdx
unsigned __int64 *v5; // rcx
unsigned __int64 *v6; // rbx
double v7; // xmm0_8
__m128 v9; // [rsp+8h] [rbp-48h] BYREF
__m128 v10[3]; // [rsp+18h] [rbp-38h] BYREF
v6 = v5;
sub_10028D180(&v9, v4);
v7 = sub_10028D180(v10, v6);
return ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, __m128 *, _QWORD, __m128 *, double, double, double, double))a1->initWithBatchNode)(
a1,
a2,
&v9,
0,
v10,
v7,
*(double *)&a3.size,
*(double *)&a4.origin,
*(double *)&a4.size);
}