
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* DWARF original prototype: void set_if_absolute(Symbol_assignment * this, Symbol_table * symtab,
   Layout * layout, bool is_dot_available, uint64_t dot_value, Output_section * dot_section) */

void __thiscall
gold::Symbol_assignment::set_if_absolute
          (Symbol_assignment *this,Symbol_table *symtab,Layout *layout,bool is_dot_available,
          uint64_t dot_value,Output_section *dot_section)

{
  int iVar1;
  uint64_t uVar2;
  Sized_symbol<64> *pSVar3;
  Sized_symbol<32> *pSVar4;
  bool is_valid;
  Output_section *val_section;
  
  if (this->sym_ == (Symbol *)0x0) {
    return;
  }
  uVar2 = Expression::eval_maybe_dot
                    (this->val_,symtab,layout,false,is_dot_available,dot_value,dot_section,
                     &val_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,&is_valid
                    );
  if ((is_valid != false) &&
     ((val_section == dot_section || (val_section == (Output_section *)0x0)))) {
    if (parameters->target_ == (Target *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/parameters.h",0x69,"target");
    }
    iVar1 = **(int **)(parameters->target_ + 8);
    if (iVar1 == 0x20) {
      pSVar4 = Symbol_table::get_sized_symbol<32>((Symbol_table *)this->sym_,(Symbol *)symtab);
      pSVar4->value_ = (Value_type)uVar2;
    }
    else {
      if (iVar1 != 0x40) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute");
      }
      pSVar3 = Symbol_table::get_sized_symbol<64>((Symbol_table *)this->sym_,(Symbol *)symtab);
      pSVar3->value_ = uVar2;
    }
    if (val_section != (Output_section *)0x0) {
      Symbol::set_output_section(this->sym_,val_section);
      return;
    }
  }
  return;
}



void FUN_002643f0(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,
                 undefined8 param_5,long param_6)

{
  int iVar1;
  undefined8 uVar2;
  long lVar3;
  char local_21;
  long local_20;
  
  if (*(long *)(param_1 + 0x30) == 0) {
    return;
  }
  uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,
                       &local_20,0,0,0,0,0,&local_21);
  if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {
    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0017c650("../../gold/parameters.h",0x69,"target");
    }
    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);
    if (iVar1 == 0x20) {
      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));
      *(int *)(lVar3 + 0x40) = (int)uVar2;
    }
    else {
      if (iVar1 != 0x40) {
                    /* WARNING: Subroutine does not return */
        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");
      }
      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));
      *(undefined8 *)(lVar3 + 0x40) = uVar2;
    }
    if (local_20 != 0) {
      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));
      return;
    }
  }
  return;
}


