//
// GJScaleControl::finishTouch from 0xbcf540 to 0xbcf594 (84 bytes)
//
// 3 xrefs:
// > GJScaleControl::ccTouchEnded @ 0xbcf644
// > EditorUI::deactivateScaleControl @ 0xc01f68
// > ??> @ 0x9faa8
//
// 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:03:36 +0000
//
__int64 __fastcall GJScaleControl::finishTouch(GJScaleControl *this)
{
__int64 result; // x0
ControlMenuTouch::cancelled((__int64)this + 544);
result = *((unsigned int *)this + 108);
if ( (_DWORD)result != -1 )
{
result = *((_QWORD *)this + 72);
*((_DWORD *)this + 108) = -1;
if ( result )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 32LL))(result);
}
return result;
}