
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint symbol_section_and_value(Sized_relobj_file<64,_false> * this, uint
   sym, Address * value, bool * is_ordinary) */

uint __thiscall
gold::Sized_relobj_file<64,_false>::symbol_section_and_value
          (Sized_relobj_file<64,_false> *this,uint sym,Address *value,bool *is_ordinary)

{
  _func_int_varargs *p_Var1;
  undefined4 uVar2;
  Input_file *pIVar3;
  uint uVar4;
  uchar *puVar5;
  Xindex *this_00;
  Object *in_stack_ffffffc4;
  section_size_type symbols_size;
  Location loc;
  
  p_Var1 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0xe];
  if (p_Var1 == do_section_contents) {
    elfcpp::Elf_file<64,_false,_gold::Object>::section_contents
              (&this->elf_file_,this->symtab_shndx_);
    if (loc.data_size._4_4_ != 0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");
    }
    symbols_size = (section_size_type)loc.data_size;
    puVar5 = (uchar *)((int)&Sized_relobj_file<64,true>::
                             do_section_contents(unsigned_int,unsigned_int*,bool)::empty + 1);
    if ((section_size_type)loc.data_size != 0) {
      pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;
      if (pIVar3 == (Input_file *)0x0) {
                    /* WARNING: Subroutine does not return */
        Object::input_file(in_stack_ffffffc4);
      }
      puVar5 = File_read::get_view(&pIVar3->file_,
                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.
                                   offset_,CONCAT44(loc.file_offset._4_4_,
                                                    (undefined4)loc.file_offset),
                                   (section_size_type)loc.data_size,true,false);
    }
  }
  else {
    puVar5 = (uchar *)(*p_Var1)(this,this->symtab_shndx_,&symbols_size,0);
  }
  if (symbols_size / 0x18 <= sym) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/object.cc",0x3af,"symbol_section_and_value");
  }
  uVar2 = *(undefined4 *)(puVar5 + sym * 0x18 + 0xc);
  *(undefined4 *)value = *(undefined4 *)(puVar5 + sym * 0x18 + 8);
  uVar4 = (uint)*(ushort *)(puVar5 + sym * 0x18 + 6);
  *(undefined4 *)((int)value + 4) = uVar2;
  if (uVar4 < 0xff00) {
    *is_ordinary = true;
    return uVar4;
  }
  if (uVar4 != 0xffff) {
    *is_ordinary = false;
    return uVar4;
  }
  this_00 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_;
  if (this_00 == (Xindex *)0x0) {
    this_00 = (Xindex *)
              (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b])
                        (this);
    (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;
  }
  uVar4 = Xindex::sym_xindex_to_shndx(this_00,(Object *)this,sym);
  *is_ordinary = true;
  return uVar4;
}



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

void FUN_000c0020(int *param_1,uint param_2)

