//
// cocos2d::extension::CCScale9Sprite::initWithFile from 0x7abd30 to 0x7abd86 (86 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:03 +0000
//
int __fastcall cocos2d::extension::CCScale9Sprite::initWithFile(
int a1,
cocos2d::CCSpriteBatchNode *a2,
const cocos2d::CCRect *a3,
const cocos2d::CCRect *a4)
{
int v7; // r0
int (__fastcall *v8)(int, int, _BYTE *, _BYTE *); // r8
int v9; // r9
_BYTE v11[16]; // [sp+4h] [bp-24h] BYREF
_BYTE v12[16]; // [sp+14h] [bp-14h] BYREF
v7 = cocos2d::CCSpriteBatchNode::create(a2, byte_9, (unsigned int)a3);
v8 = *(int (__fastcall **)(int, int, _BYTE *, _BYTE *))(*(_DWORD *)a1 + 556);
v9 = v7;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, a3);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v12, a4);
return v8(a1, v9, v11, v12);
}