//
// cocos2d::CCRect::getMidX from 0x7c61c2 to 0x7c61e4 (34 bytes)
//
// 2 xrefs:
// > CCTextInputMenu::init @ 0x3dbf32
// > GJBaseGameLayer::recordHitboxTrailState @ 0x5a0180
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:25 +0000
//
int __fastcall cocos2d::CCRect::getMidX(cocos2d::CCRect *this)
{
float v1; // s15
v1 = *(float *)this + *((float *)this + 2) * 0.5;
return LODWORD(v1);
}