//
// cocos2d::extension::CCScale9Sprite::initWithFile_1 from 0x100215c48 to 0x100215cb4 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007c32d0
//
// 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_1(
cocos2d::extension::CCScale9Sprite *a1,
cocos2d::CCRect a2,
const char *a3)
{
__int64 v3; // x2
__int64 v4; // x19
double v7; // d0
_QWORD v9[2]; // [xsp+0h] [xbp-40h] BYREF
_QWORD v10[2]; // [xsp+10h] [xbp-30h] BYREF
v4 = v3;
sub_100022B98(v10, (__int64)flt_10086CB20);
v7 = sub_100022B98(v9, (__int64)a3);
return ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64, _QWORD *, _QWORD *, double))a1->initWithFile)(
a1,
v4,
v10,
v9,
v7);
}