CMP qword ptr [RDI + 0x30],0x0
JZ 0x002644b0
PUSH R12
PUSH RBP
MOV RBP,RDI
PUSH RBX
MOV RBX,R9
MOV R9,R8
MOVZX R8D,CL
XOR ECX,ECX
SUB RSP,0x10
MOV RDI,qword ptr [RDI + 0x20]
LEA RAX,[RSP + 0x7]
PUSH RAX
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
LEA RAX,[RSP + 0x38]
PUSH RAX
PUSH RBX
CALL 0x002b1020
ADD RSP,0x40
CMP byte ptr [RSP + 0x7],0x0
MOV R12,RAX
JZ 0x0026444f
MOV RAX,qword ptr [RSP + 0x8]
CMP RAX,RBX
JZ 0x00264460
TEST RAX,RAX
JZ 0x00264460
ADD RSP,0x10
POP RBX
POP RBP
POP R12
RET
MOV RAX,qword ptr [0x0043e6b0]
MOV RAX,qword ptr [RAX + 0x18]
TEST RAX,RAX
JZ 0x002644df
MOV RAX,qword ptr [RAX + 0x8]
MOV EAX,dword ptr [RAX]
CMP EAX,0x20
JZ 0x002644b8
CMP EAX,0x40
JNZ 0x002644c7
MOV RDI,qword ptr [RBP + 0x30]
CALL 0x00263610
MOV qword ptr [RAX + 0x40],R12
MOV RSI,qword ptr [RSP + 0x8]
TEST RSI,RSI
JZ 0x0026444f
MOV RDI,qword ptr [RBP + 0x30]
CALL 0x002712c0
ADD RSP,0x10
POP RBX
POP RBP
POP R12
RET
RET
MOV RDI,qword ptr [RBP + 0x30]
CALL 0x002635b0
MOV dword ptr [RAX + 0x40],R12D
JMP 0x0026448d
LEA RDX,[0x385fd0]
MOV ESI,0x416
LEA RDI,[0x38521c]
CALL 0x0017c650
LEA RDX,[0x385ff1]
MOV ESI,0x69
LEA RDI,[0x3726d0]
CALL 0x0017c650
(translation_unit "void FUN_002643f0(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,\n                 undefined8 param_5,long param_6)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  char local_21;\n  long local_20;\n  \n  if (*(long *)(param_1 + 0x30) == 0) {\n    return;\n  }\n  uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21);\n  if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_002643f0(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,\n                 undefined8 param_5,long param_6)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  char local_21;\n  long local_20;\n  \n  if (*(long *)(param_1 + 0x30) == 0) {\n    return;\n  }\n  uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21);\n  if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002643f0(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,\n                 undefined8 param_5,long param_6)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,\n                 undefined8 param_5,long param_6)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined1 param_4" type_identifier identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  char local_21;\n  long local_20;\n  \n  if (*(long *)(param_1 + 0x30) == 0) {\n    return;\n  }\n  uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21);\n  if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "char local_21;" primitive_type identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (*(long *)(param_1 + 0x30) == 0) {\n    return;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x30) == 0)" ( (binary_expression "*(long *)(param_1 + 0x30) == 0" (pointer_expression "*(long *)(param_1 + 0x30)" * (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21);" (assignment_expression "uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21)" identifier = (call_expression "FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21)" identifier (argument_list "(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21)" ( (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , identifier , identifier , number_literal , identifier , identifier , identifier , (pointer_expression "&local_20" & identifier) , number_literal , number_literal , number_literal , number_literal , number_literal , (pointer_expression "&local_21" & identifier) )))) ;) (if_statement "if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }" if (parenthesized_expression "((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0))))" ( (binary_expression "(local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))" (parenthesized_expression "(local_21 != '\0')" ( (binary_expression "local_21 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((local_20 == param_6 || (local_20 == 0)))" ( (parenthesized_expression "(local_20 == param_6 || (local_20 == 0))" ( (binary_expression "local_20 == param_6 || (local_20 == 0)" (binary_expression "local_20 == param_6" identifier == identifier) || (parenthesized_expression "(local_20 == 0)" ( (binary_expression "local_20 == 0" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }" { (if_statement "if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }" if (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0)" ( (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }" { comment (expression_statement "FUN_0017c650("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0017c650("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);" (assignment_expression "iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" identifier = (pointer_expression "**(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" * (pointer_expression "*(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" * (cast_expression "(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" ( (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x18" identifier + number_literal) )))) + number_literal) )))))) ;) (if_statement "if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }" if (parenthesized_expression "(iVar1 == 0x20)" ( (binary_expression "iVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }" { (expression_statement "lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));" (assignment_expression "lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30))" identifier = (call_expression "FUN_002635b0(*(undefined8 *)(param_1 + 0x30))" identifier (argument_list "(*(undefined8 *)(param_1 + 0x30))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) )))) ;) (expression_statement "*(int *)(lVar3 + 0x40) = (int)uVar2;" (assignment_expression "*(int *)(lVar3 + 0x40) = (int)uVar2" (pointer_expression "*(int *)(lVar3 + 0x40)" * (cast_expression "(int *)(lVar3 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x40)" ( (binary_expression "lVar3 + 0x40" identifier + number_literal) )))) = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }" else (compound_statement "{\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }" { (if_statement "if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }" if (parenthesized_expression "(iVar1 != 0x40)" ( (binary_expression "iVar1 != 0x40" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }" { comment (expression_statement "FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");" (call_expression "FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute")" identifier (argument_list "("../../gold/script.cc",0x416,"set_if_absolute")" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""set_if_absolute"" " string_content ") ))) ;) })) (expression_statement "lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));" (assignment_expression "lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30))" identifier = (call_expression "FUN_00263610(*(undefined8 *)(param_1 + 0x30))" identifier (argument_list "(*(undefined8 *)(param_1 + 0x30))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x40) = uVar2;" (assignment_expression "*(undefined8 *)(lVar3 + 0x40) = uVar2" (pointer_expression "*(undefined8 *)(lVar3 + 0x40)" * (cast_expression "(undefined8 *)(lVar3 + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x40)" ( (binary_expression "lVar3 + 0x40" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }" if (parenthesized_expression "(local_20 != 0)" ( (binary_expression "local_20 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }" { (expression_statement "FUN_002712c0(*(undefined8 *)(param_1 + 0x30));" (call_expression "FUN_002712c0(*(undefined8 *)(param_1 + 0x30))" identifier (argument_list "(*(undefined8 *)(param_1 + 0x30))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "STT": Some values do not have unique names */\n/* DWARF original prototype: void set_if_absolute(Symbol_assignment * this, Symbol_table * symtab,\n   Layout * layout, bool is_dot_available, uint64_t dot_value, Output_section * dot_section) */\n\nvoid __thiscall\ngold::Symbol_assignment::set_if_absolute\n          (Symbol_assignment *this,Symbol_table *symtab,Layout *layout,bool is_dot_available,\n          uint64_t dot_value,Output_section *dot_section)\n\n{\n  int iVar1;\n  uint64_t uVar2;\n  Sized_symbol<64> *pSVar3;\n  Sized_symbol<32> *pSVar4;\n  bool is_valid;\n  Output_section *val_section;\n  \n  if (this->sym_ == (Symbol *)0x0) {\n    return;\n  }\n  uVar2 = Expression::eval_maybe_dot\n                    (this->val_,symtab,layout,false,is_dot_available,dot_value,dot_section,\n                     &val_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,&is_valid\n                    );\n  if ((is_valid != false) &&\n     ((val_section == dot_section || (val_section == (Output_section *)0x0)))) {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(parameters->target_ + 8);\n    if (iVar1 == 0x20) {\n      pSVar4 = Symbol_table::get_sized_symbol<32>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar4->value_ = (Value_type)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      pSVar3 = Symbol_table::get_sized_symbol<64>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar3->value_ = uVar2;\n    }\n    if (val_section != (Output_section *)0x0) {\n      Symbol::set_output_section(this->sym_,val_section);\n      return;\n    }\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Symbol_assignment::set_if_absolute\n          (Symbol_assignment *this,Symbol_table *symtab,Layout *layout,bool is_dot_available,\n          uint64_t dot_value,Output_section *dot_section)\n\n{\n  int iVar1;\n  uint64_t uVar2;\n  Sized_symbol<64> *pSVar3;\n  Sized_symbol<32> *pSVar4;\n  bool is_valid;\n  Output_section *val_section;\n  \n  if (this->sym_ == (Symbol *)0x0) {\n    return;\n  }\n  uVar2 = Expression::eval_maybe_dot\n                    (this->val_,symtab,layout,false,is_dot_available,dot_value,dot_section,\n                     &val_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,&is_valid\n                    );\n  if ((is_valid != false) &&\n     ((val_section == dot_section || (val_section == (Output_section *)0x0)))) {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(parameters->target_ + 8);\n    if (iVar1 == 0x20) {\n      pSVar4 = Symbol_table::get_sized_symbol<32>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar4->value_ = (Value_type)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      pSVar3 = Symbol_table::get_sized_symbol<64>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar3->value_ = uVar2;\n    }\n    if (val_section != (Output_section *)0x0) {\n      Symbol::set_output_section(this->sym_,val_section);\n      return;\n    }\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Symbol_assignment::" identifier : : identifier : :) (function_declarator "set_if_absolute\n          (Symbol_assignment *this,Symbol_table *symtab,Layout *layout,bool is_dot_available,\n          uint64_t dot_value,Output_section *dot_section)" identifier (parameter_list "(Symbol_assignment *this,Symbol_table *symtab,Layout *layout,bool is_dot_available,\n          uint64_t dot_value,Output_section *dot_section)" ( (parameter_declaration "Symbol_assignment *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "bool is_dot_available" primitive_type identifier) , (parameter_declaration "uint64_t dot_value" primitive_type identifier) , (parameter_declaration "Output_section *dot_section" type_identifier (pointer_declarator "*dot_section" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint64_t uVar2;\n  Sized_symbol<64> *pSVar3;\n  Sized_symbol<32> *pSVar4;\n  bool is_valid;\n  Output_section *val_section;\n  \n  if (this->sym_ == (Symbol *)0x0) {\n    return;\n  }\n  uVar2 = Expression::eval_maybe_dot\n                    (this->val_,symtab,layout,false,is_dot_available,dot_value,dot_section,\n                     &val_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,&is_valid\n                    );\n  if ((is_valid != false) &&\n     ((val_section == dot_section || (val_section == (Output_section *)0x0)))) {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(parameters->target_ + 8);\n    if (iVar1 == 0x20) {\n      pSVar4 = Symbol_table::get_sized_symbol<32>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar4->value_ = (Value_type)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      pSVar3 = Symbol_table::get_sized_symbol<64>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar3->value_ = uVar2;\n    }\n    if (val_section != (Output_section *)0x0) {\n      Symbol::set_output_section(this->sym_,val_section);\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint64_t uVar2;" primitive_type identifier ;) (expression_statement "Sized_symbol<64> *pSVar3;" (binary_expression "Sized_symbol<64> *pSVar3" (binary_expression "Sized_symbol<64" identifier < number_literal) > (pointer_expression "*pSVar3" * identifier)) ;) (expression_statement "Sized_symbol<32> *pSVar4;" (binary_expression "Sized_symbol<32> *pSVar4" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*pSVar4" * identifier)) ;) (declaration "bool is_valid;" primitive_type identifier ;) (declaration "Output_section *val_section;" type_identifier (pointer_declarator "*val_section" * identifier) ;) (if_statement "if (this->sym_ == (Symbol *)0x0) {\n    return;\n  }" if (parenthesized_expression "(this->sym_ == (Symbol *)0x0)" ( (binary_expression "this->sym_ == (Symbol *)0x0" (field_expression "this->sym_" identifier -> field_identifier) == (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (ERROR "uVar2 = Expression::" (assignment_expression "uVar2 = Expression" identifier = identifier) : :) (expression_statement "eval_maybe_dot\n                    (this->val_,symtab,layout,false,is_dot_available,dot_value,dot_section,\n                     &val_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,&is_valid\n                    );" (call_expression "eval_maybe_dot\n                    (this->val_,symtab,layout,false,is_dot_available,dot_value,dot_section,\n                     &val_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,&is_valid\n                    )" identifier (argument_list "(this->val_,symtab,layout,false,is_dot_available,dot_value,dot_section,\n                     &val_section,(uint64_t *)0x0,(STT *)0x0,(STV *)0x0,(uchar *)0x0,false,&is_valid\n                    )" ( (field_expression "this->val_" identifier -> field_identifier) , identifier , identifier , false , identifier , identifier , identifier , (pointer_expression "&val_section" & identifier) , (cast_expression "(uint64_t *)0x0" ( (type_descriptor "uint64_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(STT *)0x0" ( (type_descriptor "STT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(STV *)0x0" ( (type_descriptor "STV *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , false , (pointer_expression "&is_valid" & identifier) ))) ;) (if_statement "if ((is_valid != false) &&\n     ((val_section == dot_section || (val_section == (Output_section *)0x0)))) {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(parameters->target_ + 8);\n    if (iVar1 == 0x20) {\n      pSVar4 = Symbol_table::get_sized_symbol<32>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar4->value_ = (Value_type)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      pSVar3 = Symbol_table::get_sized_symbol<64>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar3->value_ = uVar2;\n    }\n    if (val_section != (Output_section *)0x0) {\n      Symbol::set_output_section(this->sym_,val_section);\n      return;\n    }\n  }" if (parenthesized_expression "((is_valid != false) &&\n     ((val_section == dot_section || (val_section == (Output_section *)0x0))))" ( (binary_expression "(is_valid != false) &&\n     ((val_section == dot_section || (val_section == (Output_section *)0x0)))" (parenthesized_expression "(is_valid != false)" ( (binary_expression "is_valid != false" identifier != false) )) && (parenthesized_expression "((val_section == dot_section || (val_section == (Output_section *)0x0)))" ( (parenthesized_expression "(val_section == dot_section || (val_section == (Output_section *)0x0))" ( (binary_expression "val_section == dot_section || (val_section == (Output_section *)0x0)" (binary_expression "val_section == dot_section" identifier == identifier) || (parenthesized_expression "(val_section == (Output_section *)0x0)" ( (binary_expression "val_section == (Output_section *)0x0" identifier == (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) ))) )) (compound_statement "{\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(parameters->target_ + 8);\n    if (iVar1 == 0x20) {\n      pSVar4 = Symbol_table::get_sized_symbol<32>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar4->value_ = (Value_type)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      pSVar3 = Symbol_table::get_sized_symbol<64>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar3->value_ = uVar2;\n    }\n    if (val_section != (Output_section *)0x0) {\n      Symbol::set_output_section(this->sym_,val_section);\n      return;\n    }\n  }" { (if_statement "if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }" if (parenthesized_expression "(parameters->target_ == (Target *)0x0)" ( (binary_expression "parameters->target_ == (Target *)0x0" (field_expression "parameters->target_" identifier -> field_identifier) == (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x69,"target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "iVar1 = **(int **)(parameters->target_ + 8);" (assignment_expression "iVar1 = **(int **)(parameters->target_ + 8)" identifier = (pointer_expression "**(int **)(parameters->target_ + 8)" * (pointer_expression "*(int **)(parameters->target_ + 8)" * (cast_expression "(int **)(parameters->target_ + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(parameters->target_ + 8)" ( (binary_expression "parameters->target_ + 8" (field_expression "parameters->target_" identifier -> field_identifier) + number_literal) )))))) ;) (if_statement "if (iVar1 == 0x20) {\n      pSVar4 = Symbol_table::get_sized_symbol<32>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar4->value_ = (Value_type)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      pSVar3 = Symbol_table::get_sized_symbol<64>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar3->value_ = uVar2;\n    }" if (parenthesized_expression "(iVar1 == 0x20)" ( (binary_expression "iVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n      pSVar4 = Symbol_table::get_sized_symbol<32>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar4->value_ = (Value_type)uVar2;\n    }" { (expression_statement "pSVar4 = Symbol_table::get_sized_symbol<32>((Symbol_table *)this->sym_,(Symbol *)symtab);" (binary_expression "pSVar4 = Symbol_table::get_sized_symbol<32>((Symbol_table *)this->sym_,(Symbol *)symtab)" (binary_expression "pSVar4 = Symbol_table::get_sized_symbol<32" (assignment_expression "pSVar4 = Symbol_table" identifier = identifier) (ERROR "::get_sized_symbol" : : identifier) < number_literal) > (parenthesized_expression "((Symbol_table *)this->sym_,(Symbol *)symtab)" ( (comma_expression "(Symbol_table *)this->sym_,(Symbol *)symtab" (cast_expression "(Symbol_table *)this->sym_" ( (type_descriptor "Symbol_table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->sym_" identifier -> field_identifier)) , (cast_expression "(Symbol *)symtab" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "pSVar4->value_ = (Value_type)uVar2;" (assignment_expression "pSVar4->value_ = (Value_type)uVar2" (field_expression "pSVar4->value_" identifier -> field_identifier) = (cast_expression "(Value_type)uVar2" ( (type_descriptor "Value_type" type_identifier) ) identifier)) ;) }) (else_clause "else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      pSVar3 = Symbol_table::get_sized_symbol<64>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar3->value_ = uVar2;\n    }" else (compound_statement "{\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      pSVar3 = Symbol_table::get_sized_symbol<64>((Symbol_table *)this->sym_,(Symbol *)symtab);\n      pSVar3->value_ = uVar2;\n    }" { (if_statement "if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute");\n      }" if (parenthesized_expression "(iVar1 != 0x40)" ( (binary_expression "iVar1 != 0x40" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute");" (call_expression "do_gold_unreachable("../../gold/script.cc",0x416,"set_if_absolute")" identifier (argument_list "("../../gold/script.cc",0x416,"set_if_absolute")" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""set_if_absolute"" " string_content ") ))) ;) })) (expression_statement "pSVar3 = Symbol_table::get_sized_symbol<64>((Symbol_table *)this->sym_,(Symbol *)symtab);" (binary_expression "pSVar3 = Symbol_table::get_sized_symbol<64>((Symbol_table *)this->sym_,(Symbol *)symtab)" (binary_expression "pSVar3 = Symbol_table::get_sized_symbol<64" (assignment_expression "pSVar3 = Symbol_table" identifier = identifier) (ERROR "::get_sized_symbol" : : identifier) < number_literal) > (parenthesized_expression "((Symbol_table *)this->sym_,(Symbol *)symtab)" ( (comma_expression "(Symbol_table *)this->sym_,(Symbol *)symtab" (cast_expression "(Symbol_table *)this->sym_" ( (type_descriptor "Symbol_table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->sym_" identifier -> field_identifier)) , (cast_expression "(Symbol *)symtab" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "pSVar3->value_ = uVar2;" (assignment_expression "pSVar3->value_ = uVar2" (field_expression "pSVar3->value_" identifier -> field_identifier) = identifier) ;) }))) (if_statement "if (val_section != (Output_section *)0x0) {\n      Symbol::set_output_section(this->sym_,val_section);\n      return;\n    }" if (parenthesized_expression "(val_section != (Output_section *)0x0)" ( (binary_expression "val_section != (Output_section *)0x0" identifier != (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      Symbol::set_output_section(this->sym_,val_section);\n      return;\n    }" { (labeled_statement "Symbol::set_output_section(this->sym_,val_section);" statement_identifier : (ERROR ":" :) (expression_statement "set_output_section(this->sym_,val_section);" (call_expression "set_output_section(this->sym_,val_section)" identifier (argument_list "(this->sym_,val_section)" ( (field_expression "this->sym_" identifier -> field_identifier) , identifier ))) ;)) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002643f0(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,\n                 undefined8 param_5,long param_6)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  char local_21;\n  long local_20;\n  \n  if (*(long *)(param_1 + 0x30) == 0) {\n    return;\n  }\n  uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21);\n  if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_002643f0(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,\n                 undefined8 param_5,long param_6)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  char local_21;\n  long local_20;\n  \n  if (*(long *)(param_1 + 0x30) == 0) {\n    return;\n  }\n  uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21);\n  if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002643f0(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,\n                 undefined8 param_5,long param_6)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,\n                 undefined8 param_5,long param_6)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined1 param_4" type_identifier identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) , (parameter_declaration "long param_6" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  char local_21;\n  long local_20;\n  \n  if (*(long *)(param_1 + 0x30) == 0) {\n    return;\n  }\n  uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21);\n  if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "char local_21;" primitive_type identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (*(long *)(param_1 + 0x30) == 0) {\n    return;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x30) == 0)" ( (binary_expression "*(long *)(param_1 + 0x30) == 0" (pointer_expression "*(long *)(param_1 + 0x30)" * (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21);" (assignment_expression "uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21)" identifier = (call_expression "FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21)" identifier (argument_list "(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21)" ( (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , identifier , identifier , number_literal , identifier , identifier , identifier , (pointer_expression "&local_20" & identifier) , number_literal , number_literal , number_literal , number_literal , number_literal , (pointer_expression "&local_21" & identifier) )))) ;) (if_statement "if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }" if (parenthesized_expression "((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0))))" ( (binary_expression "(local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))" (parenthesized_expression "(local_21 != '\0')" ( (binary_expression "local_21 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((local_20 == param_6 || (local_20 == 0)))" ( (parenthesized_expression "(local_20 == param_6 || (local_20 == 0))" ( (binary_expression "local_20 == param_6 || (local_20 == 0)" (binary_expression "local_20 == param_6" identifier == identifier) || (parenthesized_expression "(local_20 == 0)" ( (binary_expression "local_20 == 0" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }" { (if_statement "if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }" if (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0)" ( (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }" { (expression_statement "FUN_0017c650("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0017c650("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);" (assignment_expression "iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" identifier = (pointer_expression "**(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" * (pointer_expression "*(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" * (cast_expression "(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" ( (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x18" identifier + number_literal) )))) + number_literal) )))))) ;) (if_statement "if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }" if (parenthesized_expression "(iVar1 == 0x20)" ( (binary_expression "iVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }" { (expression_statement "lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));" (assignment_expression "lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30))" identifier = (call_expression "FUN_002635b0(*(undefined8 *)(param_1 + 0x30))" identifier (argument_list "(*(undefined8 *)(param_1 + 0x30))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) )))) ;) (expression_statement "*(int *)(lVar3 + 0x40) = (int)uVar2;" (assignment_expression "*(int *)(lVar3 + 0x40) = (int)uVar2" (pointer_expression "*(int *)(lVar3 + 0x40)" * (cast_expression "(int *)(lVar3 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x40)" ( (binary_expression "lVar3 + 0x40" identifier + number_literal) )))) = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }" else (compound_statement "{\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }" { (if_statement "if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }" if (parenthesized_expression "(iVar1 != 0x40)" ( (binary_expression "iVar1 != 0x40" identifier != number_literal) )) (compound_statement "{\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }" { (expression_statement "FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");" (call_expression "FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute")" identifier (argument_list "("../../gold/script.cc",0x416,"set_if_absolute")" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""set_if_absolute"" " string_content ") ))) ;) })) (expression_statement "lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));" (assignment_expression "lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30))" identifier = (call_expression "FUN_00263610(*(undefined8 *)(param_1 + 0x30))" identifier (argument_list "(*(undefined8 *)(param_1 + 0x30))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x40) = uVar2;" (assignment_expression "*(undefined8 *)(lVar3 + 0x40) = uVar2" (pointer_expression "*(undefined8 *)(lVar3 + 0x40)" * (cast_expression "(undefined8 *)(lVar3 + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x40)" ( (binary_expression "lVar3 + 0x40" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }" if (parenthesized_expression "(local_20 != 0)" ( (binary_expression "local_20 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }" { (expression_statement "FUN_002712c0(*(undefined8 *)(param_1 + 0x30));" (call_expression "FUN_002712c0(*(undefined8 *)(param_1 + 0x30))" identifier (argument_list "(*(undefined8 *)(param_1 + 0x30))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , LIT , IDENT , IDENT , IDENT , (pointer_expression & IDENT) , LIT , LIT , LIT , LIT , LIT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == IDENT) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 IDENT = (call_expression IDENT (argument_list ( (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) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (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) )))) = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_002643f0(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,\n                 undefined8 param_5,long param_6)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  char local_21;\n  long local_20;\n  \n  if (*(long *)(param_1 + 0x30) == 0) {\n    return;\n  }\n  uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21);\n  if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002643f0(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,\n                 undefined8 param_5,long param_6)" (identifier "FUN_002643f0") (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,\n                 undefined8 param_5,long param_6)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "undefined1 param_4" (type_identifier "undefined1") (identifier "param_4")) (, ",") (parameter_declaration "undefined8 param_5" (type_identifier "undefined8") (identifier "param_5")) (, ",") (parameter_declaration "long param_6" (sized_type_specifier "long" (long "long")) (identifier "param_6")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  char local_21;\n  long local_20;\n  \n  if (*(long *)(param_1 + 0x30) == 0) {\n    return;\n  }\n  uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21);\n  if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "char local_21;" (primitive_type "char") (identifier "local_21") (; ";")) (declaration "long local_20;" (sized_type_specifier "long" (long "long")) (identifier "local_20") (; ";")) (if_statement "if (*(long *)(param_1 + 0x30) == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x30) == 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x30) == 0" (pointer_expression "*(long *)(param_1 + 0x30)" (* "*") (cast_expression "(long *)(param_1 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21);" (assignment_expression "uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21)" (identifier "uVar2") (= "=") (call_expression "FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21)" (identifier "FUN_002b1020") (argument_list "(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,\n                       &local_20,0,0,0,0,0,&local_21)" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "0") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (pointer_expression "&local_20" (& "&") (identifier "local_20")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_21" (& "&") (identifier "local_21")) () ")")))) (; ";")) (if_statement "if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }" (if "if") (parenthesized_expression "((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0))))" (( "(") (binary_expression "(local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))" (parenthesized_expression "(local_21 != '\0')" (( "(") (binary_expression "local_21 != '\0'" (identifier "local_21") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((local_20 == param_6 || (local_20 == 0)))" (( "(") (parenthesized_expression "(local_20 == param_6 || (local_20 == 0))" (( "(") (binary_expression "local_20 == param_6 || (local_20 == 0)" (binary_expression "local_20 == param_6" (identifier "local_20") (== "==") (identifier "param_6")) (|| "||") (parenthesized_expression "(local_20 == 0)" (( "(") (binary_expression "local_20 == 0" (identifier "local_20") (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }\n    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }\n    if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }\n  }" ({ "{") (if_statement "if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }" (if "if") (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0)" (( "(") (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18)" (* "*") (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" (( "(") (binary_expression "PTR_DAT_0043e6b0 + 0x18" (identifier "PTR_DAT_0043e6b0") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0017c650("../../gold/parameters.h",0x69,"target");\n    }" ({ "{") (expression_statement "FUN_0017c650("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0017c650("../../gold/parameters.h",0x69,"target")" (identifier "FUN_0017c650") (argument_list "("../../gold/parameters.h",0x69,"target")" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);" (assignment_expression "iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" (identifier "iVar1") (= "=") (pointer_expression "**(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" (* "*") (pointer_expression "*(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" (* "*") (cast_expression "(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" (( "(") (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18)" (* "*") (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" (( "(") (binary_expression "PTR_DAT_0043e6b0 + 0x18" (identifier "PTR_DAT_0043e6b0") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "8")) () ")")))))) (; ";")) (if_statement "if (iVar1 == 0x20) {\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0x20)" (( "(") (binary_expression "iVar1 == 0x20" (identifier "iVar1") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));\n      *(int *)(lVar3 + 0x40) = (int)uVar2;\n    }" ({ "{") (expression_statement "lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));" (assignment_expression "lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30))" (identifier "lVar3") (= "=") (call_expression "FUN_002635b0(*(undefined8 *)(param_1 + 0x30))" (identifier "FUN_002635b0") (argument_list "(*(undefined8 *)(param_1 + 0x30))" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) () ")")))) (; ";")) (expression_statement "*(int *)(lVar3 + 0x40) = (int)uVar2;" (assignment_expression "*(int *)(lVar3 + 0x40) = (int)uVar2" (pointer_expression "*(int *)(lVar3 + 0x40)" (* "*") (cast_expression "(int *)(lVar3 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x40)" (( "(") (binary_expression "lVar3 + 0x40" (identifier "lVar3") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2"))) (; ";")) (} "}")) (else_clause "else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }" (else "else") (compound_statement "{\n      if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }\n      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));\n      *(undefined8 *)(lVar3 + 0x40) = uVar2;\n    }" ({ "{") (if_statement "if (iVar1 != 0x40) {\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }" (if "if") (parenthesized_expression "(iVar1 != 0x40)" (( "(") (binary_expression "iVar1 != 0x40" (identifier "iVar1") (!= "!=") (number_literal "0x40")) () ")")) (compound_statement "{\n                    \n        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");\n      }" ({ "{") (expression_statement "FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");" (call_expression "FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute")" (identifier "FUN_0017c650") (argument_list "("../../gold/script.cc",0x416,"set_if_absolute")" (( "(") (string_literal ""../../gold/script.cc"" (" """) (string_content "../../gold/script.cc") (" """)) (, ",") (number_literal "0x416") (, ",") (string_literal ""set_if_absolute"" (" """) (string_content "set_if_absolute") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));" (assignment_expression "lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30))" (identifier "lVar3") (= "=") (call_expression "FUN_00263610(*(undefined8 *)(param_1 + 0x30))" (identifier "FUN_00263610") (argument_list "(*(undefined8 *)(param_1 + 0x30))" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) () ")")))) (; ";")) (expression_statement "*(undefined8 *)(lVar3 + 0x40) = uVar2;" (assignment_expression "*(undefined8 *)(lVar3 + 0x40) = uVar2" (pointer_expression "*(undefined8 *)(lVar3 + 0x40)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0x40)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x40)" (( "(") (binary_expression "lVar3 + 0x40" (identifier "lVar3") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")))) (if_statement "if (local_20 != 0) {\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }" (if "if") (parenthesized_expression "(local_20 != 0)" (( "(") (binary_expression "local_20 != 0" (identifier "local_20") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));\n      return;\n    }" ({ "{") (expression_statement "FUN_002712c0(*(undefined8 *)(param_1 + 0x30));" (call_expression "FUN_002712c0(*(undefined8 *)(param_1 + 0x30))" (identifier "FUN_002712c0") (argument_list "(*(undefined8 *)(param_1 + 0x30))" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* DWARF original prototype: void set_if_absolute(Symbol_assignment * this, Symbol_table * symtab,
   Layout * layout, bool is_dot_available, uint64_t dot_value, Output_section * dot_section) */

void __thiscall
gold::type_1::function_1
          (type_1 *this,type_2 *symtab,type_3 *layout,bool is_dot_available,
          uint64_t dot_value,type_4 *var_5)

{
  int var_7;
  uint64_t uVar2;
  var_1<64> *pSVar3;
  var_1<32> *pSVar4;
  bool var_3;
  type_4 *var_4;
  
  if (this->sym_ == (type_5 *)0x0) {
    return;
  }
  uVar2 = Expression::var_2
                    (this->val_,symtab,layout,false,is_dot_available,dot_value,var_5,
                     &var_4,(uint64_t *)0x0,(type_6 *)0x0,(type_7 *)0x0,(type_8 *)0x0,false,&var_3
                    );
  if ((var_3 != false) &&
     ((var_4 == var_5 || (var_4 == (type_4 *)0x0)))) {
    if (parameters->target_ == (type_9 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_6("../../gold/parameters.h",0x69,"target");
    }
    var_7 = **(int **)(parameters->target_ + 8);
    if (var_7 == 0x20) {
      pSVar4 = type_2::get_sized_symbol<32>((type_2 *)this->sym_,(type_5 *)symtab);
      pSVar4->value_ = (type_10)uVar2;
    }
    else {
      if (var_7 != 0x40) {
                    /* WARNING: Subroutine does not return */
        var_6("../../gold/script.cc",0x416,"set_if_absolute");
      }
      pSVar3 = type_2::get_sized_symbol<64>((type_2 *)this->sym_,(type_5 *)symtab);
      pSVar3->value_ = uVar2;
    }
    if (var_4 != (type_4 *)0x0) {
      Symbol::var_8(this->sym_,var_4);
      return;
    }
  }
  return;
}


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

void MASKED(long param_1,undefined8 param_2,undefined8 param_3,undefined1 param_4,
                 undefined8 param_5,long param_6)

{
  int iVar1;
  undefined8 uVar2;
  long lVar3;
  char local_21;
  long local_20;
  
  if (*(long *)(param_1 + 0x30) == 0) {
    return;
  }
  uVar2 = FUN_002b1020(*(undefined8 *)(param_1 + 0x20),param_2,param_3,0,param_4,param_5,param_6,
                       &local_20,0,0,0,0,0,&local_21);
  if ((local_21 != '\0') && ((local_20 == param_6 || (local_20 == 0)))) {
    if (*(long *)(PTR_DAT_0043e6b0 + 0x18) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0017c650("../../gold/parameters.h",0x69,"target");
    }
    iVar1 = **(int **)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);
    if (iVar1 == 0x20) {
      lVar3 = FUN_002635b0(*(undefined8 *)(param_1 + 0x30));
      *(int *)(lVar3 + 0x40) = (int)uVar2;
    }
    else {
      if (iVar1 != 0x40) {
                    /* WARNING: Subroutine does not return */
        FUN_0017c650("../../gold/script.cc",0x416,"set_if_absolute");
      }
      lVar3 = FUN_00263610(*(undefined8 *)(param_1 + 0x30));
      *(undefined8 *)(lVar3 + 0x40) = uVar2;
    }
    if (local_20 != 0) {
      FUN_002712c0(*(undefined8 *)(param_1 + 0x30));
      return;
    }
  }
  return;
}

