{"name": "ga_set_frozen", "code": "__int64 __fastcall ga_set_frozen ( __int64 @@a1@@ ) { __int64 @@result@@ ; @@result@@ = ga_is_frozen ( @@a1@@ ) ; if ( ! ( _BYTE ) @@result@@ ) { qmp_for_each_command ( ga_disable_non_whitelisted , Number L ) ; g_log ( Number L , Number L , String ) ; ga_disable_logging ( @@a1@@ ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = Number ; @@result@@ = ( unsigned int ) ga_create_file ( * ( const char * * ) ( @@a1@@ + Number ) ) ^ Number ; if ( ( _BYTE ) @@result@@ ) @@result@@ = g_log ( Number L , Number L , String , * ( const char * * ) ( @@a1@@ + Number ) ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "ga_disable_logging", "code": "__int64 __fastcall ga_disable_logging ( __int64 @@a1@@ ) { __int64 @@result@@ ; @@result@@ = @@a1@@ ; * ( _BYTE * ) ( @@a1@@ + Number ) = Number ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "ga_disable_non_whitelisted", "code": "__int64 __fastcall ga_disable_non_whitelisted ( __int64 @@a1@@ ) { __int64 @@result@@ ; unsigned __int8 @@v2@@ ; int @@v3@@ ; char * @@s1@@ ; @@v2@@ = Number ; @@v3@@ = Number ; @@s1@@ = ( char * ) qmp_command_name ( @@a1@@ ) ; while ( ga_freeze_whitelist [ @@v3@@ ] ) { if ( ! strcmp ( @@s1@@ , ga_freeze_whitelist [ @@v3@@ ] ) ) @@v2@@ = Number ; ++ @@v3@@ ; } @@result@@ = @@v2@@ ^ Number ; if ( @@v2@@ != Number ) { g_log ( Number L , Number L , String , @@s1@@ ) ; @@result@@ = qmp_disable_command ( @@s1@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s13"}, {"n": "s1", "t": {"T": 3, "t": "char"}, "location": "s8"}]} {"name": "ga_create_file", "code": "__int64 __fastcall ga_create_file ( const char * @@a1@@ ) { int * v1 ; char * v2 ; __int64 result ; int @@fd@@ ; @@fd@@ = open64 ( @@a1@@ , Number , Number L ) ; if ( @@fd@@ == Number ) { v1 = _errno_location ( ) ; v2 = strerror ( * v1 ) ; g_log ( Number L , Number L , String , @@a1@@ , v2 ) ; result = Number L ; } else { close ( @@fd@@ ) ; result = Number L ; } return result ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} {"name": "ga_is_frozen", "code": "__int64 __fastcall ga_is_frozen ( __int64 @@a1@@ ) { return * ( unsigned __int8 * ) ( @@a1@@ + Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}