
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Variable defined which should be unmapped: relocate */
/* WARNING: Removing unreachable block (ram,0x0006f190) */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void apply_relocation(Target_x86_64<64> * this,
   Relocate_info<64,_false> * relinfo, Elf_Addr r_offset, uint r_type, Elf_Swxword r_addend, Symbol
   * gsym, uchar * view, Elf_Addr address, section_size_type view_size) */

void __thiscall
anon_unknown.dwarf_32964f::Target_x86_64<64>::apply_relocation
          (Target_x86_64<64> *this,Relocate_info<64,_false> *relinfo,Elf_Addr r_offset,uint r_type,
          Elf_Swxword r_addend,Symbol *gsym,uchar *view,Elf_Addr address,section_size_type view_size
          )

{
  uint uVar1;
  byte bVar2;
  longlong lVar3;
  Symbol_value<64> *in_stack_ffffffa4;
  uint3 uStack_4c;
  Relocate relocate;
  Symbol_value<64> symval;
  uchar relbuf [24];
  
  relbuf[0xc] = '\0';
  relbuf[0xd] = '\0';
  relbuf[0xe] = '\0';
  relbuf[0xf] = '\0';
  relbuf._8_4_ = r_type;
  uVar1 = gsym->symtab_index_ - 1;
  symval.output_symtab_index_ = 0;
  symval.output_dynsym_index_ = 0xffffffff;
  symval._8_4_ = 0x80000000;
  symval.u_.merged_symbol_value = (Merged_symbol_value<64> *)0x0;
  symval.u_.value._4_4_ = 0;
  relbuf._0_8_ = r_offset;
  relbuf._16_8_ = r_addend;
  if (0xfffffffd < uVar1) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */
    gold::do_gold_unreachable("../../gold/target-reloc.h",0x1f2,"apply_relocation");
  }
  if (uVar1 == 0xfffffffd) {
                    /* WARNING: Subroutine does not return */
    gold::do_gold_unreachable("../../gold/object.h",0x70d,"set_output_symtab_index");
  }
  symval.u_.merged_symbol_value = (Merged_symbol_value<64> *)gsym[1].name_;
  symval.u_.value._4_4_ = gsym[1].version_;
  bVar2 = gsym->field_0x28 & 0xf;
  if (bVar2 == 6) {
    symval._8_4_ = 0xa0000000;
  }
  else if (bVar2 == 10) {
    symval._8_4_ = 0xc0000000;
  }
  _uStack_4c = (uint)uStack_4c;
  lVar3 = address + r_offset;
  symval.output_symtab_index_ = gsym->symtab_index_;
                    /* try { // try from 0006f14d to 0006f151 has its CatchHandler @ 0006f1e9 */
  Relocate::relocate((Relocate *)0xffffffff,(Relocate_info<64,_false> *)relbuf,(uint)gsym,
                     (Target_x86_64<64> *)&symval,(Output_section *)(view + (int)r_offset),
                     (size_t)lVar3,(uchar *)((ulonglong)lVar3 >> 0x20),(Sized_symbol<64> *)view_size
                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c);
  gold::Symbol_value<64>::~Symbol_value(&symval,(int)lVar3);
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Removing unreachable block (ram,0x0006f190) */

void FUN_0006f080(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,
                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,
                 int param_11,undefined4 param_12)

{
  int iVar1;
  byte bVar2;
  int local_48 [6];
  int local_30;
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  
  local_28 = 0;
  local_2c = param_5;
  iVar1 = *(int *)(param_8 + 0x10);
  local_20 = param_7;
  local_48[5] = param_3;
  local_30 = param_4;
  local_24 = param_6;
  local_48[0] = 0;
  local_48[1] = 0xffffffff;
  local_48[2] = 0x80000000;
  local_48[3] = 0;
  local_48[4] = 0;
  if (0xfffffffd < iVar1 - 1U) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */
    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);
  }
  if (iVar1 - 1U == 0xfffffffd) {
                    /* WARNING: Subroutine does not return */
    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);
  }
  local_48[3] = *(undefined4 *)(param_8 + 0x30);
  local_48[4] = *(undefined4 *)(param_8 + 0x34);
  bVar2 = *(byte *)(param_8 + 0x28) & 0xf;
  if (bVar2 == 6) {
    local_48[2] = 0xa0000000;
  }
  else if (bVar2 == 10) {
    local_48[2] = 0xc0000000;
  }
  local_48[0] = iVar1;
                    /* try { // try from 0006f14d to 0006f151 has its CatchHandler @ 0006f1e9 */
  FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,
               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);
  FUN_00077b40(local_48);
  return;
}


