{"name": "dso__split_kallsyms", "code": "__int64 __fastcall dso__split_kallsyms ( __int64 @@a1@@ , __int64 @@a2@@ , unsigned int ( __fastcall * @@a3@@ ) ( __int64 , __int64 ) ) { char * v3 ; unsigned int v4 ; int @@v7@@ ; int @@v8@@ ; unsigned int v9 ; unsigned int v10 ; __int64 @@v11@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; __int64 @@v14@@ ; __int64 @@v15@@ ; __int64 @@v16@@ ; char * s2 ; char * s2a ; char * @@v19@@ ; char @@s@@ [ Number ] ; unsigned __int64 @@v21@@ ; @@v21@@ = __readfsqword ( Number ) ; @@v13@@ = * ( _QWORD * ) ( map__kmap ( @@a2@@ ) + Number ) ; @@v14@@ = * ( _QWORD * ) ( @@v13@@ + Number ) ; @@v11@@ = @@a2@@ ; @@v7@@ = Number ; @@v8@@ = Number ; @@v15@@ = Number * ( * ( unsigned __int8 * ) ( @@a2@@ + Number ) + Number L ) + @@a1@@ ; @@v12@@ = rb_first ( @@v15@@ ) ; v9 = Number ; while ( @@v12@@ ) { @@v16@@ = @@v12@@ ; @@v12@@ = rb_next ( @@v12@@ ) ; s2 = strchr ( ( const char * ) ( @@v16@@ + Number ) , Number ) ; if ( s2 ) { if ( * ( ( _BYTE * ) & symbol_conf + Number ) != Number ) goto LABEL_27 ; v3 = s2 ; s2a = s2 + Number ; * v3 = Number ; if ( ! strcmp ( * ( const char * * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) , s2a ) ) goto LABEL_13 ; if ( @@v11@@ != @@a2@@ && * ( _DWORD * ) ( @@a1@@ + Number ) == Number && machine__is_default_guest ( @@v14@@ ) ) dso__set_loaded ( * ( _QWORD * ) ( @@v11@@ + Number ) , * ( _BYTE * ) ( @@v11@@ + Number ) ) ; @@v11@@ = map_groups__find_by_name ( @@v13@@ , * ( unsigned __int8 * ) ( @@a2@@ + Number ) , s2a ) ; if ( ! @@v11@@ ) { eprintf ( Number L , String , * ( const char * * ) ( @@v14@@ + Number ) , s2a ) ; @@v11@@ = @@a2@@ ; goto LABEL_27 ; } if ( ! * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) || machine__is_default_guest ( @@v14@@ ) ) { LABEL_13 : * ( _QWORD * ) ( @@v16@@ + Number ) = ( * ( __int64 ( __fastcall * * ) ( __int64 , _QWORD ) ) ( @@v11@@ + Number ) ) ( @@v11@@ , * ( _QWORD * ) ( @@v16@@ + Number ) ) ; * ( _QWORD * ) ( @@v16@@ + Number ) = ( * ( __int64 ( __fastcall * * ) ( __int64 , _QWORD ) ) ( @@v11@@ + Number ) ) ( @@v11@@ , * ( _QWORD * ) ( @@v16@@ + Number ) ) ; goto LABEL_25 ; } LABEL_27 : rb_erase ( @@v16@@ , @@v15@@ ) ; symbol__delete ( @@v16@@ ) ; } else { if ( @@v11@@ != @@a2@@ ) { if ( @@v7@@ ) { v4 = v9 ; v10 = v9 + Number ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) snprintf ( @@s@@ , Number , String , v4 ) ; else snprintf ( @@s@@ , Number , String , v4 ) ; @@v19@@ = dso__new ( @@s@@ ) ; if ( ! @@v19@@ ) return Number ; * ( ( _DWORD * ) @@v19@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v11@@ = map__new2 ( * ( _QWORD * ) ( @@v16@@ + Number ) , @@v19@@ , * ( unsigned __int8 * ) ( @@a2@@ + Number ) ) ; if ( ! @@v11@@ ) { dso__delete ( ( __int64 ) @@v19@@ ) ; return Number ; } * ( _QWORD * ) ( @@v11@@ + Number ) = identity__map_ip ; * ( _QWORD * ) ( @@v11@@ + Number ) = * ( _QWORD * ) ( @@v11@@ + Number ) ; map_groups__insert ( @@v13@@ , @@v11@@ ) ; v9 = v10 + Number ; } else { @@v11@@ = @@a2@@ ; } } LABEL_25 : if ( @@a3@@ && @@a3@@ ( @@v11@@ , @@v16@@ ) ) goto LABEL_27 ; if ( @@v11@@ == @@a2@@ ) { ++ @@v7@@ ; } else { rb_erase ( @@v16@@ , @@v15@@ ) ; symbols__insert ( ( __int64 * ) ( Number * ( * ( unsigned __int8 * ) ( @@v11@@ + Number ) + Number L ) + * ( _QWORD * ) ( @@v11@@ + Number ) ) , ( _QWORD * ) @@v16@@ ) ; ++ @@v8@@ ; } } } if ( @@v11@@ != @@a2@@ && * ( _DWORD * ) ( @@a1@@ + Number ) == Number && machine__is_default_guest ( * ( _QWORD * ) ( @@v13@@ + Number ) ) ) dso__set_loaded ( * ( _QWORD * ) ( @@v11@@ + Number ) , * ( _BYTE * ) ( @@v11@@ + Number ) ) ; return ( unsigned int ) ( @@v7@@ + @@v8@@ ) ; }", "source": [{"n": "a3", "t": {"T": 9, "n": "unsigned int (__fastcall *)(__int64, __int64)"}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "s", "t": {"T": 2, "n": 4104, "s": 1, "t": "char"}, "location": "s4112"}, {"n": "v19", "t": {"T": 3, "t": "char"}, "location": "s4120"}, {"n": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s4136"}, {"n": "v15", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s4152"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s4160"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s4168"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s4176"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s4184"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4192"}, {"n": "v7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4196"}, {"n": "v21", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}