
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Variable defined which should be unmapped: nonvis */
/* WARNING: Variable defined which should be unmapped: section */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* DWARF original prototype: void finalize_maybe_dot(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::finalize_maybe_dot
          (Symbol_assignment *this,Symbol_table *symtab,Layout *layout,bool is_dot_available,
          uint64_t dot_value,Output_section *dot_section)

{
  int iVar1;
  Sized_symbol<64> *this_00;
  uint64_t uVar2;
  Symbol_table *pSStack_2c;
  uchar nonvis;
  Output_section *section;
  STT type;
  STV vis;
  undefined4 uStack_14;
  
  uStack_14 = 0x1698b9;
  if (this->sym_ == (Symbol *)0x0) {
    if (this->provide_ == false) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/script.cc",0x3bd,"finalize_maybe_dot");
    }
  }
  else {
    if (parameters->target_ == (Target *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/parameters.h",0x69,"target");
    }
    iVar1 = **(int **)(parameters->target_ + 4);
    if (iVar1 == 0x20) {
      type = STT_NOTYPE;
      vis = STV_DEFAULT;
      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);
      uVar2 = Expression::eval_maybe_dot
                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,
                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);
      this_00 = (Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)
      ;
      *(int *)&this_00->value_ = (int)uVar2;
    }
    else {
      if (iVar1 != 0x40) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot");
      }
      type = STT_NOTYPE;
      vis = STV_DEFAULT;
      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);
      uVar2 = Expression::eval_maybe_dot
                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,
                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);
      this_00 = Symbol_table::get_sized_symbol<64>(pSStack_2c,(Symbol *)section);
      this_00->value_ = uVar2;
    }
    (this_00->super_Symbol).field_0x28 =
         (this_00->super_Symbol).field_0x28 & 0xf0 | (undefined1)type & STT_HIPROC;
    (this_00->super_Symbol).field_0x29 =
         (this_00->super_Symbol).field_0x29 & 0xfc | (undefined1)vis & STV_PROTECTED;
    (this_00->super_Symbol).field_0x29 = (undefined1)vis & STV_PROTECTED | nonvis * '\x04';
    if (section != (Output_section *)0x0) {
      Symbol::set_output_section(&this_00->super_Symbol,section);
    }
  }
  return;
}



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

void FUN_001698b0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,
                 undefined4 param_6,undefined4 param_7)

