//
// cocos2d::extension::CCScale9Sprite::getPreferredSize from 0x100215ecc to 0x100215ed8 (12 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007c3250
//
// 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
//
cocos2d::CCSize __fastcall cocos2d::extension::CCScale9Sprite::getPreferredSize(cocos2d::extension::CCScale9Sprite *a1)
{
_QWORD *v1; // x8
double v2; // d0
cocos2d::CCSize result; // 0:s0.4,4:s1.4
v2 = sub_100022AFC(v1, (double *)&a1->m_preferredSize);
result.width = *(float *)&v2;
return result;
}