//
// cocos2d::extension::CCScale9Sprite::initWithSpriteFrame from 0x7abd8c to 0x7abdee (98 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::initWithSpriteFrame(
int a1,
unsigned __int8 *a2,
const cocos2d::CCRect *a3)
{
cocos2d::CCSpriteBatchNode *Texture; // r0
unsigned int v7; // r2
int v8; // r0
int (__fastcall *v9)(int, int, _BYTE *, int, _BYTE *); // r8
int v10; // r10
int v11; // r9
_BYTE v13[16]; // [sp+Ch] [bp-28h] BYREF
_BYTE v14[16]; // [sp+1Ch] [bp-18h] BYREF
Texture = (cocos2d::CCSpriteBatchNode *)cocos2d::CCSpriteFrame::getTexture((cocos2d::CCSpriteFrame *)a2);
v8 = cocos2d::CCSpriteBatchNode::createWithTexture(Texture, (cocos2d::CCTexture2D *)byte_9, v7);
v9 = *(int (__fastcall **)(int, int, _BYTE *, int, _BYTE *))(*(_DWORD *)a1 + 552);
v10 = v8;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v13, (const cocos2d::CCRect *)(a2 + 88));
v11 = a2[84];
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v14, a3);
return v9(a1, v10, v13, v11, v14);
}