//
// EditorWindowPopup::touchRect from 0x78ce88 to 0x78cee6 (94 bytes)
//
// 2 xrefs:
// > EditorWindowPopup::beginTouch @ 0x78cf76
// > EditorWindowPopup::ccTouchBegan @ 0x78d17c
//
// 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 11:59:37 +0000
//
EditorWindowPopup *__fastcall EditorWindowPopup::touchRect(EditorWindowPopup *this, float *a2)
{
float v2; // s15
v2 = a2[185];
cocos2d::CCRect::CCRect(
this,
(float)(a2[186] - (float)((float)(v2 * a2[183]) * 0.5)) - 10.0,
(float)(a2[187] - (float)((float)(v2 * a2[184]) * 0.5)) - 10.0,
(float)(v2 * a2[183]) + 20.0,
(float)(v2 * a2[184]) + 20.0);
return this;
}