{
  ushort uVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  code *pcVar4;
  int iVar5;
  undefined4 *puVar6;
  undefined4 uStack_40;
  undefined1 auStack_3c [8];
  uint local_34;
  uint local_30;
  undefined4 local_2c;
  uint local_28;
  int local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0xc0029;
  if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {
    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);
    puVar6 = &uStack_40;
    if (local_24 != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);
    }
    local_34 = local_28;
    iVar5 = 0x28d6c7;
    if (local_28 != 0) {
      if (param_1[7] == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_000b1650();
      }
      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);
      puVar6 = &uStack_40;
      local_28 = local_34;
    }
  }
  else {
    uStack_40 = 0;
    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);
    puVar6 = (undefined4 *)auStack_3c;
    local_28 = local_30;
  }
  if (local_28 / 0x18 <= param_2) {
    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;
    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";
    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;
    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;
    FUN_00069d00();
  }
  puVar2 = *(undefined4 **)((int)puVar6 + 0x48);
  iVar5 = iVar5 + param_2 * 0x18;
  uVar3 = *(undefined4 *)(iVar5 + 0xc);
  *puVar2 = *(undefined4 *)(iVar5 + 8);
  uVar1 = *(ushort *)(iVar5 + 6);
  puVar2[1] = uVar3;
  if (uVar1 < 0xff00) {
    **(undefined1 **)((int)puVar6 + 0x4c) = 1;
    return;
  }
  if (uVar1 != 0xffff) {
    **(undefined1 **)((int)puVar6 + 0x4c) = 0;
    return;
  }
  iVar5 = param_1[0xc];
  if (iVar5 == 0) {
    iVar5 = *param_1;
    *(int **)((int)puVar6 + -0x10) = param_1;
    pcVar4 = *(code **)(iVar5 + 0x6c);
    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;
    iVar5 = (*pcVar4)();
    param_1[0xc] = iVar5;
  }
  *(uint *)((int)puVar6 + -8) = param_2;
  *(int **)((int)puVar6 + -0xc) = param_1;
  *(int *)((int)puVar6 + -0x10) = iVar5;
  *(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;
  FUN_000b18c0();
  **(undefined1 **)((int)puVar6 + 0x4c) = 1;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2cefd7
SUB ESP,0x2c
MOV EDI,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x44]
MOV EAX,dword ptr [EDI]
MOV EDX,dword ptr [EDI + 0xac]
LEA ECX,[EBX + 0xffd30f60]
MOV EAX,dword ptr [EAX + 0x38]
CMP EAX,ECX
JNZ 0x000c0130
LEA EAX,[ESP + 0x10]
SUB ESP,0x4
PUSH EDX
LEA EDX,[EDI + 0x90]
PUSH EDX
PUSH EAX
CALL 0x000bfea0
MOV EDX,dword ptr [ESP + 0x24]
ADD ESP,0xc
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,EDX
TEST ECX,ECX
JNZ 0x000c01a2
MOV dword ptr [ESP + 0xc],EDX
LEA ECX,[EBX + 0xffefe6c7]
TEST EDX,EDX
JNZ 0x000c00f0
MOV EDX,0xaaaaaaab
MUL EDX
SHR EDX,0x4
CMP EDX,ESI
JBE 0x000c0189
LEA EAX,[ESI + ESI*0x2]
MOV EBX,dword ptr [ESP + 0x48]
LEA ECX,[ECX + EAX*0x8]
MOV EAX,dword ptr [ECX + 0x8]
MOV EDX,dword ptr [ECX + 0xc]
MOV dword ptr [EBX],EAX
MOVZX EAX,word ptr [ECX + 0x6]
MOV dword ptr [EBX + 0x4],EDX
CMP EAX,0xfeff
JBE 0x000c00e0
CMP EAX,0xffff
JZ 0x000c0150
MOV ESI,dword ptr [ESP + 0x4c]
MOV byte ptr [ESI],0x0
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,dword ptr [ESP + 0x4c]
MOV byte ptr [ESI],0x1
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBP,dword ptr [EDI + 0x1c]
MOV EDX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0x14]
TEST EBP,EBP
JZ 0x000c01bb
ADD EBP,0x1c
PUSH 0x0
PUSH 0x1
PUSH EAX
PUSH ECX
PUSH EDX
PUSH dword ptr [EDI + 0x24]
PUSH dword ptr [EDI + 0x20]
PUSH EBP
CALL 0x000687f0
MOV ECX,EAX
MOV EAX,dword ptr [ESP + 0x2c]
ADD ESP,0x20
JMP 0x000c008b
PUSH 0x0
LEA ECX,[ESP + 0x10]
PUSH ECX
PUSH EDX
PUSH EDI
CALL EAX
MOV ECX,EAX
MOV EAX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
JMP 0x000c008b
MOV EAX,dword ptr [EDI + 0x30]
TEST EAX,EAX
JZ 0x000c0178
SUB ESP,0x4
PUSH ESI
PUSH EDI
PUSH EAX
CALL 0x000b18c0
MOV ESI,dword ptr [ESP + 0x5c]
ADD ESP,0x10
MOV byte ptr [ESI],0x1
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
MOV EAX,dword ptr [EDI]
PUSH EDI
CALL dword ptr [EAX + 0x6c]
MOV dword ptr [EDI + 0x30],EAX
ADD ESP,0x10
JMP 0x000c0157
PUSH EAX
LEA EAX,[EBX + 0xffefdcd8]
PUSH EAX
LEA EAX,[EBX + 0xffefd078]
PUSH 0x3af
PUSH EAX
CALL 0x00069d00
LEA EAX,[EBX + 0xffefe128]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffef8419]
PUSH 0xc0
PUSH EAX
CALL 0x00069d00
CALL 0x000b1650
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000c0020(int *param_1,uint param_2)\n\n{\n  ushort uVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  code *pcVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc0029;\n  if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 / 0x18 <= param_2) {\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }\n  puVar2 = *(undefined4 **)((int)puVar6 + 0x48);\n  iVar5 = iVar5 + param_2 * 0x18;\n  uVar3 = *(undefined4 *)(iVar5 + 0xc);\n  *puVar2 = *(undefined4 *)(iVar5 + 8);\n  uVar1 = *(ushort *)(iVar5 + 6);\n  puVar2[1] = uVar3;\n  if (uVar1 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar1 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;\n  FUN_000b18c0();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}\n\n" comment (function_definition "void FUN_000c0020(int *param_1,uint param_2)\n\n{\n  ushort uVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  code *pcVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc0029;\n  if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 / 0x18 <= param_2) {\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }\n  puVar2 = *(undefined4 **)((int)puVar6 + 0x48);\n  iVar5 = iVar5 + param_2 * 0x18;\n  uVar3 = *(undefined4 *)(iVar5 + 0xc);\n  *puVar2 = *(undefined4 *)(iVar5 + 8);\n  uVar1 = *(ushort *)(iVar5 + 6);\n  puVar2[1] = uVar3;\n  if (uVar1 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar1 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;\n  FUN_000b18c0();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_000c0020(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  ushort uVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  code *pcVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc0029;\n  if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 / 0x18 <= param_2) {\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }\n  puVar2 = *(undefined4 **)((int)puVar6 + 0x48);\n  iVar5 = iVar5 + param_2 * 0x18;\n  uVar3 = *(undefined4 *)(iVar5 + 0xc);\n  *puVar2 = *(undefined4 *)(iVar5 + 8);\n  uVar1 = *(ushort *)(iVar5 + 6);\n  puVar2[1] = uVar3;\n  if (uVar1 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar1 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;\n  FUN_000b18c0();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uStack_40;" type_identifier identifier ;) (declaration "undefined1 auStack_3c [8];" type_identifier (array_declarator "auStack_3c [8]" identifier [ number_literal ]) ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xc0029;" (assignment_expression "uStack_14 = 0xc0029" identifier = number_literal) ;) (if_statement "if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x38) == FUN_000bff60)" ( (binary_expression "*(code **)(*param_1 + 0x38) == FUN_000bff60" (pointer_expression "*(code **)(*param_1 + 0x38)" * (cast_expression "(code **)(*param_1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x38)" ( (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }" { (expression_statement "FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);" (call_expression "FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b])" identifier (argument_list "(&local_2c,param_1 + 0x24,param_1[0x2b])" ( (pointer_expression "&local_2c" & identifier) , (binary_expression "param_1 + 0x24" identifier + number_literal) , (subscript_expression "param_1[0x2b]" identifier [ number_literal ]) ))) ;) (expression_statement "puVar6 = &uStack_40;" (assignment_expression "puVar6 = &uStack_40" identifier = (pointer_expression "&uStack_40" & identifier)) ;) (if_statement "if (local_24 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);" (call_expression "FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",local_28)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , identifier ))) ;) })) (expression_statement "local_34 = local_28;" (assignment_expression "local_34 = local_28" identifier = identifier) ;) (expression_statement "iVar5 = 0x28d6c7;" (assignment_expression "iVar5 = 0x28d6c7" identifier = number_literal) ;) (if_statement "if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\n      if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }" { (if_statement "if (param_1[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_000b1650();\n      }" if (parenthesized_expression "(param_1[7] == 0)" ( (binary_expression "param_1[7] == 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_000b1650();\n      }" { comment (expression_statement "FUN_000b1650();" (call_expression "FUN_000b1650()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);" (assignment_expression "iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" identifier = (call_expression "FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" identifier (argument_list "(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" ( (binary_expression "param_1[7] + 0x1c" (subscript_expression "param_1[7]" identifier [ number_literal ]) + number_literal) , (subscript_expression "param_1[8]" identifier [ number_literal ]) , (subscript_expression "param_1[9]" identifier [ number_literal ]) , identifier , identifier , identifier , number_literal , number_literal )))) ;) (expression_statement "puVar6 = &uStack_40;" (assignment_expression "puVar6 = &uStack_40" identifier = (pointer_expression "&uStack_40" & identifier)) ;) (expression_statement "local_28 = local_34;" (assignment_expression "local_28 = local_34" identifier = identifier) ;) })) }) (else_clause "else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" else (compound_statement "{\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" { (expression_statement "uStack_40 = 0;" (assignment_expression "uStack_40 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);" (assignment_expression "iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" identifier = (call_expression "(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" (parenthesized_expression "(**(code **)(*param_1 + 0x38))" ( (pointer_expression "**(code **)(*param_1 + 0x38)" * (pointer_expression "*(code **)(*param_1 + 0x38)" * (cast_expression "(code **)(*param_1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x38)" ( (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_1[0x2b],&local_30)" ( identifier , (subscript_expression "param_1[0x2b]" identifier [ number_literal ]) , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "puVar6 = (undefined4 *)auStack_3c;" (assignment_expression "puVar6 = (undefined4 *)auStack_3c" identifier = (cast_expression "(undefined4 *)auStack_3c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_28 = local_30;" (assignment_expression "local_28 = local_30" identifier = identifier) ;) }))) (if_statement "if (local_28 / 0x18 <= param_2) {\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }" if (parenthesized_expression "(local_28 / 0x18 <= param_2)" ( (binary_expression "local_28 / 0x18 <= param_2" (binary_expression "local_28 / 0x18" identifier / number_literal) <= identifier) )) (compound_statement "{\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }" { (expression_statement "*(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;" (assignment_expression "*(uint *)((int)puVar6 + -4) = local_28 * -0x55555555" (pointer_expression "*(uint *)((int)puVar6 + -4)" * (cast_expression "(uint *)((int)puVar6 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -4)" ( (binary_expression "(int)puVar6 + -4" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "local_28 * -0x55555555" identifier * number_literal)) ;) (expression_statement "*(char **)((int)puVar6 + -8) = "symbol_section_and_value";" (assignment_expression "*(char **)((int)puVar6 + -8) = "symbol_section_and_value"" (pointer_expression "*(char **)((int)puVar6 + -8)" * (cast_expression "(char **)((int)puVar6 + -8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -8)" ( (binary_expression "(int)puVar6 + -8" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (string_literal ""symbol_section_and_value"" " string_content ")) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0xc) = 0x3af;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0xc) = 0x3af" (pointer_expression "*(undefined4 *)((int)puVar6 + -0xc)" * (cast_expression "(undefined4 *)((int)puVar6 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0xc)" ( (binary_expression "(int)puVar6 + -0xc" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";" (assignment_expression "*(char **)((int)puVar6 + -0x10) = "../../gold/object.cc"" (pointer_expression "*(char **)((int)puVar6 + -0x10)" * (cast_expression "(char **)((int)puVar6 + -0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -0x10)" ( (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (string_literal ""../../gold/object.cc"" " string_content ")) ;) comment (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x14)" ( (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00069d00();" (call_expression "FUN_00069d00()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar2 = *(undefined4 **)((int)puVar6 + 0x48);" (assignment_expression "puVar2 = *(undefined4 **)((int)puVar6 + 0x48)" identifier = (pointer_expression "*(undefined4 **)((int)puVar6 + 0x48)" * (cast_expression "(undefined4 **)((int)puVar6 + 0x48)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x48)" ( (binary_expression "(int)puVar6 + 0x48" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar5 = iVar5 + param_2 * 0x18;" (assignment_expression "iVar5 = iVar5 + param_2 * 0x18" identifier = (binary_expression "iVar5 + param_2 * 0x18" identifier + (binary_expression "param_2 * 0x18" identifier * number_literal))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar5 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar5 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar5 + 0xc)" * (cast_expression "(undefined4 *)(iVar5 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*puVar2 = *(undefined4 *)(iVar5 + 8);" (assignment_expression "*puVar2 = *(undefined4 *)(iVar5 + 8)" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*(undefined4 *)(iVar5 + 8)" * (cast_expression "(undefined4 *)(iVar5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(ushort *)(iVar5 + 6);" (assignment_expression "uVar1 = *(ushort *)(iVar5 + 6)" identifier = (pointer_expression "*(ushort *)(iVar5 + 6)" * (cast_expression "(ushort *)(iVar5 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 6)" ( (binary_expression "iVar5 + 6" identifier + number_literal) ))))) ;) (expression_statement "puVar2[1] = uVar3;" (assignment_expression "puVar2[1] = uVar3" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar1 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }" if (parenthesized_expression "(uVar1 < 0xff00)" ( (binary_expression "uVar1 < 0xff00" identifier < number_literal) )) (compound_statement "{\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }" { (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 1;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 1" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" * (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" * (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x4c)" ( (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar1 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }" if (parenthesized_expression "(uVar1 != 0xffff)" ( (binary_expression "uVar1 != 0xffff" identifier != number_literal) )) (compound_statement "{\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }" { (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 0;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 0" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" * (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" * (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x4c)" ( (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "iVar5 = param_1[0xc];" (assignment_expression "iVar5 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }" { (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(int **)((int)puVar6 + -0x10) = param_1;" (assignment_expression "*(int **)((int)puVar6 + -0x10) = param_1" (pointer_expression "*(int **)((int)puVar6 + -0x10)" * (cast_expression "(int **)((int)puVar6 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -0x10)" ( (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "pcVar4 = *(code **)(iVar5 + 0x6c);" (assignment_expression "pcVar4 = *(code **)(iVar5 + 0x6c)" identifier = (pointer_expression "*(code **)(iVar5 + 0x6c)" * (cast_expression "(code **)(iVar5 + 0x6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x6c)" ( (binary_expression "iVar5 + 0x6c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0xc0181" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x14)" ( (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = (*pcVar4)();" (assignment_expression "iVar5 = (*pcVar4)()" identifier = (call_expression "(*pcVar4)()" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "param_1[0xc] = iVar5;" (assignment_expression "param_1[0xc] = iVar5" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "*(uint *)((int)puVar6 + -8) = param_2;" (assignment_expression "*(uint *)((int)puVar6 + -8) = param_2" (pointer_expression "*(uint *)((int)puVar6 + -8)" * (cast_expression "(uint *)((int)puVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -8)" ( (binary_expression "(int)puVar6 + -8" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int **)((int)puVar6 + -0xc) = param_1;" (assignment_expression "*(int **)((int)puVar6 + -0xc) = param_1" (pointer_expression "*(int **)((int)puVar6 + -0xc)" * (cast_expression "(int **)((int)puVar6 + -0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -0xc)" ( (binary_expression "(int)puVar6 + -0xc" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)puVar6 + -0x10) = iVar5;" (assignment_expression "*(int *)((int)puVar6 + -0x10) = iVar5" (pointer_expression "*(int *)((int)puVar6 + -0x10)" * (cast_expression "(int *)((int)puVar6 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x10)" ( (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0xc0162" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x14)" ( (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000b18c0();" (call_expression "FUN_000b18c0()" identifier (argument_list "()" ( ))) ;) (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 1;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 1" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" * (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" * (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x4c)" ( (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: uint symbol_section_and_value(Sized_relobj_file<64,_false> * this, uint\n   sym, Address * value, bool * is_ordinary) */\n\nuint __thiscall\ngold::Sized_relobj_file<64,_false>::symbol_section_and_value\n          (Sized_relobj_file<64,_false> *this,uint sym,Address *value,bool *is_ordinary)\n\n{\n  _func_int_varargs *p_Var1;\n  undefined4 uVar2;\n  Input_file *pIVar3;\n  uint uVar4;\n  uchar *puVar5;\n  Xindex *this_00;\n  Object *in_stack_ffffffc4;\n  section_size_type symbols_size;\n  Location loc;\n  \n  p_Var1 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0xe];\n  if (p_Var1 == do_section_contents) {\n    elfcpp::Elf_file<64,_false,_gold::Object>::section_contents\n              (&this->elf_file_,this->symtab_shndx_);\n    if (loc.data_size._4_4_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n    }\n    symbols_size = (section_size_type)loc.data_size;\n    puVar5 = (uchar *)((int)&Sized_relobj_file<64,true>::\n                             do_section_contents(unsigned_int,unsigned_int*,bool)::empty + 1);\n    if ((section_size_type)loc.data_size != 0) {\n      pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        Object::input_file(in_stack_ffffffc4);\n      }\n      puVar5 = File_read::get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,CONCAT44(loc.file_offset._4_4_,\n                                                    (undefined4)loc.file_offset),\n                                   (section_size_type)loc.data_size,true,false);\n    }\n  }\n  else {\n    puVar5 = (uchar *)(*p_Var1)(this,this->symtab_shndx_,&symbols_size,0);\n  }\n  if (symbols_size / 0x18 <= sym) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x3af,"symbol_section_and_value");\n  }\n  uVar2 = *(undefined4 *)(puVar5 + sym * 0x18 + 0xc);\n  *(undefined4 *)value = *(undefined4 *)(puVar5 + sym * 0x18 + 8);\n  uVar4 = (uint)*(ushort *)(puVar5 + sym * 0x18 + 6);\n  *(undefined4 *)((int)value + 4) = uVar2;\n  if (uVar4 < 0xff00) {\n    *is_ordinary = true;\n    return uVar4;\n  }\n  if (uVar4 != 0xffff) {\n    *is_ordinary = false;\n    return uVar4;\n  }\n  this_00 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_;\n  if (this_00 == (Xindex *)0x0) {\n    this_00 = (Xindex *)\n              (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b])\n                        (this);\n    (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;\n  }\n  uVar4 = Xindex::sym_xindex_to_shndx(this_00,(Object *)this,sym);\n  *is_ordinary = true;\n  return uVar4;\n}\n\n" comment comment (declaration "uint __thiscall\ngold::Sized_relobj_file<64,_false>::symbol_section_and_value\n          (Sized_relobj_file<64,_false> *this,uint sym,Address *value,bool *is_ordinary)\n\n{\n  _func_int_varargs *p_Var1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::symbol_section_and_value\n          (Sized_relobj_file<64,_false> *this,uint sym,Address *value,bool *is_ordinary)\n\n{\n  _func_int_varargs" identifier > : : (function_declarator "symbol_section_and_value\n          (Sized_relobj_file<64,_false> *this,uint sym,Address *value,bool *is_ordinary)" identifier (parameter_list "(Sized_relobj_file<64,_false> *this,uint sym,Address *value,bool *is_ordinary)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint sym" type_identifier identifier) , (parameter_declaration "Address *value" type_identifier (pointer_declarator "*value" * identifier)) , (parameter_declaration "bool *is_ordinary" primitive_type (pointer_declarator "*is_ordinary" * identifier)) ))) { identifier) (pointer_declarator "*p_Var1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "Input_file *pIVar3;" type_identifier (pointer_declarator "*pIVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uchar *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "Xindex *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "Object *in_stack_ffffffc4;" type_identifier (pointer_declarator "*in_stack_ffffffc4" * identifier) ;) (declaration "section_size_type symbols_size;" type_identifier identifier ;) (declaration "Location loc;" type_identifier identifier ;) (expression_statement "p_Var1 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0xe];" (assignment_expression "p_Var1 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0xe]" identifier = (subscript_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0xe]" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_false>)" ( (comma_expression "this->super_Sized_relobj<64,_false" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) [ number_literal ])) ;) (if_statement "if (p_Var1 == do_section_contents) {\n    elfcpp::Elf_file<64,_false,_gold::Object>::section_contents\n              (&this->elf_file_,this->symtab_shndx_);\n    if (loc.data_size._4_4_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n    }\n    symbols_size = (section_size_type)loc.data_size;\n    puVar5 = (uchar *)((int)&Sized_relobj_file<64,true>::\n                             do_section_contents(unsigned_int,unsigned_int*,bool)::empty + 1);\n    if ((section_size_type)loc.data_size != 0) {\n      pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        Object::input_file(in_stack_ffffffc4);\n      }\n      puVar5 = File_read::get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,CONCAT44(loc.file_offset._4_4_,\n                                                    (undefined4)loc.file_offset),\n                                   (section_size_type)loc.data_size,true,false);\n    }\n  }\n  else {\n    puVar5 = (uchar *)(*p_Var1)(this,this->symtab_shndx_,&symbols_size,0);\n  }" if (parenthesized_expression "(p_Var1 == do_section_contents)" ( (binary_expression "p_Var1 == do_section_contents" identifier == identifier) )) (compound_statement "{\n    elfcpp::Elf_file<64,_false,_gold::Object>::section_contents\n              (&this->elf_file_,this->symtab_shndx_);\n    if (loc.data_size._4_4_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n    }\n    symbols_size = (section_size_type)loc.data_size;\n    puVar5 = (uchar *)((int)&Sized_relobj_file<64,true>::\n                             do_section_contents(unsigned_int,unsigned_int*,bool)::empty + 1);\n    if ((section_size_type)loc.data_size != 0) {\n      pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        Object::input_file(in_stack_ffffffc4);\n      }\n      puVar5 = File_read::get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,CONCAT44(loc.file_offset._4_4_,\n                                                    (undefined4)loc.file_offset),\n                                   (section_size_type)loc.data_size,true,false);\n    }\n  }" { (labeled_statement "elfcpp::Elf_file<64,_false,_gold::Object>::section_contents\n              (&this->elf_file_,this->symtab_shndx_);" statement_identifier (ERROR "::Elf_file<64,_false,_gold::Object>:" : : (comma_expression "Elf_file<64,_false,_gold" (binary_expression "Elf_file<64" identifier < number_literal) , (comma_expression "_false,_gold" identifier , identifier)) : : identifier > :) : (expression_statement "section_contents\n              (&this->elf_file_,this->symtab_shndx_);" (call_expression "section_contents\n              (&this->elf_file_,this->symtab_shndx_)" identifier (argument_list "(&this->elf_file_,this->symtab_shndx_)" ( (pointer_expression "&this->elf_file_" & (field_expression "this->elf_file_" identifier -> field_identifier)) , (field_expression "this->symtab_shndx_" identifier -> field_identifier) ))) ;)) (if_statement "if (loc.data_size._4_4_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n    }" if (parenthesized_expression "(loc.data_size._4_4_ != 0)" ( (binary_expression "loc.data_size._4_4_ != 0" (field_expression "loc.data_size._4_4_" (field_expression "loc.data_size" identifier . field_identifier) . field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");" (call_expression "do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types")" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types")" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") ))) ;) })) (expression_statement "symbols_size = (section_size_type)loc.data_size;" (assignment_expression "symbols_size = (section_size_type)loc.data_size" identifier = (cast_expression "(section_size_type)loc.data_size" ( (type_descriptor "section_size_type" type_identifier) ) (field_expression "loc.data_size" identifier . field_identifier))) ;) (expression_statement "puVar5 = (uchar *)((int)&Sized_relobj_file<64,true>::\n                             do_section_contents(unsigned_int,unsigned_int*,bool)::empty + 1);" (assignment_expression "puVar5 = (uchar *)((int)&Sized_relobj_file<64,true>::\n                             do_section_contents(unsigned_int,unsigned_int*,bool)::empty + 1)" identifier = (cast_expression "(uchar *)((int)&Sized_relobj_file<64,true>::\n                             do_section_contents(unsigned_int,unsigned_int*,bool)::empty + 1)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&Sized_relobj_file<64,true>::\n                             do_section_contents(unsigned_int,unsigned_int*,bool)::empty + 1)" ( (ERROR "(int)&Sized_relobj_file<64,true>::\n                             do_section_contents(unsigned_int,unsigned_int*,bool)::" (comma_expression "(int)&Sized_relobj_file<64,true>::\n                             do_section_contents(unsigned_int,unsigned_int*,bool)" (binary_expression "(int)&Sized_relobj_file<64" (cast_expression "(int)&Sized_relobj_file" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&Sized_relobj_file" & identifier)) < number_literal) , (binary_expression "true>::\n                             do_section_contents(unsigned_int,unsigned_int*,bool)" true > (ERROR "::" : :) (call_expression "do_section_contents(unsigned_int,unsigned_int*,bool)" identifier (argument_list "(unsigned_int,unsigned_int*,bool)" ( identifier , identifier (ERROR "*" *) , identifier ))))) : :) (binary_expression "empty + 1" identifier + number_literal) )))) ;) (if_statement "if ((section_size_type)loc.data_size != 0) {\n      pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        Object::input_file(in_stack_ffffffc4);\n      }\n      puVar5 = File_read::get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,CONCAT44(loc.file_offset._4_4_,\n                                                    (undefined4)loc.file_offset),\n                                   (section_size_type)loc.data_size,true,false);\n    }" if (parenthesized_expression "((section_size_type)loc.data_size != 0)" ( (binary_expression "(section_size_type)loc.data_size != 0" (cast_expression "(section_size_type)loc.data_size" ( (type_descriptor "section_size_type" type_identifier) ) (field_expression "loc.data_size" identifier . field_identifier)) != number_literal) )) (compound_statement "{\n      pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;\n      if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        Object::input_file(in_stack_ffffffc4);\n      }\n      puVar5 = File_read::get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,CONCAT44(loc.file_offset._4_4_,\n                                                    (undefined4)loc.file_offset),\n                                   (section_size_type)loc.data_size,true,false);\n    }" { (expression_statement "pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;" (assignment_expression "pIVar3 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_" identifier = (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_false>)" ( (comma_expression "this->super_Sized_relobj<64,_false" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier)) ;) (if_statement "if (pIVar3 == (Input_file *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        Object::input_file(in_stack_ffffffc4);\n      }" if (parenthesized_expression "(pIVar3 == (Input_file *)0x0)" ( (binary_expression "pIVar3 == (Input_file *)0x0" identifier == (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        Object::input_file(in_stack_ffffffc4);\n      }" { comment (labeled_statement "Object::input_file(in_stack_ffffffc4);" statement_identifier : (ERROR ":" :) (expression_statement "input_file(in_stack_ffffffc4);" (call_expression "input_file(in_stack_ffffffc4)" identifier (argument_list "(in_stack_ffffffc4)" ( identifier ))) ;)) })) (ERROR "puVar5 = File_read::" (assignment_expression "puVar5 = File_read" identifier = identifier) : :) (expression_statement "get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,CONCAT44(loc.file_offset._4_4_,\n                                                    (undefined4)loc.file_offset),\n                                   (section_size_type)loc.data_size,true,false);" (call_expression "get_view(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,CONCAT44(loc.file_offset._4_4_,\n                                                    (undefined4)loc.file_offset),\n                                   (section_size_type)loc.data_size,true,false)" identifier (argument_list "(&pIVar3->file_,\n                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_,CONCAT44(loc.file_offset._4_4_,\n                                                    (undefined4)loc.file_offset),\n                                   (section_size_type)loc.data_size,true,false)" ( (pointer_expression "&pIVar3->file_" & (field_expression "pIVar3->file_" identifier -> field_identifier)) , (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.\n                                   offset_" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_false>)" ( (comma_expression "this->super_Sized_relobj<64,_false" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) , (call_expression "CONCAT44(loc.file_offset._4_4_,\n                                                    (undefined4)loc.file_offset)" identifier (argument_list "(loc.file_offset._4_4_,\n                                                    (undefined4)loc.file_offset)" ( (field_expression "loc.file_offset._4_4_" (field_expression "loc.file_offset" identifier . field_identifier) . field_identifier) , (cast_expression "(undefined4)loc.file_offset" ( (type_descriptor "undefined4" type_identifier) ) (field_expression "loc.file_offset" identifier . field_identifier)) ))) , (cast_expression "(section_size_type)loc.data_size" ( (type_descriptor "section_size_type" type_identifier) ) (field_expression "loc.data_size" identifier . field_identifier)) , true , false ))) ;) })) }) (else_clause "else {\n    puVar5 = (uchar *)(*p_Var1)(this,this->symtab_shndx_,&symbols_size,0);\n  }" else (compound_statement "{\n    puVar5 = (uchar *)(*p_Var1)(this,this->symtab_shndx_,&symbols_size,0);\n  }" { (expression_statement "puVar5 = (uchar *)(*p_Var1)(this,this->symtab_shndx_,&symbols_size,0);" (assignment_expression "puVar5 = (uchar *)(*p_Var1)(this,this->symtab_shndx_,&symbols_size,0)" identifier = (cast_expression "(uchar *)(*p_Var1)(this,this->symtab_shndx_,&symbols_size,0)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*p_Var1)(this,this->symtab_shndx_,&symbols_size,0)" (parenthesized_expression "(*p_Var1)" ( (pointer_expression "*p_Var1" * identifier) )) (argument_list "(this,this->symtab_shndx_,&symbols_size,0)" ( identifier , (field_expression "this->symtab_shndx_" identifier -> field_identifier) , (pointer_expression "&symbols_size" & identifier) , number_literal ))))) ;) }))) (if_statement "if (symbols_size / 0x18 <= sym) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x3af,"symbol_section_and_value");\n  }" if (parenthesized_expression "(symbols_size / 0x18 <= sym)" ( (binary_expression "symbols_size / 0x18 <= sym" (binary_expression "symbols_size / 0x18" identifier / number_literal) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x3af,"symbol_section_and_value");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/object.cc",0x3af,"symbol_section_and_value");" (call_expression "do_gold_unreachable("../../gold/object.cc",0x3af,"symbol_section_and_value")" identifier (argument_list "("../../gold/object.cc",0x3af,"symbol_section_and_value")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""symbol_section_and_value"" " string_content ") ))) ;) })) (expression_statement "uVar2 = *(undefined4 *)(puVar5 + sym * 0x18 + 0xc);" (assignment_expression "uVar2 = *(undefined4 *)(puVar5 + sym * 0x18 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(puVar5 + sym * 0x18 + 0xc)" * (cast_expression "(undefined4 *)(puVar5 + sym * 0x18 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + sym * 0x18 + 0xc)" ( (binary_expression "puVar5 + sym * 0x18 + 0xc" (binary_expression "puVar5 + sym * 0x18" identifier + (binary_expression "sym * 0x18" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)value = *(undefined4 *)(puVar5 + sym * 0x18 + 8);" (assignment_expression "*(undefined4 *)value = *(undefined4 *)(puVar5 + sym * 0x18 + 8)" (pointer_expression "*(undefined4 *)value" * (cast_expression "(undefined4 *)value" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(puVar5 + sym * 0x18 + 8)" * (cast_expression "(undefined4 *)(puVar5 + sym * 0x18 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + sym * 0x18 + 8)" ( (binary_expression "puVar5 + sym * 0x18 + 8" (binary_expression "puVar5 + sym * 0x18" identifier + (binary_expression "sym * 0x18" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "uVar4 = (uint)*(ushort *)(puVar5 + sym * 0x18 + 6);" (assignment_expression "uVar4 = (uint)*(ushort *)(puVar5 + sym * 0x18 + 6)" identifier = (binary_expression "(uint)*(ushort *)(puVar5 + sym * 0x18 + 6)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(puVar5 + sym * 0x18 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + sym * 0x18 + 6)" ( (binary_expression "puVar5 + sym * 0x18 + 6" (binary_expression "puVar5 + sym * 0x18" identifier + (binary_expression "sym * 0x18" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)value + 4) = uVar2;" (assignment_expression "*(undefined4 *)((int)value + 4) = uVar2" (pointer_expression "*(undefined4 *)((int)value + 4)" * (cast_expression "(undefined4 *)((int)value + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)value + 4)" ( (binary_expression "(int)value + 4" (cast_expression "(int)value" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (uVar4 < 0xff00) {\n    *is_ordinary = true;\n    return uVar4;\n  }" if (parenthesized_expression "(uVar4 < 0xff00)" ( (binary_expression "uVar4 < 0xff00" identifier < number_literal) )) (compound_statement "{\n    *is_ordinary = true;\n    return uVar4;\n  }" { (expression_statement "*is_ordinary = true;" (assignment_expression "*is_ordinary = true" (pointer_expression "*is_ordinary" * identifier) = true) ;) (return_statement "return uVar4;" return identifier ;) })) (if_statement "if (uVar4 != 0xffff) {\n    *is_ordinary = false;\n    return uVar4;\n  }" if (parenthesized_expression "(uVar4 != 0xffff)" ( (binary_expression "uVar4 != 0xffff" identifier != number_literal) )) (compound_statement "{\n    *is_ordinary = false;\n    return uVar4;\n  }" { (expression_statement "*is_ordinary = false;" (assignment_expression "*is_ordinary = false" (pointer_expression "*is_ordinary" * identifier) = false) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "this_00 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_;" (assignment_expression "this_00 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_" identifier = (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_false>)" ( (comma_expression "this->super_Sized_relobj<64,_false" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier)) ;) (if_statement "if (this_00 == (Xindex *)0x0) {\n    this_00 = (Xindex *)\n              (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b])\n                        (this);\n    (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;\n  }" if (parenthesized_expression "(this_00 == (Xindex *)0x0)" ( (binary_expression "this_00 == (Xindex *)0x0" identifier == (cast_expression "(Xindex *)0x0" ( (type_descriptor "Xindex *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    this_00 = (Xindex *)\n              (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b])\n                        (this);\n    (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;\n  }" { (expression_statement "this_00 = (Xindex *)\n              (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b])\n                        (this);" (assignment_expression "this_00 = (Xindex *)\n              (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b])\n                        (this)" identifier = (cast_expression "(Xindex *)\n              (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b])\n                        (this)" ( (type_descriptor "Xindex *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b])\n                        (this)" (parenthesized_expression "(*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b])" ( (pointer_expression "*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]" * (subscript_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b]" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_false>)" ( (comma_expression "this->super_Sized_relobj<64,_false" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) [ number_literal ])) )) (argument_list "(this)" ( identifier ))))) ;) (expression_statement "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00;" (assignment_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = this_00" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<64,_false>)" ( (comma_expression "this->super_Sized_relobj<64,_false" (binary_expression "this->super_Sized_relobj<64" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) = identifier) ;) })) (ERROR "uVar4 = Xindex::" (assignment_expression "uVar4 = Xindex" identifier = identifier) : :) (expression_statement "sym_xindex_to_shndx(this_00,(Object *)this,sym);" (call_expression "sym_xindex_to_shndx(this_00,(Object *)this,sym)" identifier (argument_list "(this_00,(Object *)this,sym)" ( identifier , (cast_expression "(Object *)this" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;) (expression_statement "*is_ordinary = true;" (assignment_expression "*is_ordinary = true" (pointer_expression "*is_ordinary" * identifier) = true) ;) (return_statement "return uVar4;" return identifier ;) (ERROR "}" }))
(translation_unit "void FUN_000c0020(int *param_1,uint param_2)\n\n{\n  ushort uVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  code *pcVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc0029;\n  if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 / 0x18 <= param_2) {\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }\n  puVar2 = *(undefined4 **)((int)puVar6 + 0x48);\n  iVar5 = iVar5 + param_2 * 0x18;\n  uVar3 = *(undefined4 *)(iVar5 + 0xc);\n  *puVar2 = *(undefined4 *)(iVar5 + 8);\n  uVar1 = *(ushort *)(iVar5 + 6);\n  puVar2[1] = uVar3;\n  if (uVar1 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar1 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;\n  FUN_000b18c0();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}\n\n" (function_definition "void FUN_000c0020(int *param_1,uint param_2)\n\n{\n  ushort uVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  code *pcVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc0029;\n  if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 / 0x18 <= param_2) {\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }\n  puVar2 = *(undefined4 **)((int)puVar6 + 0x48);\n  iVar5 = iVar5 + param_2 * 0x18;\n  uVar3 = *(undefined4 *)(iVar5 + 0xc);\n  *puVar2 = *(undefined4 *)(iVar5 + 8);\n  uVar1 = *(ushort *)(iVar5 + 6);\n  puVar2[1] = uVar3;\n  if (uVar1 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar1 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;\n  FUN_000b18c0();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_000c0020(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  ushort uVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  code *pcVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc0029;\n  if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 / 0x18 <= param_2) {\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }\n  puVar2 = *(undefined4 **)((int)puVar6 + 0x48);\n  iVar5 = iVar5 + param_2 * 0x18;\n  uVar3 = *(undefined4 *)(iVar5 + 0xc);\n  *puVar2 = *(undefined4 *)(iVar5 + 8);\n  uVar1 = *(ushort *)(iVar5 + 6);\n  puVar2[1] = uVar3;\n  if (uVar1 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar1 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;\n  FUN_000b18c0();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uStack_40;" type_identifier identifier ;) (declaration "undefined1 auStack_3c [8];" type_identifier (array_declarator "auStack_3c [8]" identifier [ number_literal ]) ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xc0029;" (assignment_expression "uStack_14 = 0xc0029" identifier = number_literal) ;) (if_statement "if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x38) == FUN_000bff60)" ( (binary_expression "*(code **)(*param_1 + 0x38) == FUN_000bff60" (pointer_expression "*(code **)(*param_1 + 0x38)" * (cast_expression "(code **)(*param_1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x38)" ( (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }" { (expression_statement "FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);" (call_expression "FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b])" identifier (argument_list "(&local_2c,param_1 + 0x24,param_1[0x2b])" ( (pointer_expression "&local_2c" & identifier) , (binary_expression "param_1 + 0x24" identifier + number_literal) , (subscript_expression "param_1[0x2b]" identifier [ number_literal ]) ))) ;) (expression_statement "puVar6 = &uStack_40;" (assignment_expression "puVar6 = &uStack_40" identifier = (pointer_expression "&uStack_40" & identifier)) ;) (if_statement "if (local_24 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }" { (expression_statement "FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);" (call_expression "FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",local_28)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , identifier ))) ;) })) (expression_statement "local_34 = local_28;" (assignment_expression "local_34 = local_28" identifier = identifier) ;) (expression_statement "iVar5 = 0x28d6c7;" (assignment_expression "iVar5 = 0x28d6c7" identifier = number_literal) ;) (if_statement "if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }" { (if_statement "if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }" if (parenthesized_expression "(param_1[7] == 0)" ( (binary_expression "param_1[7] == 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    \n        FUN_000b1650();\n      }" { (expression_statement "FUN_000b1650();" (call_expression "FUN_000b1650()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);" (assignment_expression "iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" identifier = (call_expression "FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" identifier (argument_list "(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" ( (binary_expression "param_1[7] + 0x1c" (subscript_expression "param_1[7]" identifier [ number_literal ]) + number_literal) , (subscript_expression "param_1[8]" identifier [ number_literal ]) , (subscript_expression "param_1[9]" identifier [ number_literal ]) , identifier , identifier , identifier , number_literal , number_literal )))) ;) (expression_statement "puVar6 = &uStack_40;" (assignment_expression "puVar6 = &uStack_40" identifier = (pointer_expression "&uStack_40" & identifier)) ;) (expression_statement "local_28 = local_34;" (assignment_expression "local_28 = local_34" identifier = identifier) ;) })) }) (else_clause "else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" else (compound_statement "{\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" { (expression_statement "uStack_40 = 0;" (assignment_expression "uStack_40 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);" (assignment_expression "iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" identifier = (call_expression "(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" (parenthesized_expression "(**(code **)(*param_1 + 0x38))" ( (pointer_expression "**(code **)(*param_1 + 0x38)" * (pointer_expression "*(code **)(*param_1 + 0x38)" * (cast_expression "(code **)(*param_1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x38)" ( (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_1[0x2b],&local_30)" ( identifier , (subscript_expression "param_1[0x2b]" identifier [ number_literal ]) , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "puVar6 = (undefined4 *)auStack_3c;" (assignment_expression "puVar6 = (undefined4 *)auStack_3c" identifier = (cast_expression "(undefined4 *)auStack_3c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_28 = local_30;" (assignment_expression "local_28 = local_30" identifier = identifier) ;) }))) (if_statement "if (local_28 / 0x18 <= param_2) {\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }" if (parenthesized_expression "(local_28 / 0x18 <= param_2)" ( (binary_expression "local_28 / 0x18 <= param_2" (binary_expression "local_28 / 0x18" identifier / number_literal) <= identifier) )) (compound_statement "{\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }" { (expression_statement "*(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;" (assignment_expression "*(uint *)((int)puVar6 + -4) = local_28 * -0x55555555" (pointer_expression "*(uint *)((int)puVar6 + -4)" * (cast_expression "(uint *)((int)puVar6 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -4)" ( (binary_expression "(int)puVar6 + -4" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "local_28 * -0x55555555" identifier * number_literal)) ;) (expression_statement "*(char **)((int)puVar6 + -8) = "symbol_section_and_value";" (assignment_expression "*(char **)((int)puVar6 + -8) = "symbol_section_and_value"" (pointer_expression "*(char **)((int)puVar6 + -8)" * (cast_expression "(char **)((int)puVar6 + -8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -8)" ( (binary_expression "(int)puVar6 + -8" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (string_literal ""symbol_section_and_value"" " string_content ")) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0xc) = 0x3af;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0xc) = 0x3af" (pointer_expression "*(undefined4 *)((int)puVar6 + -0xc)" * (cast_expression "(undefined4 *)((int)puVar6 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0xc)" ( (binary_expression "(int)puVar6 + -0xc" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";" (assignment_expression "*(char **)((int)puVar6 + -0x10) = "../../gold/object.cc"" (pointer_expression "*(char **)((int)puVar6 + -0x10)" * (cast_expression "(char **)((int)puVar6 + -0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -0x10)" ( (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (string_literal ""../../gold/object.cc"" " string_content ")) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x14)" ( (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00069d00();" (call_expression "FUN_00069d00()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar2 = *(undefined4 **)((int)puVar6 + 0x48);" (assignment_expression "puVar2 = *(undefined4 **)((int)puVar6 + 0x48)" identifier = (pointer_expression "*(undefined4 **)((int)puVar6 + 0x48)" * (cast_expression "(undefined4 **)((int)puVar6 + 0x48)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x48)" ( (binary_expression "(int)puVar6 + 0x48" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar5 = iVar5 + param_2 * 0x18;" (assignment_expression "iVar5 = iVar5 + param_2 * 0x18" identifier = (binary_expression "iVar5 + param_2 * 0x18" identifier + (binary_expression "param_2 * 0x18" identifier * number_literal))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar5 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar5 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar5 + 0xc)" * (cast_expression "(undefined4 *)(iVar5 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*puVar2 = *(undefined4 *)(iVar5 + 8);" (assignment_expression "*puVar2 = *(undefined4 *)(iVar5 + 8)" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*(undefined4 *)(iVar5 + 8)" * (cast_expression "(undefined4 *)(iVar5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(ushort *)(iVar5 + 6);" (assignment_expression "uVar1 = *(ushort *)(iVar5 + 6)" identifier = (pointer_expression "*(ushort *)(iVar5 + 6)" * (cast_expression "(ushort *)(iVar5 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 6)" ( (binary_expression "iVar5 + 6" identifier + number_literal) ))))) ;) (expression_statement "puVar2[1] = uVar3;" (assignment_expression "puVar2[1] = uVar3" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar1 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }" if (parenthesized_expression "(uVar1 < 0xff00)" ( (binary_expression "uVar1 < 0xff00" identifier < number_literal) )) (compound_statement "{\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }" { (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 1;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 1" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" * (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" * (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x4c)" ( (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar1 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }" if (parenthesized_expression "(uVar1 != 0xffff)" ( (binary_expression "uVar1 != 0xffff" identifier != number_literal) )) (compound_statement "{\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }" { (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 0;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 0" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" * (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" * (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x4c)" ( (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "iVar5 = param_1[0xc];" (assignment_expression "iVar5 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }" { (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(int **)((int)puVar6 + -0x10) = param_1;" (assignment_expression "*(int **)((int)puVar6 + -0x10) = param_1" (pointer_expression "*(int **)((int)puVar6 + -0x10)" * (cast_expression "(int **)((int)puVar6 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -0x10)" ( (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "pcVar4 = *(code **)(iVar5 + 0x6c);" (assignment_expression "pcVar4 = *(code **)(iVar5 + 0x6c)" identifier = (pointer_expression "*(code **)(iVar5 + 0x6c)" * (cast_expression "(code **)(iVar5 + 0x6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x6c)" ( (binary_expression "iVar5 + 0x6c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0xc0181" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x14)" ( (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = (*pcVar4)();" (assignment_expression "iVar5 = (*pcVar4)()" identifier = (call_expression "(*pcVar4)()" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "param_1[0xc] = iVar5;" (assignment_expression "param_1[0xc] = iVar5" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "*(uint *)((int)puVar6 + -8) = param_2;" (assignment_expression "*(uint *)((int)puVar6 + -8) = param_2" (pointer_expression "*(uint *)((int)puVar6 + -8)" * (cast_expression "(uint *)((int)puVar6 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -8)" ( (binary_expression "(int)puVar6 + -8" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int **)((int)puVar6 + -0xc) = param_1;" (assignment_expression "*(int **)((int)puVar6 + -0xc) = param_1" (pointer_expression "*(int **)((int)puVar6 + -0xc)" * (cast_expression "(int **)((int)puVar6 + -0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + -0xc)" ( (binary_expression "(int)puVar6 + -0xc" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)puVar6 + -0x10) = iVar5;" (assignment_expression "*(int *)((int)puVar6 + -0x10) = iVar5" (pointer_expression "*(int *)((int)puVar6 + -0x10)" * (cast_expression "(int *)((int)puVar6 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x10)" ( (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0xc0162" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + -0x14)" ( (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000b18c0();" (call_expression "FUN_000b18c0()" identifier (argument_list "()" ( ))) ;) (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 1;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 1" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" * (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" * (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar6 + 0x4c)" ( (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (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 = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT , IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT / LIT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (string_literal " string_content ")) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (string_literal " string_content ")) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) = LIT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_000c0020(int *param_1,uint param_2)\n\n{\n  ushort uVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  code *pcVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc0029;\n  if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 / 0x18 <= param_2) {\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }\n  puVar2 = *(undefined4 **)((int)puVar6 + 0x48);\n  iVar5 = iVar5 + param_2 * 0x18;\n  uVar3 = *(undefined4 *)(iVar5 + 0xc);\n  *puVar2 = *(undefined4 *)(iVar5 + 8);\n  uVar1 = *(ushort *)(iVar5 + 6);\n  puVar2[1] = uVar3;\n  if (uVar1 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar1 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;\n  FUN_000b18c0();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000c0020(int *param_1,uint param_2)" (identifier "FUN_000c0020") (parameter_list "(int *param_1,uint param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  ushort uVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  code *pcVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uStack_40;\n  undefined1 auStack_3c [8];\n  uint local_34;\n  uint local_30;\n  undefined4 local_2c;\n  uint local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc0029;\n  if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }\n  if (local_28 / 0x18 <= param_2) {\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }\n  puVar2 = *(undefined4 **)((int)puVar6 + 0x48);\n  iVar5 = iVar5 + param_2 * 0x18;\n  uVar3 = *(undefined4 *)(iVar5 + 0xc);\n  *puVar2 = *(undefined4 *)(iVar5 + 8);\n  uVar1 = *(ushort *)(iVar5 + 6);\n  puVar2[1] = uVar3;\n  if (uVar1 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }\n  if (uVar1 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }\n  iVar5 = param_1[0xc];\n  if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }\n  *(uint *)((int)puVar6 + -8) = param_2;\n  *(int **)((int)puVar6 + -0xc) = param_1;\n  *(int *)((int)puVar6 + -0x10) = iVar5;\n  *(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;\n  FUN_000b18c0();\n  **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n  return;\n}" ({ "{") (declaration "ushort uVar1;" (type_identifier "ushort") (identifier "uVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "code *pcVar4;" (type_identifier "code") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 uStack_40;" (type_identifier "undefined4") (identifier "uStack_40") (; ";")) (declaration "undefined1 auStack_3c [8];" (type_identifier "undefined1") (array_declarator "auStack_3c [8]" (identifier "auStack_3c") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "uint local_34;" (type_identifier "uint") (identifier "local_34") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "uint local_28;" (type_identifier "uint") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0xc0029;" (assignment_expression "uStack_14 = 0xc0029" (identifier "uStack_14") (= "=") (number_literal "0xc0029")) (; ";")) (if_statement "if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }\n  else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_1 + 0x38) == FUN_000bff60)" (( "(") (binary_expression "*(code **)(*param_1 + 0x38) == FUN_000bff60" (pointer_expression "*(code **)(*param_1 + 0x38)" (* "*") (cast_expression "(code **)(*param_1 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x38)" (( "(") (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x38")) () ")")))) (== "==") (identifier "FUN_000bff60")) () ")")) (compound_statement "{\n    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);\n    puVar6 = &uStack_40;\n    if (local_24 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }\n    local_34 = local_28;\n    iVar5 = 0x28d6c7;\n    if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }\n  }" ({ "{") (expression_statement "FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);" (call_expression "FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b])" (identifier "FUN_000bfea0") (argument_list "(&local_2c,param_1 + 0x24,param_1[0x2b])" (( "(") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) (, ",") (subscript_expression "param_1[0x2b]" (identifier "param_1") ([ "[") (number_literal "0x2b") (] "]")) () ")"))) (; ";")) (expression_statement "puVar6 = &uStack_40;" (assignment_expression "puVar6 = &uStack_40" (identifier "puVar6") (= "=") (pointer_expression "&uStack_40" (& "&") (identifier "uStack_40"))) (; ";")) (if_statement "if (local_24 != 0) {\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);" (call_expression "FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28)" (identifier "FUN_00069d00") (argument_list "("../../gold/gold.h",0xc0,"convert_types",local_28)" (( "(") (string_literal ""../../gold/gold.h"" (" """) (string_content "../../gold/gold.h") (" """)) (, ",") (number_literal "0xc0") (, ",") (string_literal ""convert_types"" (" """) (string_content "convert_types") (" """)) (, ",") (identifier "local_28") () ")"))) (; ";")) (} "}"))) (expression_statement "local_34 = local_28;" (assignment_expression "local_34 = local_28" (identifier "local_34") (= "=") (identifier "local_28")) (; ";")) (expression_statement "iVar5 = 0x28d6c7;" (assignment_expression "iVar5 = 0x28d6c7" (identifier "iVar5") (= "=") (number_literal "0x28d6c7")) (; ";")) (if_statement "if (local_28 != 0) {\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }" (if "if") (parenthesized_expression "(local_28 != 0)" (( "(") (binary_expression "local_28 != 0" (identifier "local_28") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }\n      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);\n      puVar6 = &uStack_40;\n      local_28 = local_34;\n    }" ({ "{") (if_statement "if (param_1[7] == 0) {\n                    \n        FUN_000b1650();\n      }" (if "if") (parenthesized_expression "(param_1[7] == 0)" (( "(") (binary_expression "param_1[7] == 0" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_000b1650();\n      }" ({ "{") (expression_statement "FUN_000b1650();" (call_expression "FUN_000b1650()" (identifier "FUN_000b1650") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);" (assignment_expression "iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" (identifier "iVar5") (= "=") (call_expression "FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" (identifier "FUN_000687f0") (argument_list "(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0)" (( "(") (binary_expression "param_1[7] + 0x1c" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (+ "+") (number_literal "0x1c")) (, ",") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (, ",") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (, ",") (identifier "local_30") (, ",") (identifier "local_2c") (, ",") (identifier "local_28") (, ",") (number_literal "1") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "puVar6 = &uStack_40;" (assignment_expression "puVar6 = &uStack_40" (identifier "puVar6") (= "=") (pointer_expression "&uStack_40" (& "&") (identifier "uStack_40"))) (; ";")) (expression_statement "local_28 = local_34;" (assignment_expression "local_28 = local_34" (identifier "local_28") (= "=") (identifier "local_34")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" (else "else") (compound_statement "{\n    uStack_40 = 0;\n    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);\n    puVar6 = (undefined4 *)auStack_3c;\n    local_28 = local_30;\n  }" ({ "{") (expression_statement "uStack_40 = 0;" (assignment_expression "uStack_40 = 0" (identifier "uStack_40") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);" (assignment_expression "iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30)" (parenthesized_expression "(**(code **)(*param_1 + 0x38))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x38)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x38)" (* "*") (cast_expression "(code **)(*param_1 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x38)" (( "(") (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (argument_list "(param_1,param_1[0x2b],&local_30)" (( "(") (identifier "param_1") (, ",") (subscript_expression "param_1[0x2b]" (identifier "param_1") ([ "[") (number_literal "0x2b") (] "]")) (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")")))) (; ";")) (expression_statement "puVar6 = (undefined4 *)auStack_3c;" (assignment_expression "puVar6 = (undefined4 *)auStack_3c" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)auStack_3c" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "auStack_3c"))) (; ";")) (expression_statement "local_28 = local_30;" (assignment_expression "local_28 = local_30" (identifier "local_28") (= "=") (identifier "local_30")) (; ";")) (} "}")))) (if_statement "if (local_28 / 0x18 <= param_2) {\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }" (if "if") (parenthesized_expression "(local_28 / 0x18 <= param_2)" (( "(") (binary_expression "local_28 / 0x18 <= param_2" (binary_expression "local_28 / 0x18" (identifier "local_28") (/ "/") (number_literal "0x18")) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;\n    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";\n    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;\n    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";\n                    \n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;\n    FUN_00069d00();\n  }" ({ "{") (expression_statement "*(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;" (assignment_expression "*(uint *)((int)puVar6 + -4) = local_28 * -0x55555555" (pointer_expression "*(uint *)((int)puVar6 + -4)" (* "*") (cast_expression "(uint *)((int)puVar6 + -4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -4)" (( "(") (binary_expression "(int)puVar6 + -4" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-4")) () ")")))) (= "=") (binary_expression "local_28 * -0x55555555" (identifier "local_28") (* "*") (number_literal "-0x55555555"))) (; ";")) (expression_statement "*(char **)((int)puVar6 + -8) = "symbol_section_and_value";" (assignment_expression "*(char **)((int)puVar6 + -8) = "symbol_section_and_value"" (pointer_expression "*(char **)((int)puVar6 + -8)" (* "*") (cast_expression "(char **)((int)puVar6 + -8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + -8)" (( "(") (binary_expression "(int)puVar6 + -8" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (string_literal ""symbol_section_and_value"" (" """) (string_content "symbol_section_and_value") (" """))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar6 + -0xc) = 0x3af;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0xc) = 0x3af" (pointer_expression "*(undefined4 *)((int)puVar6 + -0xc)" (* "*") (cast_expression "(undefined4 *)((int)puVar6 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -0xc)" (( "(") (binary_expression "(int)puVar6 + -0xc" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (number_literal "0x3af")) (; ";")) (expression_statement "*(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";" (assignment_expression "*(char **)((int)puVar6 + -0x10) = "../../gold/object.cc"" (pointer_expression "*(char **)((int)puVar6 + -0x10)" (* "*") (cast_expression "(char **)((int)puVar6 + -0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + -0x10)" (( "(") (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (string_literal ""../../gold/object.cc"" (" """) (string_content "../../gold/object.cc") (" """))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -0x14)" (( "(") (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0xc01a2")) (; ";")) (expression_statement "FUN_00069d00();" (call_expression "FUN_00069d00()" (identifier "FUN_00069d00") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar2 = *(undefined4 **)((int)puVar6 + 0x48);" (assignment_expression "puVar2 = *(undefined4 **)((int)puVar6 + 0x48)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)((int)puVar6 + 0x48)" (* "*") (cast_expression "(undefined4 **)((int)puVar6 + 0x48)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + 0x48)" (( "(") (binary_expression "(int)puVar6 + 0x48" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (expression_statement "iVar5 = iVar5 + param_2 * 0x18;" (assignment_expression "iVar5 = iVar5 + param_2 * 0x18" (identifier "iVar5") (= "=") (binary_expression "iVar5 + param_2 * 0x18" (identifier "iVar5") (+ "+") (binary_expression "param_2 * 0x18" (identifier "param_2") (* "*") (number_literal "0x18")))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar5 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar5 + 0xc)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar5 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar5 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xc)" (( "(") (binary_expression "iVar5 + 0xc" (identifier "iVar5") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "*puVar2 = *(undefined4 *)(iVar5 + 8);" (assignment_expression "*puVar2 = *(undefined4 *)(iVar5 + 8)" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (pointer_expression "*(undefined4 *)(iVar5 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar5 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(ushort *)(iVar5 + 6);" (assignment_expression "uVar1 = *(ushort *)(iVar5 + 6)" (identifier "uVar1") (= "=") (pointer_expression "*(ushort *)(iVar5 + 6)" (* "*") (cast_expression "(ushort *)(iVar5 + 6)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 6)" (( "(") (binary_expression "iVar5 + 6" (identifier "iVar5") (+ "+") (number_literal "6")) () ")"))))) (; ";")) (expression_statement "puVar2[1] = uVar3;" (assignment_expression "puVar2[1] = uVar3" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (uVar1 < 0xff00) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }" (if "if") (parenthesized_expression "(uVar1 < 0xff00)" (( "(") (binary_expression "uVar1 < 0xff00" (identifier "uVar1") (< "<") (number_literal "0xff00")) () ")")) (compound_statement "{\n    **(undefined1 **)((int)puVar6 + 0x4c) = 1;\n    return;\n  }" ({ "{") (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 1;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 1" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" (* "*") (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" (* "*") (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + 0x4c)" (( "(") (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x4c")) () ")"))))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (uVar1 != 0xffff) {\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(uVar1 != 0xffff)" (( "(") (binary_expression "uVar1 != 0xffff" (identifier "uVar1") (!= "!=") (number_literal "0xffff")) () ")")) (compound_statement "{\n    **(undefined1 **)((int)puVar6 + 0x4c) = 0;\n    return;\n  }" ({ "{") (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 0;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 0" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" (* "*") (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" (* "*") (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + 0x4c)" (( "(") (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x4c")) () ")"))))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar5 = param_1[0xc];" (assignment_expression "iVar5 = param_1[0xc]" (identifier "iVar5") (= "=") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (if_statement "if (iVar5 == 0) {\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = *param_1;\n    *(int **)((int)puVar6 + -0x10) = param_1;\n    pcVar4 = *(code **)(iVar5 + 0x6c);\n    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;\n    iVar5 = (*pcVar4)();\n    param_1[0xc] = iVar5;\n  }" ({ "{") (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" (identifier "iVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*(int **)((int)puVar6 + -0x10) = param_1;" (assignment_expression "*(int **)((int)puVar6 + -0x10) = param_1" (pointer_expression "*(int **)((int)puVar6 + -0x10)" (* "*") (cast_expression "(int **)((int)puVar6 + -0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + -0x10)" (( "(") (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "pcVar4 = *(code **)(iVar5 + 0x6c);" (assignment_expression "pcVar4 = *(code **)(iVar5 + 0x6c)" (identifier "pcVar4") (= "=") (pointer_expression "*(code **)(iVar5 + 0x6c)" (* "*") (cast_expression "(code **)(iVar5 + 0x6c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x6c)" (( "(") (binary_expression "iVar5 + 0x6c" (identifier "iVar5") (+ "+") (number_literal "0x6c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0xc0181" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -0x14)" (( "(") (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0xc0181")) (; ";")) (expression_statement "iVar5 = (*pcVar4)();" (assignment_expression "iVar5 = (*pcVar4)()" (identifier "iVar5") (= "=") (call_expression "(*pcVar4)()" (parenthesized_expression "(*pcVar4)" (( "(") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "param_1[0xc] = iVar5;" (assignment_expression "param_1[0xc] = iVar5" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}"))) (expression_statement "*(uint *)((int)puVar6 + -8) = param_2;" (assignment_expression "*(uint *)((int)puVar6 + -8) = param_2" (pointer_expression "*(uint *)((int)puVar6 + -8)" (* "*") (cast_expression "(uint *)((int)puVar6 + -8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -8)" (( "(") (binary_expression "(int)puVar6 + -8" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(int **)((int)puVar6 + -0xc) = param_1;" (assignment_expression "*(int **)((int)puVar6 + -0xc) = param_1" (pointer_expression "*(int **)((int)puVar6 + -0xc)" (* "*") (cast_expression "(int **)((int)puVar6 + -0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + -0xc)" (( "(") (binary_expression "(int)puVar6 + -0xc" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(int *)((int)puVar6 + -0x10) = iVar5;" (assignment_expression "*(int *)((int)puVar6 + -0x10) = iVar5" (pointer_expression "*(int *)((int)puVar6 + -0x10)" (* "*") (cast_expression "(int *)((int)puVar6 + -0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -0x10)" (( "(") (binary_expression "(int)puVar6 + -0x10" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;" (assignment_expression "*(undefined4 *)((int)puVar6 + -0x14) = 0xc0162" (pointer_expression "*(undefined4 *)((int)puVar6 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)puVar6 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + -0x14)" (( "(") (binary_expression "(int)puVar6 + -0x14" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0xc0162")) (; ";")) (expression_statement "FUN_000b18c0();" (call_expression "FUN_000b18c0()" (identifier "FUN_000b18c0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "**(undefined1 **)((int)puVar6 + 0x4c) = 1;" (assignment_expression "**(undefined1 **)((int)puVar6 + 0x4c) = 1" (pointer_expression "**(undefined1 **)((int)puVar6 + 0x4c)" (* "*") (pointer_expression "*(undefined1 **)((int)puVar6 + 0x4c)" (* "*") (cast_expression "(undefined1 **)((int)puVar6 + 0x4c)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar6 + 0x4c)" (( "(") (binary_expression "(int)puVar6 + 0x4c" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0x4c")) () ")"))))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint symbol_section_and_value(Sized_relobj_file<64,_false> * this, uint
   sym, Address * value, bool * is_ordinary) */

type_1 __thiscall
gold::Sized_relobj_file<64,_false>::symbol_section_and_value
          (Sized_relobj_file<64,_false> *this,type_1 var_11,Address *value,bool *is_ordinary)

{
  _func_int_varargs *var_1;
  type_2 uVar2;
  type_3 *var_6;
  type_1 var_13;
  type_4 *var_12;
  type_5 *var_14;
  type_6 *in_stack_ffffffc4;
  type_7 var_10;
  type_8 loc;
  
  var_1 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0xe];
  if (var_1 == var_2) {
    elfcpp::Elf_file<64,_false,_gold::type_6>::var_3
              (&this->elf_file_,this->symtab_shndx_);
    if (loc.data_size._4_4_ != 0) {
                    /* WARNING: Subroutine does not return */
      var_4("../../gold/gold.h",0xc0,"convert_types");
    }
    var_10 = (type_7)loc.data_size;
    var_12 = (type_4 *)((int)&Sized_relobj_file<64,true>::
                             var_2(unsigned_int,unsigned_int*,bool)::var_5 + 1);
    if ((type_7)loc.data_size != 0) {
      var_6 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.input_file_;
      if (var_6 == (type_3 *)0x0) {
                    /* WARNING: Subroutine does not return */
        Object::var_7(in_stack_ffffffc4);
      }
      var_12 = File_read::var_8(&var_6->file_,
                                   (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.
                                   offset_,var_9(loc.file_offset._4_4_,
                                                    (type_2)loc.file_offset),
                                   (type_7)loc.data_size,true,false);
    }
  }
  else {
    var_12 = (type_4 *)(*var_1)(this,this->symtab_shndx_,&var_10,0);
  }
  if (var_10 / 0x18 <= var_11) {
                    /* WARNING: Subroutine does not return */
    var_4("../../gold/object.cc",0x3af,"symbol_section_and_value");
  }
  uVar2 = *(type_2 *)(var_12 + var_11 * 0x18 + 0xc);
  *(type_2 *)value = *(type_2 *)(var_12 + var_11 * 0x18 + 8);
  var_13 = (type_1)*(type_9 *)(var_12 + var_11 * 0x18 + 6);
  *(type_2 *)((int)value + 4) = uVar2;
  if (var_13 < 0xff00) {
    *is_ordinary = true;
    return var_13;
  }
  if (var_13 != 0xffff) {
    *is_ordinary = false;
    return var_13;
  }
  var_14 = (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_;
  if (var_14 == (type_5 *)0x0) {
    var_14 = (type_5 *)
              (*(this->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x1b])
                        (this);
    (this->super_Sized_relobj<64,_false>).super_Relobj.super_Object.xindex_ = var_14;
  }
  var_13 = type_5::var_15(var_14,(type_6 *)this,var_11);
  *is_ordinary = true;
  return var_13;
}


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

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

void MASKED(int *param_1,uint param_2)

{
  ushort uVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  code *pcVar4;
  int iVar5;
  undefined4 *puVar6;
  undefined4 uStack_40;
  undefined1 auStack_3c [8];
  uint local_34;
  uint local_30;
  undefined4 local_2c;
  uint local_28;
  int local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0xc0029;
  if (*(code **)(*param_1 + 0x38) == FUN_000bff60) {
    FUN_000bfea0(&local_2c,param_1 + 0x24,param_1[0x2b]);
    puVar6 = &uStack_40;
    if (local_24 != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/gold.h",0xc0,"convert_types",local_28);
    }
    local_34 = local_28;
    iVar5 = 0x28d6c7;
    if (local_28 != 0) {
      if (param_1[7] == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_000b1650();
      }
      iVar5 = FUN_000687f0(param_1[7] + 0x1c,param_1[8],param_1[9],local_30,local_2c,local_28,1,0);
      puVar6 = &uStack_40;
      local_28 = local_34;
    }
  }
  else {
    uStack_40 = 0;
    iVar5 = (**(code **)(*param_1 + 0x38))(param_1,param_1[0x2b],&local_30);
    puVar6 = (undefined4 *)auStack_3c;
    local_28 = local_30;
  }
  if (local_28 / 0x18 <= param_2) {
    *(uint *)((int)puVar6 + -4) = local_28 * -0x55555555;
    *(char **)((int)puVar6 + -8) = "symbol_section_and_value";
    *(undefined4 *)((int)puVar6 + -0xc) = 0x3af;
    *(char **)((int)puVar6 + -0x10) = "../../gold/object.cc";
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)((int)puVar6 + -0x14) = 0xc01a2;
    FUN_00069d00();
  }
  puVar2 = *(undefined4 **)((int)puVar6 + 0x48);
  iVar5 = iVar5 + param_2 * 0x18;
  uVar3 = *(undefined4 *)(iVar5 + 0xc);
  *puVar2 = *(undefined4 *)(iVar5 + 8);
  uVar1 = *(ushort *)(iVar5 + 6);
  puVar2[1] = uVar3;
  if (uVar1 < 0xff00) {
    **(undefined1 **)((int)puVar6 + 0x4c) = 1;
    return;
  }
  if (uVar1 != 0xffff) {
    **(undefined1 **)((int)puVar6 + 0x4c) = 0;
    return;
  }
  iVar5 = param_1[0xc];
  if (iVar5 == 0) {
    iVar5 = *param_1;
    *(int **)((int)puVar6 + -0x10) = param_1;
    pcVar4 = *(code **)(iVar5 + 0x6c);
    *(undefined4 *)((int)puVar6 + -0x14) = 0xc0181;
    iVar5 = (*pcVar4)();
    param_1[0xc] = iVar5;
  }
  *(uint *)((int)puVar6 + -8) = param_2;
  *(int **)((int)puVar6 + -0xc) = param_1;
  *(int *)((int)puVar6 + -0x10) = iVar5;
  *(undefined4 *)((int)puVar6 + -0x14) = 0xc0162;
  FUN_000b18c0();
  **(undefined1 **)((int)puVar6 + 0x4c) = 1;
  return;
}

