//
// cocos2d::extension::CCScale9Sprite::setPreferredSize from 0x1003f5c20 to 0x1003f5c4c (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x100932f98
//
// 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::setPreferredSize(
cocos2d::extension::CCScale9Sprite *a1,
cocos2d::CCSize a2)
{
_QWORD *v2; // rsi
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, double))a1->setContentSize)(a1, *(double *)&a2);
sub_10028CFF0(&a1->m_preferredSize, v2);
}