
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */

void gold::gold_exit(Exit_status status)

{
  General_options *pGVar1;
  EVP_PKEY_CTX *in_stack_ffffffe8;
  
  if (parameters == (Parameters *)0x0) goto LAB_00069c80;
  pGVar1 = parameters->options_;
  if (pGVar1 == (General_options *)0x0) {
    if (status == GOLD_OK) goto LAB_00069c80;
LAB_00069c75:
    pGVar1 = parameters->options_;
    if (pGVar1 == (General_options *)0x0) goto LAB_00069c80;
  }
  else {
    if (pGVar1->plugins_ != (Plugin_manager *)0x0) {
      Plugin_manager::cleanup(pGVar1->plugins_,in_stack_ffffffe8);
      if ((status == GOLD_OK) || (parameters == (Parameters *)0x0)) goto LAB_00069c80;
      goto LAB_00069c75;
    }
    if (status == GOLD_OK) goto LAB_00069c80;
  }
  unlink_if_ordinary((pGVar1->output_).value);
LAB_00069c80:
                    /* WARNING: Subroutine does not return */
  exit(status);
}



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

void FUN_00069c30(int param_1)

{
  int iVar1;
  
  if (DAT_0038f378 == 0) goto LAB_00069c80;
  iVar1 = *(int *)(DAT_0038f378 + 8);
  if (iVar1 == 0) {
    if (param_1 == 0) goto LAB_00069c80;
LAB_00069c75:
    iVar1 = *(int *)(DAT_0038f378 + 8);
    if (iVar1 == 0) goto LAB_00069c80;
  }
  else {
    if (*(int *)(iVar1 + 0x593c) != 0) {
      FUN_0013ae80(*(int *)(iVar1 + 0x593c));
      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;
      goto LAB_00069c75;
    }
    if (param_1 == 0) goto LAB_00069c80;
  }
  FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));
