{"name": "process_thread_sensors_process", "code": "__int64 __fastcall process_thread_sensors_process ( _WORD * @@a1@@ , char @@a2@@ ) { int v2 ; __int64 result ; char @@v4@@ ; @@v4@@ = Number ; v2 = ( unsigned __int16 ) * @@a1@@ ; if ( v2 == Number ) goto LABEL_17 ; if ( ( unsigned __int16 ) * @@a1@@ > Number ) goto LABEL_25 ; if ( ! * @@a1@@ ) { sensors_event = process_alloc_event ( ) ; for ( i_2499 = Number ; ( & sensors ) [ i_2499 ] ; ++ i_2499 ) { sensors_flags [ i_2499 ] = Number ; ( ( void ( __fastcall * ) ( __int64 , _QWORD ) ) ( & sensors ) [ i_2499 ] [ Number ] ) ( Number L , Number L ) ; } num_sensors = i_2499 ; goto LABEL_10 ; } if ( v2 == Number ) { while ( @@v4@@ ) { do { events_2500 = Number ; for ( i_2499 = Number ; ( unsigned __int8 ) num_sensors > i_2499 ; ++ i_2499 ) { if ( sensors_flags [ i_2499 ] < Number ) { if ( ! ( unsigned int ) process_post ( Number L , ( unsigned __int8 ) sensors_event , ( & sensors ) [ i_2499 ] ) ) { @@v4@@ = Number ; * @@a1@@ = Number ; LABEL_17 : if ( ! @@v4@@ || @@a2@@ != sensors_event ) return Number L ; } sensors_flags [ i_2499 ] &= Number ; ++ events_2500 ; } } } while ( events_2500 ) ; LABEL_10 : @@v4@@ = Number ; * @@a1@@ = Number ; } result = Number L ; } else { LABEL_25 : * @@a1@@ = Number ; result = Number L ; } return result ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_WORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "char", "s": 1}, "location": "s1"}]}
{"name": "process_post", "code": "__int64 __fastcall process_post ( __int64 @@a1@@ , char @@a2@@ , __int64 @@a3@@ ) { if ( nevents == Number ) return Number L ; snum_2541 = ( fevent + nevents ) & Number ; * ( ( _BYTE * ) & events + Number * ( ( fevent + nevents ) & Number ) ) = @@a2@@ ; * ( ( _QWORD * ) & unk_420CC8 + Number * ( unsigned __int8 ) snum_2541 ) = @@a3@@ ; qword_420CD0 [ Number * ( unsigned __int8 ) snum_2541 ] = @@a1@@ ; ++ nevents ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}]}