{"name": "crad_get_status_xml", "code": "__int64 __fastcall crad_get_status_xml ( __int64 @@a1@@ , char * @@a2@@ , int @@a3@@ ) { const char * @@v4@@ ; const char * v5 ; __int64 @@v6@@ ; unsigned int @@v7@@ ; __int64 @@v10@@ [ Number ] ; int @@v11@@ ; int @@v12@@ ; unsigned int @@v13@@ ; int @@v14@@ ; if ( ! @@a1@@ ) return Number L ; if ( ! * ( _DWORD * ) @@a1@@ ) return Number L ; strncpy ( @@a2@@ , String , @@a3@@ ) ; @@v14@@ = QND_ReadReg ( Number L ) ; @@v13@@ = QND_ReadReg ( Number L ) ; @@v12@@ = QND_ReadReg ( Number L ) ; @@v11@@ = get_radio_station ( @@a1@@ ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) { pthread_mutex_lock ( ( pthread_mutex_t * ) ( @@a1@@ + Number ) ) ; qmemcpy ( @@v10@@ , ( const void * ) ( @@a1@@ + Number ) , Number ) ; html_escape ( psnescaped , Number , ( char * ) & @@v10@@ [ Number ] + Number ) ; html_escape ( ptcescaped , Number , ( char * ) @@v10@@ [ Number ] ) ; html_escape ( rt0escaped , Number , ( char * ) & @@v10@@ [ Number ] + Number ) ; html_escape ( rt1escaped , Number , ( char * ) & @@v10@@ [ Number ] ) ; pthread_mutex_unlock ( ( pthread_mutex_t * ) ( @@a1@@ + Number ) ) ; snprintf ( & rds_string , Number , String String , ( const char * ) & @@v10@@ [ Number ] + Number , psnescaped , ptcescaped , rt0escaped , rt1escaped , LODWORD ( @@v10@@ [ Number ] ) , HIDWORD ( @@v10@@ [ Number ] ) , LODWORD ( @@v10@@ [ Number ] ) , HIDWORD ( @@v10@@ [ Number ] ) , LODWORD ( @@v10@@ [ Number ] ) ) ; } else { rds_string = Number ; } @@v4@@ = ( const char * ) get_radio_stations ( @@a1@@ ) ; if ( qnd_Country ) { if ( qnd_Country == Number ) { v5 = String ; } else if ( qnd_Country == Number ) { v5 = String ; } else { v5 = String ; } } else { v5 = String ; } if ( ( @@v14@@ & Number ) != Number ) @@v6@@ = Number L ; else @@v6@@ = Number L ; if ( ( int ) @@v13@@ <= Number ) @@v7@@ = Number ; else @@v7@@ = Number ; snprintf ( @@a2@@ , @@a3@@ , String String String String , @@v7@@ , ( unsigned int ) ( @@v11@@ / Number ) , ( unsigned int ) ( @@v11@@ % Number ) , @@v6@@ , @@v13@@ , Number L , Number * ( unsigned int ) * ( ( unsigned __int8 * ) & steparray + QND_CH_STEP ) , QND_CH_START / Number , QND_CH_START % Number , QND_CH_STOP / Number , QND_CH_STOP % Number , v5 , & rds_string , @@v4@@ ) ; return @@a2@@ [ @@a3@@ - Number ] != Number ; }", "source": [{"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r112"}, {"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "char"}, "location": "r64"}, {"n": "v4", "t": {"T": 3, "t": "const char"}, "location": "r72"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v13", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s40"}, {"n": "v10", "t": {"T": 2, "n": 48, "s": 8, "t": "__int64"}, "location": "s432"}, {"n": "v12", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}, {"n": "v11", "t": {"T": 1, "n": "int", "s": 4}, "location": "s48"}]}
{"name": "html_escape", "code": "char * __fastcall html_escape ( char * @@a1@@ , int @@a2@@ , char * @@a3@@ ) { char * @@result@@ ; char * @@s@@ ; int @@v6@@ ; @@s@@ = @@a1@@ ; @@v6@@ = Number ; memset ( @@a1@@ , Number , @@a2@@ ) ; if ( @@a3@@ ) { while ( @@v6@@ < @@a2@@ && * @@a3@@ ) { switch ( * @@a3@@ ) { case String : strncpy ( @@s@@ , String , @@a2@@ - @@v6@@ ) ; @@v6@@ += Number ; break ; case String : strncpy ( @@s@@ , String , @@a2@@ - @@v6@@ ) ; @@v6@@ += Number ; break ; case String : strncpy ( @@s@@ , String , @@a2@@ - @@v6@@ ) ; @@v6@@ += Number ; break ; case String : strncpy ( @@s@@ , String , @@a2@@ - @@v6@@ ) ; @@v6@@ += Number ; break ; case String : strncpy ( @@s@@ , String , @@a2@@ - @@v6@@ ) ; @@v6@@ += Number ; break ; default : * @@s@@ = * @@a3@@ ; ++ @@v6@@ ; break ; } ++ @@a3@@ ; @@s@@ = & @@a1@@ [ @@v6@@ ] ; } @@result@@ = @@a1@@ ; } else { * @@a1@@ = Number ; @@result@@ = @@a1@@ ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "char"}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "char"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 3, "t": "char"}, "location": "r8"}, {"n": "s", "t": {"T": 3, "t": "char"}, "location": "s24"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} {"name": "get_radio_stations", "code": "void * get_radio_stations ( ) { int @@v1@@ ; int @@i@@ ; char * @@s@@ ; @@s@@ = ( char * ) & radio_stations_xml_9323 ; memset ( & radio_stations_xml_9323 , Number , Number ) ; @@v1@@ = chCount ; for ( @@i@@ = Number ; @@i@@ < @@v1@@ ; ++ @@i@@ ) @@s@@ += snprintf ( @@s@@ , Number - ( @@s@@ - ( char * ) & radio_stations_xml_9323 ) , String , ( double ) * ( ( unsigned __int16 * ) & chList + @@i@@ ) / Number ) ; return & radio_stations_xml_9323 ; }", "source": [{"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v1", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "s", "t": {"T": 3, "t": "char"}, "location": "s8"}]}