CALL 0x00058c42
ADD EAX,0x2cff7b
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x4c
MOV EDI,dword ptr [EBP + 0x30]
MOV EDX,dword ptr [EBP + 0x24]
MOV dword ptr [EBP + -0x54],EAX
MOV EAX,dword ptr [EBP + 0x18]
MOV ESI,dword ptr [EBP + 0x2c]
MOV dword ptr [EBP + -0x24],0x0
MOV ECX,dword ptr [EBP + 0x10]
MOV EBX,dword ptr [EBP + 0x14]
MOV dword ptr [EBP + -0x4c],EDI
MOV dword ptr [EBP + -0x28],EAX
MOV EDI,dword ptr [EBP + 0x20]
MOV EAX,dword ptr [EDX + 0x10]
MOV dword ptr [EBP + -0x50],ESI
MOV ESI,dword ptr [EBP + 0x1c]
MOV dword ptr [EBP + -0x1c],EDI
LEA EDI,[EAX + -0x1]
MOV dword ptr [EBP + -0x30],ECX
MOV dword ptr [EBP + -0x2c],EBX
MOV dword ptr [EBP + -0x20],ESI
MOV dword ptr [EBP + -0x44],0x0
MOV dword ptr [EBP + -0x40],0xffffffff
MOV dword ptr [EBP + -0x3c],0x80000000
MOV dword ptr [EBP + -0x38],0x0
MOV dword ptr [EBP + -0x34],0x0
CMP EDI,-0x3
JA 0x0006f1b1
JZ 0x0006f1cd
MOV ESI,dword ptr [EDX + 0x30]
MOV EDI,dword ptr [EDX + 0x34]
MOV dword ptr [EBP + -0x44],EAX
MOVZX EAX,byte ptr [EDX + 0x28]
MOV dword ptr [EBP + -0x38],ESI
AND EAX,0xf
MOV dword ptr [EBP + -0x34],EDI
CMP EAX,0x6
JZ 0x0006f180
CMP EAX,0xa
JZ 0x0006f170
MOV ESI,dword ptr [EBP + -0x50]
MOV EDI,dword ptr [EBP + -0x4c]
PUSH dword ptr [EBP + 0x34]
LEA EAX,[EBP + -0x45]
MOV byte ptr [EBP + -0x45],0x0
ADD ESI,ECX
ADC EDI,EBX
ADD ECX,dword ptr [EBP + 0x28]
PUSH EDI
PUSH ESI
LEA ESI,[EBP + -0x44]
PUSH ECX
MOV ECX,dword ptr [EBP + 0x8]
PUSH ESI
PUSH EDX
LEA EDX,[EBP + -0x30]
PUSH EDX
MOV EDX,dword ptr [EBP + 0xc]
PUSH -0x1
CALL 0x0006c6c0
ADD ESP,0x20
CMP byte ptr [EBP + -0x45],0x0
JNZ 0x0006f190
SUB ESP,0xc
PUSH ESI
CALL 0x00077b40
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
OR byte ptr [EBP + -0x39],0x40
JMP 0x0006f122
OR byte ptr [EBP + -0x39],0x20
JMP 0x0006f122
MOV EDI,dword ptr [EBP + -0x54]
SUB ESP,0xc
LEA EAX,[EDI + 0xfff0c908]
MOV EBX,EDI
PUSH EAX
CALL 0x000283c0
MOV dword ptr [ESP],EAX
CALL 0x000828d0
ADD ESP,0x10
JMP 0x0006f15b
MOV EBX,dword ptr [EBP + -0x54]
PUSH EDX
LEA EAX,[EBX + 0xfff11aac]
PUSH EAX
LEA EAX,[EBX + 0xfff0c4d9]
PUSH 0x1f2
PUSH EAX
CALL 0x0008b620
MOV EBX,dword ptr [EBP + -0x54]
PUSH EAX
LEA EAX,[EBX + 0xfff11a94]
PUSH EAX
LEA EAX,[EBX + 0xfff0c385]
PUSH 0x70d
PUSH EAX
CALL 0x0008b620
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Removing unreachable block (ram,0x0006f190) */\n\nvoid FUN_0006f080(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,\n                 int param_11,undefined4 param_12)\n\n{\n  int iVar1;\n  byte bVar2;\n  int local_48 [6];\n  int local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_28 = 0;\n  local_2c = param_5;\n  iVar1 = *(int *)(param_8 + 0x10);\n  local_20 = param_7;\n  local_48[5] = param_3;\n  local_30 = param_4;\n  local_24 = param_6;\n  local_48[0] = 0;\n  local_48[1] = 0xffffffff;\n  local_48[2] = 0x80000000;\n  local_48[3] = 0;\n  local_48[4] = 0;\n  if (0xfffffffd < iVar1 - 1U) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */\n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }\n  if (iVar1 - 1U == 0xfffffffd) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }\n  local_48[3] = *(undefined4 *)(param_8 + 0x30);\n  local_48[4] = *(undefined4 *)(param_8 + 0x34);\n  bVar2 = *(byte *)(param_8 + 0x28) & 0xf;\n  if (bVar2 == 6) {\n    local_48[2] = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }\n  local_48[0] = iVar1;\n                    /* try { // try from 0006f14d to 0006f151 has its CatchHandler @ 0006f1e9 */\n  FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);\n  FUN_00077b40(local_48);\n  return;\n}\n\n" comment comment (function_definition "void FUN_0006f080(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,\n                 int param_11,undefined4 param_12)\n\n{\n  int iVar1;\n  byte bVar2;\n  int local_48 [6];\n  int local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_28 = 0;\n  local_2c = param_5;\n  iVar1 = *(int *)(param_8 + 0x10);\n  local_20 = param_7;\n  local_48[5] = param_3;\n  local_30 = param_4;\n  local_24 = param_6;\n  local_48[0] = 0;\n  local_48[1] = 0xffffffff;\n  local_48[2] = 0x80000000;\n  local_48[3] = 0;\n  local_48[4] = 0;\n  if (0xfffffffd < iVar1 - 1U) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */\n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }\n  if (iVar1 - 1U == 0xfffffffd) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }\n  local_48[3] = *(undefined4 *)(param_8 + 0x30);\n  local_48[4] = *(undefined4 *)(param_8 + 0x34);\n  bVar2 = *(byte *)(param_8 + 0x28) & 0xf;\n  if (bVar2 == 6) {\n    local_48[2] = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }\n  local_48[0] = iVar1;\n                    /* try { // try from 0006f14d to 0006f151 has its CatchHandler @ 0006f1e9 */\n  FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);\n  FUN_00077b40(local_48);\n  return;\n}" primitive_type (function_declarator "FUN_0006f080(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,\n                 int param_11,undefined4 param_12)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,\n                 int param_11,undefined4 param_12)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "int param_8" primitive_type identifier) , (parameter_declaration "int param_9" primitive_type identifier) , (parameter_declaration "uint param_10" type_identifier identifier) , (parameter_declaration "int param_11" primitive_type identifier) , (parameter_declaration "undefined4 param_12" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  byte bVar2;\n  int local_48 [6];\n  int local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_28 = 0;\n  local_2c = param_5;\n  iVar1 = *(int *)(param_8 + 0x10);\n  local_20 = param_7;\n  local_48[5] = param_3;\n  local_30 = param_4;\n  local_24 = param_6;\n  local_48[0] = 0;\n  local_48[1] = 0xffffffff;\n  local_48[2] = 0x80000000;\n  local_48[3] = 0;\n  local_48[4] = 0;\n  if (0xfffffffd < iVar1 - 1U) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */\n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }\n  if (iVar1 - 1U == 0xfffffffd) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }\n  local_48[3] = *(undefined4 *)(param_8 + 0x30);\n  local_48[4] = *(undefined4 *)(param_8 + 0x34);\n  bVar2 = *(byte *)(param_8 + 0x28) & 0xf;\n  if (bVar2 == 6) {\n    local_48[2] = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }\n  local_48[0] = iVar1;\n                    /* try { // try from 0006f14d to 0006f151 has its CatchHandler @ 0006f1e9 */\n  FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);\n  FUN_00077b40(local_48);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int local_48 [6];" primitive_type (array_declarator "local_48 [6]" identifier [ number_literal ]) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_2c = param_5;" (assignment_expression "local_2c = param_5" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)(param_8 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_8 + 0x10)" identifier = (pointer_expression "*(int *)(param_8 + 0x10)" * (cast_expression "(int *)(param_8 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x10)" ( (binary_expression "param_8 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "local_20 = param_7;" (assignment_expression "local_20 = param_7" identifier = identifier) ;) (expression_statement "local_48[5] = param_3;" (assignment_expression "local_48[5] = param_3" (subscript_expression "local_48[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30 = param_4;" (assignment_expression "local_30 = param_4" identifier = identifier) ;) (expression_statement "local_24 = param_6;" (assignment_expression "local_24 = param_6" identifier = identifier) ;) (expression_statement "local_48[0] = 0;" (assignment_expression "local_48[0] = 0" (subscript_expression "local_48[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_48[1] = 0xffffffff;" (assignment_expression "local_48[1] = 0xffffffff" (subscript_expression "local_48[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_48[2] = 0x80000000;" (assignment_expression "local_48[2] = 0x80000000" (subscript_expression "local_48[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_48[3] = 0;" (assignment_expression "local_48[3] = 0" (subscript_expression "local_48[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_48[4] = 0;" (assignment_expression "local_48[4] = 0" (subscript_expression "local_48[4]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (0xfffffffd < iVar1 - 1U) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */\n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }" if (parenthesized_expression "(0xfffffffd < iVar1 - 1U)" ( (binary_expression "0xfffffffd < iVar1 - 1U" number_literal < (binary_expression "iVar1 - 1U" identifier - number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */\n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }" { comment comment (expression_statement "FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);" (call_expression "FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8)" identifier (argument_list "("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8)" ( (string_literal ""../../gold/target-reloc.h"" " string_content ") , number_literal , (string_literal ""apply_relocation"" " string_content ") , identifier ))) ;) })) (if_statement "if (iVar1 - 1U == 0xfffffffd) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }" if (parenthesized_expression "(iVar1 - 1U == 0xfffffffd)" ( (binary_expression "iVar1 - 1U == 0xfffffffd" (binary_expression "iVar1 - 1U" identifier - number_literal) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }" { comment (expression_statement "FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);" (call_expression "FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1)" identifier (argument_list "("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""set_output_symtab_index"" " string_content ") , identifier ))) ;) })) (expression_statement "local_48[3] = *(undefined4 *)(param_8 + 0x30);" (assignment_expression "local_48[3] = *(undefined4 *)(param_8 + 0x30)" (subscript_expression "local_48[3]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_8 + 0x30)" * (cast_expression "(undefined4 *)(param_8 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x30)" ( (binary_expression "param_8 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "local_48[4] = *(undefined4 *)(param_8 + 0x34);" (assignment_expression "local_48[4] = *(undefined4 *)(param_8 + 0x34)" (subscript_expression "local_48[4]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_8 + 0x34)" * (cast_expression "(undefined4 *)(param_8 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x34)" ( (binary_expression "param_8 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = *(byte *)(param_8 + 0x28) & 0xf;" (assignment_expression "bVar2 = *(byte *)(param_8 + 0x28) & 0xf" identifier = (binary_expression "*(byte *)(param_8 + 0x28) & 0xf" (pointer_expression "*(byte *)(param_8 + 0x28)" * (cast_expression "(byte *)(param_8 + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x28)" ( (binary_expression "param_8 + 0x28" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (bVar2 == 6) {\n    local_48[2] = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }" if (parenthesized_expression "(bVar2 == 6)" ( (binary_expression "bVar2 == 6" identifier == number_literal) )) (compound_statement "{\n    local_48[2] = 0xa0000000;\n  }" { (expression_statement "local_48[2] = 0xa0000000;" (assignment_expression "local_48[2] = 0xa0000000" (subscript_expression "local_48[2]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }" else (if_statement "if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }" if (parenthesized_expression "(bVar2 == 10)" ( (binary_expression "bVar2 == 10" identifier == number_literal) )) (compound_statement "{\n    local_48[2] = 0xc0000000;\n  }" { (expression_statement "local_48[2] = 0xc0000000;" (assignment_expression "local_48[2] = 0xc0000000" (subscript_expression "local_48[2]" identifier [ number_literal ]) = number_literal) ;) })))) (expression_statement "local_48[0] = iVar1;" (assignment_expression "local_48[0] = iVar1" (subscript_expression "local_48[0]" identifier [ number_literal ]) = identifier) ;) comment (expression_statement "FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);" (call_expression "FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12)" identifier (argument_list "(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12)" ( number_literal , (binary_expression "local_48 + 5" identifier + number_literal) , identifier , identifier , (binary_expression "param_3 + param_9" identifier + identifier) , (binary_expression "param_10 + param_3" identifier + identifier) , (binary_expression "param_11 + param_4 + (uint)CARRY4(param_10,param_3)" (binary_expression "param_11 + param_4" identifier + identifier) + (cast_expression "(uint)CARRY4(param_10,param_3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(param_10,param_3)" identifier (argument_list "(param_10,param_3)" ( identifier , identifier ))))) , identifier ))) ;) (expression_statement "FUN_00077b40(local_48);" (call_expression "FUN_00077b40(local_48)" identifier (argument_list "(local_48)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Variable defined which should be unmapped: relocate */\n/* WARNING: Removing unreachable block (ram,0x0006f190) */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void apply_relocation(Target_x86_64<64> * this,\n   Relocate_info<64,_false> * relinfo, Elf_Addr r_offset, uint r_type, Elf_Swxword r_addend, Symbol\n   * gsym, uchar * view, Elf_Addr address, section_size_type view_size) */\n\nvoid __thiscall\nanon_unknown.dwarf_32964f::Target_x86_64<64>::apply_relocation\n          (Target_x86_64<64> *this,Relocate_info<64,_false> *relinfo,Elf_Addr r_offset,uint r_type,\n          Elf_Swxword r_addend,Symbol *gsym,uchar *view,Elf_Addr address,section_size_type view_size\n          )\n\n{\n  uint uVar1;\n  byte bVar2;\n  longlong lVar3;\n  Symbol_value<64> *in_stack_ffffffa4;\n  uint3 uStack_4c;\n  Relocate relocate;\n  Symbol_value<64> symval;\n  uchar relbuf [24];\n  \n  relbuf[0xc] = '\0';\n  relbuf[0xd] = '\0';\n  relbuf[0xe] = '\0';\n  relbuf[0xf] = '\0';\n  relbuf._8_4_ = r_type;\n  uVar1 = gsym->symtab_index_ - 1;\n  symval.output_symtab_index_ = 0;\n  symval.output_dynsym_index_ = 0xffffffff;\n  symval._8_4_ = 0x80000000;\n  symval.u_.merged_symbol_value = (Merged_symbol_value<64> *)0x0;\n  symval.u_.value._4_4_ = 0;\n  relbuf._0_8_ = r_offset;\n  relbuf._16_8_ = r_addend;\n  if (0xfffffffd < uVar1) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */\n    gold::do_gold_unreachable("../../gold/target-reloc.h",0x1f2,"apply_relocation");\n  }\n  if (uVar1 == 0xfffffffd) {\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable("../../gold/object.h",0x70d,"set_output_symtab_index");\n  }\n  symval.u_.merged_symbol_value = (Merged_symbol_value<64> *)gsym[1].name_;\n  symval.u_.value._4_4_ = gsym[1].version_;\n  bVar2 = gsym->field_0x28 & 0xf;\n  if (bVar2 == 6) {\n    symval._8_4_ = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    symval._8_4_ = 0xc0000000;\n  }\n  _uStack_4c = (uint)uStack_4c;\n  lVar3 = address + r_offset;\n  symval.output_symtab_index_ = gsym->symtab_index_;\n                    /* try { // try from 0006f14d to 0006f151 has its CatchHandler @ 0006f1e9 */\n  Relocate::relocate((Relocate *)0xffffffff,(Relocate_info<64,_false> *)relbuf,(uint)gsym,\n                     (Target_x86_64<64> *)&symval,(Output_section *)(view + (int)r_offset),\n                     (size_t)lVar3,(uchar *)((ulonglong)lVar3 >> 0x20),(Sized_symbol<64> *)view_size\n                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c);\n  gold::Symbol_value<64>::~Symbol_value(&symval,(int)lVar3);\n  return;\n}\n\n" comment comment comment comment comment (function_definition "void __thiscall\nanon_unknown.dwarf_32964f::Target_x86_64<64>::apply_relocation\n          (Target_x86_64<64> *this,Relocate_info<64,_false> *relinfo,Elf_Addr r_offset,uint r_type,\n          Elf_Swxword r_addend,Symbol *gsym,uchar *view,Elf_Addr address,section_size_type view_size\n          )\n\n{\n  uint uVar1;\n  byte bVar2;\n  longlong lVar3;\n  Symbol_value<64> *in_stack_ffffffa4;\n  uint3 uStack_4c;\n  Relocate relocate;\n  Symbol_value<64> symval;\n  uchar relbuf [24];\n  \n  relbuf[0xc] = '\0';\n  relbuf[0xd] = '\0';\n  relbuf[0xe] = '\0';\n  relbuf[0xf] = '\0';\n  relbuf._8_4_ = r_type;\n  uVar1 = gsym->symtab_index_ - 1;\n  symval.output_symtab_index_ = 0;\n  symval.output_dynsym_index_ = 0xffffffff;\n  symval._8_4_ = 0x80000000;\n  symval.u_.merged_symbol_value = (Merged_symbol_value<64> *)0x0;\n  symval.u_.value._4_4_ = 0;\n  relbuf._0_8_ = r_offset;\n  relbuf._16_8_ = r_addend;\n  if (0xfffffffd < uVar1) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */\n    gold::do_gold_unreachable("../../gold/target-reloc.h",0x1f2,"apply_relocation");\n  }\n  if (uVar1 == 0xfffffffd) {\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable("../../gold/object.h",0x70d,"set_output_symtab_index");\n  }\n  symval.u_.merged_symbol_value = (Merged_symbol_value<64> *)gsym[1].name_;\n  symval.u_.value._4_4_ = gsym[1].version_;\n  bVar2 = gsym->field_0x28 & 0xf;\n  if (bVar2 == 6) {\n    symval._8_4_ = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    symval._8_4_ = 0xc0000000;\n  }\n  _uStack_4c = (uint)uStack_4c;\n  lVar3 = address + r_offset;\n  symval.output_symtab_index_ = gsym->symtab_index_;\n                    /* try { // try from 0006f14d to 0006f151 has its CatchHandler @ 0006f1e9 */\n  Relocate::relocate((Relocate *)0xffffffff,(Relocate_info<64,_false> *)relbuf,(uint)gsym,\n                     (Target_x86_64<64> *)&symval,(Output_section *)(view + (int)r_offset),\n                     (size_t)lVar3,(uchar *)((ulonglong)lVar3 >> 0x20),(Sized_symbol<64> *)view_size\n                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c);\n  gold::Symbol_value<64>::~Symbol_value(&symval,(int)lVar3);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_32964f::Target_x86_64<64>::" identifier . identifier : : identifier < number_literal > : :) (function_declarator "apply_relocation\n          (Target_x86_64<64> *this,Relocate_info<64,_false> *relinfo,Elf_Addr r_offset,uint r_type,\n          Elf_Swxword r_addend,Symbol *gsym,uchar *view,Elf_Addr address,section_size_type view_size\n          )" identifier (parameter_list "(Target_x86_64<64> *this,Relocate_info<64,_false> *relinfo,Elf_Addr r_offset,uint r_type,\n          Elf_Swxword r_addend,Symbol *gsym,uchar *view,Elf_Addr address,section_size_type view_size\n          )" ( (parameter_declaration "Target_x86_64<64> *this" type_identifier (ERROR "<64>" < number_literal >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Relocate_info" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *relinfo" type_identifier (ERROR ">" >) (pointer_declarator "*relinfo" * identifier)) , (parameter_declaration "Elf_Addr r_offset" type_identifier identifier) , (parameter_declaration "uint r_type" type_identifier identifier) , (parameter_declaration "Elf_Swxword r_addend" type_identifier identifier) , (parameter_declaration "Symbol *gsym" type_identifier (pointer_declarator "*gsym" * identifier)) , (parameter_declaration "uchar *view" type_identifier (pointer_declarator "*view" * identifier)) , (parameter_declaration "Elf_Addr address" type_identifier identifier) , (parameter_declaration "section_size_type view_size" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  byte bVar2;\n  longlong lVar3;\n  Symbol_value<64> *in_stack_ffffffa4;\n  uint3 uStack_4c;\n  Relocate relocate;\n  Symbol_value<64> symval;\n  uchar relbuf [24];\n  \n  relbuf[0xc] = '\0';\n  relbuf[0xd] = '\0';\n  relbuf[0xe] = '\0';\n  relbuf[0xf] = '\0';\n  relbuf._8_4_ = r_type;\n  uVar1 = gsym->symtab_index_ - 1;\n  symval.output_symtab_index_ = 0;\n  symval.output_dynsym_index_ = 0xffffffff;\n  symval._8_4_ = 0x80000000;\n  symval.u_.merged_symbol_value = (Merged_symbol_value<64> *)0x0;\n  symval.u_.value._4_4_ = 0;\n  relbuf._0_8_ = r_offset;\n  relbuf._16_8_ = r_addend;\n  if (0xfffffffd < uVar1) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */\n    gold::do_gold_unreachable("../../gold/target-reloc.h",0x1f2,"apply_relocation");\n  }\n  if (uVar1 == 0xfffffffd) {\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable("../../gold/object.h",0x70d,"set_output_symtab_index");\n  }\n  symval.u_.merged_symbol_value = (Merged_symbol_value<64> *)gsym[1].name_;\n  symval.u_.value._4_4_ = gsym[1].version_;\n  bVar2 = gsym->field_0x28 & 0xf;\n  if (bVar2 == 6) {\n    symval._8_4_ = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    symval._8_4_ = 0xc0000000;\n  }\n  _uStack_4c = (uint)uStack_4c;\n  lVar3 = address + r_offset;\n  symval.output_symtab_index_ = gsym->symtab_index_;\n                    /* try { // try from 0006f14d to 0006f151 has its CatchHandler @ 0006f1e9 */\n  Relocate::relocate((Relocate *)0xffffffff,(Relocate_info<64,_false> *)relbuf,(uint)gsym,\n                     (Target_x86_64<64> *)&symval,(Output_section *)(view + (int)r_offset),\n                     (size_t)lVar3,(uchar *)((ulonglong)lVar3 >> 0x20),(Sized_symbol<64> *)view_size\n                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c);\n  gold::Symbol_value<64>::~Symbol_value(&symval,(int)lVar3);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "longlong lVar3;" type_identifier identifier ;) (expression_statement "Symbol_value<64> *in_stack_ffffffa4;" (binary_expression "Symbol_value<64> *in_stack_ffffffa4" (binary_expression "Symbol_value<64" identifier < number_literal) > (pointer_expression "*in_stack_ffffffa4" * identifier)) ;) (declaration "uint3 uStack_4c;" type_identifier identifier ;) (declaration "Relocate relocate;" type_identifier identifier ;) (expression_statement "Symbol_value<64> symval;" (binary_expression "Symbol_value<64> symval" (binary_expression "Symbol_value<64" identifier < number_literal) > identifier) ;) (declaration "uchar relbuf [24];" type_identifier (array_declarator "relbuf [24]" identifier [ number_literal ]) ;) (expression_statement "relbuf[0xc] = '\0';" (assignment_expression "relbuf[0xc] = '\0'" (subscript_expression "relbuf[0xc]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "relbuf[0xd] = '\0';" (assignment_expression "relbuf[0xd] = '\0'" (subscript_expression "relbuf[0xd]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "relbuf[0xe] = '\0';" (assignment_expression "relbuf[0xe] = '\0'" (subscript_expression "relbuf[0xe]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "relbuf[0xf] = '\0';" (assignment_expression "relbuf[0xf] = '\0'" (subscript_expression "relbuf[0xf]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "relbuf._8_4_ = r_type;" (assignment_expression "relbuf._8_4_ = r_type" (field_expression "relbuf._8_4_" identifier . field_identifier) = identifier) ;) (expression_statement "uVar1 = gsym->symtab_index_ - 1;" (assignment_expression "uVar1 = gsym->symtab_index_ - 1" identifier = (binary_expression "gsym->symtab_index_ - 1" (field_expression "gsym->symtab_index_" identifier -> field_identifier) - number_literal)) ;) (expression_statement "symval.output_symtab_index_ = 0;" (assignment_expression "symval.output_symtab_index_ = 0" (field_expression "symval.output_symtab_index_" identifier . field_identifier) = number_literal) ;) (expression_statement "symval.output_dynsym_index_ = 0xffffffff;" (assignment_expression "symval.output_dynsym_index_ = 0xffffffff" (field_expression "symval.output_dynsym_index_" identifier . field_identifier) = number_literal) ;) (expression_statement "symval._8_4_ = 0x80000000;" (assignment_expression "symval._8_4_ = 0x80000000" (field_expression "symval._8_4_" identifier . field_identifier) = number_literal) ;) (expression_statement "symval.u_.merged_symbol_value = (Merged_symbol_value<64> *)0x0;" (assignment_expression "symval.u_.merged_symbol_value = (Merged_symbol_value<64> *)0x0" (field_expression "symval.u_.merged_symbol_value" (field_expression "symval.u_" identifier . field_identifier) . field_identifier) = (parenthesized_expression "(Merged_symbol_value<64> *)0x0" ( (binary_expression "Merged_symbol_value<64> *)0x0" (binary_expression "Merged_symbol_value<64" identifier < number_literal) > (pointer_expression "*)0x0" * (ERROR ")" )) number_literal)) ))) ;) (expression_statement "symval.u_.value._4_4_ = 0;" (assignment_expression "symval.u_.value._4_4_ = 0" (field_expression "symval.u_.value._4_4_" (field_expression "symval.u_.value" (field_expression "symval.u_" identifier . field_identifier) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "relbuf._0_8_ = r_offset;" (assignment_expression "relbuf._0_8_ = r_offset" (field_expression "relbuf._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "relbuf._16_8_ = r_addend;" (assignment_expression "relbuf._16_8_ = r_addend" (field_expression "relbuf._16_8_" identifier . field_identifier) = identifier) ;) (if_statement "if (0xfffffffd < uVar1) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */\n    gold::do_gold_unreachable("../../gold/target-reloc.h",0x1f2,"apply_relocation");\n  }" if (parenthesized_expression "(0xfffffffd < uVar1)" ( (binary_expression "0xfffffffd < uVar1" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */\n    gold::do_gold_unreachable("../../gold/target-reloc.h",0x1f2,"apply_relocation");\n  }" { comment comment (labeled_statement "gold::do_gold_unreachable("../../gold/target-reloc.h",0x1f2,"apply_relocation");" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable("../../gold/target-reloc.h",0x1f2,"apply_relocation");" (call_expression "do_gold_unreachable("../../gold/target-reloc.h",0x1f2,"apply_relocation")" identifier (argument_list "("../../gold/target-reloc.h",0x1f2,"apply_relocation")" ( (string_literal ""../../gold/target-reloc.h"" " string_content ") , number_literal , (string_literal ""apply_relocation"" " string_content ") ))) ;)) })) (if_statement "if (uVar1 == 0xfffffffd) {\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable("../../gold/object.h",0x70d,"set_output_symtab_index");\n  }" if (parenthesized_expression "(uVar1 == 0xfffffffd)" ( (binary_expression "uVar1 == 0xfffffffd" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable("../../gold/object.h",0x70d,"set_output_symtab_index");\n  }" { comment (labeled_statement "gold::do_gold_unreachable("../../gold/object.h",0x70d,"set_output_symtab_index");" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable("../../gold/object.h",0x70d,"set_output_symtab_index");" (call_expression "do_gold_unreachable("../../gold/object.h",0x70d,"set_output_symtab_index")" identifier (argument_list "("../../gold/object.h",0x70d,"set_output_symtab_index")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""set_output_symtab_index"" " string_content ") ))) ;)) })) (expression_statement "symval.u_.merged_symbol_value = (Merged_symbol_value<64> *)gsym[1].name_;" (assignment_expression "symval.u_.merged_symbol_value = (Merged_symbol_value<64> *)gsym[1].name_" (field_expression "symval.u_.merged_symbol_value" (field_expression "symval.u_" identifier . field_identifier) . field_identifier) = (parenthesized_expression "(Merged_symbol_value<64> *)gsym[1].name_" ( (binary_expression "Merged_symbol_value<64> *)gsym[1].name_" (binary_expression "Merged_symbol_value<64" identifier < number_literal) > (pointer_expression "*)gsym[1].name_" * (ERROR ")" )) (field_expression "gsym[1].name_" (subscript_expression "gsym[1]" identifier [ number_literal ]) . field_identifier))) ))) ;) (expression_statement "symval.u_.value._4_4_ = gsym[1].version_;" (assignment_expression "symval.u_.value._4_4_ = gsym[1].version_" (field_expression "symval.u_.value._4_4_" (field_expression "symval.u_.value" (field_expression "symval.u_" identifier . field_identifier) . field_identifier) . field_identifier) = (field_expression "gsym[1].version_" (subscript_expression "gsym[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "bVar2 = gsym->field_0x28 & 0xf;" (assignment_expression "bVar2 = gsym->field_0x28 & 0xf" identifier = (binary_expression "gsym->field_0x28 & 0xf" (field_expression "gsym->field_0x28" identifier -> field_identifier) & number_literal)) ;) (if_statement "if (bVar2 == 6) {\n    symval._8_4_ = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    symval._8_4_ = 0xc0000000;\n  }" if (parenthesized_expression "(bVar2 == 6)" ( (binary_expression "bVar2 == 6" identifier == number_literal) )) (compound_statement "{\n    symval._8_4_ = 0xa0000000;\n  }" { (expression_statement "symval._8_4_ = 0xa0000000;" (assignment_expression "symval._8_4_ = 0xa0000000" (field_expression "symval._8_4_" identifier . field_identifier) = number_literal) ;) }) (else_clause "else if (bVar2 == 10) {\n    symval._8_4_ = 0xc0000000;\n  }" else (if_statement "if (bVar2 == 10) {\n    symval._8_4_ = 0xc0000000;\n  }" if (parenthesized_expression "(bVar2 == 10)" ( (binary_expression "bVar2 == 10" identifier == number_literal) )) (compound_statement "{\n    symval._8_4_ = 0xc0000000;\n  }" { (expression_statement "symval._8_4_ = 0xc0000000;" (assignment_expression "symval._8_4_ = 0xc0000000" (field_expression "symval._8_4_" identifier . field_identifier) = number_literal) ;) })))) (expression_statement "_uStack_4c = (uint)uStack_4c;" (assignment_expression "_uStack_4c = (uint)uStack_4c" identifier = (cast_expression "(uint)uStack_4c" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "lVar3 = address + r_offset;" (assignment_expression "lVar3 = address + r_offset" identifier = (binary_expression "address + r_offset" identifier + identifier)) ;) (expression_statement "symval.output_symtab_index_ = gsym->symtab_index_;" (assignment_expression "symval.output_symtab_index_ = gsym->symtab_index_" (field_expression "symval.output_symtab_index_" identifier . field_identifier) = (field_expression "gsym->symtab_index_" identifier -> field_identifier)) ;) comment (labeled_statement "Relocate::relocate((Relocate *)0xffffffff,(Relocate_info<64,_false> *)relbuf,(uint)gsym,\n                     (Target_x86_64<64> *)&symval,(Output_section *)(view + (int)r_offset),\n                     (size_t)lVar3,(uchar *)((ulonglong)lVar3 >> 0x20),(Sized_symbol<64> *)view_size\n                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c);\n  gold::Symbol_value<64>::~Symbol_value(&symval,(int)lVar3);\n  return;" statement_identifier : (ERROR ":relocate((Relocate *)0xffffffff,(Relocate_info<64,_false> *)relbuf,(uint)gsym,\n                     (Target_x86_64<64> *)&symval,(Output_section *)(view + (int)r_offset),\n                     (size_t)lVar3,(uchar *)((ulonglong)lVar3 >> 0x20),(Sized_symbol<64> *)view_size\n                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c);\n  gold::Symbol_value<64>::~Symbol_value(&symval,(int)lVar3);" : identifier ( (cast_expression "(Relocate *)0xffffffff" ( (type_descriptor "Relocate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , ( (binary_expression "Relocate_info<64" identifier < number_literal) , (binary_expression "_false> *)relbuf" identifier > (pointer_expression "*)relbuf" * (ERROR ")" )) identifier)) , (cast_expression "(uint)gsym" ( (type_descriptor "uint" type_identifier) ) identifier) , ( (ERROR "Target_x86_64<64> *)&symval,(Output_section *)(view + (int)r_offset),\n                     (size_t)lVar3,(uchar *)((ulonglong)lVar3 >> 0x20),(Sized_symbol<64> *)view_size\n                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c);\n  gold::Symbol_value<64>::" (comma_expression "Target_x86_64<64> *)&symval,(Output_section *)(view + (int)r_offset),\n                     (size_t)lVar3,(uchar *)((ulonglong)lVar3 >> 0x20),(Sized_symbol<64> *)view_size\n                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c)" (binary_expression "Target_x86_64<64> *)&symval" (binary_expression "Target_x86_64<64" identifier < number_literal) > (pointer_expression "*)&symval" * (ERROR ")" )) (pointer_expression "&symval" & identifier))) , (comma_expression "(Output_section *)(view + (int)r_offset),\n                     (size_t)lVar3,(uchar *)((ulonglong)lVar3 >> 0x20),(Sized_symbol<64> *)view_size\n                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c)" (cast_expression "(Output_section *)(view + (int)r_offset)" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + (int)r_offset)" ( (binary_expression "view + (int)r_offset" identifier + (cast_expression "(int)r_offset" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (comma_expression "(size_t)lVar3,(uchar *)((ulonglong)lVar3 >> 0x20),(Sized_symbol<64> *)view_size\n                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c)" (cast_expression "(size_t)lVar3" ( (type_descriptor "size_t" primitive_type) ) identifier) , (comma_expression "(uchar *)((ulonglong)lVar3 >> 0x20),(Sized_symbol<64> *)view_size\n                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c)" (cast_expression "(uchar *)((ulonglong)lVar3 >> 0x20)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)lVar3 >> 0x20)" ( (binary_expression "(ulonglong)lVar3 >> 0x20" (cast_expression "(ulonglong)lVar3" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (parenthesized_expression "(Sized_symbol<64> *)view_size\n                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c)" ( (comma_expression "Sized_symbol<64> *)view_size\n                     ,in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c" (binary_expression "Sized_symbol<64> *)view_size" (binary_expression "Sized_symbol<64" identifier < number_literal) > (pointer_expression "*)view_size" * (ERROR ")" )) identifier)) , (comma_expression "in_stack_ffffffa4,(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c" identifier , (comma_expression "(uchar *)&_GLOBAL_OFFSET_TABLE_,address,_uStack_4c" (cast_expression "(uchar *)&_GLOBAL_OFFSET_TABLE_" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) , (comma_expression "address,_uStack_4c" identifier , identifier)))) )))))) ; identifier : : identifier < number_literal > : :) (unary_expression "~Symbol_value(&symval,(int)lVar3)" ~ (call_expression "Symbol_value(&symval,(int)lVar3)" identifier (argument_list "(&symval,(int)lVar3)" ( (pointer_expression "&symval" & identifier) , (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (return_statement "return;" return ;)) })))
(translation_unit "void FUN_0006f080(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,\n                 int param_11,undefined4 param_12)\n\n{\n  int iVar1;\n  byte bVar2;\n  int local_48 [6];\n  int local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_28 = 0;\n  local_2c = param_5;\n  iVar1 = *(int *)(param_8 + 0x10);\n  local_20 = param_7;\n  local_48[5] = param_3;\n  local_30 = param_4;\n  local_24 = param_6;\n  local_48[0] = 0;\n  local_48[1] = 0xffffffff;\n  local_48[2] = 0x80000000;\n  local_48[3] = 0;\n  local_48[4] = 0;\n  if (0xfffffffd < iVar1 - 1U) {\n                    \n                    \n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }\n  if (iVar1 - 1U == 0xfffffffd) {\n                    \n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }\n  local_48[3] = *(undefined4 *)(param_8 + 0x30);\n  local_48[4] = *(undefined4 *)(param_8 + 0x34);\n  bVar2 = *(byte *)(param_8 + 0x28) & 0xf;\n  if (bVar2 == 6) {\n    local_48[2] = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }\n  local_48[0] = iVar1;\n                    \n  FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);\n  FUN_00077b40(local_48);\n  return;\n}\n\n" (function_definition "void FUN_0006f080(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,\n                 int param_11,undefined4 param_12)\n\n{\n  int iVar1;\n  byte bVar2;\n  int local_48 [6];\n  int local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_28 = 0;\n  local_2c = param_5;\n  iVar1 = *(int *)(param_8 + 0x10);\n  local_20 = param_7;\n  local_48[5] = param_3;\n  local_30 = param_4;\n  local_24 = param_6;\n  local_48[0] = 0;\n  local_48[1] = 0xffffffff;\n  local_48[2] = 0x80000000;\n  local_48[3] = 0;\n  local_48[4] = 0;\n  if (0xfffffffd < iVar1 - 1U) {\n                    \n                    \n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }\n  if (iVar1 - 1U == 0xfffffffd) {\n                    \n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }\n  local_48[3] = *(undefined4 *)(param_8 + 0x30);\n  local_48[4] = *(undefined4 *)(param_8 + 0x34);\n  bVar2 = *(byte *)(param_8 + 0x28) & 0xf;\n  if (bVar2 == 6) {\n    local_48[2] = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }\n  local_48[0] = iVar1;\n                    \n  FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);\n  FUN_00077b40(local_48);\n  return;\n}" primitive_type (function_declarator "FUN_0006f080(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,\n                 int param_11,undefined4 param_12)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,\n                 int param_11,undefined4 param_12)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "int param_8" primitive_type identifier) , (parameter_declaration "int param_9" primitive_type identifier) , (parameter_declaration "uint param_10" type_identifier identifier) , (parameter_declaration "int param_11" primitive_type identifier) , (parameter_declaration "undefined4 param_12" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  byte bVar2;\n  int local_48 [6];\n  int local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_28 = 0;\n  local_2c = param_5;\n  iVar1 = *(int *)(param_8 + 0x10);\n  local_20 = param_7;\n  local_48[5] = param_3;\n  local_30 = param_4;\n  local_24 = param_6;\n  local_48[0] = 0;\n  local_48[1] = 0xffffffff;\n  local_48[2] = 0x80000000;\n  local_48[3] = 0;\n  local_48[4] = 0;\n  if (0xfffffffd < iVar1 - 1U) {\n                    \n                    \n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }\n  if (iVar1 - 1U == 0xfffffffd) {\n                    \n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }\n  local_48[3] = *(undefined4 *)(param_8 + 0x30);\n  local_48[4] = *(undefined4 *)(param_8 + 0x34);\n  bVar2 = *(byte *)(param_8 + 0x28) & 0xf;\n  if (bVar2 == 6) {\n    local_48[2] = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }\n  local_48[0] = iVar1;\n                    \n  FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);\n  FUN_00077b40(local_48);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int local_48 [6];" primitive_type (array_declarator "local_48 [6]" identifier [ number_literal ]) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_2c = param_5;" (assignment_expression "local_2c = param_5" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)(param_8 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_8 + 0x10)" identifier = (pointer_expression "*(int *)(param_8 + 0x10)" * (cast_expression "(int *)(param_8 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x10)" ( (binary_expression "param_8 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "local_20 = param_7;" (assignment_expression "local_20 = param_7" identifier = identifier) ;) (expression_statement "local_48[5] = param_3;" (assignment_expression "local_48[5] = param_3" (subscript_expression "local_48[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30 = param_4;" (assignment_expression "local_30 = param_4" identifier = identifier) ;) (expression_statement "local_24 = param_6;" (assignment_expression "local_24 = param_6" identifier = identifier) ;) (expression_statement "local_48[0] = 0;" (assignment_expression "local_48[0] = 0" (subscript_expression "local_48[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_48[1] = 0xffffffff;" (assignment_expression "local_48[1] = 0xffffffff" (subscript_expression "local_48[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_48[2] = 0x80000000;" (assignment_expression "local_48[2] = 0x80000000" (subscript_expression "local_48[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_48[3] = 0;" (assignment_expression "local_48[3] = 0" (subscript_expression "local_48[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_48[4] = 0;" (assignment_expression "local_48[4] = 0" (subscript_expression "local_48[4]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (0xfffffffd < iVar1 - 1U) {\n                    \n                    \n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }" if (parenthesized_expression "(0xfffffffd < iVar1 - 1U)" ( (binary_expression "0xfffffffd < iVar1 - 1U" number_literal < (binary_expression "iVar1 - 1U" identifier - number_literal)) )) (compound_statement "{\n                    \n                    \n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }" { (expression_statement "FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);" (call_expression "FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8)" identifier (argument_list "("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8)" ( (string_literal ""../../gold/target-reloc.h"" " string_content ") , number_literal , (string_literal ""apply_relocation"" " string_content ") , identifier ))) ;) })) (if_statement "if (iVar1 - 1U == 0xfffffffd) {\n                    \n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }" if (parenthesized_expression "(iVar1 - 1U == 0xfffffffd)" ( (binary_expression "iVar1 - 1U == 0xfffffffd" (binary_expression "iVar1 - 1U" identifier - number_literal) == number_literal) )) (compound_statement "{\n                    \n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }" { (expression_statement "FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);" (call_expression "FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1)" identifier (argument_list "("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""set_output_symtab_index"" " string_content ") , identifier ))) ;) })) (expression_statement "local_48[3] = *(undefined4 *)(param_8 + 0x30);" (assignment_expression "local_48[3] = *(undefined4 *)(param_8 + 0x30)" (subscript_expression "local_48[3]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_8 + 0x30)" * (cast_expression "(undefined4 *)(param_8 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x30)" ( (binary_expression "param_8 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "local_48[4] = *(undefined4 *)(param_8 + 0x34);" (assignment_expression "local_48[4] = *(undefined4 *)(param_8 + 0x34)" (subscript_expression "local_48[4]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_8 + 0x34)" * (cast_expression "(undefined4 *)(param_8 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x34)" ( (binary_expression "param_8 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "bVar2 = *(byte *)(param_8 + 0x28) & 0xf;" (assignment_expression "bVar2 = *(byte *)(param_8 + 0x28) & 0xf" identifier = (binary_expression "*(byte *)(param_8 + 0x28) & 0xf" (pointer_expression "*(byte *)(param_8 + 0x28)" * (cast_expression "(byte *)(param_8 + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x28)" ( (binary_expression "param_8 + 0x28" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (bVar2 == 6) {\n    local_48[2] = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }" if (parenthesized_expression "(bVar2 == 6)" ( (binary_expression "bVar2 == 6" identifier == number_literal) )) (compound_statement "{\n    local_48[2] = 0xa0000000;\n  }" { (expression_statement "local_48[2] = 0xa0000000;" (assignment_expression "local_48[2] = 0xa0000000" (subscript_expression "local_48[2]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }" else (if_statement "if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }" if (parenthesized_expression "(bVar2 == 10)" ( (binary_expression "bVar2 == 10" identifier == number_literal) )) (compound_statement "{\n    local_48[2] = 0xc0000000;\n  }" { (expression_statement "local_48[2] = 0xc0000000;" (assignment_expression "local_48[2] = 0xc0000000" (subscript_expression "local_48[2]" identifier [ number_literal ]) = number_literal) ;) })))) (expression_statement "local_48[0] = iVar1;" (assignment_expression "local_48[0] = iVar1" (subscript_expression "local_48[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);" (call_expression "FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12)" identifier (argument_list "(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12)" ( number_literal , (binary_expression "local_48 + 5" identifier + number_literal) , identifier , identifier , (binary_expression "param_3 + param_9" identifier + identifier) , (binary_expression "param_10 + param_3" identifier + identifier) , (binary_expression "param_11 + param_4 + (uint)CARRY4(param_10,param_3)" (binary_expression "param_11 + param_4" identifier + identifier) + (cast_expression "(uint)CARRY4(param_10,param_3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(param_10,param_3)" identifier (argument_list "(param_10,param_3)" ( identifier , identifier ))))) , identifier ))) ;) (expression_statement "FUN_00077b40(local_48);" (call_expression "FUN_00077b40(local_48)" identifier (argument_list "(local_48)" ( identifier ))) ;) (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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_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 = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (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) )))) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) , IDENT , IDENT , (binary_expression IDENT + IDENT) , (binary_expression IDENT + IDENT) , (binary_expression (binary_expression IDENT + IDENT) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0006f080(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,\n                 int param_11,undefined4 param_12)\n\n{\n  int iVar1;\n  byte bVar2;\n  int local_48 [6];\n  int local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_28 = 0;\n  local_2c = param_5;\n  iVar1 = *(int *)(param_8 + 0x10);\n  local_20 = param_7;\n  local_48[5] = param_3;\n  local_30 = param_4;\n  local_24 = param_6;\n  local_48[0] = 0;\n  local_48[1] = 0xffffffff;\n  local_48[2] = 0x80000000;\n  local_48[3] = 0;\n  local_48[4] = 0;\n  if (0xfffffffd < iVar1 - 1U) {\n                    \n                    \n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }\n  if (iVar1 - 1U == 0xfffffffd) {\n                    \n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }\n  local_48[3] = *(undefined4 *)(param_8 + 0x30);\n  local_48[4] = *(undefined4 *)(param_8 + 0x34);\n  bVar2 = *(byte *)(param_8 + 0x28) & 0xf;\n  if (bVar2 == 6) {\n    local_48[2] = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }\n  local_48[0] = iVar1;\n                    \n  FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);\n  FUN_00077b40(local_48);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0006f080(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,\n                 int param_11,undefined4 param_12)" (identifier "FUN_0006f080") (parameter_list "(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,\n                 int param_11,undefined4 param_12)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) (, ",") (parameter_declaration "int param_8" (primitive_type "int") (identifier "param_8")) (, ",") (parameter_declaration "int param_9" (primitive_type "int") (identifier "param_9")) (, ",") (parameter_declaration "uint param_10" (type_identifier "uint") (identifier "param_10")) (, ",") (parameter_declaration "int param_11" (primitive_type "int") (identifier "param_11")) (, ",") (parameter_declaration "undefined4 param_12" (type_identifier "undefined4") (identifier "param_12")) () ")"))) (compound_statement "{\n  int iVar1;\n  byte bVar2;\n  int local_48 [6];\n  int local_30;\n  undefined4 local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  local_28 = 0;\n  local_2c = param_5;\n  iVar1 = *(int *)(param_8 + 0x10);\n  local_20 = param_7;\n  local_48[5] = param_3;\n  local_30 = param_4;\n  local_24 = param_6;\n  local_48[0] = 0;\n  local_48[1] = 0xffffffff;\n  local_48[2] = 0x80000000;\n  local_48[3] = 0;\n  local_48[4] = 0;\n  if (0xfffffffd < iVar1 - 1U) {\n                    \n                    \n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }\n  if (iVar1 - 1U == 0xfffffffd) {\n                    \n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }\n  local_48[3] = *(undefined4 *)(param_8 + 0x30);\n  local_48[4] = *(undefined4 *)(param_8 + 0x34);\n  bVar2 = *(byte *)(param_8 + 0x28) & 0xf;\n  if (bVar2 == 6) {\n    local_48[2] = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }\n  local_48[0] = iVar1;\n                    \n  FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);\n  FUN_00077b40(local_48);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "int local_48 [6];" (primitive_type "int") (array_declarator "local_48 [6]" (identifier "local_48") ([ "[") (number_literal "6") (] "]")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = param_5;" (assignment_expression "local_2c = param_5" (identifier "local_2c") (= "=") (identifier "param_5")) (; ";")) (expression_statement "iVar1 = *(int *)(param_8 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_8 + 0x10)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_8 + 0x10)" (* "*") (cast_expression "(int *)(param_8 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_8 + 0x10)" (( "(") (binary_expression "param_8 + 0x10" (identifier "param_8") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "local_20 = param_7;" (assignment_expression "local_20 = param_7" (identifier "local_20") (= "=") (identifier "param_7")) (; ";")) (expression_statement "local_48[5] = param_3;" (assignment_expression "local_48[5] = param_3" (subscript_expression "local_48[5]" (identifier "local_48") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_30 = param_4;" (assignment_expression "local_30 = param_4" (identifier "local_30") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_24 = param_6;" (assignment_expression "local_24 = param_6" (identifier "local_24") (= "=") (identifier "param_6")) (; ";")) (expression_statement "local_48[0] = 0;" (assignment_expression "local_48[0] = 0" (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_48[1] = 0xffffffff;" (assignment_expression "local_48[1] = 0xffffffff" (subscript_expression "local_48[1]" (identifier "local_48") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_48[2] = 0x80000000;" (assignment_expression "local_48[2] = 0x80000000" (subscript_expression "local_48[2]" (identifier "local_48") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0x80000000")) (; ";")) (expression_statement "local_48[3] = 0;" (assignment_expression "local_48[3] = 0" (subscript_expression "local_48[3]" (identifier "local_48") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_48[4] = 0;" (assignment_expression "local_48[4] = 0" (subscript_expression "local_48[4]" (identifier "local_48") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (0xfffffffd < iVar1 - 1U) {\n                    \n                    \n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }" (if "if") (parenthesized_expression "(0xfffffffd < iVar1 - 1U)" (( "(") (binary_expression "0xfffffffd < iVar1 - 1U" (number_literal "0xfffffffd") (< "<") (binary_expression "iVar1 - 1U" (identifier "iVar1") (- "-") (number_literal "1U"))) () ")")) (compound_statement "{\n                    \n                    \n    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);\n  }" ({ "{") (expression_statement "FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);" (call_expression "FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8)" (identifier "FUN_0008b620") (argument_list "("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8)" (( "(") (string_literal ""../../gold/target-reloc.h"" (" """) (string_content "../../gold/target-reloc.h") (" """)) (, ",") (number_literal "0x1f2") (, ",") (string_literal ""apply_relocation"" (" """) (string_content "apply_relocation") (" """)) (, ",") (identifier "param_8") () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar1 - 1U == 0xfffffffd) {\n                    \n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }" (if "if") (parenthesized_expression "(iVar1 - 1U == 0xfffffffd)" (( "(") (binary_expression "iVar1 - 1U == 0xfffffffd" (binary_expression "iVar1 - 1U" (identifier "iVar1") (- "-") (number_literal "1U")) (== "==") (number_literal "0xfffffffd")) () ")")) (compound_statement "{\n                    \n    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);\n  }" ({ "{") (expression_statement "FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);" (call_expression "FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1)" (identifier "FUN_0008b620") (argument_list "("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x70d") (, ",") (string_literal ""set_output_symtab_index"" (" """) (string_content "set_output_symtab_index") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "local_48[3] = *(undefined4 *)(param_8 + 0x30);" (assignment_expression "local_48[3] = *(undefined4 *)(param_8 + 0x30)" (subscript_expression "local_48[3]" (identifier "local_48") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_8 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_8 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_8 + 0x30)" (( "(") (binary_expression "param_8 + 0x30" (identifier "param_8") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "local_48[4] = *(undefined4 *)(param_8 + 0x34);" (assignment_expression "local_48[4] = *(undefined4 *)(param_8 + 0x34)" (subscript_expression "local_48[4]" (identifier "local_48") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_8 + 0x34)" (* "*") (cast_expression "(undefined4 *)(param_8 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_8 + 0x34)" (( "(") (binary_expression "param_8 + 0x34" (identifier "param_8") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "bVar2 = *(byte *)(param_8 + 0x28) & 0xf;" (assignment_expression "bVar2 = *(byte *)(param_8 + 0x28) & 0xf" (identifier "bVar2") (= "=") (binary_expression "*(byte *)(param_8 + 0x28) & 0xf" (pointer_expression "*(byte *)(param_8 + 0x28)" (* "*") (cast_expression "(byte *)(param_8 + 0x28)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_8 + 0x28)" (( "(") (binary_expression "param_8 + 0x28" (identifier "param_8") (+ "+") (number_literal "0x28")) () ")")))) (& "&") (number_literal "0xf"))) (; ";")) (if_statement "if (bVar2 == 6) {\n    local_48[2] = 0xa0000000;\n  }\n  else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }" (if "if") (parenthesized_expression "(bVar2 == 6)" (( "(") (binary_expression "bVar2 == 6" (identifier "bVar2") (== "==") (number_literal "6")) () ")")) (compound_statement "{\n    local_48[2] = 0xa0000000;\n  }" ({ "{") (expression_statement "local_48[2] = 0xa0000000;" (assignment_expression "local_48[2] = 0xa0000000" (subscript_expression "local_48[2]" (identifier "local_48") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0xa0000000")) (; ";")) (} "}")) (else_clause "else if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }" (else "else") (if_statement "if (bVar2 == 10) {\n    local_48[2] = 0xc0000000;\n  }" (if "if") (parenthesized_expression "(bVar2 == 10)" (( "(") (binary_expression "bVar2 == 10" (identifier "bVar2") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n    local_48[2] = 0xc0000000;\n  }" ({ "{") (expression_statement "local_48[2] = 0xc0000000;" (assignment_expression "local_48[2] = 0xc0000000" (subscript_expression "local_48[2]" (identifier "local_48") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0xc0000000")) (; ";")) (} "}"))))) (expression_statement "local_48[0] = iVar1;" (assignment_expression "local_48[0] = iVar1" (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);" (call_expression "FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12)" (identifier "FUN_0006c6c0") (argument_list "(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,\n               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12)" (( "(") (number_literal "0xffffffff") (, ",") (binary_expression "local_48 + 5" (identifier "local_48") (+ "+") (number_literal "5")) (, ",") (identifier "param_8") (, ",") (identifier "local_48") (, ",") (binary_expression "param_3 + param_9" (identifier "param_3") (+ "+") (identifier "param_9")) (, ",") (binary_expression "param_10 + param_3" (identifier "param_10") (+ "+") (identifier "param_3")) (, ",") (binary_expression "param_11 + param_4 + (uint)CARRY4(param_10,param_3)" (binary_expression "param_11 + param_4" (identifier "param_11") (+ "+") (identifier "param_4")) (+ "+") (cast_expression "(uint)CARRY4(param_10,param_3)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(param_10,param_3)" (identifier "CARRY4") (argument_list "(param_10,param_3)" (( "(") (identifier "param_10") (, ",") (identifier "param_3") () ")"))))) (, ",") (identifier "param_12") () ")"))) (; ";")) (expression_statement "FUN_00077b40(local_48);" (call_expression "FUN_00077b40(local_48)" (identifier "FUN_00077b40") (argument_list "(local_48)" (( "(") (identifier "local_48") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Variable defined which should be unmapped: relocate */
/* WARNING: Removing unreachable block (ram,0x0006f190) */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void apply_relocation(Target_x86_64<64> * this,
   Relocate_info<64,_false> * relinfo, Elf_Addr r_offset, uint r_type, Elf_Swxword r_addend, Symbol
   * gsym, uchar * view, Elf_Addr address, section_size_type view_size) */

void __thiscall
anon_unknown.dwarf_32964f::type_1<64>::function_1
          (type_1<64> *this,type_2<64,type_3> *relinfo,type_4 var_8,type_5 r_type,
          type_6 r_addend,type_7 *gsym,type_8 *view,type_4 var_7,type_9 view_size
          )

{
  type_5 var_4;
  type_10 var_6;
  type_11 lVar3;
  var_1<64> *in_stack_ffffffa4;
  type_12 uStack_4c;
  type_13 relocate;
  var_1<64> var_2;
  type_8 relbuf [24];
  
  relbuf[0xc] = '\0';
  relbuf[0xd] = '\0';
  relbuf[0xe] = '\0';
  relbuf[0xf] = '\0';
  relbuf._8_4_ = r_type;
  var_4 = gsym->symtab_index_ - 1;
  var_2.output_symtab_index_ = 0;
  var_2.output_dynsym_index_ = 0xffffffff;
  var_2._8_4_ = 0x80000000;
  var_2.u_.merged_symbol_value = (var_3<64> *)0x0;
  var_2.u_.value._4_4_ = 0;
  relbuf._0_8_ = var_8;
  relbuf._16_8_ = r_addend;
  if (0xfffffffd < var_4) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */
    gold::var_5("../../gold/target-reloc.h",0x1f2,"apply_relocation");
  }
  if (var_4 == 0xfffffffd) {
                    /* WARNING: Subroutine does not return */
    gold::var_5("../../gold/object.h",0x70d,"set_output_symtab_index");
  }
  var_2.u_.merged_symbol_value = (var_3<64> *)gsym[1].name_;
  var_2.u_.value._4_4_ = gsym[1].version_;
  var_6 = gsym->field_0x28 & 0xf;
  if (var_6 == 6) {
    var_2._8_4_ = 0xa0000000;
  }
  else if (var_6 == 10) {
    var_2._8_4_ = 0xc0000000;
  }
  _uStack_4c = (type_5)uStack_4c;
  lVar3 = var_7 + var_8;
  var_2.output_symtab_index_ = gsym->symtab_index_;
                    /* try { // try from 0006f14d to 0006f151 has its CatchHandler @ 0006f1e9 */
  Relocate::relocate((type_13 *)0xffffffff,(type_2<64,type_3> *)relbuf,(type_5)gsym,
                     (type_1<64> *)&var_2,(Output_section *)(view + (int)var_8),
                     (size_t)lVar3,(type_8 *)((ulonglong)lVar3 >> 0x20),(Sized_symbol<64> *)view_size
                     ,in_stack_ffffffa4,(type_8 *)&_GLOBAL_OFFSET_TABLE_,var_7,_uStack_4c);
  gold::var_1<64>::~var_1(&var_2,(int)lVar3);
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Removing unreachable block (ram,0x0006f190) */

void MASKED(undefined4 param_1,undefined4 param_2,uint param_3,int param_4,undefined4 param_5,
                 undefined4 param_6,undefined4 param_7,int param_8,int param_9,uint param_10,
                 int param_11,undefined4 param_12)

{
  int iVar1;
  byte bVar2;
  int local_48 [6];
  int local_30;
  undefined4 local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  
  local_28 = 0;
  local_2c = param_5;
  iVar1 = *(int *)(param_8 + 0x10);
  local_20 = param_7;
  local_48[5] = param_3;
  local_30 = param_4;
  local_24 = param_6;
  local_48[0] = 0;
  local_48[1] = 0xffffffff;
  local_48[2] = 0x80000000;
  local_48[3] = 0;
  local_48[4] = 0;
  if (0xfffffffd < iVar1 - 1U) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0006f1c8 to 0006f1e8 has its CatchHandler @ 0006f1f0 */
    FUN_0008b620("../../gold/target-reloc.h",0x1f2,"apply_relocation",param_8);
  }
  if (iVar1 - 1U == 0xfffffffd) {
                    /* WARNING: Subroutine does not return */
    FUN_0008b620("../../gold/object.h",0x70d,"set_output_symtab_index",iVar1);
  }
  local_48[3] = *(undefined4 *)(param_8 + 0x30);
  local_48[4] = *(undefined4 *)(param_8 + 0x34);
  bVar2 = *(byte *)(param_8 + 0x28) & 0xf;
  if (bVar2 == 6) {
    local_48[2] = 0xa0000000;
  }
  else if (bVar2 == 10) {
    local_48[2] = 0xc0000000;
  }
  local_48[0] = iVar1;
                    /* try { // try from 0006f14d to 0006f151 has its CatchHandler @ 0006f1e9 */
  FUN_0006c6c0(0xffffffff,local_48 + 5,param_8,local_48,param_3 + param_9,param_10 + param_3,
               param_11 + param_4 + (uint)CARRY4(param_10,param_3),param_12);
  FUN_00077b40(local_48);
  return;
}

