{"name": "sysfs__read_build_id", "code": "__int64 __fastcall sysfs__read_build_id ( const char * @@a1@@ , void * @@a2@@ , unsigned __int64 @@a3@@ ) { unsigned int @@v4@@ ; int @@fd@@ ; signed int @@v6@@ ; signed int @@v7@@ ; int @@buf@@ [ Number ] ; char @@s1@@ [ Number ] ; unsigned __int64 @@v10@@ ; @@v10@@ = __readfsqword ( Number ) ; @@v4@@ = Number ; if ( @@a3@@ > Number ) { @@fd@@ = open64 ( @@a1@@ , Number ) ; if ( @@fd@@ >= Number ) { while ( read ( @@fd@@ , @@buf@@ , Number ) == Number ) { @@v6@@ = ( @@buf@@ [ Number ] + Number ) & Number ; @@v7@@ = ( @@buf@@ [ Number ] + Number ) & Number ; if ( @@buf@@ [ Number ] == Number && @@buf@@ [ Number ] == Number ) { if ( read ( @@fd@@ , @@s1@@ , @@v6@@ ) != @@v6@@ ) break ; if ( ! strcmp ( @@s1@@ , String ) ) { if ( read ( @@fd@@ , @@a2@@ , Number ) == Number ) { @@v4@@ = Number ; break ; } } else if ( read ( @@fd@@ , @@s1@@ , @@v7@@ ) != @@v7@@ ) { break ; } } else if ( read ( @@fd@@ , @@s1@@ , @@v6@@ + @@v7@@ ) != @@v6@@ + @@v7@@ ) { break ; } } close ( @@fd@@ ) ; } } return @@v4@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "void"}, "location": "r64"}, {"n": "v10", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}, {"n": "s1", "t": {"T": 2, "n": 8200, "s": 1, "t": "char"}, "location": "s8208"}, {"n": "buf", "t": {"T": 2, "n": 3, "s": 4, "t": "int"}, "location": "s8220"}, {"n": "v7", "t": {"T": 1, "n": "signed int", "s": 4}, "location": "s8228"}, {"n": "v6", "t": {"T": 1, "n": "signed int", "s": 4}, "location": "s8232"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8236"}, {"n": "v4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8240"}]}