//
// objectIsTraceValid from 0x369fa0 to 0x369fcc (44 bytes)
//
// 2 xrefs:
// > processTraceOutSource @ 0x37786e
// > processTrace @ 0x379c54
//
// 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
//
int __fastcall objectIsTraceValid(int a1)
{
int v1; // r3
v1 = *(_DWORD *)(a1 + 884);
if ( v1 == 1006 )
return *(_DWORD *)(a1 + 1420) == 1;
if ( v1 == 1914 )
return *(unsigned __int8 *)(a1 + 1636) ^ 1;
return 1;
}