//
// cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName_1 from 0x1003e2b30 to 0x1003e2b97 (103 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b3cbf0
//
// 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:29:46 +0000
//
__int64 __fastcall cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName_1(
__int64 a1,
const char *a2,
unsigned __int64 *a3)
{
__int64 v4; // rax
__int64 v5; // rax
__int64 v6; // r15
__m128 v8[3]; // [rsp+0h] [rbp-30h] BYREF
cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, a2);
if ( !v5 )
return 0;
v6 = v5;
sub_1002787F0(v8, a3);
return (*(__int64 (__fastcall **)(__int64, __int64, __m128 *))(*(_QWORD *)a1 + 1152LL))(a1, v6, v8);
}