//
// cocos2d::extension::CCScale9Sprite::initWithFile from 0xd126d8 to 0xd12754 (124 bytes)
//
// 2 xrefs:
// > ??> @ 0xaba18
// > ??> @ 0x150dae8
//
// 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(
cocos2d::extension::CCScale9Sprite *this,
const char *a2)
{
__int64 (__fastcall *v4)(cocos2d::extension::CCScale9Sprite *, const char *, _BYTE *); // x21
_BYTE v6[16]; // [xsp+48h] [xbp+48h] BYREF
v4 = *(__int64 (__fastcall **)(cocos2d::extension::CCScale9Sprite *, const char *, _BYTE *))(*(_QWORD *)this + 1128LL);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v6, (const cocos2d::CCRect *)&unk_155F8B0);
return v4(this, a2, v6);
}