{"name": "mpc_get_link_0", "code": "__int64 __fastcall mpc_get_link_0 ( __int64 @@a1@@ ) { return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}
{"name": "mpc_get_link", "code": "__int64 __fastcall mpc_get_link ( __int64 @@a1@@ ) { return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "minipc_export", "code": "__int64 __fastcall minipc_export ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; _QWORD * @@v3@@ ; __int64 @@v4@@ ; @@v4@@ = mpc_get_link_0 ( @@a1@@ ) ; if ( * ( _DWORD * ) ( @@v4@@ + Number ) == Number ) { @@v3@@ = calloc ( Number , Number ) ; if ( @@v3@@ ) { * @@v3@@ = @@a2@@ ; @@v3@@ [ Number ] = * ( _QWORD * ) ( @@v4@@ + Number ) ; * ( _QWORD * ) ( @@v4@@ + Number ) = @@v3@@ ; if ( * ( _QWORD * ) ( @@v4@@ + Number ) ) fprintf ( * ( FILE * * ) ( @@v4@@ + Number ) , String , String , @@v3@@ , ( const char * ) ( @@a2@@ + Number ) , ( const void * ) @@a2@@ , * ( unsigned int * ) ( @@a2@@ + Number ) , * ( unsigned int * ) ( @@a2@@ + Number ) ) ; @@result@@ = Number L ; } else { @@result@@ = Number ; } } else { * __errno_location ( ) = Number ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "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": "v3", "t": {"T": 3, "t": "_QWORD"}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "minipc_unexport", "code": "__int64 __fastcall minipc_unexport ( const void * * @@a1@@ , const void * * @@a2@@ ) { const void * * @@v3@@ [ Number ] ; __int64 @@v4@@ ; const void * * * @@i@@ ; @@v3@@ [ Number ] = @@a1@@ ; @@v3@@ [ Number ] = @@a2@@ ; @@v4@@ = mpc_get_link_0 ( ( __int64 ) @@a1@@ ) ; if ( * ( _DWORD * ) ( @@v4@@ + Number ) != Number ) goto LABEL_2 ; for ( @@i@@ = * ( const void * * * * ) ( @@v4@@ + Number ) ; @@i@@ && * @@i@@ != @@v3@@ [ Number ] ; @@i@@ = ( const void * * * ) @@i@@ [ Number ] ) ; if ( ! @@i@@ ) { if ( * ( _QWORD * ) ( @@v4@@ + Number ) ) fprintf ( * ( FILE * * ) ( @@v4@@ + Number ) , String , String , @@v3@@ [ Number ] ) ; LABEL_2 : * __errno_location ( ) = Number ; return Number ; } @@v3@@ [ Number ] = ( const void * * ) @@v3@@ ; @@i@@ = @@v3@@ ; mpc_free_flist ( @@v4@@ , @@v3@@ ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const void *"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const void *"}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 2, "n": 4, "s": 8, "t": "const void **"}, "location": "s48"}, {"n": "i", "t": {"T": 3, "t": "const void **"}, "location": "s8"}]} {"name": "minipc_server_get_fdset", "code": "__int64 __fastcall minipc_server_get_fdset ( __int64 @@a1@@ , _QWORD * @@a2@@ ) { __int64 @@result@@ ; __int64 v3 ; __int64 v4 ; __int64 v5 ; __int64 v6 ; __int64 v7 ; __int64 v8 ; __int64 v9 ; __int64 v10 ; __int64 @@v11@@ ; @@v11@@ = mpc_get_link_0 ( @@a1@@ ) ; if ( * ( _DWORD * ) ( @@v11@@ + Number ) == Number ) { v3 = * ( _QWORD * ) ( @@v11@@ + Number ) ; * @@a2@@ = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = v3 ; v4 = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = v4 ; v5 = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = v5 ; v6 = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = v6 ; v7 = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = v7 ; v8 = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = v8 ; v9 = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = v9 ; v10 = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = * ( _QWORD * ) ( @@v11@@ + Number ) ; @@a2@@ [ Number ] = v10 ; @@result@@ = Number L ; } else { * __errno_location ( ) = Number ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}]} {"name": "minipc_server_action", "code": "__int64 __fastcall minipc_server_action ( int * @@a1@@ , int @@a2@@ ) { __int64 @@result@@ ; __fd_mask v3 ; __fd_mask v4 ; __fd_mask v5 ; __fd_mask v6 ; __fd_mask v7 ; __fd_mask v8 ; __fd_mask v9 ; __fd_mask @@v10@@ ; __int64 @@v11@@ ; fd_set @@readfds@@ ; struct timeval @@timeout@@ ; __int64 @@v14@@ ; int @@i@@ ; @@v14@@ = mpc_get_link_0 ( ( __int64 ) @@a1@@ ) ; if ( * ( _DWORD * ) ( @@v14@@ + Number ) == Number ) { @@timeout@@ . tv_sec = @@a2@@ / Number ; @@timeout@@ . tv_usec = Number * ( @@a2@@ % Number ) ; v3 = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = v3 ; v4 = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = v4 ; v5 = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = v5 ; v6 = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = v6 ; v7 = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = v7 ; v8 = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = v8 ; v9 = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = v9 ; @@v10@@ = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@readfds@@ . fds_bits [ Number ] = @@v10@@ ; @@i@@ = select ( Number , & @@readfds@@ , Number L , Number L , & @@timeout@@ ) ; if ( @@i@@ ) { if ( @@i@@ < Number && * __errno_location ( ) == Number ) { @@result@@ = Number L ; } else if ( @@i@@ >= Number ) { if ( @@i@@ ) { if ( * ( _QWORD * ) ( @@v14@@ + Number ) ) { mpc_handle_client ( @@v14@@ , Number , * @@a1@@ ) ; @@result@@ = Number L ; } else { for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { if ( * ( int * ) ( @@v14@@ + Number * ( @@i@@ + Number L ) + Number ) >= Number ) { @@v11@@ = * ( int * ) ( @@v14@@ + Number * ( @@i@@ + Number L ) + Number ) ; if ( ( @@readfds@@ . fds_bits [ * ( _DWORD * ) ( @@v14@@ + Number * ( @@i@@ + Number L ) + Number ) / Number ] & ( Number L << ( ( ( ( HIDWORD ( @@v11@@ ) >> Number ) + @@v11@@ ) & Number ) - ( HIDWORD ( @@v11@@ ) >> Number ) ) ) ) != Number ) mpc_handle_client ( @@v14@@ , @@i@@ , * ( _DWORD * ) ( @@v14@@ + Number * ( @@i@@ + Number L ) + Number ) ) ; } } if ( ( @@readfds@@ . fds_bits [ * @@a1@@ / Number ] & ( Number L << ( * @@a1@@ % Number ) ) ) != Number ) mpc_handle_connection ( @@v14@@ , * @@a1@@ ) ; @@result@@ = Number L ; } } else { * __errno_location ( ) = Number ; @@result@@ = Number ; } } else { @@result@@ = Number ; } } else { @@result@@ = Number L ; } } else { * __errno_location ( ) = Number ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r1280"}, {"n": "v10", "t": {"T": 1, "n": "__fd_mask", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "int"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "readfds", "t": {"T": 6, "n": "fd_set", "l": [{"T": 4, "n": "fds_bits", "t": "__fd_mask[16]", "s": 128}]}, "location": "s176"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "timeout", "t": {"T": 6, "n": "struct timeval", "l": [{"T": 4, "n": "tv_sec", "t": "__time_t", "s": 8}, {"T": 4, "n": "tv_usec", "t": "__suseconds_t", "s": 8}]}, "location": "s48"}]}