{"name": "Sys_ParseArgs", "code": "__int64 __fastcall Sys_ParseArgs ( int @@a1@@ , __int64 @@a2@@ ) { char * @@v2@@ ; if ( @@a1@@ != Number || strcmp ( * ( const char * * ) ( @@a2@@ + Number ) , String ) && strcmp ( * ( const char * * ) ( @@a2@@ + Number ) , String ) ) return Number L ; @@v2@@ = Sys_BinName ( * ( _QWORD * ) @@a2@@ ) ; Sys_PrintBinVersion ( @@v2@@ ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v2", "t": {"T": 3, "t": "char"}, "location": "r8"}]}
{"name": "Sys_Print", "code": "__int64 __fastcall Sys_Print ( char * @@a1@@ ) { struct _IO_FILE * @@v1@@ ; __int64 @@v2@@ ; __int64 @@result@@ ; char @@s@@ [ Number ] ; if ( ttycon_on ) tty_Hide ( ) ; if ( ttycon_on && ttycon_color_on ) { Sys_ANSIColorify ( @@a1@@ , @@s@@ , Number ) ; @@v1@@ = stderr ; @@a1@@ = @@s@@ ; fputs ( @@s@@ , stderr ) ; } else { @@v1@@ = stderr ; fputs ( @@a1@@ , stderr ) ; } @@result@@ = ( unsigned int ) ttycon_on ; if ( ttycon_on ) @@result@@ = tty_Show ( @@a1@@ , @@v1@@ , @@v2@@ ) ; return @@result@@ ; }", "source": [{"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "char"}, "location": "r56"}, {"n": "v1", "t": {"T": 3, "t": "struct _IO_FILE"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "s", "t": {"T": 2, "n": 8192, "s": 1, "t": "char"}, "location": "s8192"}]} {"name": "Sys_PrintBinVersion", "code": "int __fastcall Sys_PrintBinVersion ( const char * @@a1@@ ) { fprintf ( stdout , String , String ) ; fprintf ( stdout , String , String , String ) ; fprintf ( stdout , String , @@a1@@ ) ; return fprintf ( stdout , String , String ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}]} {"name": "Sys_BinName", "code": "char * __fastcall Sys_BinName ( __int64 @@a1@@ ) { int @@v2@@ ; @@v2@@ = readlink ( String , dst_8325 , Number ) ; if ( @@v2@@ < Number || @@v2@@ > Number ) Q_strncpyz ( dst_8325 , @@a1@@ , Number L ) ; else dst_8325 [ @@v2@@ ] = Number ; return dst_8325 ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} {"name": "main", "code": "int __cdecl main ( int @@argc@@ , const char * * @@argv@@ , const char * * @@envp@@ ) { const char * v4 ; unsigned int v5 ; char * @@dest@@ ; int i ; int j ; int @@v9@@ ; if ( ! ( unsigned int ) Sys_ParseArgs ( @@argc@@ , ( __int64 ) @@argv@@ ) ) { @@v9@@ = Number ; for ( i = Number ; i < @@argc@@ ; ++ i ) @@v9@@ += strlen ( @@argv@@ [ i ] ) + Number ; @@dest@@ = ( char * ) malloc ( @@v9@@ ) ; * @@dest@@ = Number ; for ( j = Number ; j < @@argc@@ ; ++ j ) { if ( j > Number ) * ( _WORD * ) & @@dest@@ [ strlen ( @@dest@@ ) ] = Number ; strcat ( @@dest@@ , @@argv@@ [ j ] ) ; } memset ( eventQue , Number , sizeof ( eventQue ) ) ; memset ( sys_packetReceived , Number , sizeof ( sys_packetReceived ) ) ; Sys_Milliseconds ( ) ; Com_Init ( @@dest@@ ) ; NET_Init ( ) ; v4 = ( const char * ) Sys_Pwd ( ) ; Com_Printf ( String , v4 ) ; Sys_ConsoleInputInit ( ) ; if ( ttycon_on ) { v5 = fcntl ( Number , Number , Number L ) ; BYTE1 ( v5 ) |= Number ; fcntl ( Number , Number , v5 ) ; } InitSig ( ) ; while ( Number ) { Sys_ConfigureFPU ( ) ; Com_Frame ( ) ; } } return Number ; }", "source": [{"n": "envp", "t": {"T": 3, "t": "const char *"}, "location": "r16"}, {"n": "argc", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "argv", "t": {"T": 3, "t": "const char *"}, "location": "r64"}, {"n": "dest", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]}