//
// cocos2d::CCMenuItem::rect from 0x18005b3e0 to 0x18005b42c (76 bytes)
//
// 3 xrefs:
// > cocos2d::CCMenu::itemForTouch @ 0x18005975e
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2de4
//
// 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
//
struct cocos2d::CCRect *__fastcall cocos2d::CCMenuItem::rect(
struct cocos2d::CCRect *__return_ptr retstr,
cocos2d::CCRect *a2)
{
cocos2d::CCRect::CCRect(
a2,
retstr[4].size.height - (float)(retstr[6].size.height * retstr[6].origin.y),
retstr[5].origin.x - (float)(retstr[7].origin.x * retstr[6].size.width),
retstr[6].size.height,
retstr[7].origin.x);
return a2;
}