LAB_00069c80:
                    /* WARNING: Subroutine does not return */
  exit(param_1);
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00035840
ADD EBX,0x3253c4
LEA EDI,[EBX + 0x378]
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x00069c80
MOV EDX,dword ptr [EAX + 0x8]
TEST EDX,EDX
JZ 0x00069c89
MOV EAX,dword ptr [EDX + 0x593c]
TEST EAX,EAX
JZ 0x00069c8f
SUB ESP,0xc
PUSH EAX
CALL 0x0013ae80
ADD ESP,0x10
TEST ESI,ESI
JZ 0x00069c80
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x00069c80
MOV EDX,dword ptr [EAX + 0x8]
TEST EDX,EDX
JNZ 0x00069c93
LEA ESI,[ESI]
SUB ESP,0xc
PUSH ESI
CALL 0x00029b30
TEST ESI,ESI
JNZ 0x00069c75
JMP 0x00069c80
TEST ESI,ESI
JZ 0x00069c80
SUB ESP,0xc
PUSH dword ptr [EDX + 0x27a8]
CALL 0x001e4b60
ADD ESP,0x10
JMP 0x00069c80
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00069c30(int param_1)\n\n{\n  int iVar1;\n  \n  if (DAT_0038f378 == 0) goto LAB_00069c80;\n  iVar1 = *(int *)(DAT_0038f378 + 8);\n  if (iVar1 == 0) {\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }\n  else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }\n  FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));\nLAB_00069c80:\n                    /* WARNING: Subroutine does not return */\n  exit(param_1);\n}\n\n" comment (function_definition "void FUN_00069c30(int param_1)\n\n{\n  int iVar1;\n  \n  if (DAT_0038f378 == 0) goto LAB_00069c80;\n  iVar1 = *(int *)(DAT_0038f378 + 8);\n  if (iVar1 == 0) {\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }\n  else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }\n  FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));\nLAB_00069c80:\n                    /* WARNING: Subroutine does not return */\n  exit(param_1);\n}" primitive_type (function_declarator "FUN_00069c30(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (DAT_0038f378 == 0) goto LAB_00069c80;\n  iVar1 = *(int *)(DAT_0038f378 + 8);\n  if (iVar1 == 0) {\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }\n  else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }\n  FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));\nLAB_00069c80:\n                    /* WARNING: Subroutine does not return */\n  exit(param_1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (DAT_0038f378 == 0) goto LAB_00069c80;" if (parenthesized_expression "(DAT_0038f378 == 0)" ( (binary_expression "DAT_0038f378 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) (expression_statement "iVar1 = *(int *)(DAT_0038f378 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_0038f378 + 8)" identifier = (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }\n  else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }" { (if_statement "if (param_1 == 0) goto LAB_00069c80;" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) (labeled_statement "LAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);" statement_identifier : (expression_statement "iVar1 = *(int *)(DAT_0038f378 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_0038f378 + 8)" identifier = (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) ))))) ;)) (if_statement "if (iVar1 == 0) goto LAB_00069c80;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) }) (else_clause "else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }" else (compound_statement "{\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }" { (if_statement "if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0x593c) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x593c) != 0" (pointer_expression "*(int *)(iVar1 + 0x593c)" * (cast_expression "(int *)(iVar1 + 0x593c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x593c)" ( (binary_expression "iVar1 + 0x593c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }" { (expression_statement "FUN_0013ae80(*(int *)(iVar1 + 0x593c));" (call_expression "FUN_0013ae80(*(int *)(iVar1 + 0x593c))" identifier (argument_list "(*(int *)(iVar1 + 0x593c))" ( (pointer_expression "*(int *)(iVar1 + 0x593c)" * (cast_expression "(int *)(iVar1 + 0x593c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x593c)" ( (binary_expression "iVar1 + 0x593c" identifier + number_literal) )))) ))) ;) (if_statement "if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;" if (parenthesized_expression "((param_1 == 0) || (DAT_0038f378 == 0))" ( (binary_expression "(param_1 == 0) || (DAT_0038f378 == 0)" (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) || (parenthesized_expression "(DAT_0038f378 == 0)" ( (binary_expression "DAT_0038f378 == 0" identifier == number_literal) ))) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) (goto_statement "goto LAB_00069c75;" goto statement_identifier ;) })) (if_statement "if (param_1 == 0) goto LAB_00069c80;" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) }))) (expression_statement "FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));" (call_expression "FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8))" identifier (argument_list "(*(undefined4 *)(iVar1 + 0x27a8))" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x27a8)" * (cast_expression "(undefined4 *)(iVar1 + 0x27a8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x27a8)" ( (binary_expression "iVar1 + 0x27a8" identifier + number_literal) )))) ))) ;) (labeled_statement "LAB_00069c80:\n                    /* WARNING: Subroutine does not return */\n  exit(param_1);" statement_identifier : comment (expression_statement "exit(param_1);" (call_expression "exit(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;)) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n\nvoid gold::gold_exit(Exit_status status)\n\n{\n  General_options *pGVar1;\n  EVP_PKEY_CTX *in_stack_ffffffe8;\n  \n  if (parameters == (Parameters *)0x0) goto LAB_00069c80;\n  pGVar1 = parameters->options_;\n  if (pGVar1 == (General_options *)0x0) {\n    if (status == GOLD_OK) goto LAB_00069c80;\nLAB_00069c75:\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) goto LAB_00069c80;\n  }\n  else {\n    if (pGVar1->plugins_ != (Plugin_manager *)0x0) {\n      Plugin_manager::cleanup(pGVar1->plugins_,in_stack_ffffffe8);\n      if ((status == GOLD_OK) || (parameters == (Parameters *)0x0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (status == GOLD_OK) goto LAB_00069c80;\n  }\n  unlink_if_ordinary((pGVar1->output_).value);\nLAB_00069c80:\n                    /* WARNING: Subroutine does not return */\n  exit(status);\n}\n\n" comment comment (function_definition "void gold::gold_exit(Exit_status status)\n\n{\n  General_options *pGVar1;\n  EVP_PKEY_CTX *in_stack_ffffffe8;\n  \n  if (parameters == (Parameters *)0x0) goto LAB_00069c80;\n  pGVar1 = parameters->options_;\n  if (pGVar1 == (General_options *)0x0) {\n    if (status == GOLD_OK) goto LAB_00069c80;\nLAB_00069c75:\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) goto LAB_00069c80;\n  }\n  else {\n    if (pGVar1->plugins_ != (Plugin_manager *)0x0) {\n      Plugin_manager::cleanup(pGVar1->plugins_,in_stack_ffffffe8);\n      if ((status == GOLD_OK) || (parameters == (Parameters *)0x0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (status == GOLD_OK) goto LAB_00069c80;\n  }\n  unlink_if_ordinary((pGVar1->output_).value);\nLAB_00069c80:\n                    /* WARNING: Subroutine does not return */\n  exit(status);\n}" primitive_type (ERROR "gold::" identifier : :) (function_declarator "gold_exit(Exit_status status)" identifier (parameter_list "(Exit_status status)" ( (parameter_declaration "Exit_status status" type_identifier identifier) ))) (compound_statement "{\n  General_options *pGVar1;\n  EVP_PKEY_CTX *in_stack_ffffffe8;\n  \n  if (parameters == (Parameters *)0x0) goto LAB_00069c80;\n  pGVar1 = parameters->options_;\n  if (pGVar1 == (General_options *)0x0) {\n    if (status == GOLD_OK) goto LAB_00069c80;\nLAB_00069c75:\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) goto LAB_00069c80;\n  }\n  else {\n    if (pGVar1->plugins_ != (Plugin_manager *)0x0) {\n      Plugin_manager::cleanup(pGVar1->plugins_,in_stack_ffffffe8);\n      if ((status == GOLD_OK) || (parameters == (Parameters *)0x0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (status == GOLD_OK) goto LAB_00069c80;\n  }\n  unlink_if_ordinary((pGVar1->output_).value);\nLAB_00069c80:\n                    /* WARNING: Subroutine does not return */\n  exit(status);\n}" { (declaration "General_options *pGVar1;" type_identifier (pointer_declarator "*pGVar1" * identifier) ;) (declaration "EVP_PKEY_CTX *in_stack_ffffffe8;" type_identifier (pointer_declarator "*in_stack_ffffffe8" * identifier) ;) (if_statement "if (parameters == (Parameters *)0x0) goto LAB_00069c80;" if (parenthesized_expression "(parameters == (Parameters *)0x0)" ( (binary_expression "parameters == (Parameters *)0x0" identifier == (cast_expression "(Parameters *)0x0" ( (type_descriptor "Parameters *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) (expression_statement "pGVar1 = parameters->options_;" (assignment_expression "pGVar1 = parameters->options_" identifier = (field_expression "parameters->options_" identifier -> field_identifier)) ;) (if_statement "if (pGVar1 == (General_options *)0x0) {\n    if (status == GOLD_OK) goto LAB_00069c80;\nLAB_00069c75:\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) goto LAB_00069c80;\n  }\n  else {\n    if (pGVar1->plugins_ != (Plugin_manager *)0x0) {\n      Plugin_manager::cleanup(pGVar1->plugins_,in_stack_ffffffe8);\n      if ((status == GOLD_OK) || (parameters == (Parameters *)0x0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (status == GOLD_OK) goto LAB_00069c80;\n  }" if (parenthesized_expression "(pGVar1 == (General_options *)0x0)" ( (binary_expression "pGVar1 == (General_options *)0x0" identifier == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (status == GOLD_OK) goto LAB_00069c80;\nLAB_00069c75:\n    pGVar1 = parameters->options_;\n    if (pGVar1 == (General_options *)0x0) goto LAB_00069c80;\n  }" { (if_statement "if (status == GOLD_OK) goto LAB_00069c80;" if (parenthesized_expression "(status == GOLD_OK)" ( (binary_expression "status == GOLD_OK" identifier == identifier) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) (labeled_statement "LAB_00069c75:\n    pGVar1 = parameters->options_;" statement_identifier : (expression_statement "pGVar1 = parameters->options_;" (assignment_expression "pGVar1 = parameters->options_" identifier = (field_expression "parameters->options_" identifier -> field_identifier)) ;)) (if_statement "if (pGVar1 == (General_options *)0x0) goto LAB_00069c80;" if (parenthesized_expression "(pGVar1 == (General_options *)0x0)" ( (binary_expression "pGVar1 == (General_options *)0x0" identifier == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) }) (else_clause "else {\n    if (pGVar1->plugins_ != (Plugin_manager *)0x0) {\n      Plugin_manager::cleanup(pGVar1->plugins_,in_stack_ffffffe8);\n      if ((status == GOLD_OK) || (parameters == (Parameters *)0x0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (status == GOLD_OK) goto LAB_00069c80;\n  }" else (compound_statement "{\n    if (pGVar1->plugins_ != (Plugin_manager *)0x0) {\n      Plugin_manager::cleanup(pGVar1->plugins_,in_stack_ffffffe8);\n      if ((status == GOLD_OK) || (parameters == (Parameters *)0x0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (status == GOLD_OK) goto LAB_00069c80;\n  }" { (if_statement "if (pGVar1->plugins_ != (Plugin_manager *)0x0) {\n      Plugin_manager::cleanup(pGVar1->plugins_,in_stack_ffffffe8);\n      if ((status == GOLD_OK) || (parameters == (Parameters *)0x0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }" if (parenthesized_expression "(pGVar1->plugins_ != (Plugin_manager *)0x0)" ( (binary_expression "pGVar1->plugins_ != (Plugin_manager *)0x0" (field_expression "pGVar1->plugins_" identifier -> field_identifier) != (cast_expression "(Plugin_manager *)0x0" ( (type_descriptor "Plugin_manager *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      Plugin_manager::cleanup(pGVar1->plugins_,in_stack_ffffffe8);\n      if ((status == GOLD_OK) || (parameters == (Parameters *)0x0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }" { (labeled_statement "Plugin_manager::cleanup(pGVar1->plugins_,in_stack_ffffffe8);" statement_identifier : (ERROR ":" :) (expression_statement "cleanup(pGVar1->plugins_,in_stack_ffffffe8);" (call_expression "cleanup(pGVar1->plugins_,in_stack_ffffffe8)" identifier (argument_list "(pGVar1->plugins_,in_stack_ffffffe8)" ( (field_expression "pGVar1->plugins_" identifier -> field_identifier) , identifier ))) ;)) (if_statement "if ((status == GOLD_OK) || (parameters == (Parameters *)0x0)) goto LAB_00069c80;" if (parenthesized_expression "((status == GOLD_OK) || (parameters == (Parameters *)0x0))" ( (binary_expression "(status == GOLD_OK) || (parameters == (Parameters *)0x0)" (parenthesized_expression "(status == GOLD_OK)" ( (binary_expression "status == GOLD_OK" identifier == identifier) )) || (parenthesized_expression "(parameters == (Parameters *)0x0)" ( (binary_expression "parameters == (Parameters *)0x0" identifier == (cast_expression "(Parameters *)0x0" ( (type_descriptor "Parameters *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) (goto_statement "goto LAB_00069c75;" goto statement_identifier ;) })) (if_statement "if (status == GOLD_OK) goto LAB_00069c80;" if (parenthesized_expression "(status == GOLD_OK)" ( (binary_expression "status == GOLD_OK" identifier == identifier) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) }))) (expression_statement "unlink_if_ordinary((pGVar1->output_).value);" (call_expression "unlink_if_ordinary((pGVar1->output_).value)" identifier (argument_list "((pGVar1->output_).value)" ( (field_expression "(pGVar1->output_).value" (parenthesized_expression "(pGVar1->output_)" ( (field_expression "pGVar1->output_" identifier -> field_identifier) )) . field_identifier) ))) ;) (labeled_statement "LAB_00069c80:\n                    /* WARNING: Subroutine does not return */\n  exit(status);" statement_identifier : comment (expression_statement "exit(status);" (call_expression "exit(status)" identifier (argument_list "(status)" ( identifier ))) ;)) })))
(translation_unit "void FUN_00069c30(int param_1)\n\n{\n  int iVar1;\n  \n  if (DAT_0038f378 == 0) goto LAB_00069c80;\n  iVar1 = *(int *)(DAT_0038f378 + 8);\n  if (iVar1 == 0) {\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }\n  else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }\n  FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));\nLAB_00069c80:\n                    \n  exit(param_1);\n}\n\n" (function_definition "void FUN_00069c30(int param_1)\n\n{\n  int iVar1;\n  \n  if (DAT_0038f378 == 0) goto LAB_00069c80;\n  iVar1 = *(int *)(DAT_0038f378 + 8);\n  if (iVar1 == 0) {\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }\n  else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }\n  FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));\nLAB_00069c80:\n                    \n  exit(param_1);\n}" primitive_type (function_declarator "FUN_00069c30(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (DAT_0038f378 == 0) goto LAB_00069c80;\n  iVar1 = *(int *)(DAT_0038f378 + 8);\n  if (iVar1 == 0) {\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }\n  else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }\n  FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));\nLAB_00069c80:\n                    \n  exit(param_1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (DAT_0038f378 == 0) goto LAB_00069c80;" if (parenthesized_expression "(DAT_0038f378 == 0)" ( (binary_expression "DAT_0038f378 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) (expression_statement "iVar1 = *(int *)(DAT_0038f378 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_0038f378 + 8)" identifier = (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }\n  else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }" { (if_statement "if (param_1 == 0) goto LAB_00069c80;" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) (labeled_statement "LAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);" statement_identifier : (expression_statement "iVar1 = *(int *)(DAT_0038f378 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_0038f378 + 8)" identifier = (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) ))))) ;)) (if_statement "if (iVar1 == 0) goto LAB_00069c80;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) }) (else_clause "else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }" else (compound_statement "{\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }" { (if_statement "if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0x593c) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x593c) != 0" (pointer_expression "*(int *)(iVar1 + 0x593c)" * (cast_expression "(int *)(iVar1 + 0x593c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x593c)" ( (binary_expression "iVar1 + 0x593c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }" { (expression_statement "FUN_0013ae80(*(int *)(iVar1 + 0x593c));" (call_expression "FUN_0013ae80(*(int *)(iVar1 + 0x593c))" identifier (argument_list "(*(int *)(iVar1 + 0x593c))" ( (pointer_expression "*(int *)(iVar1 + 0x593c)" * (cast_expression "(int *)(iVar1 + 0x593c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x593c)" ( (binary_expression "iVar1 + 0x593c" identifier + number_literal) )))) ))) ;) (if_statement "if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;" if (parenthesized_expression "((param_1 == 0) || (DAT_0038f378 == 0))" ( (binary_expression "(param_1 == 0) || (DAT_0038f378 == 0)" (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) || (parenthesized_expression "(DAT_0038f378 == 0)" ( (binary_expression "DAT_0038f378 == 0" identifier == number_literal) ))) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) (goto_statement "goto LAB_00069c75;" goto statement_identifier ;) })) (if_statement "if (param_1 == 0) goto LAB_00069c80;" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00069c80;" goto statement_identifier ;)) }))) (expression_statement "FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));" (call_expression "FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8))" identifier (argument_list "(*(undefined4 *)(iVar1 + 0x27a8))" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x27a8)" * (cast_expression "(undefined4 *)(iVar1 + 0x27a8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x27a8)" ( (binary_expression "iVar1 + 0x27a8" identifier + number_literal) )))) ))) ;) (labeled_statement "LAB_00069c80:\n                    \n  exit(param_1);" statement_identifier : (expression_statement "exit(param_1);" (call_expression "exit(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;)) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) })))
(function_definition "void FUN_00069c30(int param_1)\n\n{\n  int iVar1;\n  \n  if (DAT_0038f378 == 0) goto LAB_00069c80;\n  iVar1 = *(int *)(DAT_0038f378 + 8);\n  if (iVar1 == 0) {\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }\n  else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }\n  FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));\nLAB_00069c80:\n                    \n  exit(param_1);\n}" (primitive_type "void") (function_declarator "FUN_00069c30(int param_1)" (identifier "FUN_00069c30") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (DAT_0038f378 == 0) goto LAB_00069c80;\n  iVar1 = *(int *)(DAT_0038f378 + 8);\n  if (iVar1 == 0) {\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }\n  else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }\n  FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));\nLAB_00069c80:\n                    \n  exit(param_1);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (DAT_0038f378 == 0) goto LAB_00069c80;" (if "if") (parenthesized_expression "(DAT_0038f378 == 0)" (( "(") (binary_expression "DAT_0038f378 == 0" (identifier "DAT_0038f378") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00069c80;" (goto "goto") (statement_identifier "LAB_00069c80") (; ";"))) (expression_statement "iVar1 = *(int *)(DAT_0038f378 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_0038f378 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(DAT_0038f378 + 8)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 8)" (( "(") (binary_expression "DAT_0038f378 + 8" (identifier "DAT_0038f378") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }\n  else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_1 == 0) goto LAB_00069c80;\nLAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);\n    if (iVar1 == 0) goto LAB_00069c80;\n  }" ({ "{") (if_statement "if (param_1 == 0) goto LAB_00069c80;" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00069c80;" (goto "goto") (statement_identifier "LAB_00069c80") (; ";"))) (labeled_statement "LAB_00069c75:\n    iVar1 = *(int *)(DAT_0038f378 + 8);" (statement_identifier "LAB_00069c75") (: ":") (expression_statement "iVar1 = *(int *)(DAT_0038f378 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_0038f378 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(DAT_0038f378 + 8)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 8)" (( "(") (binary_expression "DAT_0038f378 + 8" (identifier "DAT_0038f378") (+ "+") (number_literal "8")) () ")"))))) (; ";"))) (if_statement "if (iVar1 == 0) goto LAB_00069c80;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00069c80;" (goto "goto") (statement_identifier "LAB_00069c80") (; ";"))) (} "}")) (else_clause "else {\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }" (else "else") (compound_statement "{\n    if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }\n    if (param_1 == 0) goto LAB_00069c80;\n  }" ({ "{") (if_statement "if (*(int *)(iVar1 + 0x593c) != 0) {\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x593c) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x593c) != 0" (pointer_expression "*(int *)(iVar1 + 0x593c)" (* "*") (cast_expression "(int *)(iVar1 + 0x593c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x593c)" (( "(") (binary_expression "iVar1 + 0x593c" (identifier "iVar1") (+ "+") (number_literal "0x593c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0013ae80(*(int *)(iVar1 + 0x593c));\n      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;\n      goto LAB_00069c75;\n    }" ({ "{") (expression_statement "FUN_0013ae80(*(int *)(iVar1 + 0x593c));" (call_expression "FUN_0013ae80(*(int *)(iVar1 + 0x593c))" (identifier "FUN_0013ae80") (argument_list "(*(int *)(iVar1 + 0x593c))" (( "(") (pointer_expression "*(int *)(iVar1 + 0x593c)" (* "*") (cast_expression "(int *)(iVar1 + 0x593c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x593c)" (( "(") (binary_expression "iVar1 + 0x593c" (identifier "iVar1") (+ "+") (number_literal "0x593c")) () ")")))) () ")"))) (; ";")) (if_statement "if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;" (if "if") (parenthesized_expression "((param_1 == 0) || (DAT_0038f378 == 0))" (( "(") (binary_expression "(param_1 == 0) || (DAT_0038f378 == 0)" (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(DAT_0038f378 == 0)" (( "(") (binary_expression "DAT_0038f378 == 0" (identifier "DAT_0038f378") (== "==") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_00069c80;" (goto "goto") (statement_identifier "LAB_00069c80") (; ";"))) (goto_statement "goto LAB_00069c75;" (goto "goto") (statement_identifier "LAB_00069c75") (; ";")) (} "}"))) (if_statement "if (param_1 == 0) goto LAB_00069c80;" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00069c80;" (goto "goto") (statement_identifier "LAB_00069c80") (; ";"))) (} "}")))) (expression_statement "FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));" (call_expression "FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8))" (identifier "FUN_001e4b60") (argument_list "(*(undefined4 *)(iVar1 + 0x27a8))" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + 0x27a8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x27a8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x27a8)" (( "(") (binary_expression "iVar1 + 0x27a8" (identifier "iVar1") (+ "+") (number_literal "0x27a8")) () ")")))) () ")"))) (; ";")) (labeled_statement "LAB_00069c80:\n                    \n  exit(param_1);" (statement_identifier "LAB_00069c80") (: ":") (expression_statement "exit(param_1);" (call_expression "exit(param_1)" (identifier "exit") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";"))) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */

