//
// cocos2d::extension::CCScale9Sprite::initWithFile from 0x18000eec0 to 0x18000ef46 (134 bytes)
//
// 3 xrefs:
// > ??> @ 0x180029f98
// > ??> @ 0x180032408
// > ??> @ 0x18004bdc8
//
// 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 char *a2,
const struct cocos2d::CCRect *a3,
const struct cocos2d::CCRect *a4)
{
struct cocos2d::CCSpriteBatchNode *v7; // rax
__int64 v8; // rdi
struct cocos2d::CCSpriteBatchNode *v9; // rsi
__int64 v10; // rax
__int64 v11; // rbx
__int64 v12; // rax
_BYTE v14[16]; // [rsp+20h] [rbp-28h] BYREF
_BYTE v15[24]; // [rsp+30h] [rbp-18h] BYREF
v7 = cocos2d::CCSpriteBatchNode::create(a2, 9u);
v8 = *a1;
v9 = v7;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v14, a4);
v11 = v10;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v15, a3);
return (*(__int64 (__fastcall **)(__int64 *, struct cocos2d::CCSpriteBatchNode *, __int64, __int64))(v8 + 984))(
a1,
v9,
v12,
v11);
}