{"name": "sub_401295", "code": "__int64 __fastcall sub_401295 ( unsigned int @@a1@@ , __int64 @@a2@@ , unsigned int @@a3@@ ) { int @@v4@@ ; @@v4@@ = sub_401DE6 ( Number L , @@a1@@ , @@a2@@ , @@a3@@ ) ; if ( @@v4@@ <= Number ) sub_401242 ( ) ; return ( unsigned int ) @@v4@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]}
{"name": "sub_401DE6", "code": "ssize_t __fastcall sub_401DE6 ( int @@a1@@ , int @@a2@@ , const void * @@a3@@ , int @@a4@@ ) { struct timeval @@timeout@@ ; fd_set @@writefds@@ ; _DWORD @@v9@@ [ Number ] ; @@timeout@@ . tv_sec = @@a1@@ ; @@timeout@@ . tv_usec = Number L ; memset ( & @@writefds@@ , Number , sizeof ( @@writefds@@ ) ) ; @@v9@@ [ Number ] = Number ; @@v9@@ [ Number ] = ( unsigned int ) @@v9@@ ; @@writefds@@ . fds_bits [ @@a2@@ / Number ] |= Number L << ( @@a2@@ % Number ) ; if ( select ( @@a2@@ + Number , Number L , & @@writefds@@ , Number L , & @@timeout@@ ) == Number ) return Number ; if ( ( @@writefds@@ . fds_bits [ @@a2@@ / Number ] & ( Number L << ( @@a2@@ % Number ) ) ) != Number ) return write ( @@a2@@ , @@a3@@ , @@a4@@ ) ; * __errno_location ( ) = dword_4051CC ; return Number ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const void"}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "writefds", "t": {"T": 6, "n": "fd_set", "l": [{"T": 4, "n": "fds_bits", "t": "__fd_mask[16]", "s": 128}]}, "location": "s144"}, {"n": "v9", "t": {"T": 2, "n": 4, "s": 4, "t": "_DWORD"}, "location": "s16"}, {"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": "s160"}]}