
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int set_quoting_flags(quoting_options *o,int i)

{
  int iVar1;
  
  if (o == (quoting_options *)0x0) {
    o = &default_quoting_options;
  }
  iVar1 = o->flags;
  o->flags = i;
  return iVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 FUN_00013a40(undefined4 *param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  if (param_1 == (undefined4 *)0x0) {
    param_1 = &DAT_0001c2a0;
  }
  uVar1 = param_1[1];
  param_1[1] = param_2;
  return uVar1;
}


CALL 0x0001233c
ADD EAX,0x85bb
MOV EDX,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [ESP + 0x8]
TEST EDX,EDX
LEA EAX,[EAX + 0x2a0]
CMOVZ EDX,EAX
MOV EAX,dword ptr [EDX + 0x4]
MOV dword ptr [EDX + 0x4],ECX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4 FUN_00013a40(undefined4 *param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = &DAT_0001c2a0;\n  }\n  uVar1 = param_1[1];\n  param_1[1] = param_2;\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 FUN_00013a40(undefined4 *param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = &DAT_0001c2a0;\n  }\n  uVar1 = param_1[1];\n  param_1[1] = param_2;\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00013a40(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = &DAT_0001c2a0;\n  }\n  uVar1 = param_1[1];\n  param_1[1] = param_2;\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    param_1 = &DAT_0001c2a0;\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1 = &DAT_0001c2a0;\n  }" { (expression_statement "param_1 = &DAT_0001c2a0;" (assignment_expression "param_1 = &DAT_0001c2a0" identifier = (pointer_expression "&DAT_0001c2a0" & identifier)) ;) })) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint set_quoting_flags(quoting_options *o,int i)\n\n{\n  int iVar1;\n  \n  if (o == (quoting_options *)0x0) {\n    o = &default_quoting_options;\n  }\n  iVar1 = o->flags;\n  o->flags = i;\n  return iVar1;\n}\n\n" comment (function_definition "int set_quoting_flags(quoting_options *o,int i)\n\n{\n  int iVar1;\n  \n  if (o == (quoting_options *)0x0) {\n    o = &default_quoting_options;\n  }\n  iVar1 = o->flags;\n  o->flags = i;\n  return iVar1;\n}" primitive_type (function_declarator "set_quoting_flags(quoting_options *o,int i)" identifier (parameter_list "(quoting_options *o,int i)" ( (parameter_declaration "quoting_options *o" type_identifier (pointer_declarator "*o" * identifier)) , (parameter_declaration "int i" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (o == (quoting_options *)0x0) {\n    o = &default_quoting_options;\n  }\n  iVar1 = o->flags;\n  o->flags = i;\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (o == (quoting_options *)0x0) {\n    o = &default_quoting_options;\n  }" if (parenthesized_expression "(o == (quoting_options *)0x0)" ( (binary_expression "o == (quoting_options *)0x0" identifier == (cast_expression "(quoting_options *)0x0" ( (type_descriptor "quoting_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    o = &default_quoting_options;\n  }" { (expression_statement "o = &default_quoting_options;" (assignment_expression "o = &default_quoting_options" identifier = (pointer_expression "&default_quoting_options" & identifier)) ;) })) (expression_statement "iVar1 = o->flags;" (assignment_expression "iVar1 = o->flags" identifier = (field_expression "o->flags" identifier -> field_identifier)) ;) (expression_statement "o->flags = i;" (assignment_expression "o->flags = i" (field_expression "o->flags" identifier -> field_identifier) = identifier) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_00013a40(undefined4 *param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = &DAT_0001c2a0;\n  }\n  uVar1 = param_1[1];\n  param_1[1] = param_2;\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_00013a40(undefined4 *param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = &DAT_0001c2a0;\n  }\n  uVar1 = param_1[1];\n  param_1[1] = param_2;\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00013a40(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = &DAT_0001c2a0;\n  }\n  uVar1 = param_1[1];\n  param_1[1] = param_2;\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    param_1 = &DAT_0001c2a0;\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1 = &DAT_0001c2a0;\n  }" { (expression_statement "param_1 = &DAT_0001c2a0;" (assignment_expression "param_1 = &DAT_0001c2a0" identifier = (pointer_expression "&DAT_0001c2a0" & identifier)) ;) })) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00013a40(undefined4 *param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = &DAT_0001c2a0;\n  }\n  uVar1 = param_1[1];\n  param_1[1] = param_2;\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00013a40(undefined4 *param_1,undefined4 param_2)" (identifier "FUN_00013a40") (parameter_list "(undefined4 *param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == (undefined4 *)0x0) {\n    param_1 = &DAT_0001c2a0;\n  }\n  uVar1 = param_1[1];\n  param_1[1] = param_2;\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    param_1 = &DAT_0001c2a0;\n  }" (if "if") (parenthesized_expression "(param_1 == (undefined4 *)0x0)" (( "(") (binary_expression "param_1 == (undefined4 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_1 = &DAT_0001c2a0;\n  }" ({ "{") (expression_statement "param_1 = &DAT_0001c2a0;" (assignment_expression "param_1 = &DAT_0001c2a0" (identifier "param_1") (= "=") (pointer_expression "&DAT_0001c2a0" (& "&") (identifier "DAT_0001c2a0"))) (; ";")) (} "}"))) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" (identifier "uVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int function_1(type_1 *var_1,int i)

{
  int iVar1;
  
  if (var_1 == (type_1 *)0x0) {
    var_1 = &default_quoting_options;
  }
  iVar1 = var_1->flags;
  var_1->flags = i;
  return iVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 MASKED(undefined4 *param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  if (param_1 == (undefined4 *)0x0) {
    param_1 = &DAT_0001c2a0;
  }
  uVar1 = param_1[1];
  param_1[1] = param_2;
  return uVar1;
}

