
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void ppc_finish(void)

{
  int iVar1;
  char *fmt;
  
  if (params.ppc476_workaround != 0) {
    lang_for_each_statement(no_zero_padding);
  }
  iVar1 = ppc_finish_symbols(PTR_link_info_001befb8);
  if (iVar1 != 0) {
    finish_default();
    return;
  }
  fmt = (char *)dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);
  einfo(fmt);
  finish_default();
  return;
}



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

void FUN_0003ec20(void)

{
  int iVar1;
  undefined4 uVar2;
  
  if (DAT_001bf634 != 0) {
    FUN_00023e20(FUN_0003fa30);
  }
  iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);
  if (iVar1 != 0) {
    FUN_000339f0();
    return;
  }
  uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);
  FUN_00034d60(uVar2);
  FUN_000339f0();
  return;
}


PUSH EBX
CALL 0x00017bc0
ADD EBX,0x1803da
SUB ESP,0x8
MOV EAX,dword ptr [EBX + 0x634]
TEST EAX,EAX
JNZ 0x0003ec60
SUB ESP,0xc
PUSH dword ptr [EBX + 0xffffffb8]
CALL 0x00016330
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0003ec78
CALL 0x000339f0
ADD ESP,0x8
POP EBX
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xffe80a30]
PUSH EAX
CALL 0x00023e20
ADD ESP,0x10
JMP 0x0003ec39
SUB ESP,0x4
LEA EAX,[EBX + 0xffee6164]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016360
MOV dword ptr [ESP],EAX
CALL 0x00034d60
ADD ESP,0x10
CALL 0x000339f0
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0003ec20(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (DAT_001bf634 != 0) {\n    FUN_00023e20(FUN_0003fa30);\n  }\n  iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);\n  if (iVar1 != 0) {\n    FUN_000339f0();\n    return;\n  }\n  uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);\n  FUN_00034d60(uVar2);\n  FUN_000339f0();\n  return;\n}\n\n" comment (function_definition "void FUN_0003ec20(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (DAT_001bf634 != 0) {\n    FUN_00023e20(FUN_0003fa30);\n  }\n  iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);\n  if (iVar1 != 0) {\n    FUN_000339f0();\n    return;\n  }\n  uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);\n  FUN_00034d60(uVar2);\n  FUN_000339f0();\n  return;\n}" primitive_type (function_declarator "FUN_0003ec20(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (DAT_001bf634 != 0) {\n    FUN_00023e20(FUN_0003fa30);\n  }\n  iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);\n  if (iVar1 != 0) {\n    FUN_000339f0();\n    return;\n  }\n  uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);\n  FUN_00034d60(uVar2);\n  FUN_000339f0();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (DAT_001bf634 != 0) {\n    FUN_00023e20(FUN_0003fa30);\n  }" if (parenthesized_expression "(DAT_001bf634 != 0)" ( (binary_expression "DAT_001bf634 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00023e20(FUN_0003fa30);\n  }" { (expression_statement "FUN_00023e20(FUN_0003fa30);" (call_expression "FUN_00023e20(FUN_0003fa30)" identifier (argument_list "(FUN_0003fa30)" ( identifier ))) ;) })) (expression_statement "iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);" (assignment_expression "iVar1 = ppc_finish_symbols(PTR_DAT_001befb8)" identifier = (call_expression "ppc_finish_symbols(PTR_DAT_001befb8)" identifier (argument_list "(PTR_DAT_001befb8)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_000339f0();\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_000339f0();\n    return;\n  }" { (expression_statement "FUN_000339f0();" (call_expression "FUN_000339f0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5)" identifier (argument_list "(0,"%X%P: ppc_finish_symbols problem %E\n",5)" ( number_literal , (string_literal ""%X%P: ppc_finish_symbols problem %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d60(uVar2);" (call_expression "FUN_00034d60(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_000339f0();" (call_expression "FUN_000339f0()" identifier (argument_list "()" ( ))) ;) (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 -- yet parameter storage is locked */\n\nvoid ppc_finish(void)\n\n{\n  int iVar1;\n  char *fmt;\n  \n  if (params.ppc476_workaround != 0) {\n    lang_for_each_statement(no_zero_padding);\n  }\n  iVar1 = ppc_finish_symbols(PTR_link_info_001befb8);\n  if (iVar1 != 0) {\n    finish_default();\n    return;\n  }\n  fmt = (char *)dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);\n  einfo(fmt);\n  finish_default();\n  return;\n}\n\n" comment comment (function_definition "void ppc_finish(void)\n\n{\n  int iVar1;\n  char *fmt;\n  \n  if (params.ppc476_workaround != 0) {\n    lang_for_each_statement(no_zero_padding);\n  }\n  iVar1 = ppc_finish_symbols(PTR_link_info_001befb8);\n  if (iVar1 != 0) {\n    finish_default();\n    return;\n  }\n  fmt = (char *)dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);\n  einfo(fmt);\n  finish_default();\n  return;\n}" primitive_type (function_declarator "ppc_finish(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  char *fmt;\n  \n  if (params.ppc476_workaround != 0) {\n    lang_for_each_statement(no_zero_padding);\n  }\n  iVar1 = ppc_finish_symbols(PTR_link_info_001befb8);\n  if (iVar1 != 0) {\n    finish_default();\n    return;\n  }\n  fmt = (char *)dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);\n  einfo(fmt);\n  finish_default();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (if_statement "if (params.ppc476_workaround != 0) {\n    lang_for_each_statement(no_zero_padding);\n  }" if (parenthesized_expression "(params.ppc476_workaround != 0)" ( (binary_expression "params.ppc476_workaround != 0" (field_expression "params.ppc476_workaround" identifier . field_identifier) != number_literal) )) (compound_statement "{\n    lang_for_each_statement(no_zero_padding);\n  }" { (expression_statement "lang_for_each_statement(no_zero_padding);" (call_expression "lang_for_each_statement(no_zero_padding)" identifier (argument_list "(no_zero_padding)" ( identifier ))) ;) })) (expression_statement "iVar1 = ppc_finish_symbols(PTR_link_info_001befb8);" (assignment_expression "iVar1 = ppc_finish_symbols(PTR_link_info_001befb8)" identifier = (call_expression "ppc_finish_symbols(PTR_link_info_001befb8)" identifier (argument_list "(PTR_link_info_001befb8)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    finish_default();\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    finish_default();\n    return;\n  }" { (expression_statement "finish_default();" (call_expression "finish_default()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "fmt = (char *)dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5)" identifier (argument_list "(0,"%X%P: ppc_finish_symbols problem %E\n",5)" ( number_literal , (string_literal ""%X%P: ppc_finish_symbols problem %E\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt);" (call_expression "einfo(fmt)" identifier (argument_list "(fmt)" ( identifier ))) ;) (expression_statement "finish_default();" (call_expression "finish_default()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003ec20(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (DAT_001bf634 != 0) {\n    FUN_00023e20(FUN_0003fa30);\n  }\n  iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);\n  if (iVar1 != 0) {\n    FUN_000339f0();\n    return;\n  }\n  uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);\n  FUN_00034d60(uVar2);\n  FUN_000339f0();\n  return;\n}\n\n" (function_definition "void FUN_0003ec20(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (DAT_001bf634 != 0) {\n    FUN_00023e20(FUN_0003fa30);\n  }\n  iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);\n  if (iVar1 != 0) {\n    FUN_000339f0();\n    return;\n  }\n  uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);\n  FUN_00034d60(uVar2);\n  FUN_000339f0();\n  return;\n}" primitive_type (function_declarator "FUN_0003ec20(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (DAT_001bf634 != 0) {\n    FUN_00023e20(FUN_0003fa30);\n  }\n  iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);\n  if (iVar1 != 0) {\n    FUN_000339f0();\n    return;\n  }\n  uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);\n  FUN_00034d60(uVar2);\n  FUN_000339f0();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (DAT_001bf634 != 0) {\n    FUN_00023e20(FUN_0003fa30);\n  }" if (parenthesized_expression "(DAT_001bf634 != 0)" ( (binary_expression "DAT_001bf634 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00023e20(FUN_0003fa30);\n  }" { (expression_statement "FUN_00023e20(FUN_0003fa30);" (call_expression "FUN_00023e20(FUN_0003fa30)" identifier (argument_list "(FUN_0003fa30)" ( identifier ))) ;) })) (expression_statement "iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);" (assignment_expression "iVar1 = ppc_finish_symbols(PTR_DAT_001befb8)" identifier = (call_expression "ppc_finish_symbols(PTR_DAT_001befb8)" identifier (argument_list "(PTR_DAT_001befb8)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_000339f0();\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_000339f0();\n    return;\n  }" { (expression_statement "FUN_000339f0();" (call_expression "FUN_000339f0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5)" identifier = (call_expression "dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5)" identifier (argument_list "(0,"%X%P: ppc_finish_symbols problem %E\n",5)" ( number_literal , (string_literal ""%X%P: ppc_finish_symbols problem %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d60(uVar2);" (call_expression "FUN_00034d60(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_000339f0();" (call_expression "FUN_000339f0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0003ec20(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (DAT_001bf634 != 0) {\n    FUN_00023e20(FUN_0003fa30);\n  }\n  iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);\n  if (iVar1 != 0) {\n    FUN_000339f0();\n    return;\n  }\n  uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);\n  FUN_00034d60(uVar2);\n  FUN_000339f0();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003ec20(void)" (identifier "FUN_0003ec20") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (DAT_001bf634 != 0) {\n    FUN_00023e20(FUN_0003fa30);\n  }\n  iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);\n  if (iVar1 != 0) {\n    FUN_000339f0();\n    return;\n  }\n  uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);\n  FUN_00034d60(uVar2);\n  FUN_000339f0();\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (DAT_001bf634 != 0) {\n    FUN_00023e20(FUN_0003fa30);\n  }" (if "if") (parenthesized_expression "(DAT_001bf634 != 0)" (( "(") (binary_expression "DAT_001bf634 != 0" (identifier "DAT_001bf634") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00023e20(FUN_0003fa30);\n  }" ({ "{") (expression_statement "FUN_00023e20(FUN_0003fa30);" (call_expression "FUN_00023e20(FUN_0003fa30)" (identifier "FUN_00023e20") (argument_list "(FUN_0003fa30)" (( "(") (identifier "FUN_0003fa30") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);" (assignment_expression "iVar1 = ppc_finish_symbols(PTR_DAT_001befb8)" (identifier "iVar1") (= "=") (call_expression "ppc_finish_symbols(PTR_DAT_001befb8)" (identifier "ppc_finish_symbols") (argument_list "(PTR_DAT_001befb8)" (( "(") (identifier "PTR_DAT_001befb8") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    FUN_000339f0();\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_000339f0();\n    return;\n  }" ({ "{") (expression_statement "FUN_000339f0();" (call_expression "FUN_000339f0()" (identifier "FUN_000339f0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5)" (identifier "dcgettext") (argument_list "(0,"%X%P: ppc_finish_symbols problem %E\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%X%P: ppc_finish_symbols problem %E\n"" (" """) (string_content "%X%P: ppc_finish_symbols problem %E") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d60(uVar2);" (call_expression "FUN_00034d60(uVar2)" (identifier "FUN_00034d60") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "FUN_000339f0();" (call_expression "FUN_000339f0()" (identifier "FUN_000339f0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  int var_3;
  char *fmt;
  
  if (params.ppc476_workaround != 0) {
    var_1(no_zero_padding);
  }
  var_3 = var_2(PTR_link_info_001befb8);
  if (var_3 != 0) {
    var_4();
    return;
  }
  fmt = (char *)var_5(0,"%X%P: ppc_finish_symbols problem %E\n",5);
  var_6(fmt);
  var_4();
  return;
}


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

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

void MASKED(void)

{
  int iVar1;
  undefined4 uVar2;
  
  if (DAT_001bf634 != 0) {
    FUN_00023e20(FUN_0003fa30);
  }
  iVar1 = ppc_finish_symbols(PTR_DAT_001befb8);
  if (iVar1 != 0) {
    FUN_000339f0();
    return;
  }
  uVar2 = dcgettext(0,"%X%P: ppc_finish_symbols problem %E\n",5);
  FUN_00034d60(uVar2);
  FUN_000339f0();
  return;
}

