{"name": "usage", "code": "__int64 __fastcall usage ( const char * * @@a1@@ ) { printf ( String String String String String String String , * @@a1@@ ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char *"}, "location": "r56"}]}
{"name": "main", "code": "int __cdecl main ( int @@argc@@ , const char * * @@argv@@ , const char * * @@envp@@ ) { int result ; const char * v4 ; const char * v5 ; Dl_info @@info@@ ; char @@v7@@ [ Number ] ; char @@s@@ [ Number ] ; char * @@v9@@ ; const char * @@v10@@ ; unsigned __int64 @@i@@ ; int @@v12@@ ; int @@v13@@ ; char * @@value@@ ; @@value@@ = Number L ; @@v13@@ = Number ; @@v12@@ = Number ; @@v10@@ = Number L ; if ( @@argc@@ == Number && ! strcmp ( @@argv@@ [ Number ] , String ) ) return usage ( @@argv@@ ) ; for ( @@i@@ = Number L ; @@i@@ <= Number && @@v13@@ < @@argc@@ && * @@argv@@ [ @@v13@@ ] == Number ; ++ @@i@@ ) { if ( @@argv@@ [ @@v13@@ ] [ Number ] == Number ) { @@v12@@ = Number ; ++ @@v13@@ ; } else if ( @@argv@@ [ @@v13@@ ] [ Number ] == Number ) { if ( @@argc@@ <= @@v13@@ + Number ) return usage ( @@argv@@ ) ; @@value@@ = ( char * ) @@argv@@ [ @@v13@@ + Number ] ; @@v13@@ += Number ; } } if ( @@v13@@ >= @@argc@@ ) return usage ( @@argv@@ ) ; @@value@@ = ( char * ) get_config_path ( @@value@@ , @@v7@@ , Number L ) ; if ( ! @@v12@@ ) fprintf ( stderr , String , @@value@@ ) ; setenv ( String , @@value@@ , Number ) ; if ( @@v12@@ ) setenv ( String , String , Number ) ; dladdr ( own_dir , & @@info@@ ) ; set_own_dir ( @@info@@ . dli_fname ) ; for ( @@i@@ = Number L ; * ( & dll_dirs + @@i@@ ) ; ++ @@i@@ ) { snprintf ( @@s@@ , Number , String , ( const char * ) * ( & dll_dirs + @@i@@ ) , dll_name ) ; if ( access ( @@s@@ , Number ) != Number ) { @@v10@@ = ( const char * ) * ( & dll_dirs + @@i@@ ) ; break ; } } if ( @@v10@@ ) { if ( ! @@v12@@ ) fprintf ( stderr , String , @@v10@@ , dll_name ) ; @@v9@@ = getenv ( String ) ; if ( @@v9@@ ) v4 = @@v9@@ ; else v4 = ( const char * ) & unk_7BB ; if ( @@v9@@ ) v5 = String ; else v5 = ( const char * ) & unk_7BB ; snprintf ( @@s@@ , Number , String , @@v10@@ , dll_name , v5 , v4 ) ; putenv ( @@s@@ ) ; execvp ( @@argv@@ [ @@v13@@ ] , ( char * const * ) & @@argv@@ [ @@v13@@ ] ) ; perror ( String ) ; result = Number ; } else { fprintf ( stderr , String , dll_name ) ; result = Number ; } return result ; }", "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": "v13", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v12", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "s", "t": {"T": 2, "n": 264, "s": 1, "t": "char"}, "location": "s304"}, {"n": "v10", "t": {"T": 3, "t": "const char"}, "location": "s32"}, {"n": "v9", "t": {"T": 3, "t": "char"}, "location": "s40"}, {"n": "v7", "t": {"T": 2, "n": 256, "s": 1, "t": "char"}, "location": "s560"}, {"n": "info", "t": {"T": 6, "n": "Dl_info", "l": [{"T": 4, "n": "dli_fname", "t": "const char *", "s": 8}, {"T": 4, "n": "dli_fbase", "t": "void *", "s": 8}, {"T": 4, "n": "dli_sname", "t": "const char *", "s": 8}, {"T": 4, "n": "dli_saddr", "t": "void *", "s": 8}]}, "location": "s592"}, {"n": "value", "t": {"T": 3, "t": "char"}, "location": "s8"}]}