//
// EditorUI::onToggleTraceOut from 0x7c1904 to 0x7c1928 (36 bytes)
//
// 3 xrefs:
// > EditorUI::toggleTraceSelected @ 0x7c19a4
// > SetGroupIDLayer::onToggleTraceOut @ 0xab8dd8
// > ??> @ 0xd9e40
//
// 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 12:54:06 +0000
//
__int64 __fastcall EditorUI::onToggleTraceOut(__int64 a1, __int64 a2)
{
__int64 result; // x0
__int64 v3; // x2
result = *(_QWORD *)(a1 + 1440);
v3 = *(_QWORD *)(result + 14832);
if ( v3 && *(_DWORD *)(v3 + 916) == *(_DWORD *)(a2 + 916) )
a2 = 0;
*(_QWORD *)(result + 14832) = a2;
return result;
}