//
// cocos2d::extension::CCScale9Sprite::initWithFile_1 from 0x1003f55d0 to 0x1003f5630 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x100933010
//
// 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; // rdx
__int64 v4; // rbx
double v5; // xmm0_8
__m128 v7; // [rsp+8h] [rbp-48h] BYREF
__m128 v8[3]; // [rsp+18h] [rbp-38h] BYREF
v4 = v3;
sub_10028D180(&v7, (unsigned __int64 *)flt_1009A1500);
v5 = sub_10028D180(v8, (unsigned __int64 *)a3);
return ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64, __m128 *, __m128 *, double, double))a1->initWithFile)(
a1,
v4,
&v7,
v8,
v5,
*(double *)&a2.size);
}