//
// cocos2d::extension::CCScale9Sprite::initWithFile from 0x18000f100 to 0x18000f164 (100 bytes)
//
// 3 xrefs:
// > ??> @ 0x180029f88
// > ??> @ 0x180032408
// > ??> @ 0x18004bdf8
//
// 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,
const struct cocos2d::CCRect *a2,
__int64 a3)
{
__int64 v3; // rdi
__int64 v6; // rax
__int64 v7; // rbx
__int64 v8; // rax
_BYTE v10[16]; // [rsp+20h] [rbp-28h] BYREF
_BYTE v11[24]; // [rsp+30h] [rbp-18h] BYREF
v3 = *a1;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v10, a2);
v7 = v6;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, (const struct cocos2d::CCRect *)&unk_18004A600);
return (*(__int64 (__fastcall **)(__int64 *, __int64, __int64, __int64))(v3 + 1024))(a1, a3, v8, v7);
}