//
// cocos2d::extension::CCScale9Sprite::initWithFile_3 from 0x100215ad0 to 0x100215b48 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007c32c0
//
// 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::initWithFile_3(
cocos2d::extension::CCScale9Sprite *a1,
const char *a2,
cocos2d::CCRect a3,
cocos2d::CCRect a4)
{
__int64 v4; // x2
__int64 v5; // x3
__int64 v6; // x19
__int64 v7; // x20
cocos2d::CCSpriteBatchNode *v9; // x22
double v10; // d0
_QWORD v12[2]; // [xsp+0h] [xbp-40h] BYREF
_QWORD v13[2]; // [xsp+10h] [xbp-30h] BYREF
v6 = v5;
v7 = v4;
v9 = cocos2d::CCSpriteBatchNode::create(a2, 9u);
sub_100022B98(v13, v7);
v10 = sub_100022B98(v12, v6);
return ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, _QWORD *, _QWORD *, double))a1->initWithBatchNode_0)(
a1,
v9,
v13,
v12,
v10);
}