//
// cocos2d::extension::CCScale9Sprite::initWithFile_3 from 0x1003f53d0 to 0x1003f543c (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x100933000
//
// 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)
{
unsigned __int64 *v4; // rdx
unsigned __int64 *v5; // rcx
unsigned __int64 *v6; // rbx
unsigned __int64 *v7; // r14
cocos2d::CCSpriteBatchNode *v8; // r12
double v9; // xmm0_8
__m128 v11; // [rsp+8h] [rbp-48h] BYREF
__m128 v12[3]; // [rsp+18h] [rbp-38h] BYREF
v6 = v5;
v7 = v4;
v8 = cocos2d::CCSpriteBatchNode::create(a2, 9u);
sub_10028D180(&v11, v7);
v9 = sub_10028D180(v12, v6);
return ((bool (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, __m128 *, __m128 *, double, double, double, double))a1->initWithBatchNode_0)(
a1,
v8,
&v11,
v12,
v9,
*(double *)&a3.size,
*(double *)&a4.origin,
*(double *)&a4.size);
}