{"name": "finish_command", "code": "__int64 __fastcall finish_command ( __int64 @@a1@@ ) { return wait_or_whine ( * ( _DWORD * ) ( @@a1@@ + Number ) ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}
{"name": "wait_or_whine", "code": "__int64 __fastcall wait_or_whine ( __pid_t @@a1@@ ) { int * v1 ; int v2 ; const char * @@v3@@ ; int @@stat_loc@@ ; __pid_t @@v6@@ ; int @@v7@@ ; unsigned __int64 @@v8@@ ; @@v8@@ = __readfsqword ( Number ) ; while ( Number ) { @@v6@@ = waitpid ( @@a1@@ , & @@stat_loc@@ , Number ) ; if ( @@v6@@ >= Number ) break ; if ( * _errno_location ( ) != Number ) { v1 = _errno_location ( ) ; v2 = ( unsigned int ) strerror ( * v1 ) ; error ( ( int ) String , v2 , @@v3@@ ) ; return Number L ; } } if ( @@v6@@ != @@a1@@ ) return Number L ; if ( ( char ) ( ( @@stat_loc@@ & Number ) + Number ) >> Number > Number ) return Number L ; if ( ( @@stat_loc@@ & Number ) != Number ) return Number L ; @@v7@@ = BYTE1 ( @@stat_loc@@ ) ; if ( ! BYTE1 ( @@stat_loc@@ ) ) return Number L ; if ( @@v7@@ == Number ) return Number L ; return ( unsigned int ) - @@v7@@ ; }", "source": [{"n": "v3", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__pid_t", "s": 4}, "location": "r56"}, {"n": "v7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v6", "t": {"T": 1, "n": "__pid_t", "s": 4}, "location": "s16"}, {"n": "stat_loc", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v8", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "run_command", "code": "__int64 __fastcall run_command ( int * @@a1@@ ) { __int64 @@result@@ ; unsigned int @@v2@@ ; @@v2@@ = start_command ( @@a1@@ ) ; if ( @@v2@@ ) @@result@@ = @@v2@@ ; else @@result@@ = finish_command ( ( __int64 ) @@a1@@ ) ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "int"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}]}