{"name": "kernel_get_module_map", "code": "__int64 __fastcall kernel_get_module_map ( const char * @@a1@@ ) { char * @@s@@ ; __int64 @@i@@ ; @@s@@ = ( char * ) @@a1@@ ; if ( @@a1@@ && strchr ( @@a1@@ , Number ) ) return machine__new_module ( & machine , Number L , @@a1@@ ) ; if ( ! @@a1@@ ) @@s@@ = String ; for ( @@i@@ = rb_first ( & unk_58A8 ) ; @@i@@ ; @@i@@ = rb_next ( @@i@@ ) ) { if ( ! strncmp ( ( const char * ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) , @@s@@ , * ( unsigned __int16 * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) - Number ) ) return @@i@@ ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "s", "t": {"T": 3, "t": "char"}, "location": "s56"}]}
{"name": "show_available_funcs", "code": "__int64 __fastcall show_available_funcs ( const char * @@a1@@ , __int64 @@a2@@ ) { __int64 result ; const char * v3 ; int @@v4@@ ; __int64 @@v5@@ ; setup_pager ( ) ; @@v4@@ = init_vmlinux ( ) ; if ( @@v4@@ < Number ) return ( unsigned int ) @@v4@@ ; @@v5@@ = kernel_get_module_map ( @@a1@@ ) ; if ( @@v5@@ ) { available_func_filter = @@a2@@ ; if ( ( unsigned int ) map__load ( @@v5@@ , filter_available_functions ) ) { eprintf ( Number L , String ) ; result = Number L ; } else { if ( ( unsigned __int8 ) dso__sorted_by_name ( * ( _QWORD * ) ( @@v5@@ + Number ) , * ( unsigned __int8 * ) ( @@v5@@ + Number ) ) != Number ) dso__sort_by_name ( * ( _QWORD * ) ( @@v5@@ + Number ) , * ( unsigned __int8 * ) ( @@v5@@ + Number ) ) ; dso__fprintf_symbols_by_name ( * ( _QWORD * ) ( @@v5@@ + Number ) , * ( unsigned __int8 * ) ( @@v5@@ + Number ) , stdout ) ; result = Number L ; } } else { v3 = @@a1@@ ; if ( ! @@a1@@ ) v3 = String ; eprintf ( Number L , String , v3 ) ; result = Number L ; } return result ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}]}