
/* DWARF original prototype: uint64_t do_local_symbol_value(Sized_relobj_file<32,_true> * this, uint
   symndx, uint64_t addend) */

uint64_t __thiscall
gold::Sized_relobj_file<32,_true>::do_local_symbol_value
          (Sized_relobj_file<32,_true> *this,uint symndx,uint64_t addend)

{
  pointer pSVar1;
  Merged_symbol_value<32> *this_00;
  ulong uVar2;
  _Hash_node_base *p_Var3;
  Elf_Addr EVar4;
  Value input_offset;
  uint uVar5;
  ulong uVar6;
  ulong uVar7;
  _Hash_node_base *p_Var8;
  __bucket_type p_Var9;
  __bucket_type p_Var10;
  
  uVar7 = (ulong)symndx;
  pSVar1 = (this->local_values_).
           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.
           _M_impl._M_start;
  if ((ulong)(((long)(this->local_values_).
                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>
                     ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555) <= uVar7) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");
  }
  uVar5 = (uint)addend;
  if ((char)pSVar1[uVar7].field_0xb < '\0') {
    return (ulong)(uVar5 + pSVar1[uVar7].u_.value);
  }
  if ((pSVar1[uVar7].field_0xb & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/object.h",0x6ab,"value");
  }
  this_00 = pSVar1[uVar7].u_.merged_symbol_value;
  input_offset = this_00->input_value_;
  if (uVar5 < 0xffffff00) {
    input_offset = input_offset + uVar5;
    uVar5 = 0;
  }
  uVar2 = (this_00->output_addresses_)._M_h._M_bucket_count;
  uVar6 = (ulong)input_offset % uVar2;
  p_Var10 = (this_00->output_addresses_)._M_h._M_buckets[uVar6];
  if (p_Var10 != (__bucket_type)0x0) {
    p_Var8 = p_Var10->_M_nxt[1]._M_nxt;
    p_Var3 = p_Var10->_M_nxt;
    while (p_Var9 = p_Var3, (_Hash_node_base *)(ulong)input_offset != p_Var8) {
      p_Var3 = p_Var9->_M_nxt;
      if ((p_Var3 == (_Hash_node_base *)0x0) ||
         (p_Var8 = p_Var3[1]._M_nxt, p_Var10 = p_Var9, uVar6 != (ulong)p_Var8 % uVar2))
      goto LAB_001bfae8;
    }
    if (p_Var10->_M_nxt != (_Hash_node_base *)0x0) {
      return (ulong)(uVar5 + *(int *)&p_Var10->_M_nxt[2]._M_nxt);
    }
  }
LAB_001bfae8:
  EVar4 = Merged_symbol_value<32>::value_from_output_section
                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar7].field_0x8 & 0x7ffffff,
                     input_offset);
  return (ulong)(EVar4 + uVar5);
}



int FUN_001bf9f0(long param_1,uint param_2,uint param_3)

{
  long lVar1;
  uint *puVar2;
  long *plVar3;
  int iVar4;
  uint uVar5;
  ulong uVar6;
  ulong uVar7;
  long *plVar8;
  long *plVar9;
  
  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)
      <= (ulong)param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");
  }
  lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;
  if ((char)*(byte *)(lVar1 + 0xb) < '\0') {
    return param_3 + *(int *)(lVar1 + 0x10);
  }
  if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/object.h",0x6ab,"value");
  }
  puVar2 = *(uint **)(lVar1 + 0x10);
  uVar5 = *puVar2;
  if (param_3 < 0xffffff00) {
    uVar5 = uVar5 + param_3;
    param_3 = 0;
  }
  uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);
  plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);
  if (plVar9 != (long *)0x0) {
    uVar7 = ((long *)*plVar9)[1];
    plVar3 = (long *)*plVar9;
    while (plVar8 = plVar3, uVar5 != uVar7) {
      plVar3 = (long *)*plVar8;
      if ((plVar3 == (long *)0x0) ||
         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))
      goto LAB_001bfae8;
    }
    if (*plVar9 != 0) {
      return param_3 + *(int *)(*plVar9 + 0x10);
    }
  }
LAB_001bfae8:
  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);
  return iVar4 + param_3;
}


