//
// EditorWindowPopup::isInDragHandle from 0x78c1dc to 0x78c258 (124 bytes)
//
// 1 xrefs:
// > EditorWindowPopup::beginTouch @ 0x78d06e
//
// 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
//
int __fastcall EditorWindowPopup::isInDragHandle(float *a1, const cocos2d::CCPoint *a2)
{
_BYTE v4[16]; // [sp+Ch] [bp-14h] BYREF
cocos2d::CCRect::CCRect(
(cocos2d::CCRect *)v4,
(float)(a1[186] - (float)((float)(a1[185] * a1[183]) * 0.5)) - 10.0,
(float)(a1[187] + (float)((float)(a1[185] * a1[184]) * 0.5)) - 10.0,
(float)(a1[185] * a1[183]) + 20.0,
20.0);
return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v4, a2);
}