//
// cocos2d::extension::CCScale9Sprite::initWithFile_2 from 0x100215b48 to 0x100215ba8 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007c32c8
//
// 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_2(
cocos2d::extension::CCScale9Sprite *a1,
const char *a2,
cocos2d::CCRect a3)
{
__int64 v3; // x2
double v6; // d0
_QWORD v8[2]; // [xsp+0h] [xbp-30h] BYREF
_QWORD v9[2]; // [xsp+10h] [xbp-20h] BYREF
sub_100022B98(v9, v3);
v6 = sub_100022B98(v8, (__int64)flt_10086CB20);
return ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, const char *, _QWORD *, _QWORD *, double))a1->initWithFile)(
a1,
a2,
v9,
v8,
v6);
}