
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void signed_cons(int size)

{
  if (flag_code == CODE_64BIT) {
    cons_sign = 1;
  }
  cons(size);
  cons_sign = -1;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0003f2e0(undefined4 param_1)

{
  if (DAT_00083ee8 == 2) {
    DAT_0007b538 = 1;
  }
  FUN_00030400(param_1);
  DAT_0007b538 = 0xffffffff;
  return;
}


PUSH EBX
CALL 0x00016020
ADD EBX,0x3bd1a
SUB ESP,0x8
CMP dword ptr [EBX + 0x8ee8],0x2
JNZ 0x0003f302
MOV dword ptr [EBX + 0x538],0x1
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
CALL 0x00030400
MOV dword ptr [EBX + 0x538],0xffffffff
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0003f2e0(undefined4 param_1)\n\n{\n  if (DAT_00083ee8 == 2) {\n    DAT_0007b538 = 1;\n  }\n  FUN_00030400(param_1);\n  DAT_0007b538 = 0xffffffff;\n  return;\n}\n\n" comment (function_definition "void FUN_0003f2e0(undefined4 param_1)\n\n{\n  if (DAT_00083ee8 == 2) {\n    DAT_0007b538 = 1;\n  }\n  FUN_00030400(param_1);\n  DAT_0007b538 = 0xffffffff;\n  return;\n}" primitive_type (function_declarator "FUN_0003f2e0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  if (DAT_00083ee8 == 2) {\n    DAT_0007b538 = 1;\n  }\n  FUN_00030400(param_1);\n  DAT_0007b538 = 0xffffffff;\n  return;\n}" { (if_statement "if (DAT_00083ee8 == 2) {\n    DAT_0007b538 = 1;\n  }" if (parenthesized_expression "(DAT_00083ee8 == 2)" ( (binary_expression "DAT_00083ee8 == 2" identifier == number_literal) )) (compound_statement "{\n    DAT_0007b538 = 1;\n  }" { (expression_statement "DAT_0007b538 = 1;" (assignment_expression "DAT_0007b538 = 1" identifier = number_literal) ;) })) (expression_statement "FUN_00030400(param_1);" (call_expression "FUN_00030400(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "DAT_0007b538 = 0xffffffff;" (assignment_expression "DAT_0007b538 = 0xffffffff" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid signed_cons(int size)\n\n{\n  if (flag_code == CODE_64BIT) {\n    cons_sign = 1;\n  }\n  cons(size);\n  cons_sign = -1;\n  return;\n}\n\n" comment comment (function_definition "void signed_cons(int size)\n\n{\n  if (flag_code == CODE_64BIT) {\n    cons_sign = 1;\n  }\n  cons(size);\n  cons_sign = -1;\n  return;\n}" primitive_type (function_declarator "signed_cons(int size)" identifier (parameter_list "(int size)" ( (parameter_declaration "int size" primitive_type identifier) ))) (compound_statement "{\n  if (flag_code == CODE_64BIT) {\n    cons_sign = 1;\n  }\n  cons(size);\n  cons_sign = -1;\n  return;\n}" { (if_statement "if (flag_code == CODE_64BIT) {\n    cons_sign = 1;\n  }" if (parenthesized_expression "(flag_code == CODE_64BIT)" ( (binary_expression "flag_code == CODE_64BIT" identifier == identifier) )) (compound_statement "{\n    cons_sign = 1;\n  }" { (expression_statement "cons_sign = 1;" (assignment_expression "cons_sign = 1" identifier = number_literal) ;) })) (expression_statement "cons(size);" (call_expression "cons(size)" identifier (argument_list "(size)" ( identifier ))) ;) (expression_statement "cons_sign = -1;" (assignment_expression "cons_sign = -1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003f2e0(undefined4 param_1)\n\n{\n  if (DAT_00083ee8 == 2) {\n    DAT_0007b538 = 1;\n  }\n  FUN_00030400(param_1);\n  DAT_0007b538 = 0xffffffff;\n  return;\n}\n\n" (function_definition "void FUN_0003f2e0(undefined4 param_1)\n\n{\n  if (DAT_00083ee8 == 2) {\n    DAT_0007b538 = 1;\n  }\n  FUN_00030400(param_1);\n  DAT_0007b538 = 0xffffffff;\n  return;\n}" primitive_type (function_declarator "FUN_0003f2e0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  if (DAT_00083ee8 == 2) {\n    DAT_0007b538 = 1;\n  }\n  FUN_00030400(param_1);\n  DAT_0007b538 = 0xffffffff;\n  return;\n}" { (if_statement "if (DAT_00083ee8 == 2) {\n    DAT_0007b538 = 1;\n  }" if (parenthesized_expression "(DAT_00083ee8 == 2)" ( (binary_expression "DAT_00083ee8 == 2" identifier == number_literal) )) (compound_statement "{\n    DAT_0007b538 = 1;\n  }" { (expression_statement "DAT_0007b538 = 1;" (assignment_expression "DAT_0007b538 = 1" identifier = number_literal) ;) })) (expression_statement "FUN_00030400(param_1);" (call_expression "FUN_00030400(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "DAT_0007b538 = 0xffffffff;" (assignment_expression "DAT_0007b538 = 0xffffffff" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0003f2e0(undefined4 param_1)\n\n{\n  if (DAT_00083ee8 == 2) {\n    DAT_0007b538 = 1;\n  }\n  FUN_00030400(param_1);\n  DAT_0007b538 = 0xffffffff;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003f2e0(undefined4 param_1)" (identifier "FUN_0003f2e0") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (DAT_00083ee8 == 2) {\n    DAT_0007b538 = 1;\n  }\n  FUN_00030400(param_1);\n  DAT_0007b538 = 0xffffffff;\n  return;\n}" ({ "{") (if_statement "if (DAT_00083ee8 == 2) {\n    DAT_0007b538 = 1;\n  }" (if "if") (parenthesized_expression "(DAT_00083ee8 == 2)" (( "(") (binary_expression "DAT_00083ee8 == 2" (identifier "DAT_00083ee8") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    DAT_0007b538 = 1;\n  }" ({ "{") (expression_statement "DAT_0007b538 = 1;" (assignment_expression "DAT_0007b538 = 1" (identifier "DAT_0007b538") (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "FUN_00030400(param_1);" (call_expression "FUN_00030400(param_1)" (identifier "FUN_00030400") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "DAT_0007b538 = 0xffffffff;" (assignment_expression "DAT_0007b538 = 0xffffffff" (identifier "DAT_0007b538") (= "=") (number_literal "0xffffffff")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(int size)

{
  if (var_1 == var_2) {
    cons_sign = 1;
  }
  var_3(size);
  cons_sign = -1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(undefined4 param_1)

{
  if (DAT_00083ee8 == 2) {
    DAT_0007b538 = 1;
  }
  FUN_00030400(param_1);
  DAT_0007b538 = 0xffffffff;
  return;
}

