//
// cocos2d::extension::CCScale9Sprite::setSpriteFrame from 0x1003f60b0 to 0x1003f6138 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x100933048
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::extension::CCScale9Sprite::setSpriteFrame(
cocos2d::extension::CCScale9Sprite *a1,
cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCTexture2D *Texture; // rax
cocos2d::CCSpriteBatchNode *v3; // r15
_BOOL4 m_bRotated; // r14d
double v5; // xmm0_8
__m128 v6; // [rsp+8h] [rbp-48h] BYREF
__m128 v7[3]; // [rsp+18h] [rbp-38h] BYREF
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
v3 = cocos2d::CCSpriteBatchNode::createWithTexture(Texture, 9u);
sub_10028D180(&v6, (unsigned __int64 *)&a2->m_obRect);
m_bRotated = a2->m_bRotated;
v5 = sub_10028D180(v7, (unsigned __int64 *)flt_1009A1500);
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, cocos2d::CCSpriteBatchNode *, __m128 *, _BOOL4, __m128 *, double))a1->updateWithBatchNode)(
a1,
v3,
&v6,
m_bRotated,
v7,
v5);
*(_OWORD *)&a1->m_insetLeft = 0;
}