MOV R8,-0x5555555555555555
PUSH R13
MOV ESI,ESI
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RAX,qword ptr [RDI + 0x160]
MOV RCX,qword ptr [RDI + 0x168]
SUB RCX,RAX
SAR RCX,0x3
IMUL RCX,R8
CMP RSI,RCX
JNC 0x001bfb0a
LEA RCX,[RSI + RSI*0x2]
MOV EBX,EDX
LEA R11,[RAX + RCX*0x8]
MOVZX EAX,byte ptr [R11 + 0xb]
TEST AL,AL
JS 0x001bfad0
TEST AL,0x8
JZ 0x001bfb22
MOV R12,qword ptr [R11 + 0x10]
MOV ECX,dword ptr [R12]
CMP EDX,0xfffffeff
JBE 0x001bfac0
MOV EBP,ECX
MOV R9,qword ptr [R12 + 0x10]
XOR EDX,EDX
MOV RAX,RBP
DIV R9
MOV RAX,qword ptr [R12 + 0x8]
MOV R10,qword ptr [RAX + RDX*0x8]
MOV R13,RDX
TEST R10,R10
JZ 0x001bfae8
MOV R8,qword ptr [R10]
MOV RSI,qword ptr [R8 + 0x8]
JMP 0x001bfa9f
MOV RAX,qword ptr [R8]
TEST RAX,RAX
JZ 0x001bfae8
MOV RSI,qword ptr [RAX + 0x8]
MOV R10,R8
XOR EDX,EDX
MOV R8,RAX
MOV RAX,RSI
DIV R9
CMP R13,RDX
JNZ 0x001bfae8
CMP RBP,RSI
JNZ 0x001bfa80
MOV RAX,qword ptr [R10]
TEST RAX,RAX
JZ 0x001bfae8
ADD EBX,dword ptr [RAX + 0x10]
ADD RSP,0x8
MOV EAX,EBX
POP RBX
POP RBP
POP R12
POP R13
RET
ADD ECX,EDX
XOR EBX,EBX
JMP 0x001bfa57
MOV EAX,EDX
ADD EAX,dword ptr [R11 + 0x10]
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
MOV EDX,dword ptr [R11 + 0x8]
MOV RSI,RDI
MOV RDI,R12
AND EDX,0x7ffffff
CALL 0x00244760
ADD RSP,0x8
ADD EAX,EBX
POP RBX
POP RBP
POP R12
POP R13
RET
LEA RDX,[0x3790b0]
MOV ESI,0x8c1
LEA RDI,[0x36b016]
CALL 0x0017c650
LEA RDX,[0x378fc4]
MOV ESI,0x6ab
LEA RDI,[0x36b016]
CALL 0x0017c650
(translation_unit "int FUN_001bf9f0(long param_1,uint param_2,uint param_3)\n\n{\n  long lVar1;\n  uint *puVar2;\n  long *plVar3;\n  int iVar4;\n  uint uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long *plVar8;\n  long *plVar9;\n  \n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }\n  lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar1 + 0xb) < '\0') {\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }\n  if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar2 = *(uint **)(lVar1 + 0x10);\n  uVar5 = *puVar2;\n  if (param_3 < 0xffffff00) {\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }\n  uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);\n  plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);\n  if (plVar9 != (long *)0x0) {\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }\nLAB_001bfae8:\n  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);\n  return iVar4 + param_3;\n}\n\n" (function_definition "int FUN_001bf9f0(long param_1,uint param_2,uint param_3)\n\n{\n  long lVar1;\n  uint *puVar2;\n  long *plVar3;\n  int iVar4;\n  uint uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long *plVar8;\n  long *plVar9;\n  \n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }\n  lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar1 + 0xb) < '\0') {\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }\n  if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar2 = *(uint **)(lVar1 + 0x10);\n  uVar5 = *puVar2;\n  if (param_3 < 0xffffff00) {\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }\n  uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);\n  plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);\n  if (plVar9 != (long *)0x0) {\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }\nLAB_001bfae8:\n  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);\n  return iVar4 + param_3;\n}" primitive_type (function_declarator "FUN_001bf9f0(long param_1,uint param_2,uint param_3)" identifier (parameter_list "(long param_1,uint param_2,uint param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  uint *puVar2;\n  long *plVar3;\n  int iVar4;\n  uint uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long *plVar8;\n  long *plVar9;\n  \n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }\n  lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar1 + 0xb) < '\0') {\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }\n  if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar2 = *(uint **)(lVar1 + 0x10);\n  uVar5 = *puVar2;\n  if (param_3 < 0xffffff00) {\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }\n  uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);\n  plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);\n  if (plVar9 != (long *)0x0) {\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }\nLAB_001bfae8:\n  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);\n  return iVar4 + param_3;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "long *plVar8;" (sized_type_specifier "long" long) (pointer_declarator "*plVar8" * identifier) ;) (declaration "long *plVar9;" (sized_type_specifier "long" long) (pointer_declarator "*plVar9" * identifier) ;) (if_statement "if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }" if (parenthesized_expression "((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2)" ( (binary_expression "(ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2" (call_expression "(ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" ( (binary_expression "(*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555" (parenthesized_expression "(*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3)" ( (binary_expression "*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3" (binary_expression "*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160)" (pointer_expression "*(long *)(param_1 + 0x168)" * (cast_expression "(long *)(param_1 + 0x168)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x168)" ( (binary_expression "param_1 + 0x168" identifier + number_literal) )))) - (pointer_expression "*(long *)(param_1 + 0x160)" * (cast_expression "(long *)(param_1 + 0x160)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x160)" ( (binary_expression "param_1 + 0x160" identifier + number_literal) ))))) >> number_literal) )) * number_literal) ))) <= (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }" { comment (expression_statement "FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");" (call_expression "FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol")" identifier (argument_list "("../../gold/object.h",0x8c1,"local_symbol")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""local_symbol"" " string_content ") ))) ;) })) (expression_statement "lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;" (assignment_expression "lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" identifier = (binary_expression "*(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" (pointer_expression "*(long *)(param_1 + 0x160)" * (cast_expression "(long *)(param_1 + 0x160)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x160)" ( (binary_expression "param_1 + 0x160" identifier + number_literal) )))) + (binary_expression "(ulong)param_2 * 0x18" (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal))) ;) (if_statement "if ((char)*(byte *)(lVar1 + 0xb) < '\0') {\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }" if (parenthesized_expression "((char)*(byte *)(lVar1 + 0xb) < '\0')" ( (binary_expression "(char)*(byte *)(lVar1 + 0xb) < '\0'" (cast_expression "(char)*(byte *)(lVar1 + 0xb)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(byte *)(lVar1 + 0xb)" * (cast_expression "(byte *)(lVar1 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xb)" ( (binary_expression "lVar1 + 0xb" identifier + number_literal) ))))) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }" { (return_statement "return param_3 + *(int *)(lVar1 + 0x10);" return (binary_expression "param_3 + *(int *)(lVar1 + 0x10)" identifier + (pointer_expression "*(int *)(lVar1 + 0x10)" * (cast_expression "(int *)(lVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) })) (if_statement "if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }" if (parenthesized_expression "((*(byte *)(lVar1 + 0xb) & 8) == 0)" ( (binary_expression "(*(byte *)(lVar1 + 0xb) & 8) == 0" (parenthesized_expression "(*(byte *)(lVar1 + 0xb) & 8)" ( (binary_expression "*(byte *)(lVar1 + 0xb) & 8" (pointer_expression "*(byte *)(lVar1 + 0xb)" * (cast_expression "(byte *)(lVar1 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xb)" ( (binary_expression "lVar1 + 0xb" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }" { comment (expression_statement "FUN_0017c650("../../gold/object.h",0x6ab,"value");" (call_expression "FUN_0017c650("../../gold/object.h",0x6ab,"value")" identifier (argument_list "("../../gold/object.h",0x6ab,"value")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""value"" " string_content ") ))) ;) })) (expression_statement "puVar2 = *(uint **)(lVar1 + 0x10);" (assignment_expression "puVar2 = *(uint **)(lVar1 + 0x10)" identifier = (pointer_expression "*(uint **)(lVar1 + 0x10)" * (cast_expression "(uint **)(lVar1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (if_statement "if (param_3 < 0xffffff00) {\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }" if (parenthesized_expression "(param_3 < 0xffffff00)" ( (binary_expression "param_3 < 0xffffff00" identifier < number_literal) )) (compound_statement "{\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }" { (expression_statement "uVar5 = uVar5 + param_3;" (assignment_expression "uVar5 = uVar5 + param_3" identifier = (binary_expression "uVar5 + param_3" identifier + identifier)) ;) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" identifier = number_literal) ;) })) (expression_statement "uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);" (assignment_expression "uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4)" identifier = (binary_expression "(ulong)uVar5 % *(ulong *)(puVar2 + 4)" (cast_expression "(ulong)uVar5" ( (type_descriptor "ulong" type_identifier) ) identifier) % (pointer_expression "*(ulong *)(puVar2 + 4)" * (cast_expression "(ulong *)(puVar2 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 4)" ( (binary_expression "puVar2 + 4" identifier + number_literal) )))))) ;) (expression_statement "plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);" (assignment_expression "plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8)" identifier = (pointer_expression "*(long **)(*(long *)(puVar2 + 2) + uVar6 * 8)" * (cast_expression "(long **)(*(long *)(puVar2 + 2) + uVar6 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(puVar2 + 2) + uVar6 * 8)" ( (binary_expression "*(long *)(puVar2 + 2) + uVar6 * 8" (pointer_expression "*(long *)(puVar2 + 2)" * (cast_expression "(long *)(puVar2 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) + (binary_expression "uVar6 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar9 != (long *)0x0) {\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }" if (parenthesized_expression "(plVar9 != (long *)0x0)" ( (binary_expression "plVar9 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }" { (expression_statement "uVar7 = ((long *)*plVar9)[1];" (assignment_expression "uVar7 = ((long *)*plVar9)[1]" identifier = (subscript_expression "((long *)*plVar9)[1]" (parenthesized_expression "((long *)*plVar9)" ( (cast_expression "(long *)*plVar9" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar9" * identifier)) )) [ number_literal ])) ;) (expression_statement "plVar3 = (long *)*plVar9;" (assignment_expression "plVar3 = (long *)*plVar9" identifier = (cast_expression "(long *)*plVar9" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar9" * identifier))) ;) (while_statement "while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }" while (parenthesized_expression "(plVar8 = plVar3, uVar5 != uVar7)" ( (comma_expression "plVar8 = plVar3, uVar5 != uVar7" (assignment_expression "plVar8 = plVar3" identifier = identifier) , (binary_expression "uVar5 != uVar7" identifier != identifier)) )) (compound_statement "{\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }" { (expression_statement "plVar3 = (long *)*plVar8;" (assignment_expression "plVar3 = (long *)*plVar8" identifier = (cast_expression "(long *)*plVar8" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar8" * identifier))) ;) (if_statement "if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;" if (parenthesized_expression "((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))" ( (binary_expression "(plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4))" (parenthesized_expression "(plVar3 == (long *)0x0)" ( (binary_expression "plVar3 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4))" ( (comma_expression "uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)" (assignment_expression "uVar7 = plVar3[1]" identifier = (subscript_expression "plVar3[1]" identifier [ number_literal ])) , (comma_expression "plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)" (assignment_expression "plVar9 = plVar8" identifier = identifier) , (binary_expression "uVar6 != uVar7 % *(ulong *)(puVar2 + 4)" identifier != (binary_expression "uVar7 % *(ulong *)(puVar2 + 4)" identifier % (pointer_expression "*(ulong *)(puVar2 + 4)" * (cast_expression "(ulong *)(puVar2 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 4)" ( (binary_expression "puVar2 + 4" identifier + number_literal) )))))))) ))) )) (goto_statement "goto LAB_001bfae8;" goto statement_identifier ;)) })) (if_statement "if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }" if (parenthesized_expression "(*plVar9 != 0)" ( (binary_expression "*plVar9 != 0" (pointer_expression "*plVar9" * identifier) != number_literal) )) (compound_statement "{\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }" { (return_statement "return param_3 + *(int *)(*plVar9 + 0x10);" return (binary_expression "param_3 + *(int *)(*plVar9 + 0x10)" identifier + (pointer_expression "*(int *)(*plVar9 + 0x10)" * (cast_expression "(int *)(*plVar9 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar9 + 0x10)" ( (binary_expression "*plVar9 + 0x10" (pointer_expression "*plVar9" * identifier) + number_literal) ))))) ;) })) })) (labeled_statement "LAB_001bfae8:\n  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);" statement_identifier : (expression_statement "iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);" (assignment_expression "iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff)" identifier = (call_expression "FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff)" identifier (argument_list "(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff)" ( identifier , identifier , (binary_expression "*(uint *)(lVar1 + 8) & 0x7ffffff" (pointer_expression "*(uint *)(lVar1 + 8)" * (cast_expression "(uint *)(lVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) )))) & number_literal) )))) ;)) (return_statement "return iVar4 + param_3;" return (binary_expression "iVar4 + param_3" identifier + identifier) ;) })))
(translation_unit "/* DWARF original prototype: uint64_t do_local_symbol_value(Sized_relobj_file<32,_true> * this, uint\n   symndx, uint64_t addend) */\n\nuint64_t __thiscall\ngold::Sized_relobj_file<32,_true>::do_local_symbol_value\n          (Sized_relobj_file<32,_true> *this,uint symndx,uint64_t addend)\n\n{\n  pointer pSVar1;\n  Merged_symbol_value<32> *this_00;\n  ulong uVar2;\n  _Hash_node_base *p_Var3;\n  Elf_Addr EVar4;\n  Value input_offset;\n  uint uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  _Hash_node_base *p_Var8;\n  __bucket_type p_Var9;\n  __bucket_type p_Var10;\n  \n  uVar7 = (ulong)symndx;\n  pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.\n           _M_impl._M_start;\n  if ((ulong)(((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555) <= uVar7) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");\n  }\n  uVar5 = (uint)addend;\n  if ((char)pSVar1[uVar7].field_0xb < '\0') {\n    return (ulong)(uVar5 + pSVar1[uVar7].u_.value);\n  }\n  if ((pSVar1[uVar7].field_0xb & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x6ab,"value");\n  }\n  this_00 = pSVar1[uVar7].u_.merged_symbol_value;\n  input_offset = this_00->input_value_;\n  if (uVar5 < 0xffffff00) {\n    input_offset = input_offset + uVar5;\n    uVar5 = 0;\n  }\n  uVar2 = (this_00->output_addresses_)._M_h._M_bucket_count;\n  uVar6 = (ulong)input_offset % uVar2;\n  p_Var10 = (this_00->output_addresses_)._M_h._M_buckets[uVar6];\n  if (p_Var10 != (__bucket_type)0x0) {\n    p_Var8 = p_Var10->_M_nxt[1]._M_nxt;\n    p_Var3 = p_Var10->_M_nxt;\n    while (p_Var9 = p_Var3, (_Hash_node_base *)(ulong)input_offset != p_Var8) {\n      p_Var3 = p_Var9->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var8 = p_Var3[1]._M_nxt, p_Var10 = p_Var9, uVar6 != (ulong)p_Var8 % uVar2))\n      goto LAB_001bfae8;\n    }\n    if (p_Var10->_M_nxt != (_Hash_node_base *)0x0) {\n      return (ulong)(uVar5 + *(int *)&p_Var10->_M_nxt[2]._M_nxt);\n    }\n  }\nLAB_001bfae8:\n  EVar4 = Merged_symbol_value<32>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar7].field_0x8 & 0x7ffffff,\n                     input_offset);\n  return (ulong)(EVar4 + uVar5);\n}\n\n" comment (declaration "uint64_t __thiscall\ngold::Sized_relobj_file<32,_true>::do_local_symbol_value\n          (Sized_relobj_file<32,_true> *this,uint symndx,uint64_t addend)\n\n{\n  pointer pSVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::do_local_symbol_value\n          (Sized_relobj_file<32,_true> *this,uint symndx,uint64_t addend)\n\n{\n  pointer" identifier > : : (function_declarator "do_local_symbol_value\n          (Sized_relobj_file<32,_true> *this,uint symndx,uint64_t addend)" identifier (parameter_list "(Sized_relobj_file<32,_true> *this,uint symndx,uint64_t addend)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint symndx" type_identifier identifier) , (parameter_declaration "uint64_t addend" primitive_type identifier) ))) { identifier) identifier ;) (expression_statement "Merged_symbol_value<32> *this_00;" (update_expression "Merged_symbol_value<32> *this_00" (binary_expression "Merged_symbol_value<32> *this_00" (binary_expression "Merged_symbol_value<32" identifier < number_literal) > (pointer_expression "*this_00" * identifier)) --) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "_Hash_node_base *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "Elf_Addr EVar4;" type_identifier identifier ;) (declaration "Value input_offset;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "_Hash_node_base *p_Var8;" type_identifier (pointer_declarator "*p_Var8" * identifier) ;) (declaration "__bucket_type p_Var9;" type_identifier identifier ;) (declaration "__bucket_type p_Var10;" type_identifier identifier ;) (expression_statement "uVar7 = (ulong)symndx;" (assignment_expression "uVar7 = (ulong)symndx" identifier = (cast_expression "(ulong)symndx" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.\n           _M_impl._M_start;" (field_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.\n           _M_impl._M_start" (field_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.\n           _M_impl" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32" (assignment_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold" identifier = (binary_expression "(this->local_values_).\n           super__Vector_base<gold" (field_expression "(this->local_values_).\n           super__Vector_base" (parenthesized_expression "(this->local_values_)" ( (field_expression "this->local_values_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Symbol_value" : : identifier) < number_literal) > (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol_value" : : identifier) < number_literal) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if ((ulong)(((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555) <= uVar7) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");\n  }" if (parenthesized_expression "((ulong)(((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555) <= uVar7)" ( (binary_expression "(ulong)(((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555) <= uVar7" (call_expression "(ulong)(((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555)" ( (binary_expression "((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555" (parenthesized_expression "((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar1 >> 3)" ( (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar1 >> 3" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar1" (field_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish" (field_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold" (cast_expression "(long)(this->local_values_).\n                     super__Vector_base" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(this->local_values_).\n                     super__Vector_base" (parenthesized_expression "(this->local_values_)" ( (field_expression "this->local_values_" identifier -> field_identifier) )) . field_identifier)) < identifier) (ERROR "::Symbol_value" : : identifier) < number_literal) > (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol_value" : : identifier) < number_literal) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(long)pSVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal) )) * number_literal) ))) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");" (call_expression "do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol")" identifier (argument_list "("../../gold/object.h",0x8c1,"local_symbol")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""local_symbol"" " string_content ") ))) ;) })) (expression_statement "uVar5 = (uint)addend;" (assignment_expression "uVar5 = (uint)addend" identifier = (cast_expression "(uint)addend" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((char)pSVar1[uVar7].field_0xb < '\0') {\n    return (ulong)(uVar5 + pSVar1[uVar7].u_.value);\n  }" if (parenthesized_expression "((char)pSVar1[uVar7].field_0xb < '\0')" ( (binary_expression "(char)pSVar1[uVar7].field_0xb < '\0'" (cast_expression "(char)pSVar1[uVar7].field_0xb" ( (type_descriptor "char" primitive_type) ) (field_expression "pSVar1[uVar7].field_0xb" (subscript_expression "pSVar1[uVar7]" identifier [ identifier ]) . field_identifier)) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return (ulong)(uVar5 + pSVar1[uVar7].u_.value);\n  }" { (return_statement "return (ulong)(uVar5 + pSVar1[uVar7].u_.value);" return (call_expression "(ulong)(uVar5 + pSVar1[uVar7].u_.value)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar5 + pSVar1[uVar7].u_.value)" ( (binary_expression "uVar5 + pSVar1[uVar7].u_.value" identifier + (field_expression "pSVar1[uVar7].u_.value" (field_expression "pSVar1[uVar7].u_" (subscript_expression "pSVar1[uVar7]" identifier [ identifier ]) . field_identifier) . field_identifier)) ))) ;) })) (if_statement "if ((pSVar1[uVar7].field_0xb & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x6ab,"value");\n  }" if (parenthesized_expression "((pSVar1[uVar7].field_0xb & 8) == 0)" ( (binary_expression "(pSVar1[uVar7].field_0xb & 8) == 0" (parenthesized_expression "(pSVar1[uVar7].field_0xb & 8)" ( (binary_expression "pSVar1[uVar7].field_0xb & 8" (field_expression "pSVar1[uVar7].field_0xb" (subscript_expression "pSVar1[uVar7]" identifier [ identifier ]) . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x6ab,"value");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x6ab,"value");" (call_expression "do_gold_unreachable("../../gold/object.h",0x6ab,"value")" identifier (argument_list "("../../gold/object.h",0x6ab,"value")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""value"" " string_content ") ))) ;) })) (expression_statement "this_00 = pSVar1[uVar7].u_.merged_symbol_value;" (assignment_expression "this_00 = pSVar1[uVar7].u_.merged_symbol_value" identifier = (field_expression "pSVar1[uVar7].u_.merged_symbol_value" (field_expression "pSVar1[uVar7].u_" (subscript_expression "pSVar1[uVar7]" identifier [ identifier ]) . field_identifier) . field_identifier)) ;) (expression_statement "input_offset = this_00->input_value_;" (assignment_expression "input_offset = this_00->input_value_" identifier = (field_expression "this_00->input_value_" identifier -> field_identifier)) ;) (if_statement "if (uVar5 < 0xffffff00) {\n    input_offset = input_offset + uVar5;\n    uVar5 = 0;\n  }" if (parenthesized_expression "(uVar5 < 0xffffff00)" ( (binary_expression "uVar5 < 0xffffff00" identifier < number_literal) )) (compound_statement "{\n    input_offset = input_offset + uVar5;\n    uVar5 = 0;\n  }" { (expression_statement "input_offset = input_offset + uVar5;" (assignment_expression "input_offset = input_offset + uVar5" identifier = (binary_expression "input_offset + uVar5" identifier + identifier)) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "uVar2 = (this_00->output_addresses_)._M_h._M_bucket_count;" (assignment_expression "uVar2 = (this_00->output_addresses_)._M_h._M_bucket_count" identifier = (field_expression "(this_00->output_addresses_)._M_h._M_bucket_count" (field_expression "(this_00->output_addresses_)._M_h" (parenthesized_expression "(this_00->output_addresses_)" ( (field_expression "this_00->output_addresses_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "uVar6 = (ulong)input_offset % uVar2;" (assignment_expression "uVar6 = (ulong)input_offset % uVar2" identifier = (binary_expression "(ulong)input_offset % uVar2" (cast_expression "(ulong)input_offset" ( (type_descriptor "ulong" type_identifier) ) identifier) % identifier)) ;) (expression_statement "p_Var10 = (this_00->output_addresses_)._M_h._M_buckets[uVar6];" (assignment_expression "p_Var10 = (this_00->output_addresses_)._M_h._M_buckets[uVar6]" identifier = (subscript_expression "(this_00->output_addresses_)._M_h._M_buckets[uVar6]" (field_expression "(this_00->output_addresses_)._M_h._M_buckets" (field_expression "(this_00->output_addresses_)._M_h" (parenthesized_expression "(this_00->output_addresses_)" ( (field_expression "this_00->output_addresses_" identifier -> field_identifier) )) . field_identifier) . field_identifier) [ identifier ])) ;) (if_statement "if (p_Var10 != (__bucket_type)0x0) {\n    p_Var8 = p_Var10->_M_nxt[1]._M_nxt;\n    p_Var3 = p_Var10->_M_nxt;\n    while (p_Var9 = p_Var3, (_Hash_node_base *)(ulong)input_offset != p_Var8) {\n      p_Var3 = p_Var9->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var8 = p_Var3[1]._M_nxt, p_Var10 = p_Var9, uVar6 != (ulong)p_Var8 % uVar2))\n      goto LAB_001bfae8;\n    }\n    if (p_Var10->_M_nxt != (_Hash_node_base *)0x0) {\n      return (ulong)(uVar5 + *(int *)&p_Var10->_M_nxt[2]._M_nxt);\n    }\n  }" if (parenthesized_expression "(p_Var10 != (__bucket_type)0x0)" ( (binary_expression "p_Var10 != (__bucket_type)0x0" identifier != (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal)) )) (compound_statement "{\n    p_Var8 = p_Var10->_M_nxt[1]._M_nxt;\n    p_Var3 = p_Var10->_M_nxt;\n    while (p_Var9 = p_Var3, (_Hash_node_base *)(ulong)input_offset != p_Var8) {\n      p_Var3 = p_Var9->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var8 = p_Var3[1]._M_nxt, p_Var10 = p_Var9, uVar6 != (ulong)p_Var8 % uVar2))\n      goto LAB_001bfae8;\n    }\n    if (p_Var10->_M_nxt != (_Hash_node_base *)0x0) {\n      return (ulong)(uVar5 + *(int *)&p_Var10->_M_nxt[2]._M_nxt);\n    }\n  }" { (expression_statement "p_Var8 = p_Var10->_M_nxt[1]._M_nxt;" (assignment_expression "p_Var8 = p_Var10->_M_nxt[1]._M_nxt" identifier = (field_expression "p_Var10->_M_nxt[1]._M_nxt" (subscript_expression "p_Var10->_M_nxt[1]" (field_expression "p_Var10->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "p_Var3 = p_Var10->_M_nxt;" (assignment_expression "p_Var3 = p_Var10->_M_nxt" identifier = (field_expression "p_Var10->_M_nxt" identifier -> field_identifier)) ;) (while_statement "while (p_Var9 = p_Var3, (_Hash_node_base *)(ulong)input_offset != p_Var8) {\n      p_Var3 = p_Var9->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var8 = p_Var3[1]._M_nxt, p_Var10 = p_Var9, uVar6 != (ulong)p_Var8 % uVar2))\n      goto LAB_001bfae8;\n    }" while (parenthesized_expression "(p_Var9 = p_Var3, (_Hash_node_base *)(ulong)input_offset != p_Var8)" ( (comma_expression "p_Var9 = p_Var3, (_Hash_node_base *)(ulong)input_offset != p_Var8" (assignment_expression "p_Var9 = p_Var3" identifier = identifier) , (binary_expression "(_Hash_node_base *)(ulong)input_offset != p_Var8" (cast_expression "(_Hash_node_base *)(ulong)input_offset" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(ulong)input_offset" ( (type_descriptor "ulong" type_identifier) ) identifier)) != identifier)) )) (compound_statement "{\n      p_Var3 = p_Var9->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var8 = p_Var3[1]._M_nxt, p_Var10 = p_Var9, uVar6 != (ulong)p_Var8 % uVar2))\n      goto LAB_001bfae8;\n    }" { (expression_statement "p_Var3 = p_Var9->_M_nxt;" (assignment_expression "p_Var3 = p_Var9->_M_nxt" identifier = (field_expression "p_Var9->_M_nxt" identifier -> field_identifier)) ;) (if_statement "if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var8 = p_Var3[1]._M_nxt, p_Var10 = p_Var9, uVar6 != (ulong)p_Var8 % uVar2))\n      goto LAB_001bfae8;" if (parenthesized_expression "((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var8 = p_Var3[1]._M_nxt, p_Var10 = p_Var9, uVar6 != (ulong)p_Var8 % uVar2))" ( (binary_expression "(p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var8 = p_Var3[1]._M_nxt, p_Var10 = p_Var9, uVar6 != (ulong)p_Var8 % uVar2)" (parenthesized_expression "(p_Var3 == (_Hash_node_base *)0x0)" ( (binary_expression "p_Var3 == (_Hash_node_base *)0x0" identifier == (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(p_Var8 = p_Var3[1]._M_nxt, p_Var10 = p_Var9, uVar6 != (ulong)p_Var8 % uVar2)" ( (comma_expression "p_Var8 = p_Var3[1]._M_nxt, p_Var10 = p_Var9, uVar6 != (ulong)p_Var8 % uVar2" (assignment_expression "p_Var8 = p_Var3[1]._M_nxt" identifier = (field_expression "p_Var3[1]._M_nxt" (subscript_expression "p_Var3[1]" identifier [ number_literal ]) . field_identifier)) , (comma_expression "p_Var10 = p_Var9, uVar6 != (ulong)p_Var8 % uVar2" (assignment_expression "p_Var10 = p_Var9" identifier = identifier) , (binary_expression "uVar6 != (ulong)p_Var8 % uVar2" identifier != (binary_expression "(ulong)p_Var8 % uVar2" (cast_expression "(ulong)p_Var8" ( (type_descriptor "ulong" type_identifier) ) identifier) % identifier)))) ))) )) (goto_statement "goto LAB_001bfae8;" goto statement_identifier ;)) })) (if_statement "if (p_Var10->_M_nxt != (_Hash_node_base *)0x0) {\n      return (ulong)(uVar5 + *(int *)&p_Var10->_M_nxt[2]._M_nxt);\n    }" if (parenthesized_expression "(p_Var10->_M_nxt != (_Hash_node_base *)0x0)" ( (binary_expression "p_Var10->_M_nxt != (_Hash_node_base *)0x0" (field_expression "p_Var10->_M_nxt" identifier -> field_identifier) != (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (ulong)(uVar5 + *(int *)&p_Var10->_M_nxt[2]._M_nxt);\n    }" { (return_statement "return (ulong)(uVar5 + *(int *)&p_Var10->_M_nxt[2]._M_nxt);" return (call_expression "(ulong)(uVar5 + *(int *)&p_Var10->_M_nxt[2]._M_nxt)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar5 + *(int *)&p_Var10->_M_nxt[2]._M_nxt)" ( (binary_expression "uVar5 + *(int *)&p_Var10->_M_nxt[2]._M_nxt" identifier + (pointer_expression "*(int *)&p_Var10->_M_nxt[2]._M_nxt" * (cast_expression "(int *)&p_Var10->_M_nxt[2]._M_nxt" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p_Var10->_M_nxt[2]._M_nxt" & (field_expression "p_Var10->_M_nxt[2]._M_nxt" (subscript_expression "p_Var10->_M_nxt[2]" (field_expression "p_Var10->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier))))) ))) ;) })) })) (labeled_statement "LAB_001bfae8:\n  EVar4 = Merged_symbol_value<32>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar7].field_0x8 & 0x7ffffff,\n                     input_offset);" statement_identifier : (expression_statement "EVar4 = Merged_symbol_value<32>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar7].field_0x8 & 0x7ffffff,\n                     input_offset);" (assignment_expression "EVar4 = Merged_symbol_value<32>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar7].field_0x8 & 0x7ffffff,\n                     input_offset)" identifier = (binary_expression "Merged_symbol_value<32>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar7].field_0x8 & 0x7ffffff,\n                     input_offset)" (binary_expression "Merged_symbol_value<32" identifier < number_literal) > (ERROR "::" : :) (call_expression "value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar7].field_0x8 & 0x7ffffff,\n                     input_offset)" identifier (argument_list "(this_00,(Relobj *)this,*(uint *)&pSVar1[uVar7].field_0x8 & 0x7ffffff,\n                     input_offset)" ( identifier , (cast_expression "(Relobj *)this" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (binary_expression "*(uint *)&pSVar1[uVar7].field_0x8 & 0x7ffffff" (pointer_expression "*(uint *)&pSVar1[uVar7].field_0x8" * (cast_expression "(uint *)&pSVar1[uVar7].field_0x8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pSVar1[uVar7].field_0x8" & (field_expression "pSVar1[uVar7].field_0x8" (subscript_expression "pSVar1[uVar7]" identifier [ identifier ]) . field_identifier)))) & number_literal) , identifier ))))) ;)) (return_statement "return (ulong)(EVar4 + uVar5);" return (call_expression "(ulong)(EVar4 + uVar5)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(EVar4 + uVar5)" ( (binary_expression "EVar4 + uVar5" identifier + identifier) ))) ;) (ERROR "}" }))
(translation_unit "int FUN_001bf9f0(long param_1,uint param_2,uint param_3)\n\n{\n  long lVar1;\n  uint *puVar2;\n  long *plVar3;\n  int iVar4;\n  uint uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long *plVar8;\n  long *plVar9;\n  \n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }\n  lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar1 + 0xb) < '\0') {\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }\n  if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar2 = *(uint **)(lVar1 + 0x10);\n  uVar5 = *puVar2;\n  if (param_3 < 0xffffff00) {\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }\n  uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);\n  plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);\n  if (plVar9 != (long *)0x0) {\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }\nLAB_001bfae8:\n  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);\n  return iVar4 + param_3;\n}\n\n" (function_definition "int FUN_001bf9f0(long param_1,uint param_2,uint param_3)\n\n{\n  long lVar1;\n  uint *puVar2;\n  long *plVar3;\n  int iVar4;\n  uint uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long *plVar8;\n  long *plVar9;\n  \n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }\n  lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar1 + 0xb) < '\0') {\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }\n  if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar2 = *(uint **)(lVar1 + 0x10);\n  uVar5 = *puVar2;\n  if (param_3 < 0xffffff00) {\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }\n  uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);\n  plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);\n  if (plVar9 != (long *)0x0) {\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }\nLAB_001bfae8:\n  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);\n  return iVar4 + param_3;\n}" primitive_type (function_declarator "FUN_001bf9f0(long param_1,uint param_2,uint param_3)" identifier (parameter_list "(long param_1,uint param_2,uint param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  uint *puVar2;\n  long *plVar3;\n  int iVar4;\n  uint uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long *plVar8;\n  long *plVar9;\n  \n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }\n  lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar1 + 0xb) < '\0') {\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }\n  if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar2 = *(uint **)(lVar1 + 0x10);\n  uVar5 = *puVar2;\n  if (param_3 < 0xffffff00) {\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }\n  uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);\n  plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);\n  if (plVar9 != (long *)0x0) {\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }\nLAB_001bfae8:\n  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);\n  return iVar4 + param_3;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "long *plVar8;" (sized_type_specifier "long" long) (pointer_declarator "*plVar8" * identifier) ;) (declaration "long *plVar9;" (sized_type_specifier "long" long) (pointer_declarator "*plVar9" * identifier) ;) (if_statement "if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }" if (parenthesized_expression "((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2)" ( (binary_expression "(ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2" (call_expression "(ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" ( (binary_expression "(*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555" (parenthesized_expression "(*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3)" ( (binary_expression "*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3" (binary_expression "*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160)" (pointer_expression "*(long *)(param_1 + 0x168)" * (cast_expression "(long *)(param_1 + 0x168)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x168)" ( (binary_expression "param_1 + 0x168" identifier + number_literal) )))) - (pointer_expression "*(long *)(param_1 + 0x160)" * (cast_expression "(long *)(param_1 + 0x160)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x160)" ( (binary_expression "param_1 + 0x160" identifier + number_literal) ))))) >> number_literal) )) * number_literal) ))) <= (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier)) )) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }" { (expression_statement "FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");" (call_expression "FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol")" identifier (argument_list "("../../gold/object.h",0x8c1,"local_symbol")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""local_symbol"" " string_content ") ))) ;) })) (expression_statement "lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;" (assignment_expression "lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" identifier = (binary_expression "*(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" (pointer_expression "*(long *)(param_1 + 0x160)" * (cast_expression "(long *)(param_1 + 0x160)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x160)" ( (binary_expression "param_1 + 0x160" identifier + number_literal) )))) + (binary_expression "(ulong)param_2 * 0x18" (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal))) ;) (if_statement "if ((char)*(byte *)(lVar1 + 0xb) < '\0') {\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }" if (parenthesized_expression "((char)*(byte *)(lVar1 + 0xb) < '\0')" ( (binary_expression "(char)*(byte *)(lVar1 + 0xb) < '\0'" (cast_expression "(char)*(byte *)(lVar1 + 0xb)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(byte *)(lVar1 + 0xb)" * (cast_expression "(byte *)(lVar1 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xb)" ( (binary_expression "lVar1 + 0xb" identifier + number_literal) ))))) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }" { (return_statement "return param_3 + *(int *)(lVar1 + 0x10);" return (binary_expression "param_3 + *(int *)(lVar1 + 0x10)" identifier + (pointer_expression "*(int *)(lVar1 + 0x10)" * (cast_expression "(int *)(lVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) })) (if_statement "if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }" if (parenthesized_expression "((*(byte *)(lVar1 + 0xb) & 8) == 0)" ( (binary_expression "(*(byte *)(lVar1 + 0xb) & 8) == 0" (parenthesized_expression "(*(byte *)(lVar1 + 0xb) & 8)" ( (binary_expression "*(byte *)(lVar1 + 0xb) & 8" (pointer_expression "*(byte *)(lVar1 + 0xb)" * (cast_expression "(byte *)(lVar1 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xb)" ( (binary_expression "lVar1 + 0xb" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }" { (expression_statement "FUN_0017c650("../../gold/object.h",0x6ab,"value");" (call_expression "FUN_0017c650("../../gold/object.h",0x6ab,"value")" identifier (argument_list "("../../gold/object.h",0x6ab,"value")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""value"" " string_content ") ))) ;) })) (expression_statement "puVar2 = *(uint **)(lVar1 + 0x10);" (assignment_expression "puVar2 = *(uint **)(lVar1 + 0x10)" identifier = (pointer_expression "*(uint **)(lVar1 + 0x10)" * (cast_expression "(uint **)(lVar1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (if_statement "if (param_3 < 0xffffff00) {\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }" if (parenthesized_expression "(param_3 < 0xffffff00)" ( (binary_expression "param_3 < 0xffffff00" identifier < number_literal) )) (compound_statement "{\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }" { (expression_statement "uVar5 = uVar5 + param_3;" (assignment_expression "uVar5 = uVar5 + param_3" identifier = (binary_expression "uVar5 + param_3" identifier + identifier)) ;) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" identifier = number_literal) ;) })) (expression_statement "uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);" (assignment_expression "uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4)" identifier = (binary_expression "(ulong)uVar5 % *(ulong *)(puVar2 + 4)" (cast_expression "(ulong)uVar5" ( (type_descriptor "ulong" type_identifier) ) identifier) % (pointer_expression "*(ulong *)(puVar2 + 4)" * (cast_expression "(ulong *)(puVar2 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 4)" ( (binary_expression "puVar2 + 4" identifier + number_literal) )))))) ;) (expression_statement "plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);" (assignment_expression "plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8)" identifier = (pointer_expression "*(long **)(*(long *)(puVar2 + 2) + uVar6 * 8)" * (cast_expression "(long **)(*(long *)(puVar2 + 2) + uVar6 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(puVar2 + 2) + uVar6 * 8)" ( (binary_expression "*(long *)(puVar2 + 2) + uVar6 * 8" (pointer_expression "*(long *)(puVar2 + 2)" * (cast_expression "(long *)(puVar2 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 2)" ( (binary_expression "puVar2 + 2" identifier + number_literal) )))) + (binary_expression "uVar6 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar9 != (long *)0x0) {\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }" if (parenthesized_expression "(plVar9 != (long *)0x0)" ( (binary_expression "plVar9 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }" { (expression_statement "uVar7 = ((long *)*plVar9)[1];" (assignment_expression "uVar7 = ((long *)*plVar9)[1]" identifier = (subscript_expression "((long *)*plVar9)[1]" (parenthesized_expression "((long *)*plVar9)" ( (cast_expression "(long *)*plVar9" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar9" * identifier)) )) [ number_literal ])) ;) (expression_statement "plVar3 = (long *)*plVar9;" (assignment_expression "plVar3 = (long *)*plVar9" identifier = (cast_expression "(long *)*plVar9" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar9" * identifier))) ;) (while_statement "while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }" while (parenthesized_expression "(plVar8 = plVar3, uVar5 != uVar7)" ( (comma_expression "plVar8 = plVar3, uVar5 != uVar7" (assignment_expression "plVar8 = plVar3" identifier = identifier) , (binary_expression "uVar5 != uVar7" identifier != identifier)) )) (compound_statement "{\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }" { (expression_statement "plVar3 = (long *)*plVar8;" (assignment_expression "plVar3 = (long *)*plVar8" identifier = (cast_expression "(long *)*plVar8" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar8" * identifier))) ;) (if_statement "if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;" if (parenthesized_expression "((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))" ( (binary_expression "(plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4))" (parenthesized_expression "(plVar3 == (long *)0x0)" ( (binary_expression "plVar3 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4))" ( (comma_expression "uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)" (assignment_expression "uVar7 = plVar3[1]" identifier = (subscript_expression "plVar3[1]" identifier [ number_literal ])) , (comma_expression "plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)" (assignment_expression "plVar9 = plVar8" identifier = identifier) , (binary_expression "uVar6 != uVar7 % *(ulong *)(puVar2 + 4)" identifier != (binary_expression "uVar7 % *(ulong *)(puVar2 + 4)" identifier % (pointer_expression "*(ulong *)(puVar2 + 4)" * (cast_expression "(ulong *)(puVar2 + 4)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 4)" ( (binary_expression "puVar2 + 4" identifier + number_literal) )))))))) ))) )) (goto_statement "goto LAB_001bfae8;" goto statement_identifier ;)) })) (if_statement "if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }" if (parenthesized_expression "(*plVar9 != 0)" ( (binary_expression "*plVar9 != 0" (pointer_expression "*plVar9" * identifier) != number_literal) )) (compound_statement "{\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }" { (return_statement "return param_3 + *(int *)(*plVar9 + 0x10);" return (binary_expression "param_3 + *(int *)(*plVar9 + 0x10)" identifier + (pointer_expression "*(int *)(*plVar9 + 0x10)" * (cast_expression "(int *)(*plVar9 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar9 + 0x10)" ( (binary_expression "*plVar9 + 0x10" (pointer_expression "*plVar9" * identifier) + number_literal) ))))) ;) })) })) (labeled_statement "LAB_001bfae8:\n  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);" statement_identifier : (expression_statement "iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);" (assignment_expression "iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff)" identifier = (call_expression "FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff)" identifier (argument_list "(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff)" ( identifier , identifier , (binary_expression "*(uint *)(lVar1 + 8) & 0x7ffffff" (pointer_expression "*(uint *)(lVar1 + 8)" * (cast_expression "(uint *)(lVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) )))) & number_literal) )))) ;)) (return_statement "return iVar4 + param_3;" return (binary_expression "iVar4 + param_3" identifier + identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) >> LIT) )) * LIT) ))) <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) < (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )) [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (binary_expression IDENT % (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))))) ))) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (return_statement return (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )))) ;)) (return_statement return (binary_expression IDENT + IDENT) ;) })))
(function_definition "int FUN_001bf9f0(long param_1,uint param_2,uint param_3)\n\n{\n  long lVar1;\n  uint *puVar2;\n  long *plVar3;\n  int iVar4;\n  uint uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long *plVar8;\n  long *plVar9;\n  \n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }\n  lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar1 + 0xb) < '\0') {\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }\n  if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar2 = *(uint **)(lVar1 + 0x10);\n  uVar5 = *puVar2;\n  if (param_3 < 0xffffff00) {\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }\n  uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);\n  plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);\n  if (plVar9 != (long *)0x0) {\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }\nLAB_001bfae8:\n  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);\n  return iVar4 + param_3;\n}" (primitive_type "int") (function_declarator "FUN_001bf9f0(long param_1,uint param_2,uint param_3)" (identifier "FUN_001bf9f0") (parameter_list "(long param_1,uint param_2,uint param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  long lVar1;\n  uint *puVar2;\n  long *plVar3;\n  int iVar4;\n  uint uVar5;\n  ulong uVar6;\n  ulong uVar7;\n  long *plVar8;\n  long *plVar9;\n  \n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }\n  lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar1 + 0xb) < '\0') {\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }\n  if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar2 = *(uint **)(lVar1 + 0x10);\n  uVar5 = *puVar2;\n  if (param_3 < 0xffffff00) {\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }\n  uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);\n  plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);\n  if (plVar9 != (long *)0x0) {\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }\nLAB_001bfae8:\n  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);\n  return iVar4 + param_3;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "long *plVar3;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar3" (* "*") (identifier "plVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "ulong uVar6;" (type_identifier "ulong") (identifier "uVar6") (; ";")) (declaration "ulong uVar7;" (type_identifier "ulong") (identifier "uVar7") (; ";")) (declaration "long *plVar8;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar8" (* "*") (identifier "plVar8")) (; ";")) (declaration "long *plVar9;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar9" (* "*") (identifier "plVar9")) (; ";")) (if_statement "if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }" (if "if") (parenthesized_expression "((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2)" (( "(") (binary_expression "(ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2" (call_expression "(ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" (( "(") (binary_expression "(*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555" (parenthesized_expression "(*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3)" (( "(") (binary_expression "*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3" (binary_expression "*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160)" (pointer_expression "*(long *)(param_1 + 0x168)" (* "*") (cast_expression "(long *)(param_1 + 0x168)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x168)" (( "(") (binary_expression "param_1 + 0x168" (identifier "param_1") (+ "+") (number_literal "0x168")) () ")")))) (- "-") (pointer_expression "*(long *)(param_1 + 0x160)" (* "*") (cast_expression "(long *)(param_1 + 0x160)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x160)" (( "(") (binary_expression "param_1 + 0x160" (identifier "param_1") (+ "+") (number_literal "0x160")) () ")"))))) (>> ">>") (number_literal "3")) () ")")) (* "*") (number_literal "-0x5555555555555555")) () ")"))) (<= "<=") (cast_expression "(ulong)param_2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_2"))) () ")")) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");\n  }" ({ "{") (expression_statement "FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");" (call_expression "FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol")" (identifier "FUN_0017c650") (argument_list "("../../gold/object.h",0x8c1,"local_symbol")" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x8c1") (, ",") (string_literal ""local_symbol"" (" """) (string_content "local_symbol") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;" (assignment_expression "lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" (identifier "lVar1") (= "=") (binary_expression "*(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" (pointer_expression "*(long *)(param_1 + 0x160)" (* "*") (cast_expression "(long *)(param_1 + 0x160)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x160)" (( "(") (binary_expression "param_1 + 0x160" (identifier "param_1") (+ "+") (number_literal "0x160")) () ")")))) (+ "+") (binary_expression "(ulong)param_2 * 0x18" (cast_expression "(ulong)param_2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_2")) (* "*") (number_literal "0x18")))) (; ";")) (if_statement "if ((char)*(byte *)(lVar1 + 0xb) < '\0') {\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }" (if "if") (parenthesized_expression "((char)*(byte *)(lVar1 + 0xb) < '\0')" (( "(") (binary_expression "(char)*(byte *)(lVar1 + 0xb) < '\0'" (cast_expression "(char)*(byte *)(lVar1 + 0xb)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(byte *)(lVar1 + 0xb)" (* "*") (cast_expression "(byte *)(lVar1 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0xb)" (( "(") (binary_expression "lVar1 + 0xb" (identifier "lVar1") (+ "+") (number_literal "0xb")) () ")"))))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return param_3 + *(int *)(lVar1 + 0x10);\n  }" ({ "{") (return_statement "return param_3 + *(int *)(lVar1 + 0x10);" (return "return") (binary_expression "param_3 + *(int *)(lVar1 + 0x10)" (identifier "param_3") (+ "+") (pointer_expression "*(int *)(lVar1 + 0x10)" (* "*") (cast_expression "(int *)(lVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x10)" (( "(") (binary_expression "lVar1 + 0x10" (identifier "lVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}"))) (if_statement "if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }" (if "if") (parenthesized_expression "((*(byte *)(lVar1 + 0xb) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(lVar1 + 0xb) & 8) == 0" (parenthesized_expression "(*(byte *)(lVar1 + 0xb) & 8)" (( "(") (binary_expression "*(byte *)(lVar1 + 0xb) & 8" (pointer_expression "*(byte *)(lVar1 + 0xb)" (* "*") (cast_expression "(byte *)(lVar1 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0xb)" (( "(") (binary_expression "lVar1 + 0xb" (identifier "lVar1") (+ "+") (number_literal "0xb")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }" ({ "{") (expression_statement "FUN_0017c650("../../gold/object.h",0x6ab,"value");" (call_expression "FUN_0017c650("../../gold/object.h",0x6ab,"value")" (identifier "FUN_0017c650") (argument_list "("../../gold/object.h",0x6ab,"value")" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x6ab") (, ",") (string_literal ""value"" (" """) (string_content "value") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar2 = *(uint **)(lVar1 + 0x10);" (assignment_expression "puVar2 = *(uint **)(lVar1 + 0x10)" (identifier "puVar2") (= "=") (pointer_expression "*(uint **)(lVar1 + 0x10)" (* "*") (cast_expression "(uint **)(lVar1 + 0x10)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x10)" (( "(") (binary_expression "lVar1 + 0x10" (identifier "lVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar5 = *puVar2;" (assignment_expression "uVar5 = *puVar2" (identifier "uVar5") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (if_statement "if (param_3 < 0xffffff00) {\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }" (if "if") (parenthesized_expression "(param_3 < 0xffffff00)" (( "(") (binary_expression "param_3 < 0xffffff00" (identifier "param_3") (< "<") (number_literal "0xffffff00")) () ")")) (compound_statement "{\n    uVar5 = uVar5 + param_3;\n    param_3 = 0;\n  }" ({ "{") (expression_statement "uVar5 = uVar5 + param_3;" (assignment_expression "uVar5 = uVar5 + param_3" (identifier "uVar5") (= "=") (binary_expression "uVar5 + param_3" (identifier "uVar5") (+ "+") (identifier "param_3"))) (; ";")) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" (identifier "param_3") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);" (assignment_expression "uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4)" (identifier "uVar6") (= "=") (binary_expression "(ulong)uVar5 % *(ulong *)(puVar2 + 4)" (cast_expression "(ulong)uVar5" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar5")) (% "%") (pointer_expression "*(ulong *)(puVar2 + 4)" (* "*") (cast_expression "(ulong *)(puVar2 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 4)" (( "(") (binary_expression "puVar2 + 4" (identifier "puVar2") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);" (assignment_expression "plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8)" (identifier "plVar9") (= "=") (pointer_expression "*(long **)(*(long *)(puVar2 + 2) + uVar6 * 8)" (* "*") (cast_expression "(long **)(*(long *)(puVar2 + 2) + uVar6 * 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(puVar2 + 2) + uVar6 * 8)" (( "(") (binary_expression "*(long *)(puVar2 + 2) + uVar6 * 8" (pointer_expression "*(long *)(puVar2 + 2)" (* "*") (cast_expression "(long *)(puVar2 + 2)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 2)" (( "(") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2")) () ")")))) (+ "+") (binary_expression "uVar6 * 8" (identifier "uVar6") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if (plVar9 != (long *)0x0) {\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }" (if "if") (parenthesized_expression "(plVar9 != (long *)0x0)" (( "(") (binary_expression "plVar9 != (long *)0x0" (identifier "plVar9") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar7 = ((long *)*plVar9)[1];\n    plVar3 = (long *)*plVar9;\n    while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }\n    if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }\n  }" ({ "{") (expression_statement "uVar7 = ((long *)*plVar9)[1];" (assignment_expression "uVar7 = ((long *)*plVar9)[1]" (identifier "uVar7") (= "=") (subscript_expression "((long *)*plVar9)[1]" (parenthesized_expression "((long *)*plVar9)" (( "(") (cast_expression "(long *)*plVar9" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar9" (* "*") (identifier "plVar9"))) () ")")) ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "plVar3 = (long *)*plVar9;" (assignment_expression "plVar3 = (long *)*plVar9" (identifier "plVar3") (= "=") (cast_expression "(long *)*plVar9" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar9" (* "*") (identifier "plVar9")))) (; ";")) (while_statement "while (plVar8 = plVar3, uVar5 != uVar7) {\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }" (while "while") (parenthesized_expression "(plVar8 = plVar3, uVar5 != uVar7)" (( "(") (comma_expression "plVar8 = plVar3, uVar5 != uVar7" (assignment_expression "plVar8 = plVar3" (identifier "plVar8") (= "=") (identifier "plVar3")) (, ",") (binary_expression "uVar5 != uVar7" (identifier "uVar5") (!= "!=") (identifier "uVar7"))) () ")")) (compound_statement "{\n      plVar3 = (long *)*plVar8;\n      if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;\n    }" ({ "{") (expression_statement "plVar3 = (long *)*plVar8;" (assignment_expression "plVar3 = (long *)*plVar8" (identifier "plVar3") (= "=") (cast_expression "(long *)*plVar8" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar8" (* "*") (identifier "plVar8")))) (; ";")) (if_statement "if ((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))\n      goto LAB_001bfae8;" (if "if") (parenthesized_expression "((plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))" (( "(") (binary_expression "(plVar3 == (long *)0x0) ||\n         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4))" (parenthesized_expression "(plVar3 == (long *)0x0)" (( "(") (binary_expression "plVar3 == (long *)0x0" (identifier "plVar3") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4))" (( "(") (comma_expression "uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)" (assignment_expression "uVar7 = plVar3[1]" (identifier "uVar7") (= "=") (subscript_expression "plVar3[1]" (identifier "plVar3") ([ "[") (number_literal "1") (] "]"))) (, ",") (comma_expression "plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)" (assignment_expression "plVar9 = plVar8" (identifier "plVar9") (= "=") (identifier "plVar8")) (, ",") (binary_expression "uVar6 != uVar7 % *(ulong *)(puVar2 + 4)" (identifier "uVar6") (!= "!=") (binary_expression "uVar7 % *(ulong *)(puVar2 + 4)" (identifier "uVar7") (% "%") (pointer_expression "*(ulong *)(puVar2 + 4)" (* "*") (cast_expression "(ulong *)(puVar2 + 4)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 4)" (( "(") (binary_expression "puVar2 + 4" (identifier "puVar2") (+ "+") (number_literal "4")) () ")")))))))) () ")"))) () ")")) (goto_statement "goto LAB_001bfae8;" (goto "goto") (statement_identifier "LAB_001bfae8") (; ";"))) (} "}"))) (if_statement "if (*plVar9 != 0) {\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }" (if "if") (parenthesized_expression "(*plVar9 != 0)" (( "(") (binary_expression "*plVar9 != 0" (pointer_expression "*plVar9" (* "*") (identifier "plVar9")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return param_3 + *(int *)(*plVar9 + 0x10);\n    }" ({ "{") (return_statement "return param_3 + *(int *)(*plVar9 + 0x10);" (return "return") (binary_expression "param_3 + *(int *)(*plVar9 + 0x10)" (identifier "param_3") (+ "+") (pointer_expression "*(int *)(*plVar9 + 0x10)" (* "*") (cast_expression "(int *)(*plVar9 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*plVar9 + 0x10)" (( "(") (binary_expression "*plVar9 + 0x10" (pointer_expression "*plVar9" (* "*") (identifier "plVar9")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_001bfae8:\n  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);" (statement_identifier "LAB_001bfae8") (: ":") (expression_statement "iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);" (assignment_expression "iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff)" (identifier "iVar4") (= "=") (call_expression "FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff)" (identifier "FUN_00244760") (argument_list "(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff)" (( "(") (identifier "puVar2") (, ",") (identifier "param_1") (, ",") (binary_expression "*(uint *)(lVar1 + 8) & 0x7ffffff" (pointer_expression "*(uint *)(lVar1 + 8)" (* "*") (cast_expression "(uint *)(lVar1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 8)" (( "(") (binary_expression "lVar1 + 8" (identifier "lVar1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x7ffffff")) () ")")))) (; ";"))) (return_statement "return iVar4 + param_3;" (return "return") (binary_expression "iVar4 + param_3" (identifier "iVar4") (+ "+") (identifier "param_3")) (; ";")) (} "}")))

/* DWARF original prototype: uint64_t do_local_symbol_value(Sized_relobj_file<32,_true> * this, uint
   symndx, uint64_t addend) */

uint64_t __thiscall
var_2::Sized_relobj_file<32,_true>::do_local_symbol_value
          (Sized_relobj_file<32,_true> *this,type_5 symndx,uint64_t addend)

{
  pointer pSVar1;
  var_1<32> *this_00;
  type_1 var_9;
  type_2 *var_12;
  type_3 var_15;
  type_4 var_8;
  type_5 var_7;
  type_1 var_13;
  type_1 var_5;
  type_2 *var_11;
  type_6 p_Var9;
  type_6 var_10;
  
  var_5 = (type_1)symndx;
  pSVar1 = (this->local_values_).
           super__Vector_base<var_2::Symbol_value<32>,var_3::allocator<var_2::Symbol_value<32>var_4>var_4>.
           _M_impl._M_start;
  if ((type_1)(((long)(this->local_values_).
                     super__Vector_base<var_2::Symbol_value<32>,var_3::allocator<var_2::Symbol_value<32>var_4>var_4>
                     ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555) <= var_5) {
                    /* WARNING: Subroutine does not return */
    var_6("../../gold/object.h",0x8c1,"local_symbol");
  }
  var_7 = (type_5)addend;
  if ((char)pSVar1[var_5].field_0xb < '\0') {
    return (type_1)(var_7 + pSVar1[var_5].u_.value);
  }
  if ((pSVar1[var_5].field_0xb & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    var_6("../../gold/object.h",0x6ab,"value");
  }
  this_00 = pSVar1[var_5].u_.merged_symbol_value;
  var_8 = this_00->input_value_;
  if (var_7 < 0xffffff00) {
    var_8 = var_8 + var_7;
    var_7 = 0;
  }
  var_9 = (this_00->output_addresses_)._M_h._M_bucket_count;
  var_13 = (type_1)var_8 % var_9;
  var_10 = (this_00->output_addresses_)._M_h._M_buckets[var_13];
  if (var_10 != (type_6)0x0) {
    var_11 = var_10->_M_nxt[1]._M_nxt;
    var_12 = var_10->_M_nxt;
    while (p_Var9 = var_12, (type_2 *)(type_1)var_8 != var_11) {
      var_12 = p_Var9->_M_nxt;
      if ((var_12 == (type_2 *)0x0) ||
         (var_11 = var_12[1]._M_nxt, var_10 = p_Var9, var_13 != (type_1)var_11 % var_9))
      goto LAB_001bfae8;
    }
    if (var_10->_M_nxt != (type_2 *)0x0) {
      return (type_1)(var_7 + *(int *)&var_10->_M_nxt[2]._M_nxt);
    }
  }
LAB_001bfae8:
  var_15 = var_1<32>::var_14
                    (this_00,(type_7 *)this,*(type_5 *)&pSVar1[var_5].field_0x8 & 0x7ffffff,
                     var_8);
  return (type_1)(var_15 + var_7);
}


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

int MASKED(long param_1,uint param_2,uint param_3)

{
  long lVar1;
  uint *puVar2;
  long *plVar3;
  int iVar4;
  uint uVar5;
  ulong uVar6;
  ulong uVar7;
  long *plVar8;
  long *plVar9;
  
  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)
      <= (ulong)param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");
  }
  lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;
  if ((char)*(byte *)(lVar1 + 0xb) < '\0') {
    return param_3 + *(int *)(lVar1 + 0x10);
  }
  if ((*(byte *)(lVar1 + 0xb) & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/object.h",0x6ab,"value");
  }
  puVar2 = *(uint **)(lVar1 + 0x10);
  uVar5 = *puVar2;
  if (param_3 < 0xffffff00) {
    uVar5 = uVar5 + param_3;
    param_3 = 0;
  }
  uVar6 = (ulong)uVar5 % *(ulong *)(puVar2 + 4);
  plVar9 = *(long **)(*(long *)(puVar2 + 2) + uVar6 * 8);
  if (plVar9 != (long *)0x0) {
    uVar7 = ((long *)*plVar9)[1];
    plVar3 = (long *)*plVar9;
    while (plVar8 = plVar3, uVar5 != uVar7) {
      plVar3 = (long *)*plVar8;
      if ((plVar3 == (long *)0x0) ||
         (uVar7 = plVar3[1], plVar9 = plVar8, uVar6 != uVar7 % *(ulong *)(puVar2 + 4)))
      goto LAB_001bfae8;
    }
    if (*plVar9 != 0) {
      return param_3 + *(int *)(*plVar9 + 0x10);
    }
  }
LAB_001bfae8:
  iVar4 = FUN_00244760(puVar2,param_1,*(uint *)(lVar1 + 8) & 0x7ffffff);
  return iVar4 + param_3;
}

