{"name": "tcp_connect", "code": "char * __fastcall tcp_connect ( _QWORD * @@a1@@ , __int16 @@a2@@ , __int64 @@a3@@ ) { char * @@v5@@ ; @@v5@@ = uip_connect ( @@a1@@ , @@a2@@ ) ; if ( ! @@v5@@ ) return Number L ; * ( ( _QWORD * ) @@v5@@ + Number ) = process_current ; * ( ( _QWORD * ) @@v5@@ + Number ) = @@a3@@ ; tcpip_poll_tcp ( @@v5@@ ) ; return @@v5@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "r64"}, {"n": "v5", "t": {"T": 3, "t": "char"}, "location": "s8"}]}
{"name": "uip_connect", "code": "char * __fastcall uip_connect ( _QWORD * @@a1@@ , __int16 @@a2@@ ) { char * v2 ; __int16 v3 ; char * v4 ; char * @@v5@@ ; __int64 @@v7@@ ; LABEL_1 : if ( ( unsigned __int16 ) ++ lastport > Number ) lastport = Number ; for ( c = Number ; ( unsigned __int8 ) c <= Number ; ++ c ) { v2 = ( char * ) & uip_conns + Number * ( unsigned __int8 ) c ; if ( v2 [ Number ] ) { v3 = * ( ( _WORD * ) v2 + Number ) ; if ( v3 == ( unsigned __int16 ) uip_htons ( ( unsigned __int16 ) lastport ) ) goto LABEL_1 ; } } v4 = Number L ; for ( c = Number ; ( unsigned __int8 ) c <= Number ; ++ c ) { @@v5@@ = ( char * ) & uip_conns + Number * ( unsigned __int8 ) c ; if ( ! @@v5@@ [ Number ] ) { v4 = ( char * ) & uip_conns + Number * ( unsigned __int8 ) c ; break ; } if ( @@v5@@ [ Number ] == Number && ( ! v4 || ( unsigned __int8 ) @@v5@@ [ Number ] > ( unsigned __int8 ) v4 [ Number ] ) ) v4 = ( char * ) & uip_conns + Number * ( unsigned __int8 ) c ; } if ( ! v4 ) return Number L ; v4 [ Number ] = Number ; v4 [ Number ] = iss ; v4 [ Number ] = byte_41F477 ; v4 [ Number ] = byte_41F478 ; v4 [ Number ] = byte_41F479 ; v4 [ Number ] = Number ; v4 [ Number ] = Number ; v4 [ Number ] = Number ; v4 [ Number ] = Number ; * ( ( _WORD * ) v4 + Number ) = Number ; * ( ( _WORD * ) v4 + Number ) = * ( ( _WORD * ) v4 + Number ) ; * ( ( _WORD * ) v4 + Number ) = Number ; v4 [ Number ] = Number ; v4 [ Number ] = Number ; v4 [ Number ] = Number ; v4 [ Number ] = Number ; v4 [ Number ] = Number ; * ( ( _WORD * ) v4 + Number ) = uip_htons ( ( unsigned __int16 ) lastport ) ; * ( ( _WORD * ) v4 + Number ) = @@a2@@ ; @@v7@@ = @@a1@@ [ Number ] ; * ( _QWORD * ) v4 = * @@a1@@ ; * ( ( _QWORD * ) v4 + Number ) = @@v7@@ ; return v4 ; }", "source": [{"n": "v5", "t": {"T": 3, "t": "char"}, "location": "r104"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "r64"}]} {"name": "tcpip_poll_tcp", "code": "__int64 __fastcall tcpip_poll_tcp ( __int64 @@a1@@ ) { return process_post ( & tcpip_process , Number L , @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}