//
// objectIsTraceValid from 0x663c14 to 0x663c58 (68 bytes)
//
// 3 xrefs:
// > processTraceOutSource @ 0x68034c
// > processTrace @ 0x681dec
// > ??> @ 0x86760
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall objectIsTraceValid(__int64 a1)
{
int v1; // w1
v1 = *(_DWORD *)(a1 + 1012);
if ( v1 == 1006 )
return *(_DWORD *)(a1 + 1592) == 1;
if ( v1 == 1914 )
return *(unsigned __int8 *)(a1 + 1820) ^ 1u;
return 1;
}