//
// GJTransformControl::finishTouch from 0xbd07cc to 0xbd0824 (88 bytes)
//
// 2 xrefs:
// > EditorUI::deactivateTransformControl @ 0xc02300
// > ??> @ 0xb0068
//
// 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:37 +0000
//
__int64 __fastcall GJTransformControl::finishTouch(GJTransformControl *this)
{
__int64 result; // x0
ControlMenuTouch::cancelled((__int64)this + 560);
result = *((unsigned int *)this + 108);
if ( (_DWORD)result != -1 )
{
result = *((_QWORD *)this + 55);
*((_WORD *)this + 218) = 0;
*((_DWORD *)this + 108) = -1;
if ( result )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 88LL))(result);
}
return result;
}