//
// GJTransformControl::finishTouch from 0x6ebf08 to 0x6ebf40 (56 bytes)
//
// 1 xrefs:
// > EditorUI::deactivateTransformControl @ 0x70eb54
//
// 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:57:32 +0000
//
int __fastcall GJTransformControl::finishTouch(GJTransformControl *this)
{
int result; // r0
result = ControlMenuTouch::cancelled((int)this + 432);
if ( *((_DWORD *)this + 82) != -1 )
{
result = *((_DWORD *)this + 84);
*((_DWORD *)this + 82) = -1;
*((_WORD *)this + 166) = 0;
if ( result )
return (*(int (__fastcall **)(int))(*(_DWORD *)result + 44))(result);
}
return result;
}