//
// GJScaleControl::finishTouch from 0x6ebab4 to 0x6ebae6 (50 bytes)
//
// 2 xrefs:
// > GJScaleControl::ccTouchEnded @ 0x6ebb9c
// > EditorUI::deactivateScaleControl @ 0x70e904
//
// 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 GJScaleControl::finishTouch(GJScaleControl *this)
{
int result; // r0
result = ControlMenuTouch::cancelled((int)this + 396);
if ( *((_DWORD *)this + 82) != -1 )
{
result = *((_DWORD *)this + 103);
*((_DWORD *)this + 82) = -1;
if ( result )
return (*(int (__fastcall **)(int))(*(_DWORD *)result + 16))(result);
}
return result;
}