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