//
// cocos2d::extension::CCScale9Sprite::getCapInsets from 0x100215f70 to 0x100215f7c (12 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007c3260
//
// 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::CCRect __fastcall cocos2d::extension::CCScale9Sprite::getCapInsets(cocos2d::extension::CCScale9Sprite *a1)
{
_QWORD *v1; // x8
double v2; // d0
cocos2d::CCRect result; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4
v2 = sub_100022B98(v1, (__int64)&a1->m_capInsets);
result.origin.x = *(float *)&v2;
return result;
}