{"name": "locate_option", "code": "__int64 __fastcall locate_option ( int @@a1@@ , __int64 @@a2@@ , const char * * @@a3@@ , const char * @@a4@@ ) { _BYTE * @@v4@@ ; char * @@s1@@ ; int @@i@@ ; const char * * @@v10@@ ; for ( @@i@@ = Number ; @@i@@ < @@a1@@ ; ++ @@i@@ ) { @@v4@@ = * ( _BYTE * * ) ( Number L * @@i@@ + @@a2@@ ) ; @@s1@@ = @@v4@@ + Number ; if ( * @@v4@@ == Number ) { @@v10@@ = find_option ( @@a3@@ , @@s1@@ ) ; if ( ! * @@v10@@ && * @@s1@@ == Number && @@s1@@ [ Number ] == Number ) @@v10@@ = find_option ( @@a3@@ , @@s1@@ + Number ) ; if ( ! * @@v10@@ && ! strcmp ( @@s1@@ , @@a4@@ ) || * @@v10@@ && ! strcmp ( @@a4@@ , * @@v10@@ ) ) return ( unsigned int ) @@i@@ ; if ( ! * @@v10@@ || ( ( _DWORD ) @@v10@@ [ Number ] & Number ) != Number ) ++ @@i@@ ; } } return Number L ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char *"}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "const char"}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 3, "t": "_BYTE"}, "location": "r8"}, {"n": "v10", "t": {"T": 3, "t": "const char *"}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "s1", "t": {"T": 3, "t": "char"}, "location": "s32"}]}
{"name": "find_option", "code": "const char * * __fastcall find_option ( const char * * @@a1@@ , const char * @@a2@@ ) { int @@v2@@ ; int @@v5@@ ; char * @@v6@@ ; @@v6@@ = strchr ( @@a2@@ , Number ) ; if ( @@v6@@ ) @@v2@@ = ( _DWORD ) @@v6@@ - ( _DWORD ) @@a2@@ ; else @@v2@@ = strlen ( @@a2@@ ) ; @@v5@@ = @@v2@@ ; while ( * @@a1@@ && ( strncmp ( @@a2@@ , * @@a1@@ , @@v5@@ ) || strlen ( * @@a1@@ ) != @@v5@@ ) ) @@a1@@ += Number ; return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char *"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "v6", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}]} {"name": "parse_loglevel", "code": "__int64 __fastcall parse_loglevel ( int @@a1@@ , __int64 @@a2@@ , const char * * @@a3@@ ) { int v3 ; __int64 @@result@@ ; char * @@v6@@ ; int @@i@@ ; int v8 ; int v9 ; v8 = locate_option ( @@a1@@ , @@a2@@ , @@a3@@ , String ) ; if ( ! v8 ) v8 = locate_option ( @@a1@@ , @@a2@@ , @@a3@@ , String ) ; if ( v8 && * ( _QWORD * ) ( Number * ( v8 + Number L ) + @@a2@@ ) ) opt_loglevel ( Number L , String , * ( _QWORD * ) ( Number * ( v8 + Number L ) + @@a2@@ ) ) ; v9 = locate_option ( @@a1@@ , @@a2@@ , @@a3@@ , String ) ; @@v6@@ = getenv ( String ) ; if ( @@v6@@ || v9 ) { init_report ( @@v6@@ ) ; if ( report_file ) { fwrite ( String , Number , Number , report_file ) ; for ( @@i@@ = Number ; @@i@@ < @@a1@@ ; ++ @@i@@ ) { dump_argument ( * ( const char * * ) ( Number L * @@i@@ + @@a2@@ ) ) ; if ( @@i@@ >= @@a1@@ - Number ) v3 = Number ; else v3 = Number ; fputc ( v3 , report_file ) ; } fflush ( report_file ) ; } } @@result@@ = locate_option ( @@a1@@ , @@a2@@ , @@a3@@ , String ) ; if ( ( _DWORD ) @@result@@ ) hide_banner = Number ; return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char *"}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "v6", "t": {"T": 3, "t": "char"}, "location": "s24"}]} {"name": "show_banner", "code": "__int64 __fastcall show_banner ( int @@a1@@ , __int64 @@a2@@ , const char * * @@a3@@ ) { __int64 @@result@@ ; int @@v4@@ ; @@v4@@ = locate_option ( @@a1@@ , @@a2@@ , @@a3@@ , String ) ; @@result@@ = ( unsigned int ) hide_banner ; if ( ! hide_banner && ! @@v4@@ ) { print_program_info ( Number , Number ) ; print_all_libs_info ( Number , Number ) ; @@result@@ = print_all_libs_info ( Number , Number ) ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char *"}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}]}