{"name": "split_list", "code": "__int64 __fastcall split_list ( __int64 @@a1@@ , __int64 @@a2@@ ) { int @@i@@ ; __int64 @@v4@@ ; __int64 @@v5@@ ; @@v4@@ = Number L ; @@v5@@ = g_strsplit ( @@a1@@ , @@a2@@ , Number ) ; for ( @@i@@ = Number ; * ( _QWORD * ) ( Number L * @@i@@ + @@v5@@ ) ; ++ @@i@@ ) @@v4@@ = g_list_prepend ( @@v4@@ , * ( _QWORD * ) ( Number L * @@i@@ + @@v5@@ ) ) ; g_free ( @@v5@@ ) ; return @@v4@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}
{"name": "config_load", "code": "unsigned __int64 __fastcall config_load ( __int64 @@a1@@ ) { const char * v1 ; __int64 v2 ; unsigned int @@v3@@ ; unsigned int * @@v5@@ ; const char * @@v6@@ ; __int64 @@v7@@ ; unsigned __int64 @@v8@@ ; @@v8@@ = __readfsqword ( Number ) ; @@v5@@ = Number L ; v1 = ( const char * ) g_getenv ( String ) ; if ( ! v1 ) v1 = String ; @@v6@@ = v1 ; @@v7@@ = g_key_file_new ( ) ; if ( ( unsigned int ) g_key_file_load_from_file ( @@v7@@ , @@v6@@ , Number L , & @@v5@@ ) ) { if ( ( unsigned int ) g_key_file_has_key ( @@v7@@ , String , String , Number L ) ) * ( _DWORD * ) ( @@a1@@ + Number ) = g_key_file_get_boolean ( @@v7@@ , String , String , & @@v5@@ ) ; if ( ( unsigned int ) g_key_file_has_key ( @@v7@@ , String , String , Number L ) ) * ( _QWORD * ) ( @@a1@@ + Number ) = g_key_file_get_string ( @@v7@@ , String , String , & @@v5@@ ) ; if ( ( unsigned int ) g_key_file_has_key ( @@v7@@ , String , String , Number L ) ) * ( _QWORD * ) @@a1@@ = g_key_file_get_string ( @@v7@@ , String , String , & @@v5@@ ) ; if ( ( unsigned int ) g_key_file_has_key ( @@v7@@ , String , String , Number L ) ) * ( _QWORD * ) ( @@a1@@ + Number ) = g_key_file_get_string ( @@v7@@ , String , String , & @@v5@@ ) ; if ( ( unsigned int ) g_key_file_has_key ( @@v7@@ , String , String , Number L ) ) * ( _QWORD * ) ( @@a1@@ + Number ) = g_key_file_get_string ( @@v7@@ , String , String , & @@v5@@ ) ; if ( ( unsigned int ) g_key_file_has_key ( @@v7@@ , String , String , Number L ) ) * ( _QWORD * ) ( @@a1@@ + Number ) = g_key_file_get_string ( @@v7@@ , String , String , & @@v5@@ ) ; if ( ( unsigned int ) g_key_file_has_key ( @@v7@@ , String , String , Number L ) ) * ( _QWORD * ) ( @@a1@@ + Number ) = g_key_file_get_string ( @@v7@@ , String , String , & @@v5@@ ) ; if ( ( unsigned int ) g_key_file_has_key ( @@v7@@ , String , String , Number L ) && ( unsigned int ) g_key_file_get_boolean ( @@v7@@ , String , String , & @@v5@@ ) ) { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; } if ( ( unsigned int ) g_key_file_has_key ( @@v7@@ , String , String , Number L ) ) { * ( _QWORD * ) ( @@a1@@ + Number ) = g_key_file_get_string ( @@v7@@ , String , String , & @@v5@@ ) ; v2 = split_list ( * ( _QWORD * ) ( @@a1@@ + Number ) , ( __int64 ) String ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = g_list_concat ( * ( _QWORD * ) ( @@a1@@ + Number ) , v2 ) ; } } g_key_file_free ( @@v7@@ ) ; if ( @@v5@@ ) { @@v3@@ = * @@v5@@ ; if ( __PAIR64__ ( @@v5@@ [ Number ] , @@v3@@ ) != ( ( unsigned int ) g_file_error_quark ( ) | Number ) ) { g_log ( Number L , Number L , String , String , * ( ( const char * * ) @@v5@@ + Number ) ) ; exit ( Number ) ; } } g_clear_error ( & @@v5@@ ) ; return __readfsqword ( Number ) ^ @@v8@@ ; }", "source": [{"n": "v3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v8", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v6", "t": {"T": 3, "t": "const char"}, "location": "s40"}, {"n": "v5", "t": {"T": 3, "t": "unsigned int"}, "location": "s48"}]} {"name": "config_parse", "code": "unsigned __int64 __fastcall config_parse ( __int64 @@a1@@ , int @@a2@@ , char * const * @@a3@@ ) { char * v3 ; __int64 v4 ; int @@longind@@ ; int @@v8@@ ; char * @@shortopts@@ ; struct option @@longopts@@ [ Number ] ; unsigned __int64 @@v11@@ ; @@v11@@ = __readfsqword ( Number ) ; @@shortopts@@ = String ; @@longind@@ = Number ; qmemcpy ( @@longopts@@ , & off_2E60 , sizeof ( @@longopts@@ ) ) ; while ( Number ) { @@v8@@ = getopt_long ( @@a2@@ , @@a3@@ , @@shortopts@@ , @@longopts@@ , & @@longind@@ ) ; if ( @@v8@@ == Number ) return __readfsqword ( Number ) ^ @@v11@@ ; switch ( @@v8@@ ) { case String : g_print ( String , * ( const char * * ) @@a3@@ ) ; exit ( Number ) ; case String : * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; break ; case String : g_free ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; v3 = optarg ; if ( ! optarg ) v3 = String ; * ( _QWORD * ) ( @@a1@@ + Number ) = g_strdup ( v3 ) ; break ; case String : printf ( String , String ) ; exit ( Number ) ; case String : if ( is_help_option ( optarg ) ) { qmp_for_each_command ( ga_print_cmd , Number L ) ; exit ( Number ) ; } v4 = split_list ( ( __int64 ) optarg , ( __int64 ) String ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = g_list_concat ( * ( _QWORD * ) ( @@a1@@ + Number ) , v4 ) ; break ; case String : * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; break ; case String : g_free ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = g_strdup ( optarg ) ; break ; case String : usage ( * ( const char * * ) @@a3@@ ) ; exit ( Number ) ; case String : g_free ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = g_strdup ( optarg ) ; break ; case String : g_free ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = g_strdup ( optarg ) ; break ; case String : g_free ( * ( _QWORD * ) @@a1@@ ) ; * ( _QWORD * ) @@a1@@ = g_strdup ( optarg ) ; break ; case String : g_free ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = g_strdup ( optarg ) ; break ; case String : * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; break ; default : continue ; } } }", "source": [{"n": "a3", "t": {"T": 3, "t": "char *const"}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "longopts", "t": {"T": 2, "n": 13, "s": 32, "t": "struct option"}, "location": "s432"}, {"n": "shortopts", "t": {"T": 3, "t": "char"}, "location": "s440"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s444"}, {"n": "longind", "t": {"T": 1, "n": "int", "s": 4}, "location": "s448"}, {"n": "v11", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}