//
// cocos2d::extension::CCScale9Sprite::setPreferredSize from 0xaa0ef0 to 0xaa0f24 (52 bytes)
//
// 2 xrefs:
// > ??> @ 0xaa910
// > ??> @ 0x11f81e8
//
// 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 cocos2d::extension::CCScale9Sprite::setPreferredSize(cocos2d::extension::CCScale9Sprite *a1, cocos2d::CCSize a2)
{
__int64 v2; // x1
__int64 v4; // x20
v4 = v2;
((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, long double, long double))a1->setContentSize)(
a1,
*(long double *)&a2.width,
*(long double *)&a2.height);
cocos2d::CCSize::operator=(&a1->m_preferredSize, v4);
}