//
// cocos2d::CCMenuItem::rect from 0x5d55e2 to 0x5d5620 (62 bytes)
//
// 1 xrefs:
// > cocos2d::CCMenu::itemForTouch @ 0x5d4042
//
// 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 *cocos2d::CCMenuItem::rect(cocos2d::CCRect *__return_ptr retstr, cocos2d::CCMenuItem *a2)
{
cocos2d::CCRect::CCRect(
retstr,
a2->m_obPosition.x - (float)(a2->m_obContentSize.width * a2->m_obAnchorPoint.x),
a2->m_obPosition.y - (float)(a2->m_obContentSize.height * a2->m_obAnchorPoint.y),
a2->m_obContentSize.width,
a2->m_obContentSize.height);
return retstr;
}