//
// GJTransformControl::finishTouch from 0x10015ac60 to 0x10015acd0 (112 bytes)
//
// 1 xrefs:
// > EditorUI::deactivateTransformControl @ 0x10015f8c8
//
// 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 10:59:43 +0000
//
__int64 __fastcall GJTransformControl::finishTouch(__int64 a1)
{
__int64 result; // x0
result = *(_QWORD *)(a1 + 584);
if ( result )
result = (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)result + 920LL))(result, 0, 0);
*(_QWORD *)(a1 + 584) = 0;
if ( *(_DWORD *)(a1 + 432) != -1 )
{
*(_DWORD *)(a1 + 432) = -1;
*(_WORD *)(a1 + 436) = 0;
result = *(_QWORD *)(a1 + 440);
if ( result )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 88LL))(result);
}
return result;
}