{"name": "xmode_main", "code": "__int64 __fastcall xmode_main ( int @@a1@@ , __int64 @@a2@@ ) { __int64 result ; __int64 v3 ; const char * * @@v4@@ ; int @@v5@@ ; __int16 @@v6@@ [ Number ] ; __int16 @@v7@@ [ Number ] ; __int64 @@v8@@ [ Number ] ; __int64 @@v9@@ ; char * @@endptr@@ ; @@v4@@ = ( const char * * ) ( @@a2@@ + Number ) ; @@v5@@ = @@a1@@ - Number ; if ( @@a1@@ == Number ) { com_fprintf ( Number L , String String String String String String String String String String ) ; result = Number L ; } else { while ( @@v5@@ ) { if ( ! strcmp ( * @@v4@@ , String ) && @@v5@@ > Number ) { X_change_config ( Number L , @@v4@@ [ Number ] ) ; @@v5@@ -= Number ; @@v4@@ += Number ; } else if ( ! strcmp ( * @@v4@@ , String ) && @@v5@@ > Number ) { @@v9@@ = ! ( unsigned int ) strequalDOS ( @@v4@@ [ Number ] , String ) && ! ( unsigned int ) strequalDOS ( @@v4@@ [ Number ] , String ) ; X_change_config ( Number L , & @@v9@@ ) ; @@v5@@ -= Number ; @@v4@@ += Number ; } else if ( ! strcmp ( * @@v4@@ , String ) && @@v5@@ > Number ) { X_change_config ( Number L , @@v4@@ [ Number ] ) ; @@v5@@ -= Number ; @@v4@@ += Number ; } else if ( ! strcmp ( * @@v4@@ , String ) && @@v5@@ > Number ) { @@v9@@ = strtol ( @@v4@@ [ Number ] , & @@endptr@@ , Number ) ; if ( @@v4@@ [ Number ] == @@endptr@@ ) goto LABEL_35 ; X_change_config ( Number L , & @@v9@@ ) ; @@v5@@ -= Number ; @@v4@@ += Number ; } else if ( ! strcmp ( * @@v4@@ , String ) && @@v5@@ > Number ) { @@v9@@ = strtol ( @@v4@@ [ Number ] , & @@endptr@@ , Number ) ; if ( @@v4@@ [ Number ] == @@endptr@@ ) goto LABEL_35 ; X_change_config ( Number L , & @@v9@@ ) ; @@v5@@ -= Number ; @@v4@@ += Number ; } else if ( ! strcmp ( * @@v4@@ , String ) && @@v5@@ > Number ) { @@v8@@ [ Number ] = strtol ( @@v4@@ [ Number ] , & @@endptr@@ , Number ) ; if ( @@v4@@ [ Number ] == @@endptr@@ ) { com_fprintf ( Number L , String , @@v4@@ [ Number ] ) ; return Number L ; } @@v8@@ [ Number ] = strtol ( @@v4@@ [ Number ] , & @@endptr@@ , Number ) ; if ( @@v4@@ [ Number ] == @@endptr@@ ) { com_fprintf ( Number L , String , @@v4@@ [ Number ] ) ; return Number L ; } X_change_config ( Number L , @@v8@@ ) ; @@v5@@ -= Number ; @@v4@@ += Number ; } else if ( ! strcmp ( * @@v4@@ , String ) && @@v5@@ > Number ) { @@v9@@ = strtol ( @@v4@@ [ Number ] , & @@endptr@@ , Number ) ; if ( @@v4@@ [ Number ] == @@endptr@@ ) { LABEL_35 : com_fprintf ( Number L , String , @@v4@@ [ Number ] ) ; return Number L ; } v3 = @@v9@@ ; LOBYTE ( v3 ) = Number ; if ( v3 ) { regs_to_regpack ( @@v7@@ , & vm86u ) ; @@v7@@ [ Number ] = @@v9@@ ; @@v7@@ [ Number ] = Number ; com_intr ( Number L , @@v7@@ ) ; } else { regs_to_regpack ( @@v6@@ , & vm86u ) ; @@v6@@ [ Number ] = ( unsigned __int8 ) @@v9@@ ; com_intr ( Number L , @@v6@@ ) ; } @@v5@@ -= Number ; @@v4@@ += Number ; } else if ( ! strcmp ( * @@v4@@ , String ) && @@v5@@ > Number ) { @@v9@@ = ! ( unsigned int ) strequalDOS ( @@v4@@ [ Number ] , String ) && ! ( unsigned int ) strequalDOS ( @@v4@@ [ Number ] , String ) ; X_change_config ( Number L , & @@v9@@ ) ; @@v5@@ -= Number ; @@v4@@ += Number ; } else { if ( strcmp ( * @@v4@@ , String ) || @@v5@@ <= Number ) { com_fprintf ( Number L , String , * @@v4@@ ) ; return Number L ; } @@v9@@ = ! ( unsigned int ) strequalDOS ( @@v4@@ [ Number ] , String ) && ! ( unsigned int ) strequalDOS ( @@v4@@ [ Number ] , String ) ; X_change_config ( Number L , & @@v9@@ ) ; @@v5@@ -= Number ; @@v4@@ += Number ; } } result = Number L ; } return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s100"}, {"n": "v4", "t": {"T": 3, "t": "const char *"}, "location": "s112"}, {"n": "v9", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v8", "t": {"T": 2, "n": 2, "s": 8, "t": "__int64"}, "location": "s32"}, {"n": "v7", "t": {"T": 2, "n": 16, "s": 2, "t": "__int16"}, "location": "s64"}, {"n": "endptr", "t": {"T": 3, "t": "char"}, "location": "s8"}, {"n": "v6", "t": {"T": 2, "n": 16, "s": 2, "t": "__int16"}, "location": "s96"}]}
{"name": "X_change_config", "code": "__int64 __fastcall X_change_config ( unsigned int @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; if ( * ( _QWORD * ) ( Video + Number L ) ) @@result@@ = ( * ( __int64 ( __fastcall * * ) ( _QWORD , __int64 ) ) ( Video + Number L ) ) ( @@a1@@ , @@a2@@ ) ; else @@result@@ = Number ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}