void gold::function_1(type_1 var_3)

{
  type_2 *var_2;
  type_3 *in_stack_ffffffe8;
  
  if (var_1 == (type_4 *)0x0) goto LAB_00069c80;
  var_2 = var_1->options_;
  if (var_2 == (type_2 *)0x0) {
    if (var_3 == var_4) goto LAB_00069c80;
LAB_00069c75:
    var_2 = var_1->options_;
    if (var_2 == (type_2 *)0x0) goto LAB_00069c80;
  }
  else {
    if (var_2->plugins_ != (type_5 *)0x0) {
      Plugin_manager::var_5(var_2->plugins_,in_stack_ffffffe8);
      if ((var_3 == var_4) || (var_1 == (type_4 *)0x0)) goto LAB_00069c80;
      goto LAB_00069c75;
    }
    if (var_3 == var_4) goto LAB_00069c80;
  }
  var_6((var_2->output_).value);
LAB_00069c80:
                    /* WARNING: Subroutine does not return */
  var_7(var_3);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))))))

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

void MASKED(int param_1)

{
  int iVar1;
  
  if (DAT_0038f378 == 0) goto LAB_00069c80;
  iVar1 = *(int *)(DAT_0038f378 + 8);
  if (iVar1 == 0) {
    if (param_1 == 0) goto LAB_00069c80;
LAB_00069c75:
    iVar1 = *(int *)(DAT_0038f378 + 8);
    if (iVar1 == 0) goto LAB_00069c80;
  }
  else {
    if (*(int *)(iVar1 + 0x593c) != 0) {
      FUN_0013ae80(*(int *)(iVar1 + 0x593c));
      if ((param_1 == 0) || (DAT_0038f378 == 0)) goto LAB_00069c80;
      goto LAB_00069c75;
    }
    if (param_1 == 0) goto LAB_00069c80;
  }
  FUN_001e4b60(*(undefined4 *)(iVar1 + 0x27a8));
LAB_00069c80:
                    /* WARNING: Subroutine does not return */
  exit(param_1);
}

