{"name": "vfbfs_dir_alloc", "code": "__int64 vfbfs_dir_alloc ( ) { __int64 @@result@@ ; void * @@v1@@ ; @@v1@@ = malloc ( Number ) ; if ( @@v1@@ ) @@result@@ = vfbfs_dir_init ( ( __int64 ) @@v1@@ ) ; else @@result@@ = Number L ; return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v1", "t": {"T": 3, "t": "void"}, "location": "s8"}]}
{"name": "vfbfs_dir_init", "code": "__int64 __fastcall vfbfs_dir_init ( __int64 @@a1@@ ) { * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _QWORD * ) @@a1@@ = Number L ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; pthread_rwlock_init ( ( pthread_rwlock_t * ) ( @@a1@@ + Number ) , Number L ) ; return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "vfbfs_dir_new", "code": "_QWORD * __fastcall vfbfs_dir_new ( __int64 @@a1@@ , __int64 @@a2@@ ) { _QWORD * @@result@@ ; _QWORD * @@v3@@ ; _QWORD * @@ptr@@ ; @@ptr@@ = ( _QWORD * ) vfbfs_entry_dir_alloc ( @@a1@@ ) ; @@v3@@ = ( _QWORD * ) vfbfs_dir_alloc ( @@a1@@ ) ; if ( @@ptr@@ && @@v3@@ ) { * @@ptr@@ = @@a2@@ ; @@ptr@@ [ Number ] = @@v3@@ ; * @@v3@@ = @@ptr@@ ; if ( @@a1@@ ) { if ( * ( _QWORD * ) @@a1@@ ) { @@v3@@ [ Number ] = * ( _QWORD * ) ( * ( _QWORD * ) @@a1@@ + Number L ) ; @@v3@@ [ Number ] = * ( _QWORD * ) ( * ( _QWORD * ) @@a1@@ + Number L ) ; @@v3@@ [ Number ] = * ( _QWORD * ) ( * ( _QWORD * ) @@a1@@ + Number L ) ; @@v3@@ [ Number ] = * ( _QWORD * ) @@a1@@ ; } } @@result@@ = @@v3@@ ; } else { free ( @@ptr@@ ) ; free ( @@v3@@ ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}, {"n": "v3", "t": {"T": 3, "t": "_QWORD"}, "location": "s16"}, {"n": "ptr", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}