{
  int iVar1;
  undefined4 uVar2;
  undefined8 uVar3;
  char local_29;
  int local_28;
  undefined4 local_24;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x1698b9;
  if (*(int *)(param_1 + 0x20) == 0) {
    if (*(char *)(param_1 + 0x1d) == '\0') {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);
    }
  }
  else {
    if (*(int *)(DAT_0038f378 + 0xc) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);
    }
    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);
    if (iVar1 == 0x20) {
      local_24 = 0;
      local_20[0] = 0;
      local_29 = '\0';
      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,
                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);
      iVar1 = FUN_00168bf0();
      *(undefined4 *)(iVar1 + 0x30) = uVar2;
    }
    else {
      if (iVar1 != 0x40) {
                    /* WARNING: Subroutine does not return */
        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);
      }
      local_24 = 0;
      local_20[0] = 0;
      local_29 = '\0';
      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,
                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);
      iVar1 = FUN_00168c50();
      *(undefined8 *)(iVar1 + 0x30) = uVar3;
    }
    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;
    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;
    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';
    if (local_28 != 0) {
      FUN_00177760(iVar1,local_28);
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x225747
SUB ESP,0x1c
MOV EBP,dword ptr [ESP + 0x30]
MOV ECX,dword ptr [ESP + 0x3c]
MOV EAX,dword ptr [ESP + 0x40]
MOV EDX,dword ptr [ESP + 0x44]
MOV ESI,dword ptr [EBP + 0x20]
TEST ESI,ESI
JZ 0x001699c8
LEA ESI,[EBX + 0x378]
MOV ESI,dword ptr [ESI]
MOV ESI,dword ptr [ESI + 0xc]
TEST ESI,ESI
JZ 0x00169a53
MOV ESI,dword ptr [ESI + 0x4]
MOV ESI,dword ptr [ESI]
CMP ESI,0x20
JZ 0x001699f0
CMP ESI,0x40
JNZ 0x00169a69
MOV dword ptr [ESP + 0x8],0x0
SUB ESP,0x4
MOVZX ECX,CL
MOV dword ptr [ESP + 0x10],0x0
MOV byte ptr [ESP + 0x7],0x0
PUSH 0x0
PUSH 0x0
LEA ESI,[ESP + 0xf]
PUSH ESI
LEA ESI,[ESP + 0x1c]
PUSH ESI
LEA ESI,[ESP + 0x1c]
PUSH ESI
PUSH 0x0
LEA ESI,[ESP + 0x20]
PUSH ESI
PUSH dword ptr [ESP + 0x68]
PUSH EDX
PUSH EAX
PUSH ECX
PUSH 0x1
PUSH dword ptr [ESP + 0x6c]
PUSH dword ptr [ESP + 0x6c]
PUSH dword ptr [EBP + 0x18]
CALL 0x001ba6b0
ADD ESP,0x40
MOV ESI,EAX
MOV EAX,dword ptr [EBP + 0x20]
MOV EDI,EDX
CALL 0x00168c50
MOV dword ptr [EAX + 0x30],ESI
MOV dword ptr [EAX + 0x34],EDI
MOVZX ECX,byte ptr [ESP + 0x8]
MOVZX EDX,byte ptr [EAX + 0x28]
AND ECX,0xf
AND EDX,0xfffffff0
OR EDX,ECX
MOVZX ECX,byte ptr [ESP + 0xc]
MOV byte ptr [EAX + 0x28],DL
MOVZX EDX,byte ptr [EAX + 0x29]
AND ECX,0x3
AND EDX,0xfffffffc
OR EDX,ECX
MOV byte ptr [EAX + 0x29],DL
MOVZX EDI,byte ptr [ESP + 0x3]
AND EDX,0x3
LEA ECX,[EDI*0x4 + 0x0]
OR EDX,ECX
MOV byte ptr [EAX + 0x29],DL
MOV EDX,dword ptr [ESP + 0x4]
TEST EDX,EDX
JZ 0x001699bb
SUB ESP,0x8
PUSH EDX
PUSH EAX
CALL 0x00177760
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP byte ptr [EBP + 0x1d],0x0
JNZ 0x001699bb
LEA EAX,[EBX + 0xfff0a1e8]
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xfff0910c]
PUSH 0x3bd
PUSH EAX
CALL 0x00069d00
MOV dword ptr [ESP + 0x8],0x0
SUB ESP,0x4
MOVZX ECX,CL
MOV dword ptr [ESP + 0x10],0x0
MOV byte ptr [ESP + 0x7],0x0
PUSH 0x0
PUSH 0x0
LEA ESI,[ESP + 0xf]
PUSH ESI
LEA ESI,[ESP + 0x1c]
PUSH ESI
LEA ESI,[ESP + 0x1c]
PUSH ESI
PUSH 0x0
LEA ESI,[ESP + 0x20]
PUSH ESI
PUSH dword ptr [ESP + 0x68]
PUSH EDX
PUSH EAX
PUSH ECX
PUSH 0x1
PUSH dword ptr [ESP + 0x6c]
PUSH dword ptr [ESP + 0x6c]
PUSH dword ptr [EBP + 0x18]
CALL 0x001ba6b0
ADD ESP,0x40
MOV ESI,EAX
MOV EAX,dword ptr [EBP + 0x20]
CALL 0x00168bf0
MOV dword ptr [EAX + 0x30],ESI
JMP 0x0016996a
LEA EAX,[EBX + 0xfff0a1cc]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffef8210]
PUSH 0x69
PUSH EAX
CALL 0x00069d00
PUSH EAX
LEA EAX,[EBX + 0xfff0a1e8]
PUSH EAX
LEA EAX,[EBX + 0xfff0910c]
PUSH 0x3d4
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001698b0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  char local_29;\n  int local_28;\n  undefined4 local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1698b9;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_001698b0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  char local_29;\n  int local_28;\n  undefined4 local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1698b9;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001698b0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier 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) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  char local_29;\n  int local_28;\n  undefined4 local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1698b9;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "char local_29;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1698b9;" (assignment_expression "uStack_14 = 0x1698b9" identifier = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0x20) == 0) {\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x20) == 0)" ( (binary_expression "*(int *)(param_1 + 0x20) == 0" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }" { (if_statement "if (*(char *)(param_1 + 0x1d) == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }" if (parenthesized_expression "(*(char *)(param_1 + 0x1d) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x1d) == '\0'" (pointer_expression "*(char *)(param_1 + 0x1d)" * (cast_expression "(char *)(param_1 + 0x1d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);" (call_expression "FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4)" identifier (argument_list "("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4)" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""finalize_maybe_dot"" " string_content ") , identifier ))) ;) })) }) (else_clause "else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }" else (compound_statement "{\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }" { (if_statement "if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) == 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",param_6)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" identifier = (pointer_expression "**(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (pointer_expression "*(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) )))))) ;) (if_statement "if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }" if (parenthesized_expression "(iVar1 == 0x20)" ( (binary_expression "iVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_29 = '\0';" (assignment_expression "local_29 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);" (assignment_expression "uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" identifier = (call_expression "FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , identifier , identifier , number_literal , (binary_expression "param_4 & 0xff" identifier & number_literal) , identifier , identifier , identifier , (pointer_expression "&local_28" & identifier) , number_literal , (pointer_expression "&local_24" & identifier) , identifier , (pointer_expression "&local_29" & identifier) , number_literal , number_literal )))) ;) (expression_statement "iVar1 = FUN_00168bf0();" (assignment_expression "iVar1 = FUN_00168bf0()" identifier = (call_expression "FUN_00168bf0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" * (cast_expression "(undefined4 *)(iVar1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }" else (compound_statement "{\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }" { (if_statement "if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }" if (parenthesized_expression "(iVar1 != 0x40)" ( (binary_expression "iVar1 != 0x40" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }" { comment (expression_statement "FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);" (call_expression "FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5)" identifier (argument_list "("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5)" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""finalize_maybe_dot"" " string_content ") , identifier ))) ;) })) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_29 = '\0';" (assignment_expression "local_29 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);" (assignment_expression "uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" identifier = (call_expression "FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , identifier , identifier , number_literal , (binary_expression "param_4 & 0xff" identifier & number_literal) , identifier , identifier , identifier , (pointer_expression "&local_28" & identifier) , number_literal , (pointer_expression "&local_24" & identifier) , identifier , (pointer_expression "&local_29" & identifier) , number_literal , number_literal )))) ;) (expression_statement "iVar1 = FUN_00168c50();" (assignment_expression "iVar1 = FUN_00168c50()" identifier = (call_expression "FUN_00168c50()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined8 *)(iVar1 + 0x30) = uVar3;" (assignment_expression "*(undefined8 *)(iVar1 + 0x30) = uVar3" (pointer_expression "*(undefined8 *)(iVar1 + 0x30)" * (cast_expression "(undefined8 *)(iVar1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "*(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;" (assignment_expression "*(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf" (pointer_expression "*(byte *)(iVar1 + 0x28)" * (cast_expression "(byte *)(iVar1 + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf" (binary_expression "*(byte *)(iVar1 + 0x28) & 0xf0" (pointer_expression "*(byte *)(iVar1 + 0x28)" * (cast_expression "(byte *)(iVar1 + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) & number_literal) | (binary_expression "(byte)local_24 & 0xf" (cast_expression "(byte)local_24" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal))) ;) (expression_statement "*(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;" (assignment_expression "*(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3" (pointer_expression "*(byte *)(iVar1 + 0x29)" * (cast_expression "(byte *)(iVar1 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x29)" ( (binary_expression "iVar1 + 0x29" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3" (binary_expression "*(byte *)(iVar1 + 0x29) & 0xfc" (pointer_expression "*(byte *)(iVar1 + 0x29)" * (cast_expression "(byte *)(iVar1 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x29)" ( (binary_expression "iVar1 + 0x29" identifier + number_literal) )))) & number_literal) | (binary_expression "(byte)local_20[0] & 3" (cast_expression "(byte)local_20[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "local_20[0]" identifier [ number_literal ])) & number_literal))) ;) (expression_statement "*(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';" (assignment_expression "*(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04'" (pointer_expression "*(byte *)(iVar1 + 0x29)" * (cast_expression "(byte *)(iVar1 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x29)" ( (binary_expression "iVar1 + 0x29" identifier + number_literal) )))) = (binary_expression "(byte)local_20[0] & 3 | local_29 * '\x04'" (binary_expression "(byte)local_20[0] & 3" (cast_expression "(byte)local_20[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "local_20[0]" identifier [ number_literal ])) & number_literal) | (binary_expression "local_29 * '\x04'" identifier * (char_literal "'\x04'" ' escape_sequence ')))) ;) (if_statement "if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00177760(iVar1,local_28);\n    }" { (expression_statement "FUN_00177760(iVar1,local_28);" (call_expression "FUN_00177760(iVar1,local_28)" identifier (argument_list "(iVar1,local_28)" ( identifier , identifier ))) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Variable defined which should be unmapped: nonvis */\n/* WARNING: Variable defined which should be unmapped: section */\n/* 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 finalize_maybe_dot(Symbol_assignment * this, Symbol_table *\n   symtab, Layout * layout, bool is_dot_available, uint64_t dot_value, Output_section * dot_section)\n    */\n\nvoid __thiscall\ngold::Symbol_assignment::finalize_maybe_dot\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  Sized_symbol<64> *this_00;\n  uint64_t uVar2;\n  Symbol_table *pSStack_2c;\n  uchar nonvis;\n  Output_section *section;\n  STT type;\n  STV vis;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1698b9;\n  if (this->sym_ == (Symbol *)0x0) {\n    if (this->provide_ == false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x3bd,"finalize_maybe_dot");\n    }\n  }\n  else {\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_ + 4);\n    if (iVar1 == 0x20) {\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = (Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)\n      ;\n      *(int *)&this_00->value_ = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot");\n      }\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = Symbol_table::get_sized_symbol<64>(pSStack_2c,(Symbol *)section);\n      this_00->value_ = uVar2;\n    }\n    (this_00->super_Symbol).field_0x28 =\n         (this_00->super_Symbol).field_0x28 & 0xf0 | (undefined1)type & STT_HIPROC;\n    (this_00->super_Symbol).field_0x29 =\n         (this_00->super_Symbol).field_0x29 & 0xfc | (undefined1)vis & STV_PROTECTED;\n    (this_00->super_Symbol).field_0x29 = (undefined1)vis & STV_PROTECTED | nonvis * '\x04';\n    if (section != (Output_section *)0x0) {\n      Symbol::set_output_section(&this_00->super_Symbol,section);\n    }\n  }\n  return;\n}\n\n" comment comment comment comment comment comment (function_definition "void __thiscall\ngold::Symbol_assignment::finalize_maybe_dot\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  Sized_symbol<64> *this_00;\n  uint64_t uVar2;\n  Symbol_table *pSStack_2c;\n  uchar nonvis;\n  Output_section *section;\n  STT type;\n  STV vis;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1698b9;\n  if (this->sym_ == (Symbol *)0x0) {\n    if (this->provide_ == false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x3bd,"finalize_maybe_dot");\n    }\n  }\n  else {\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_ + 4);\n    if (iVar1 == 0x20) {\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = (Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)\n      ;\n      *(int *)&this_00->value_ = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot");\n      }\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = Symbol_table::get_sized_symbol<64>(pSStack_2c,(Symbol *)section);\n      this_00->value_ = uVar2;\n    }\n    (this_00->super_Symbol).field_0x28 =\n         (this_00->super_Symbol).field_0x28 & 0xf0 | (undefined1)type & STT_HIPROC;\n    (this_00->super_Symbol).field_0x29 =\n         (this_00->super_Symbol).field_0x29 & 0xfc | (undefined1)vis & STV_PROTECTED;\n    (this_00->super_Symbol).field_0x29 = (undefined1)vis & STV_PROTECTED | nonvis * '\x04';\n    if (section != (Output_section *)0x0) {\n      Symbol::set_output_section(&this_00->super_Symbol,section);\n    }\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Symbol_assignment::" identifier : : identifier : :) (function_declarator "finalize_maybe_dot\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  Sized_symbol<64> *this_00;\n  uint64_t uVar2;\n  Symbol_table *pSStack_2c;\n  uchar nonvis;\n  Output_section *section;\n  STT type;\n  STV vis;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1698b9;\n  if (this->sym_ == (Symbol *)0x0) {\n    if (this->provide_ == false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x3bd,"finalize_maybe_dot");\n    }\n  }\n  else {\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_ + 4);\n    if (iVar1 == 0x20) {\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = (Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)\n      ;\n      *(int *)&this_00->value_ = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot");\n      }\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = Symbol_table::get_sized_symbol<64>(pSStack_2c,(Symbol *)section);\n      this_00->value_ = uVar2;\n    }\n    (this_00->super_Symbol).field_0x28 =\n         (this_00->super_Symbol).field_0x28 & 0xf0 | (undefined1)type & STT_HIPROC;\n    (this_00->super_Symbol).field_0x29 =\n         (this_00->super_Symbol).field_0x29 & 0xfc | (undefined1)vis & STV_PROTECTED;\n    (this_00->super_Symbol).field_0x29 = (undefined1)vis & STV_PROTECTED | nonvis * '\x04';\n    if (section != (Output_section *)0x0) {\n      Symbol::set_output_section(&this_00->super_Symbol,section);\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "Sized_symbol<64> *this_00;" (binary_expression "Sized_symbol<64> *this_00" (binary_expression "Sized_symbol<64" identifier < number_literal) > (pointer_expression "*this_00" * identifier)) ;) (declaration "uint64_t uVar2;" primitive_type identifier ;) (declaration "Symbol_table *pSStack_2c;" type_identifier (pointer_declarator "*pSStack_2c" * identifier) ;) (declaration "uchar nonvis;" type_identifier identifier ;) (declaration "Output_section *section;" type_identifier (pointer_declarator "*section" * identifier) ;) (declaration "STT type;" type_identifier identifier ;) (declaration "STV vis;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1698b9;" (assignment_expression "uStack_14 = 0x1698b9" identifier = number_literal) ;) (if_statement "if (this->sym_ == (Symbol *)0x0) {\n    if (this->provide_ == false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x3bd,"finalize_maybe_dot");\n    }\n  }\n  else {\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_ + 4);\n    if (iVar1 == 0x20) {\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = (Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)\n      ;\n      *(int *)&this_00->value_ = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot");\n      }\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = Symbol_table::get_sized_symbol<64>(pSStack_2c,(Symbol *)section);\n      this_00->value_ = uVar2;\n    }\n    (this_00->super_Symbol).field_0x28 =\n         (this_00->super_Symbol).field_0x28 & 0xf0 | (undefined1)type & STT_HIPROC;\n    (this_00->super_Symbol).field_0x29 =\n         (this_00->super_Symbol).field_0x29 & 0xfc | (undefined1)vis & STV_PROTECTED;\n    (this_00->super_Symbol).field_0x29 = (undefined1)vis & STV_PROTECTED | nonvis * '\x04';\n    if (section != (Output_section *)0x0) {\n      Symbol::set_output_section(&this_00->super_Symbol,section);\n    }\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    if (this->provide_ == false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x3bd,"finalize_maybe_dot");\n    }\n  }" { (if_statement "if (this->provide_ == false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x3bd,"finalize_maybe_dot");\n    }" if (parenthesized_expression "(this->provide_ == false)" ( (binary_expression "this->provide_ == false" (field_expression "this->provide_" identifier -> field_identifier) == false) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/script.cc",0x3bd,"finalize_maybe_dot");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/script.cc",0x3bd,"finalize_maybe_dot");" (call_expression "do_gold_unreachable("../../gold/script.cc",0x3bd,"finalize_maybe_dot")" identifier (argument_list "("../../gold/script.cc",0x3bd,"finalize_maybe_dot")" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""finalize_maybe_dot"" " string_content ") ))) ;) })) }) (else_clause "else {\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_ + 4);\n    if (iVar1 == 0x20) {\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = (Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)\n      ;\n      *(int *)&this_00->value_ = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot");\n      }\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = Symbol_table::get_sized_symbol<64>(pSStack_2c,(Symbol *)section);\n      this_00->value_ = uVar2;\n    }\n    (this_00->super_Symbol).field_0x28 =\n         (this_00->super_Symbol).field_0x28 & 0xf0 | (undefined1)type & STT_HIPROC;\n    (this_00->super_Symbol).field_0x29 =\n         (this_00->super_Symbol).field_0x29 & 0xfc | (undefined1)vis & STV_PROTECTED;\n    (this_00->super_Symbol).field_0x29 = (undefined1)vis & STV_PROTECTED | nonvis * '\x04';\n    if (section != (Output_section *)0x0) {\n      Symbol::set_output_section(&this_00->super_Symbol,section);\n    }\n  }" else (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_ + 4);\n    if (iVar1 == 0x20) {\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = (Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)\n      ;\n      *(int *)&this_00->value_ = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot");\n      }\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = Symbol_table::get_sized_symbol<64>(pSStack_2c,(Symbol *)section);\n      this_00->value_ = uVar2;\n    }\n    (this_00->super_Symbol).field_0x28 =\n         (this_00->super_Symbol).field_0x28 & 0xf0 | (undefined1)type & STT_HIPROC;\n    (this_00->super_Symbol).field_0x29 =\n         (this_00->super_Symbol).field_0x29 & 0xfc | (undefined1)vis & STV_PROTECTED;\n    (this_00->super_Symbol).field_0x29 = (undefined1)vis & STV_PROTECTED | nonvis * '\x04';\n    if (section != (Output_section *)0x0) {\n      Symbol::set_output_section(&this_00->super_Symbol,section);\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_ + 4);" (assignment_expression "iVar1 = **(int **)(parameters->target_ + 4)" identifier = (pointer_expression "**(int **)(parameters->target_ + 4)" * (pointer_expression "*(int **)(parameters->target_ + 4)" * (cast_expression "(int **)(parameters->target_ + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(parameters->target_ + 4)" ( (binary_expression "parameters->target_ + 4" (field_expression "parameters->target_" identifier -> field_identifier) + number_literal) )))))) ;) (if_statement "if (iVar1 == 0x20) {\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = (Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)\n      ;\n      *(int *)&this_00->value_ = (int)uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot");\n      }\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = Symbol_table::get_sized_symbol<64>(pSStack_2c,(Symbol *)section);\n      this_00->value_ = uVar2;\n    }" if (parenthesized_expression "(iVar1 == 0x20)" ( (binary_expression "iVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = (Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)\n      ;\n      *(int *)&this_00->value_ = (int)uVar2;\n    }" { (expression_statement "type = STT_NOTYPE;" (assignment_expression "type = STT_NOTYPE" identifier = identifier) ;) (expression_statement "vis = STV_DEFAULT;" (assignment_expression "vis = STV_DEFAULT" identifier = identifier) ;) (expression_statement "pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);" (assignment_expression "pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff)" identifier = (cast_expression "(Symbol_table *)((uint)pSStack_2c & 0xffffff)" ( (type_descriptor "Symbol_table *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)pSStack_2c & 0xffffff)" ( (binary_expression "(uint)pSStack_2c & 0xffffff" (cast_expression "(uint)pSStack_2c" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )))) ;) (ERROR "uVar2 = Expression::" (assignment_expression "uVar2 = Expression" identifier = identifier) : :) (expression_statement "eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);" (call_expression "eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0)" identifier (argument_list "(this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0)" ( (field_expression "this->val_" identifier -> field_identifier) , identifier , identifier , true , identifier , identifier , identifier , (pointer_expression "&section" & identifier) , (cast_expression "(uint64_t *)0x0" ( (type_descriptor "uint64_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (pointer_expression "&type" & identifier) , (pointer_expression "&vis" & identifier) , (pointer_expression "&nonvis" & identifier) , false , (cast_expression "(bool *)0x0" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (expression_statement "this_00 = (Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)\n      ;" (assignment_expression "this_00 = (Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)" identifier = (parenthesized_expression "(Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)" ( (binary_expression "Sized_symbol<64> *)Symbol_table::get_sized_symbol<32>(pSStack_2c,(Symbol *)section)" (binary_expression "Sized_symbol<64> *)Symbol_table::get_sized_symbol<32" (binary_expression "Sized_symbol<64> *)Symbol_table" (binary_expression "Sized_symbol<64" identifier < number_literal) > (pointer_expression "*)Symbol_table" * (ERROR ")" )) identifier)) (ERROR "::get_sized_symbol" : : identifier) < number_literal) > (parenthesized_expression "(pSStack_2c,(Symbol *)section)" ( (comma_expression "pSStack_2c,(Symbol *)section" identifier , (cast_expression "(Symbol *)section" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ))) ;) (expression_statement "*(int *)&this_00->value_ = (int)uVar2;" (assignment_expression "*(int *)&this_00->value_ = (int)uVar2" (pointer_expression "*(int *)&this_00->value_" * (cast_expression "(int *)&this_00->value_" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this_00->value_" & (field_expression "this_00->value_" identifier -> field_identifier)))) = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot");\n      }\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = Symbol_table::get_sized_symbol<64>(pSStack_2c,(Symbol *)section);\n      this_00->value_ = uVar2;\n    }" else (compound_statement "{\n      if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot");\n      }\n      type = STT_NOTYPE;\n      vis = STV_DEFAULT;\n      pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);\n      uVar2 = Expression::eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);\n      this_00 = Symbol_table::get_sized_symbol<64>(pSStack_2c,(Symbol *)section);\n      this_00->value_ = uVar2;\n    }" { (if_statement "if (iVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot");\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",0x3d4,"finalize_maybe_dot");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot");" (call_expression "do_gold_unreachable("../../gold/script.cc",0x3d4,"finalize_maybe_dot")" identifier (argument_list "("../../gold/script.cc",0x3d4,"finalize_maybe_dot")" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""finalize_maybe_dot"" " string_content ") ))) ;) })) (expression_statement "type = STT_NOTYPE;" (assignment_expression "type = STT_NOTYPE" identifier = identifier) ;) (expression_statement "vis = STV_DEFAULT;" (assignment_expression "vis = STV_DEFAULT" identifier = identifier) ;) (expression_statement "pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff);" (assignment_expression "pSStack_2c = (Symbol_table *)((uint)pSStack_2c & 0xffffff)" identifier = (cast_expression "(Symbol_table *)((uint)pSStack_2c & 0xffffff)" ( (type_descriptor "Symbol_table *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)pSStack_2c & 0xffffff)" ( (binary_expression "(uint)pSStack_2c & 0xffffff" (cast_expression "(uint)pSStack_2c" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )))) ;) (ERROR "uVar2 = Expression::" (assignment_expression "uVar2 = Expression" identifier = identifier) : :) (expression_statement "eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0);" (call_expression "eval_maybe_dot\n                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0)" identifier (argument_list "(this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,\n                         &section,(uint64_t *)0x0,&type,&vis,&nonvis,false,(bool *)0x0)" ( (field_expression "this->val_" identifier -> field_identifier) , identifier , identifier , true , identifier , identifier , identifier , (pointer_expression "&section" & identifier) , (cast_expression "(uint64_t *)0x0" ( (type_descriptor "uint64_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (pointer_expression "&type" & identifier) , (pointer_expression "&vis" & identifier) , (pointer_expression "&nonvis" & identifier) , false , (cast_expression "(bool *)0x0" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (expression_statement "this_00 = Symbol_table::get_sized_symbol<64>(pSStack_2c,(Symbol *)section);" (binary_expression "this_00 = Symbol_table::get_sized_symbol<64>(pSStack_2c,(Symbol *)section)" (binary_expression "this_00 = Symbol_table::get_sized_symbol<64" (assignment_expression "this_00 = Symbol_table" identifier = identifier) (ERROR "::get_sized_symbol" : : identifier) < number_literal) > (parenthesized_expression "(pSStack_2c,(Symbol *)section)" ( (comma_expression "pSStack_2c,(Symbol *)section" identifier , (cast_expression "(Symbol *)section" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "this_00->value_ = uVar2;" (assignment_expression "this_00->value_ = uVar2" (field_expression "this_00->value_" identifier -> field_identifier) = identifier) ;) }))) (expression_statement "(this_00->super_Symbol).field_0x28 =\n         (this_00->super_Symbol).field_0x28 & 0xf0 | (undefined1)type & STT_HIPROC;" (assignment_expression "(this_00->super_Symbol).field_0x28 =\n         (this_00->super_Symbol).field_0x28 & 0xf0 | (undefined1)type & STT_HIPROC" (field_expression "(this_00->super_Symbol).field_0x28" (parenthesized_expression "(this_00->super_Symbol)" ( (field_expression "this_00->super_Symbol" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(this_00->super_Symbol).field_0x28 & 0xf0 | (undefined1)type & STT_HIPROC" (binary_expression "(this_00->super_Symbol).field_0x28 & 0xf0" (field_expression "(this_00->super_Symbol).field_0x28" (parenthesized_expression "(this_00->super_Symbol)" ( (field_expression "this_00->super_Symbol" identifier -> field_identifier) )) . field_identifier) & number_literal) | (binary_expression "(undefined1)type & STT_HIPROC" (cast_expression "(undefined1)type" ( (type_descriptor "undefined1" type_identifier) ) identifier) & identifier))) ;) (expression_statement "(this_00->super_Symbol).field_0x29 =\n         (this_00->super_Symbol).field_0x29 & 0xfc | (undefined1)vis & STV_PROTECTED;" (assignment_expression "(this_00->super_Symbol).field_0x29 =\n         (this_00->super_Symbol).field_0x29 & 0xfc | (undefined1)vis & STV_PROTECTED" (field_expression "(this_00->super_Symbol).field_0x29" (parenthesized_expression "(this_00->super_Symbol)" ( (field_expression "this_00->super_Symbol" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(this_00->super_Symbol).field_0x29 & 0xfc | (undefined1)vis & STV_PROTECTED" (binary_expression "(this_00->super_Symbol).field_0x29 & 0xfc" (field_expression "(this_00->super_Symbol).field_0x29" (parenthesized_expression "(this_00->super_Symbol)" ( (field_expression "this_00->super_Symbol" identifier -> field_identifier) )) . field_identifier) & number_literal) | (binary_expression "(undefined1)vis & STV_PROTECTED" (cast_expression "(undefined1)vis" ( (type_descriptor "undefined1" type_identifier) ) identifier) & identifier))) ;) (expression_statement "(this_00->super_Symbol).field_0x29 = (undefined1)vis & STV_PROTECTED | nonvis * '\x04';" (assignment_expression "(this_00->super_Symbol).field_0x29 = (undefined1)vis & STV_PROTECTED | nonvis * '\x04'" (field_expression "(this_00->super_Symbol).field_0x29" (parenthesized_expression "(this_00->super_Symbol)" ( (field_expression "this_00->super_Symbol" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(undefined1)vis & STV_PROTECTED | nonvis * '\x04'" (binary_expression "(undefined1)vis & STV_PROTECTED" (cast_expression "(undefined1)vis" ( (type_descriptor "undefined1" type_identifier) ) identifier) & identifier) | (binary_expression "nonvis * '\x04'" identifier * (char_literal "'\x04'" ' escape_sequence ')))) ;) (if_statement "if (section != (Output_section *)0x0) {\n      Symbol::set_output_section(&this_00->super_Symbol,section);\n    }" if (parenthesized_expression "(section != (Output_section *)0x0)" ( (binary_expression "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_00->super_Symbol,section);\n    }" { (labeled_statement "Symbol::set_output_section(&this_00->super_Symbol,section);" statement_identifier : (ERROR ":" :) (expression_statement "set_output_section(&this_00->super_Symbol,section);" (call_expression "set_output_section(&this_00->super_Symbol,section)" identifier (argument_list "(&this_00->super_Symbol,section)" ( (pointer_expression "&this_00->super_Symbol" & (field_expression "this_00->super_Symbol" identifier -> field_identifier)) , identifier ))) ;)) })) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001698b0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  char local_29;\n  int local_28;\n  undefined4 local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1698b9;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_001698b0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  char local_29;\n  int local_28;\n  undefined4 local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1698b9;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001698b0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier 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) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  char local_29;\n  int local_28;\n  undefined4 local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1698b9;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "char local_29;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1698b9;" (assignment_expression "uStack_14 = 0x1698b9" identifier = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0x20) == 0) {\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x20) == 0)" ( (binary_expression "*(int *)(param_1 + 0x20) == 0" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }" { (if_statement "if (*(char *)(param_1 + 0x1d) == '\0') {\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }" if (parenthesized_expression "(*(char *)(param_1 + 0x1d) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x1d) == '\0'" (pointer_expression "*(char *)(param_1 + 0x1d)" * (cast_expression "(char *)(param_1 + 0x1d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }" { (expression_statement "FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);" (call_expression "FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4)" identifier (argument_list "("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4)" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""finalize_maybe_dot"" " string_content ") , identifier ))) ;) })) }) (else_clause "else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }" else (compound_statement "{\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }" { (if_statement "if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) == 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }" { (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",param_6)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" identifier = (pointer_expression "**(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (pointer_expression "*(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) )))))) ;) (if_statement "if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }" if (parenthesized_expression "(iVar1 == 0x20)" ( (binary_expression "iVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_29 = '\0';" (assignment_expression "local_29 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);" (assignment_expression "uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" identifier = (call_expression "FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , identifier , identifier , number_literal , (binary_expression "param_4 & 0xff" identifier & number_literal) , identifier , identifier , identifier , (pointer_expression "&local_28" & identifier) , number_literal , (pointer_expression "&local_24" & identifier) , identifier , (pointer_expression "&local_29" & identifier) , number_literal , number_literal )))) ;) (expression_statement "iVar1 = FUN_00168bf0();" (assignment_expression "iVar1 = FUN_00168bf0()" identifier = (call_expression "FUN_00168bf0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" * (cast_expression "(undefined4 *)(iVar1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }" else (compound_statement "{\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }" { (if_statement "if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }" if (parenthesized_expression "(iVar1 != 0x40)" ( (binary_expression "iVar1 != 0x40" identifier != number_literal) )) (compound_statement "{\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }" { (expression_statement "FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);" (call_expression "FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5)" identifier (argument_list "("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5)" ( (string_literal ""../../gold/script.cc"" " string_content ") , number_literal , (string_literal ""finalize_maybe_dot"" " string_content ") , identifier ))) ;) })) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_29 = '\0';" (assignment_expression "local_29 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);" (assignment_expression "uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" identifier = (call_expression "FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , identifier , identifier , number_literal , (binary_expression "param_4 & 0xff" identifier & number_literal) , identifier , identifier , identifier , (pointer_expression "&local_28" & identifier) , number_literal , (pointer_expression "&local_24" & identifier) , identifier , (pointer_expression "&local_29" & identifier) , number_literal , number_literal )))) ;) (expression_statement "iVar1 = FUN_00168c50();" (assignment_expression "iVar1 = FUN_00168c50()" identifier = (call_expression "FUN_00168c50()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined8 *)(iVar1 + 0x30) = uVar3;" (assignment_expression "*(undefined8 *)(iVar1 + 0x30) = uVar3" (pointer_expression "*(undefined8 *)(iVar1 + 0x30)" * (cast_expression "(undefined8 *)(iVar1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "*(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;" (assignment_expression "*(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf" (pointer_expression "*(byte *)(iVar1 + 0x28)" * (cast_expression "(byte *)(iVar1 + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf" (binary_expression "*(byte *)(iVar1 + 0x28) & 0xf0" (pointer_expression "*(byte *)(iVar1 + 0x28)" * (cast_expression "(byte *)(iVar1 + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) & number_literal) | (binary_expression "(byte)local_24 & 0xf" (cast_expression "(byte)local_24" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal))) ;) (expression_statement "*(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;" (assignment_expression "*(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3" (pointer_expression "*(byte *)(iVar1 + 0x29)" * (cast_expression "(byte *)(iVar1 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x29)" ( (binary_expression "iVar1 + 0x29" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3" (binary_expression "*(byte *)(iVar1 + 0x29) & 0xfc" (pointer_expression "*(byte *)(iVar1 + 0x29)" * (cast_expression "(byte *)(iVar1 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x29)" ( (binary_expression "iVar1 + 0x29" identifier + number_literal) )))) & number_literal) | (binary_expression "(byte)local_20[0] & 3" (cast_expression "(byte)local_20[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "local_20[0]" identifier [ number_literal ])) & number_literal))) ;) (expression_statement "*(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';" (assignment_expression "*(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04'" (pointer_expression "*(byte *)(iVar1 + 0x29)" * (cast_expression "(byte *)(iVar1 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x29)" ( (binary_expression "iVar1 + 0x29" identifier + number_literal) )))) = (binary_expression "(byte)local_20[0] & 3 | local_29 * '\x04'" (binary_expression "(byte)local_20[0] & 3" (cast_expression "(byte)local_20[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "local_20[0]" identifier [ number_literal ])) & number_literal) | (binary_expression "local_29 * '\x04'" identifier * (char_literal "'\x04'" ' escape_sequence ')))) ;) (if_statement "if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00177760(iVar1,local_28);\n    }" { (expression_statement "FUN_00177760(iVar1,local_28);" (call_expression "FUN_00177760(iVar1,local_28)" identifier (argument_list "(iVar1,local_28)" ( identifier , 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) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (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 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 IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (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 , (binary_expression IDENT & LIT) , IDENT , IDENT , IDENT , (pointer_expression & IDENT) , LIT , (pointer_expression & IDENT) , IDENT , (pointer_expression & IDENT) , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (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 , (binary_expression IDENT & LIT) , IDENT , IDENT , IDENT , (pointer_expression & IDENT) , LIT , (pointer_expression & IDENT) , IDENT , (pointer_expression & IDENT) , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) & LIT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) & LIT) | (binary_expression IDENT * (char_literal ' escape_sequence ')))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) }))) (return_statement return ;) })))
(function_definition "void FUN_001698b0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  char local_29;\n  int local_28;\n  undefined4 local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1698b9;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001698b0(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)" (identifier "FUN_001698b0") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (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")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined8 uVar3;\n  char local_29;\n  int local_28;\n  undefined4 local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1698b9;\n  if (*(int *)(param_1 + 0x20) == 0) {\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "char local_29;" (primitive_type "char") (identifier "local_29") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20 [3];" (type_identifier "undefined4") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1698b9;" (assignment_expression "uStack_14 = 0x1698b9" (identifier "uStack_14") (= "=") (number_literal "0x1698b9")) (; ";")) (if_statement "if (*(int *)(param_1 + 0x20) == 0) {\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x20) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x20) == 0" (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(char *)(param_1 + 0x1d) == '\0') {\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }\n  }" ({ "{") (if_statement "if (*(char *)(param_1 + 0x1d) == '\0') {\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x1d) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x1d) == '\0'" (pointer_expression "*(char *)(param_1 + 0x1d)" (* "*") (cast_expression "(char *)(param_1 + 0x1d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d)" (( "(") (binary_expression "param_1 + 0x1d" (identifier "param_1") (+ "+") (number_literal "0x1d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);" (call_expression "FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4)" (identifier "FUN_00069d00") (argument_list "("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4)" (( "(") (string_literal ""../../gold/script.cc"" (" """) (string_content "../../gold/script.cc") (" """)) (, ",") (number_literal "0x3bd") (, ",") (string_literal ""finalize_maybe_dot"" (" """) (string_content "finalize_maybe_dot") (" """)) (, ",") (identifier "param_4") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }" (else "else") (compound_statement "{\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }\n    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }\n    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;\n    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;\n    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';\n    if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }\n  }" ({ "{") (if_statement "if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }" (if "if") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.h",0x69,"target",param_6)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) (, ",") (identifier "param_6") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (identifier "iVar1") (= "=") (pointer_expression "**(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (* "*") (pointer_expression "*(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (* "*") (cast_expression "(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")")))))) (; ";")) (if_statement "if (iVar1 == 0x20) {\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }\n    else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0x20)" (( "(") (binary_expression "iVar1 == 0x20" (identifier "iVar1") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168bf0();\n      *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    }" ({ "{") (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_29 = '\0';" (assignment_expression "local_29 = '\0'" (identifier "local_29") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);" (assignment_expression "uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" (identifier "uVar2") (= "=") (call_expression "FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" (identifier "FUN_001ba6b0") (argument_list "(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "1") (, ",") (binary_expression "param_4 & 0xff" (identifier "param_4") (& "&") (number_literal "0xff")) (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (number_literal "0") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (identifier "local_20") (, ",") (pointer_expression "&local_29" (& "&") (identifier "local_29")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar1 = FUN_00168bf0();" (assignment_expression "iVar1 = FUN_00168bf0()" (identifier "iVar1") (= "=") (call_expression "FUN_00168bf0()" (identifier "FUN_00168bf0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x30)" (( "(") (binary_expression "iVar1 + 0x30" (identifier "iVar1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")) (else_clause "else {\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }" (else "else") (compound_statement "{\n      if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }\n      local_24 = 0;\n      local_20[0] = 0;\n      local_29 = '\0';\n      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);\n      iVar1 = FUN_00168c50();\n      *(undefined8 *)(iVar1 + 0x30) = uVar3;\n    }" ({ "{") (if_statement "if (iVar1 != 0x40) {\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }" (if "if") (parenthesized_expression "(iVar1 != 0x40)" (( "(") (binary_expression "iVar1 != 0x40" (identifier "iVar1") (!= "!=") (number_literal "0x40")) () ")")) (compound_statement "{\n                    \n        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);\n      }" ({ "{") (expression_statement "FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);" (call_expression "FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5)" (identifier "FUN_00069d00") (argument_list "("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5)" (( "(") (string_literal ""../../gold/script.cc"" (" """) (string_content "../../gold/script.cc") (" """)) (, ",") (number_literal "0x3d4") (, ",") (string_literal ""finalize_maybe_dot"" (" """) (string_content "finalize_maybe_dot") (" """)) (, ",") (identifier "param_5") () ")"))) (; ";")) (} "}"))) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_29 = '\0';" (assignment_expression "local_29 = '\0'" (identifier "local_29") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);" (assignment_expression "uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" (identifier "uVar3") (= "=") (call_expression "FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" (identifier "FUN_001ba6b0") (argument_list "(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,\n                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "1") (, ",") (binary_expression "param_4 & 0xff" (identifier "param_4") (& "&") (number_literal "0xff")) (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (number_literal "0") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (identifier "local_20") (, ",") (pointer_expression "&local_29" (& "&") (identifier "local_29")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar1 = FUN_00168c50();" (assignment_expression "iVar1 = FUN_00168c50()" (identifier "iVar1") (= "=") (call_expression "FUN_00168c50()" (identifier "FUN_00168c50") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(iVar1 + 0x30) = uVar3;" (assignment_expression "*(undefined8 *)(iVar1 + 0x30) = uVar3" (pointer_expression "*(undefined8 *)(iVar1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(iVar1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x30)" (( "(") (binary_expression "iVar1 + 0x30" (identifier "iVar1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (} "}")))) (expression_statement "*(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;" (assignment_expression "*(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf" (pointer_expression "*(byte *)(iVar1 + 0x28)" (* "*") (cast_expression "(byte *)(iVar1 + 0x28)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x28)" (( "(") (binary_expression "iVar1 + 0x28" (identifier "iVar1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (binary_expression "*(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf" (binary_expression "*(byte *)(iVar1 + 0x28) & 0xf0" (pointer_expression "*(byte *)(iVar1 + 0x28)" (* "*") (cast_expression "(byte *)(iVar1 + 0x28)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x28)" (( "(") (binary_expression "iVar1 + 0x28" (identifier "iVar1") (+ "+") (number_literal "0x28")) () ")")))) (& "&") (number_literal "0xf0")) (| "|") (binary_expression "(byte)local_24 & 0xf" (cast_expression "(byte)local_24" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_24")) (& "&") (number_literal "0xf")))) (; ";")) (expression_statement "*(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;" (assignment_expression "*(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3" (pointer_expression "*(byte *)(iVar1 + 0x29)" (* "*") (cast_expression "(byte *)(iVar1 + 0x29)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x29)" (( "(") (binary_expression "iVar1 + 0x29" (identifier "iVar1") (+ "+") (number_literal "0x29")) () ")")))) (= "=") (binary_expression "*(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3" (binary_expression "*(byte *)(iVar1 + 0x29) & 0xfc" (pointer_expression "*(byte *)(iVar1 + 0x29)" (* "*") (cast_expression "(byte *)(iVar1 + 0x29)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x29)" (( "(") (binary_expression "iVar1 + 0x29" (identifier "iVar1") (+ "+") (number_literal "0x29")) () ")")))) (& "&") (number_literal "0xfc")) (| "|") (binary_expression "(byte)local_20[0] & 3" (cast_expression "(byte)local_20[0]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (& "&") (number_literal "3")))) (; ";")) (expression_statement "*(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';" (assignment_expression "*(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04'" (pointer_expression "*(byte *)(iVar1 + 0x29)" (* "*") (cast_expression "(byte *)(iVar1 + 0x29)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x29)" (( "(") (binary_expression "iVar1 + 0x29" (identifier "iVar1") (+ "+") (number_literal "0x29")) () ")")))) (= "=") (binary_expression "(byte)local_20[0] & 3 | local_29 * '\x04'" (binary_expression "(byte)local_20[0] & 3" (cast_expression "(byte)local_20[0]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (& "&") (number_literal "3")) (| "|") (binary_expression "local_29 * '\x04'" (identifier "local_29") (* "*") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))))) (; ";")) (if_statement "if (local_28 != 0) {\n      FUN_00177760(iVar1,local_28);\n    }" (if "if") (parenthesized_expression "(local_28 != 0)" (( "(") (binary_expression "local_28 != 0" (identifier "local_28") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00177760(iVar1,local_28);\n    }" ({ "{") (expression_statement "FUN_00177760(iVar1,local_28);" (call_expression "FUN_00177760(iVar1,local_28)" (identifier "FUN_00177760") (argument_list "(iVar1,local_28)" (( "(") (identifier "iVar1") (, ",") (identifier "local_28") () ")"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Variable defined which should be unmapped: nonvis */
/* WARNING: Variable defined which should be unmapped: section */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* DWARF original prototype: void finalize_maybe_dot(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 *dot_section)

{
  int var_3;
  var_1<64> *this_00;
  uint64_t uVar2;
  type_2 *pSStack_2c;
  type_5 var_7;
  type_4 *var_8;
  type_6 type;
  type_7 vis;
  type_8 uStack_14;
  
  uStack_14 = 0x1698b9;
  if (this->sym_ == (type_9 *)0x0) {
    if (this->provide_ == false) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/script.cc",0x3bd,"finalize_maybe_dot");
    }
  }
  else {
    if (parameters->target_ == (type_10 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/parameters.h",0x69,"target");
    }
    var_3 = **(int **)(parameters->target_ + 4);
    if (var_3 == 0x20) {
      type = STT_NOTYPE;
      vis = STV_DEFAULT;
      pSStack_2c = (type_2 *)((type_11)pSStack_2c & 0xffffff);
      uVar2 = Expression::var_4
                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,
                         &var_8,(uint64_t *)0x0,&type,&vis,&var_7,false,(bool *)0x0);
      this_00 = (var_1<64> *)type_2::get_sized_symbol<32>(pSStack_2c,(type_9 *)var_8)
      ;
      *(int *)&this_00->value_ = (int)uVar2;
    }
    else {
      if (var_3 != 0x40) {
                    /* WARNING: Subroutine does not return */
        var_2("../../gold/script.cc",0x3d4,"finalize_maybe_dot");
      }
      type = STT_NOTYPE;
      vis = STV_DEFAULT;
      pSStack_2c = (type_2 *)((type_11)pSStack_2c & 0xffffff);
      uVar2 = Expression::var_4
                        (this->val_,symtab,layout,true,is_dot_available,dot_value,dot_section,
                         &var_8,(uint64_t *)0x0,&type,&vis,&var_7,false,(bool *)0x0);
      this_00 = type_2::get_sized_symbol<64>(pSStack_2c,(type_9 *)var_8);
      this_00->value_ = uVar2;
    }
    (this_00->super_Symbol).field_0x28 =
         (this_00->super_Symbol).field_0x28 & 0xf0 | (type_12)type & var_5;
    (this_00->super_Symbol).field_0x29 =
         (this_00->super_Symbol).field_0x29 & 0xfc | (type_12)vis & var_6;
    (this_00->super_Symbol).field_0x29 = (type_12)vis & var_6 | var_7 * '\x04';
    if (var_8 != (type_4 *)0x0) {
      Symbol::var_9(&this_00->super_Symbol,var_8);
    }
  }
  return;
}


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

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

void MASKED(int param_1,undefined4 param_2,undefined4 param_3,uint param_4,undefined4 param_5,
                 undefined4 param_6,undefined4 param_7)

{
  int iVar1;
  undefined4 uVar2;
  undefined8 uVar3;
  char local_29;
  int local_28;
  undefined4 local_24;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x1698b9;
  if (*(int *)(param_1 + 0x20) == 0) {
    if (*(char *)(param_1 + 0x1d) == '\0') {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/script.cc",0x3bd,"finalize_maybe_dot",param_4);
    }
  }
  else {
    if (*(int *)(DAT_0038f378 + 0xc) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/parameters.h",0x69,"target",param_6);
    }
    iVar1 = **(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);
    if (iVar1 == 0x20) {
      local_24 = 0;
      local_20[0] = 0;
      local_29 = '\0';
      uVar2 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,
                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);
      iVar1 = FUN_00168bf0();
      *(undefined4 *)(iVar1 + 0x30) = uVar2;
    }
    else {
      if (iVar1 != 0x40) {
                    /* WARNING: Subroutine does not return */
        FUN_00069d00("../../gold/script.cc",0x3d4,"finalize_maybe_dot",param_5);
      }
      local_24 = 0;
      local_20[0] = 0;
      local_29 = '\0';
      uVar3 = FUN_001ba6b0(*(undefined4 *)(param_1 + 0x18),param_2,param_3,1,param_4 & 0xff,param_5,
                           param_6,param_7,&local_28,0,&local_24,local_20,&local_29,0,0);
      iVar1 = FUN_00168c50();
      *(undefined8 *)(iVar1 + 0x30) = uVar3;
    }
    *(byte *)(iVar1 + 0x28) = *(byte *)(iVar1 + 0x28) & 0xf0 | (byte)local_24 & 0xf;
    *(byte *)(iVar1 + 0x29) = *(byte *)(iVar1 + 0x29) & 0xfc | (byte)local_20[0] & 3;
    *(byte *)(iVar1 + 0x29) = (byte)local_20[0] & 3 | local_29 * '\x04';
    if (local_28 != 0) {
      FUN_00177760(iVar1,local_28);
    }
  }
  return;
}

