
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void do_add_symbols(Sized_relobj_file<64,_false> * this, Symbol_table *
   symtab, Read_symbols_data * sd, Layout * param_3) */

void __thiscall
gold::Sized_relobj_file<64,_false>::do_add_symbols
          (Sized_relobj_file<64,_false> *this,Symbol_table *symtab,Read_symbols_data *sd,
          Layout *param_3)

{
}



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

void FUN_00295160(int param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  int local_28;
  
  iVar4 = *(int *)(param_3 + 0xc);
  if (iVar4 == 0) {
    if (*(int *)(param_3 + 0x18) != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));
    }
  }
  else {
    local_28 = *(int *)(param_3 + 0x14);
    uVar2 = *(int *)(param_3 + 0x10) - local_28;
    uVar3 = uVar2 / 0x18;
    if (uVar2 != uVar3 * 0x18) {
      gettext("size of symbols is not multiple of symbol size");
      FUN_0028b750();
      return;
    }
    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;
    if (uVar2 < uVar3) {
      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);
      local_28 = *(int *)(param_3 + 0x14);
      iVar4 = *(int *)(param_3 + 0xc);
    }
    else if ((uVar3 < uVar2) &&
            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {
      *(int *)(param_1 + 0xc0) = iVar1;
    }
    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,
                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),
                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);
    iVar4 = *(int *)(param_3 + 0xc);
    if (iVar4 != 0) {
      FUN_0023de50(iVar4);
      FUN_003ae060(iVar4,0xc);
    }
    iVar4 = *(int *)(param_3 + 0x18);
    *(undefined4 *)(param_3 + 0xc) = 0;
    if (iVar4 != 0) {
      FUN_0023de50(iVar4);
      FUN_003ae060(iVar4,0xc);
    }
    *(undefined4 *)(param_3 + 0x18) = 0;
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x354e97
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x38]
MOV EAX,dword ptr [ESP + 0x34]
MOV EDI,dword ptr [ESP + 0x30]
MOV EBP,dword ptr [ESI + 0xc]
MOV dword ptr [ESP],EAX
TEST EBP,EBP
JZ 0x00295298
MOV EAX,dword ptr [ESI + 0x14]
MOV ECX,dword ptr [ESI + 0x10]
MOV EDX,0xaaaaaaab
SUB ECX,EAX
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,ECX
MUL EDX
SHR EDX,0x4
LEA EAX,[EDX + EDX*0x2]
SHL EAX,0x3
CMP ECX,EAX
JNZ 0x00295270
LEA EAX,[EDI + 0xbc]
MOV ECX,dword ptr [EDI + 0xbc]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [EDI + 0xc0]
MOV dword ptr [ESP + 0xc],EAX
SUB EAX,ECX
SAR EAX,0x2
CMP EDX,EAX
JA 0x002952c0
JNC 0x002951ea
LEA EAX,[ECX + EDX*0x4]
CMP dword ptr [ESP + 0xc],EAX
JZ 0x002951ea
MOV dword ptr [EDI + 0xc0],EAX
SUB ESP,0xc
LEA EAX,[EDI + 0xc8]
PUSH EAX
PUSH dword ptr [ESP + 0x18]
PUSH dword ptr [ESI + 0x1c]
MOV EAX,dword ptr [ESI + 0x18]
PUSH dword ptr [EAX + 0x8]
PUSH dword ptr [EDI + 0xb0]
PUSH EDX
MOV EAX,dword ptr [ESP + 0x28]
ADD EAX,dword ptr [EBP + 0x8]
PUSH EAX
PUSH EDI
PUSH dword ptr [ESP + 0x2c]
CALL 0x00360310
MOV EDI,dword ptr [ESI + 0xc]
ADD ESP,0x30
TEST EDI,EDI
JZ 0x0029523a
SUB ESP,0xc
PUSH EDI
CALL 0x0023de50
POP ECX
POP EBP
PUSH 0xc
PUSH EDI
CALL 0x003ae060
ADD ESP,0x10
MOV EDI,dword ptr [ESI + 0x18]
MOV dword ptr [ESI + 0xc],0x0
TEST EDI,EDI
JZ 0x0029525e
SUB ESP,0xc
PUSH EDI
CALL 0x0023de50
POP EAX
POP EDX
PUSH 0xc
PUSH EDI
CALL 0x003ae060
ADD ESP,0x10
MOV dword ptr [ESI + 0x18],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xffea1c7c]
PUSH EAX
CALL 0x00039440
MOV dword ptr [ESP + 0x40],EDI
MOV dword ptr [ESP + 0x44],EAX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x0028b750
MOV EAX,dword ptr [ESI + 0x18]
TEST EAX,EAX
JZ 0x00295265
PUSH EAX
LEA EAX,[EBX + 0xffea24a4]
PUSH EAX
LEA EAX,[EBX + 0xffea1a78]
PUSH 0x826
PUSH EAX
CALL 0x002446e0
MOV ECX,EDX
SUB ESP,0x8
SUB ECX,EAX
MOV dword ptr [ESP + 0x14],EDX
PUSH ECX
PUSH dword ptr [ESP + 0x14]
CALL 0x002352a0
MOV EAX,dword ptr [ESI + 0x14]
MOV EBP,dword ptr [ESI + 0xc]
MOV dword ptr [ESP + 0x14],EAX
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
JMP 0x002951ea
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00295160(int param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int local_28;\n  \n  iVar4 = *(int *)(param_3 + 0xc);\n  if (iVar4 == 0) {\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }\n  else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00295160(int param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int local_28;\n  \n  iVar4 = *(int *)(param_3 + 0xc);\n  if (iVar4 == 0) {\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }\n  else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00295160(int param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int local_28;\n  \n  iVar4 = *(int *)(param_3 + 0xc);\n  if (iVar4 == 0) {\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }\n  else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "iVar4 = *(int *)(param_3 + 0xc);" (assignment_expression "iVar4 = *(int *)(param_3 + 0xc)" identifier = (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 == 0) {\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }\n  else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }" { (if_statement "if (*(int *)(param_3 + 0x18) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }" if (parenthesized_expression "(*(int *)(param_3 + 0x18) != 0)" ( (binary_expression "*(int *)(param_3 + 0x18) != 0" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }" { comment (expression_statement "FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));" (call_expression "FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18))" identifier (argument_list "("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18))" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""do_add_symbols"" " string_content ") , (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) ))) ;) })) }) (else_clause "else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }" else (compound_statement "{\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }" { (expression_statement "local_28 = *(int *)(param_3 + 0x14);" (assignment_expression "local_28 = *(int *)(param_3 + 0x14)" identifier = (pointer_expression "*(int *)(param_3 + 0x14)" * (cast_expression "(int *)(param_3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(int *)(param_3 + 0x10) - local_28;" (assignment_expression "uVar2 = *(int *)(param_3 + 0x10) - local_28" identifier = (binary_expression "*(int *)(param_3 + 0x10) - local_28" (pointer_expression "*(int *)(param_3 + 0x10)" * (cast_expression "(int *)(param_3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x10)" ( (binary_expression "param_3 + 0x10" identifier + number_literal) )))) - identifier)) ;) (expression_statement "uVar3 = uVar2 / 0x18;" (assignment_expression "uVar3 = uVar2 / 0x18" identifier = (binary_expression "uVar2 / 0x18" identifier / number_literal)) ;) (if_statement "if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }" if (parenthesized_expression "(uVar2 != uVar3 * 0x18)" ( (binary_expression "uVar2 != uVar3 * 0x18" identifier != (binary_expression "uVar3 * 0x18" identifier * number_literal)) )) (compound_statement "{\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }" { (expression_statement "gettext("size of symbols is not multiple of symbol size");" (call_expression "gettext("size of symbols is not multiple of symbol size")" identifier (argument_list "("size of symbols is not multiple of symbol size")" ( (string_literal ""size of symbols is not multiple of symbol size"" " string_content ") ))) ;) (expression_statement "FUN_0028b750();" (call_expression "FUN_0028b750()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;" (assignment_expression "uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2" identifier = (binary_expression "*(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2" (binary_expression "*(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc)" (pointer_expression "*(int *)(param_1 + 0xc0)" * (cast_expression "(int *)(param_1 + 0xc0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc0)" ( (binary_expression "param_1 + 0xc0" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0xbc)" * (cast_expression "(int *)(param_1 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xbc)" ( (binary_expression "param_1 + 0xbc" identifier + number_literal) ))))) >> number_literal)) ;) (if_statement "if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }" if (parenthesized_expression "(uVar2 < uVar3)" ( (binary_expression "uVar2 < uVar3" identifier < identifier) )) (compound_statement "{\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }" { (expression_statement "FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);" (call_expression "FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2)" identifier (argument_list "(param_1 + 0xbc,uVar3 - uVar2)" ( (binary_expression "param_1 + 0xbc" identifier + number_literal) , (binary_expression "uVar3 - uVar2" identifier - identifier) ))) ;) (expression_statement "local_28 = *(int *)(param_3 + 0x14);" (assignment_expression "local_28 = *(int *)(param_3 + 0x14)" identifier = (pointer_expression "*(int *)(param_3 + 0x14)" * (cast_expression "(int *)(param_3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(param_3 + 0xc);" (assignment_expression "iVar4 = *(int *)(param_3 + 0xc)" identifier = (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) ))))) ;) }) (else_clause "else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }" else (if_statement "if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }" if (parenthesized_expression "((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1))" ( (binary_expression "(uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)" (parenthesized_expression "(uVar3 < uVar2)" ( (binary_expression "uVar3 < uVar2" identifier < identifier) )) && (parenthesized_expression "(iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)" ( (comma_expression "iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1" (assignment_expression "iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4" identifier = (binary_expression "*(int *)(param_1 + 0xbc) + uVar3 * 4" (pointer_expression "*(int *)(param_1 + 0xbc)" * (cast_expression "(int *)(param_1 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xbc)" ( (binary_expression "param_1 + 0xbc" identifier + number_literal) )))) + (binary_expression "uVar3 * 4" identifier * number_literal))) , (binary_expression "*(int *)(param_1 + 0xc0) != iVar1" (pointer_expression "*(int *)(param_1 + 0xc0)" * (cast_expression "(int *)(param_1 + 0xc0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc0)" ( (binary_expression "param_1 + 0xc0" identifier + number_literal) )))) != identifier)) ))) )) (compound_statement "{\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }" { (expression_statement "*(int *)(param_1 + 0xc0) = iVar1;" (assignment_expression "*(int *)(param_1 + 0xc0) = iVar1" (pointer_expression "*(int *)(param_1 + 0xc0)" * (cast_expression "(int *)(param_1 + 0xc0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc0)" ( (binary_expression "param_1 + 0xc0" identifier + number_literal) )))) = identifier) ;) })))) (expression_statement "FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);" (call_expression "FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200)" identifier (argument_list "(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200)" ( identifier , identifier , (binary_expression "local_28 + *(int *)(iVar4 + 8)" identifier + (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0xb0)" * (cast_expression "(undefined4 *)(param_1 + 0xb0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0)" ( (binary_expression "param_1 + 0xb0" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(*(int *)(param_3 + 0x18) + 8)" * (cast_expression "(undefined4 *)(*(int *)(param_3 + 0x18) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_3 + 0x18) + 8)" ( (binary_expression "*(int *)(param_3 + 0x18) + 8" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_3 + 0x1c)" * (cast_expression "(undefined4 *)(param_3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) , (binary_expression "param_1 + 0xbc" identifier + number_literal) , (binary_expression "param_1 + 200" identifier + number_literal) ))) ;) (expression_statement "iVar4 = *(int *)(param_3 + 0xc);" (assignment_expression "iVar4 = *(int *)(param_3 + 0xc)" identifier = (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }" { (expression_statement "FUN_0023de50(iVar4);" (call_expression "FUN_0023de50(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "FUN_003ae060(iVar4,0xc);" (call_expression "FUN_003ae060(iVar4,0xc)" identifier (argument_list "(iVar4,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "iVar4 = *(int *)(param_3 + 0x18);" (assignment_expression "iVar4 = *(int *)(param_3 + 0x18)" identifier = (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_3 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0xc) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0xc)" * (cast_expression "(undefined4 *)(param_3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }" { (expression_statement "FUN_0023de50(iVar4);" (call_expression "FUN_0023de50(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "FUN_003ae060(iVar4,0xc);" (call_expression "FUN_003ae060(iVar4,0xc)" identifier (argument_list "(iVar4,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "*(undefined4 *)(param_3 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x18)" * (cast_expression "(undefined4 *)(param_3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = number_literal) ;) }))) (return_statement "return;" return ;) })))
(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/* DWARF original prototype: void do_add_symbols(Sized_relobj_file<64,_false> * this, Symbol_table *\n   symtab, Read_symbols_data * sd, Layout * param_3) */\n\nvoid __thiscall\ngold::Sized_relobj_file<64,_false>::do_add_symbols\n          (Sized_relobj_file<64,_false> *this,Symbol_table *symtab,Read_symbols_data *sd,\n          Layout *param_3)\n\n{\n}\n\n" comment comment comment (ERROR "void __thiscall\ngold::Sized_relobj_file<64,_false>::do_add_symbols\n          (Sized_relobj_file<64,_false> *this,Symbol_table *symtab,Read_symbols_data *sd,\n          Layout *param_3)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::" identifier > : :) (function_declarator "do_add_symbols\n          (Sized_relobj_file<64,_false> *this,Symbol_table *symtab,Read_symbols_data *sd,\n          Layout *param_3)" identifier (parameter_list "(Sized_relobj_file<64,_false> *this,Symbol_table *symtab,Read_symbols_data *sd,\n          Layout *param_3)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Read_symbols_data *sd" type_identifier (pointer_declarator "*sd" * identifier)) , (parameter_declaration "Layout *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_00295160(int param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int local_28;\n  \n  iVar4 = *(int *)(param_3 + 0xc);\n  if (iVar4 == 0) {\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }\n  else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00295160(int param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int local_28;\n  \n  iVar4 = *(int *)(param_3 + 0xc);\n  if (iVar4 == 0) {\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }\n  else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00295160(int param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int local_28;\n  \n  iVar4 = *(int *)(param_3 + 0xc);\n  if (iVar4 == 0) {\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }\n  else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "iVar4 = *(int *)(param_3 + 0xc);" (assignment_expression "iVar4 = *(int *)(param_3 + 0xc)" identifier = (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 == 0) {\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }\n  else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }" { (if_statement "if (*(int *)(param_3 + 0x18) != 0) {\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }" if (parenthesized_expression "(*(int *)(param_3 + 0x18) != 0)" ( (binary_expression "*(int *)(param_3 + 0x18) != 0" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }" { (expression_statement "FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));" (call_expression "FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18))" identifier (argument_list "("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18))" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""do_add_symbols"" " string_content ") , (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) ))) ;) })) }) (else_clause "else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }" else (compound_statement "{\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }" { (expression_statement "local_28 = *(int *)(param_3 + 0x14);" (assignment_expression "local_28 = *(int *)(param_3 + 0x14)" identifier = (pointer_expression "*(int *)(param_3 + 0x14)" * (cast_expression "(int *)(param_3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(int *)(param_3 + 0x10) - local_28;" (assignment_expression "uVar2 = *(int *)(param_3 + 0x10) - local_28" identifier = (binary_expression "*(int *)(param_3 + 0x10) - local_28" (pointer_expression "*(int *)(param_3 + 0x10)" * (cast_expression "(int *)(param_3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x10)" ( (binary_expression "param_3 + 0x10" identifier + number_literal) )))) - identifier)) ;) (expression_statement "uVar3 = uVar2 / 0x18;" (assignment_expression "uVar3 = uVar2 / 0x18" identifier = (binary_expression "uVar2 / 0x18" identifier / number_literal)) ;) (if_statement "if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }" if (parenthesized_expression "(uVar2 != uVar3 * 0x18)" ( (binary_expression "uVar2 != uVar3 * 0x18" identifier != (binary_expression "uVar3 * 0x18" identifier * number_literal)) )) (compound_statement "{\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }" { (expression_statement "gettext("size of symbols is not multiple of symbol size");" (call_expression "gettext("size of symbols is not multiple of symbol size")" identifier (argument_list "("size of symbols is not multiple of symbol size")" ( (string_literal ""size of symbols is not multiple of symbol size"" " string_content ") ))) ;) (expression_statement "FUN_0028b750();" (call_expression "FUN_0028b750()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;" (assignment_expression "uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2" identifier = (binary_expression "*(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2" (binary_expression "*(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc)" (pointer_expression "*(int *)(param_1 + 0xc0)" * (cast_expression "(int *)(param_1 + 0xc0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc0)" ( (binary_expression "param_1 + 0xc0" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0xbc)" * (cast_expression "(int *)(param_1 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xbc)" ( (binary_expression "param_1 + 0xbc" identifier + number_literal) ))))) >> number_literal)) ;) (if_statement "if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }" if (parenthesized_expression "(uVar2 < uVar3)" ( (binary_expression "uVar2 < uVar3" identifier < identifier) )) (compound_statement "{\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }" { (expression_statement "FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);" (call_expression "FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2)" identifier (argument_list "(param_1 + 0xbc,uVar3 - uVar2)" ( (binary_expression "param_1 + 0xbc" identifier + number_literal) , (binary_expression "uVar3 - uVar2" identifier - identifier) ))) ;) (expression_statement "local_28 = *(int *)(param_3 + 0x14);" (assignment_expression "local_28 = *(int *)(param_3 + 0x14)" identifier = (pointer_expression "*(int *)(param_3 + 0x14)" * (cast_expression "(int *)(param_3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(param_3 + 0xc);" (assignment_expression "iVar4 = *(int *)(param_3 + 0xc)" identifier = (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) ))))) ;) }) (else_clause "else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }" else (if_statement "if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }" if (parenthesized_expression "((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1))" ( (binary_expression "(uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)" (parenthesized_expression "(uVar3 < uVar2)" ( (binary_expression "uVar3 < uVar2" identifier < identifier) )) && (parenthesized_expression "(iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)" ( (comma_expression "iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1" (assignment_expression "iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4" identifier = (binary_expression "*(int *)(param_1 + 0xbc) + uVar3 * 4" (pointer_expression "*(int *)(param_1 + 0xbc)" * (cast_expression "(int *)(param_1 + 0xbc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xbc)" ( (binary_expression "param_1 + 0xbc" identifier + number_literal) )))) + (binary_expression "uVar3 * 4" identifier * number_literal))) , (binary_expression "*(int *)(param_1 + 0xc0) != iVar1" (pointer_expression "*(int *)(param_1 + 0xc0)" * (cast_expression "(int *)(param_1 + 0xc0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc0)" ( (binary_expression "param_1 + 0xc0" identifier + number_literal) )))) != identifier)) ))) )) (compound_statement "{\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }" { (expression_statement "*(int *)(param_1 + 0xc0) = iVar1;" (assignment_expression "*(int *)(param_1 + 0xc0) = iVar1" (pointer_expression "*(int *)(param_1 + 0xc0)" * (cast_expression "(int *)(param_1 + 0xc0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc0)" ( (binary_expression "param_1 + 0xc0" identifier + number_literal) )))) = identifier) ;) })))) (expression_statement "FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);" (call_expression "FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200)" identifier (argument_list "(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200)" ( identifier , identifier , (binary_expression "local_28 + *(int *)(iVar4 + 8)" identifier + (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0xb0)" * (cast_expression "(undefined4 *)(param_1 + 0xb0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0)" ( (binary_expression "param_1 + 0xb0" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(*(int *)(param_3 + 0x18) + 8)" * (cast_expression "(undefined4 *)(*(int *)(param_3 + 0x18) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_3 + 0x18) + 8)" ( (binary_expression "*(int *)(param_3 + 0x18) + 8" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_3 + 0x1c)" * (cast_expression "(undefined4 *)(param_3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) , (binary_expression "param_1 + 0xbc" identifier + number_literal) , (binary_expression "param_1 + 200" identifier + number_literal) ))) ;) (expression_statement "iVar4 = *(int *)(param_3 + 0xc);" (assignment_expression "iVar4 = *(int *)(param_3 + 0xc)" identifier = (pointer_expression "*(int *)(param_3 + 0xc)" * (cast_expression "(int *)(param_3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }" { (expression_statement "FUN_0023de50(iVar4);" (call_expression "FUN_0023de50(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "FUN_003ae060(iVar4,0xc);" (call_expression "FUN_003ae060(iVar4,0xc)" identifier (argument_list "(iVar4,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "iVar4 = *(int *)(param_3 + 0x18);" (assignment_expression "iVar4 = *(int *)(param_3 + 0x18)" identifier = (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_3 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0xc) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0xc)" * (cast_expression "(undefined4 *)(param_3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }" { (expression_statement "FUN_0023de50(iVar4);" (call_expression "FUN_0023de50(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "FUN_003ae060(iVar4,0xc);" (call_expression "FUN_003ae060(iVar4,0xc)" identifier (argument_list "(iVar4,0xc)" ( identifier , number_literal ))) ;) })) (expression_statement "*(undefined4 *)(param_3 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x18)" * (cast_expression "(undefined4 *)(param_3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) = number_literal) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 (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 ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT * LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT - IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (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 { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_00295160(int param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int local_28;\n  \n  iVar4 = *(int *)(param_3 + 0xc);\n  if (iVar4 == 0) {\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }\n  else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00295160(int param_1,undefined4 param_2,int param_3)" (identifier "FUN_00295160") (parameter_list "(int param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int local_28;\n  \n  iVar4 = *(int *)(param_3 + 0xc);\n  if (iVar4 == 0) {\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }\n  else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (expression_statement "iVar4 = *(int *)(param_3 + 0xc);" (assignment_expression "iVar4 = *(int *)(param_3 + 0xc)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_3 + 0xc)" (* "*") (cast_expression "(int *)(param_3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar4 == 0) {\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }\n  else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(param_3 + 0x18) != 0) {\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }\n  }" ({ "{") (if_statement "if (*(int *)(param_3 + 0x18) != 0) {\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }" (if "if") (parenthesized_expression "(*(int *)(param_3 + 0x18) != 0)" (( "(") (binary_expression "*(int *)(param_3 + 0x18) != 0" (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));\n    }" ({ "{") (expression_statement "FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));" (call_expression "FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18))" (identifier "FUN_002446e0") (argument_list "("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18))" (( "(") (string_literal ""../../gold/object.cc"" (" """) (string_content "../../gold/object.cc") (" """)) (, ",") (number_literal "0x826") (, ",") (string_literal ""do_add_symbols"" (" """) (string_content "do_add_symbols") (" """)) (, ",") (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }" (else "else") (compound_statement "{\n    local_28 = *(int *)(param_3 + 0x14);\n    uVar2 = *(int *)(param_3 + 0x10) - local_28;\n    uVar3 = uVar2 / 0x18;\n    if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }\n    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;\n    if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }\n    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);\n    iVar4 = *(int *)(param_3 + 0xc);\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    iVar4 = *(int *)(param_3 + 0x18);\n    *(undefined4 *)(param_3 + 0xc) = 0;\n    if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }\n    *(undefined4 *)(param_3 + 0x18) = 0;\n  }" ({ "{") (expression_statement "local_28 = *(int *)(param_3 + 0x14);" (assignment_expression "local_28 = *(int *)(param_3 + 0x14)" (identifier "local_28") (= "=") (pointer_expression "*(int *)(param_3 + 0x14)" (* "*") (cast_expression "(int *)(param_3 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(int *)(param_3 + 0x10) - local_28;" (assignment_expression "uVar2 = *(int *)(param_3 + 0x10) - local_28" (identifier "uVar2") (= "=") (binary_expression "*(int *)(param_3 + 0x10) - local_28" (pointer_expression "*(int *)(param_3 + 0x10)" (* "*") (cast_expression "(int *)(param_3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x10)" (( "(") (binary_expression "param_3 + 0x10" (identifier "param_3") (+ "+") (number_literal "0x10")) () ")")))) (- "-") (identifier "local_28"))) (; ";")) (expression_statement "uVar3 = uVar2 / 0x18;" (assignment_expression "uVar3 = uVar2 / 0x18" (identifier "uVar3") (= "=") (binary_expression "uVar2 / 0x18" (identifier "uVar2") (/ "/") (number_literal "0x18"))) (; ";")) (if_statement "if (uVar2 != uVar3 * 0x18) {\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }" (if "if") (parenthesized_expression "(uVar2 != uVar3 * 0x18)" (( "(") (binary_expression "uVar2 != uVar3 * 0x18" (identifier "uVar2") (!= "!=") (binary_expression "uVar3 * 0x18" (identifier "uVar3") (* "*") (number_literal "0x18"))) () ")")) (compound_statement "{\n      gettext("size of symbols is not multiple of symbol size");\n      FUN_0028b750();\n      return;\n    }" ({ "{") (expression_statement "gettext("size of symbols is not multiple of symbol size");" (call_expression "gettext("size of symbols is not multiple of symbol size")" (identifier "gettext") (argument_list "("size of symbols is not multiple of symbol size")" (( "(") (string_literal ""size of symbols is not multiple of symbol size"" (" """) (string_content "size of symbols is not multiple of symbol size") (" """)) () ")"))) (; ";")) (expression_statement "FUN_0028b750();" (call_expression "FUN_0028b750()" (identifier "FUN_0028b750") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;" (assignment_expression "uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2" (identifier "uVar2") (= "=") (binary_expression "*(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2" (binary_expression "*(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc)" (pointer_expression "*(int *)(param_1 + 0xc0)" (* "*") (cast_expression "(int *)(param_1 + 0xc0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc0)" (( "(") (binary_expression "param_1 + 0xc0" (identifier "param_1") (+ "+") (number_literal "0xc0")) () ")")))) (- "-") (pointer_expression "*(int *)(param_1 + 0xbc)" (* "*") (cast_expression "(int *)(param_1 + 0xbc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xbc)" (( "(") (binary_expression "param_1 + 0xbc" (identifier "param_1") (+ "+") (number_literal "0xbc")) () ")"))))) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (uVar2 < uVar3) {\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }\n    else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }" (if "if") (parenthesized_expression "(uVar2 < uVar3)" (( "(") (binary_expression "uVar2 < uVar3" (identifier "uVar2") (< "<") (identifier "uVar3")) () ")")) (compound_statement "{\n      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);\n      local_28 = *(int *)(param_3 + 0x14);\n      iVar4 = *(int *)(param_3 + 0xc);\n    }" ({ "{") (expression_statement "FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);" (call_expression "FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2)" (identifier "FUN_002352a0") (argument_list "(param_1 + 0xbc,uVar3 - uVar2)" (( "(") (binary_expression "param_1 + 0xbc" (identifier "param_1") (+ "+") (number_literal "0xbc")) (, ",") (binary_expression "uVar3 - uVar2" (identifier "uVar3") (- "-") (identifier "uVar2")) () ")"))) (; ";")) (expression_statement "local_28 = *(int *)(param_3 + 0x14);" (assignment_expression "local_28 = *(int *)(param_3 + 0x14)" (identifier "local_28") (= "=") (pointer_expression "*(int *)(param_3 + 0x14)" (* "*") (cast_expression "(int *)(param_3 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar4 = *(int *)(param_3 + 0xc);" (assignment_expression "iVar4 = *(int *)(param_3 + 0xc)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_3 + 0xc)" (* "*") (cast_expression "(int *)(param_3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}")) (else_clause "else if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }" (else "else") (if_statement "if ((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }" (if "if") (parenthesized_expression "((uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1))" (( "(") (binary_expression "(uVar3 < uVar2) &&\n            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)" (parenthesized_expression "(uVar3 < uVar2)" (( "(") (binary_expression "uVar3 < uVar2" (identifier "uVar3") (< "<") (identifier "uVar2")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)" (( "(") (comma_expression "iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1" (assignment_expression "iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4" (identifier "iVar1") (= "=") (binary_expression "*(int *)(param_1 + 0xbc) + uVar3 * 4" (pointer_expression "*(int *)(param_1 + 0xbc)" (* "*") (cast_expression "(int *)(param_1 + 0xbc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xbc)" (( "(") (binary_expression "param_1 + 0xbc" (identifier "param_1") (+ "+") (number_literal "0xbc")) () ")")))) (+ "+") (binary_expression "uVar3 * 4" (identifier "uVar3") (* "*") (number_literal "4")))) (, ",") (binary_expression "*(int *)(param_1 + 0xc0) != iVar1" (pointer_expression "*(int *)(param_1 + 0xc0)" (* "*") (cast_expression "(int *)(param_1 + 0xc0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc0)" (( "(") (binary_expression "param_1 + 0xc0" (identifier "param_1") (+ "+") (number_literal "0xc0")) () ")")))) (!= "!=") (identifier "iVar1"))) () ")"))) () ")")) (compound_statement "{\n      *(int *)(param_1 + 0xc0) = iVar1;\n    }" ({ "{") (expression_statement "*(int *)(param_1 + 0xc0) = iVar1;" (assignment_expression "*(int *)(param_1 + 0xc0) = iVar1" (pointer_expression "*(int *)(param_1 + 0xc0)" (* "*") (cast_expression "(int *)(param_1 + 0xc0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc0)" (( "(") (binary_expression "param_1 + 0xc0" (identifier "param_1") (+ "+") (number_literal "0xc0")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (} "}"))))) (expression_statement "FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);" (call_expression "FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200)" (identifier "FUN_00360310") (argument_list "(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,\n                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),\n                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200)" (( "(") (identifier "param_2") (, ",") (identifier "param_1") (, ",") (binary_expression "local_28 + *(int *)(iVar4 + 8)" (identifier "local_28") (+ "+") (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) (, ",") (identifier "uVar3") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0xb0)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xb0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb0)" (( "(") (binary_expression "param_1 + 0xb0" (identifier "param_1") (+ "+") (number_literal "0xb0")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(*(int *)(param_3 + 0x18) + 8)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_3 + 0x18) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_3 + 0x18) + 8)" (( "(") (binary_expression "*(int *)(param_3 + 0x18) + 8" (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_3 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (binary_expression "param_1 + 0xbc" (identifier "param_1") (+ "+") (number_literal "0xbc")) (, ",") (binary_expression "param_1 + 200" (identifier "param_1") (+ "+") (number_literal "200")) () ")"))) (; ";")) (expression_statement "iVar4 = *(int *)(param_3 + 0xc);" (assignment_expression "iVar4 = *(int *)(param_3 + 0xc)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_3 + 0xc)" (* "*") (cast_expression "(int *)(param_3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }" ({ "{") (expression_statement "FUN_0023de50(iVar4);" (call_expression "FUN_0023de50(iVar4)" (identifier "FUN_0023de50") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "FUN_003ae060(iVar4,0xc);" (call_expression "FUN_003ae060(iVar4,0xc)" (identifier "FUN_003ae060") (argument_list "(iVar4,0xc)" (( "(") (identifier "iVar4") (, ",") (number_literal "0xc") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = *(int *)(param_3 + 0x18);" (assignment_expression "iVar4 = *(int *)(param_3 + 0x18)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0xc) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar4 != 0) {\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0023de50(iVar4);\n      FUN_003ae060(iVar4,0xc);\n    }" ({ "{") (expression_statement "FUN_0023de50(iVar4);" (call_expression "FUN_0023de50(iVar4)" (identifier "FUN_0023de50") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "FUN_003ae060(iVar4,0xc);" (call_expression "FUN_003ae060(iVar4,0xc)" (identifier "FUN_003ae060") (argument_list "(iVar4,0xc)" (( "(") (identifier "iVar4") (, ",") (number_literal "0xc") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_3 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void do_add_symbols(Sized_relobj_file<64,_false> * this, Symbol_table *
   symtab, Read_symbols_data * sd, Layout * param_3) */

void __thiscall
gold::Sized_relobj_file<64,_false>::do_add_symbols
          (Sized_relobj_file<64,_false> *this,Symbol_table *symtab,Read_symbols_data *sd,
          Layout *param_3)

{
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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: (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 (string_literal (string_content)) (number_literal) (string_literal (string_content)) (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))))))))))) alternative: (else_clause (compound_statement (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))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (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))))))) (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)))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (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: (binary_expression left: (identifier) right: (number_literal)))) right: (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: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_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: (identifier))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_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)))))) (identifier) (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))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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))))) (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))))) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (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 (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (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))))))) (expression_statement (assignment_expression left: (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))))) right: (number_literal))) (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (expression_statement (assignment_expression left: (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))))) right: (number_literal)))))) (return_statement))))

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

