//
// cocos2d::extension::CCScale9Sprite::initWithFile from 0x18000eff0 to 0x18000f066 (118 bytes)
//
// 4 xrefs:
// > ??> @ 0x180029f90
// > ??> @ 0x180032408
// > ??> @ 0x18004bdd4
// > ??> @ 0x18004bde0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:15:39 +0000
//
__int64 __fastcall cocos2d::extension::CCScale9Sprite::initWithFile(
__int64 *a1,
__int64 a2,
const struct cocos2d::CCRect *a3)
{
__int64 v3; // rsi
__int64 v7; // rax
__int64 v8; // rbx
__int64 v9; // rax
_BYTE v11[16]; // [rsp+20h] [rbp-28h] BYREF
_BYTE v12[24]; // [rsp+30h] [rbp-18h] BYREF
v3 = *a1;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, (const struct cocos2d::CCRect *)&unk_18004A600);
v8 = v7;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v12, a3);
return (*(__int64 (__fastcall **)(__int64 *, __int64, __int64, __int64))(v3 + 1024))(a1, a2, v9, v8);
}