//
// cocos2d::CCMenuItem::rect from 0x10004ccdc to 0x10004ccf8 (28 bytes)
//
// 1 xrefs:
// > cocos2d::CCMenu::itemForTouch @ 0x1001d8a74
//
// 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::CCMenuItem::rect(cocos2d::CCMenuItem *a1)
{
float *v1; // x8
cocos2d::CCRect result; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4
sub_100022990(
v1,
a1->m_obPosition.x - (float)(a1->m_obContentSize.width * a1->m_obAnchorPoint.x),
a1->m_obPosition.y - (float)(a1->m_obContentSize.height * a1->m_obAnchorPoint.y),
a1->m_obContentSize.width,
a1->m_obContentSize.height);
return result;
}