UINT64 __fastcall ExpAeStopMeasurement(INT64 a1, UINT64 *a2){ UINT64 result; result = __rdtsc(); if( *(_DWORD *)(*(_QWORD *)(a1 + 16) + 340i64) == *(_DWORD *)(a1 + 8) ) { result -= *(_QWORD *)a1; *a2 = result; } return result; }