//
// EditorWindowPopup::touchRect from 0xcd9c58 to 0xcd9cc0 (104 bytes)
//
// 3 xrefs:
// > EditorWindowPopup::beginTouch @ 0xcd9dbc
// > EditorWindowPopup::ccTouchBegan @ 0xcda08c
// > ??> @ 0x8cb18
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:06:32 +0000
//
cocos2d::CCRect *__usercall EditorWindowPopup::touchRect@(EditorWindowPopup *this@, cocos2d::CCRect *a2@)
{
float v2; // s0
v2 = *((float *)this + 266);
cocos2d::CCRect::CCRect(
a2,
(float)(*((float *)this + 267) - (float)((float)(v2 * *((float *)this + 264)) * 0.5)) - 10.0,
(float)(*((float *)this + 268) - (float)((float)(v2 * *((float *)this + 265)) * 0.5)) - 10.0,
(float)(v2 * *((float *)this + 264)) + 20.0,
(float)(v2 * *((float *)this + 265)) + 20.0);
return a2;
}