//
// cocos2d::extension::CCScale9Sprite::initWithFile from 0xd125a0 to 0xd12638 (152 bytes)
//
// 2 xrefs:
// > ??> @ 0xfc6d0
// > ??> @ 0x150dad8
//
// This function is hookable on this platform (idp: arm, 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 13:07:03 +0000
//
__int64 __fastcall cocos2d::extension::CCScale9Sprite::initWithFile(__int64 a1, __int64 a2, const cocos2d::CCRect *a3)
{
__int64 (__fastcall *v5)(__int64, __int64, _BYTE *, _BYTE *); // x23
_BYTE v7[16]; // [xsp+58h] [xbp+58h] BYREF
_BYTE v8[16]; // [xsp+68h] [xbp+68h] BYREF
v5 = *(__int64 (__fastcall **)(__int64, __int64, _BYTE *, _BYTE *))(*(_QWORD *)a1 + 1120LL);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v7, a3);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, (const cocos2d::CCRect *)&unk_155F8B0);
return v5(a1, a2, v7, v8);
}