void MASKED(int param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  int local_28;
  
  iVar4 = *(int *)(param_3 + 0xc);
  if (iVar4 == 0) {
    if (*(int *)(param_3 + 0x18) != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/object.cc",0x826,"do_add_symbols",*(int *)(param_3 + 0x18));
    }
  }
  else {
    local_28 = *(int *)(param_3 + 0x14);
    uVar2 = *(int *)(param_3 + 0x10) - local_28;
    uVar3 = uVar2 / 0x18;
    if (uVar2 != uVar3 * 0x18) {
      gettext("size of symbols is not multiple of symbol size");
      FUN_0028b750();
      return;
    }
    uVar2 = *(int *)(param_1 + 0xc0) - *(int *)(param_1 + 0xbc) >> 2;
    if (uVar2 < uVar3) {
      FUN_002352a0(param_1 + 0xbc,uVar3 - uVar2);
      local_28 = *(int *)(param_3 + 0x14);
      iVar4 = *(int *)(param_3 + 0xc);
    }
    else if ((uVar3 < uVar2) &&
            (iVar1 = *(int *)(param_1 + 0xbc) + uVar3 * 4, *(int *)(param_1 + 0xc0) != iVar1)) {
      *(int *)(param_1 + 0xc0) = iVar1;
    }
    FUN_00360310(param_2,param_1,local_28 + *(int *)(iVar4 + 8),uVar3,
                 *(undefined4 *)(param_1 + 0xb0),*(undefined4 *)(*(int *)(param_3 + 0x18) + 8),
                 *(undefined4 *)(param_3 + 0x1c),param_1 + 0xbc,param_1 + 200);
    iVar4 = *(int *)(param_3 + 0xc);
    if (iVar4 != 0) {
      FUN_0023de50(iVar4);
      FUN_003ae060(iVar4,0xc);
    }
    iVar4 = *(int *)(param_3 + 0x18);
    *(undefined4 *)(param_3 + 0xc) = 0;
    if (iVar4 != 0) {
      FUN_0023de50(iVar4);
      FUN_003ae060(iVar4,0xc);
    }
    *(undefined4 *)(param_3 + 0x18) = 0;
  }
  return;
}

