//
// cocos2d::extension::CCScale9Sprite::setPreferredSize from 0x100215e98 to 0x100215ecc (52 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007c3258
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall cocos2d::extension::CCScale9Sprite::setPreferredSize(
cocos2d::extension::CCScale9Sprite *a1,
cocos2d::CCSize a2)
{
double *v2; // x1
double *v3; // x19
v3 = v2;
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __n128, __n128))a1->setContentSize)(
a1,
*(__n128 *)&a2.width,
*(__n128 *)&a2.height);
sub_100022B14(&a1->m_preferredSize, v3);
}