//
// cocos2d::extension::CCScale9Sprite::initWithFile_2 from 0x1003f54e0 to 0x1003f5539 (89 bytes)
//
// 1 xrefs:
// > ??> @ 0x100933008
//
// 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)
{
unsigned __int64 *v3; // rdx
double v4; // xmm0_8
__m128 v6; // [rsp+0h] [rbp-40h] BYREF
__m128 v7[3]; // [rsp+10h] [rbp-30h] BYREF
sub_10028D180(&v6, v3);
v4 = sub_10028D180(v7, (unsigned __int64 *)flt_1009A1500);
return ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, const char *, __m128 *, __m128 *, double, double))a1->initWithFile)(
a1,
a2,
&v6,
v7,
v4,
*(double *)&a3.size);
}