
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* 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;
  uint uVar2;
  _Hash_node_base *p_Var3;
  Elf_Addr EVar4;
  uint uVar5;
  _Hash_node_base *p_Var6;
  __bucket_type p_Var7;
  __bucket_type p_Var8;
  _Hash_node_base *local_30;
  uint local_2c;
  
  pSVar1 = (this->local_values_).
           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.
           _M_impl._M_start;
  if ((uint)((int)(this->local_values_).
                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>
                  ._M_impl._M_finish - (int)pSVar1 >> 4) <= symndx) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");
  }
  local_2c = (uint)addend;
  if ((char)pSVar1[symndx].field_0xb < '\0') {
    return (uint64_t)((int)&(pSVar1[symndx].u_.merged_symbol_value)->input_value_ + (uint)addend);
  }
  if ((pSVar1[symndx].field_0xb & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/object.h",0x6ab,"value");
  }
  this_00 = pSVar1[symndx].u_.merged_symbol_value;
  local_30 = (_Hash_node_base *)this_00->input_value_;
  if ((uint)addend < 0xffffff00) {
    local_30 = (_Hash_node_base *)((int)&local_30->_M_nxt + (uint)addend);
    local_2c = 0;
  }
  uVar2 = (this_00->output_addresses_)._M_h._M_bucket_count;
  uVar5 = (uint)local_30 % uVar2;
  p_Var8 = (this_00->output_addresses_)._M_h._M_buckets[uVar5];
  if (p_Var8 != (__bucket_type)0x0) {
    p_Var6 = p_Var8->_M_nxt[1]._M_nxt;
    p_Var3 = p_Var8->_M_nxt;
    while (p_Var7 = p_Var3, local_30 != p_Var6) {
      p_Var3 = p_Var7->_M_nxt;
      if ((p_Var3 == (_Hash_node_base *)0x0) ||
         (p_Var6 = p_Var3[1]._M_nxt, p_Var8 = p_Var7, uVar5 != (uint)p_Var6 % uVar2))
      goto LAB_00102bf0;
    }
    if (p_Var8->_M_nxt != (_Hash_node_base *)0x0) {
      return (uint64_t)((int)&(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt + local_2c);
    }
  }
LAB_00102bf0:
  EVar4 = Merged_symbol_value<32>::value_from_output_section
                    (this_00,(Relobj *)this,*(uint *)&pSVar1[symndx].field_0x8 & 0x7ffffff,
                     (Elf_Addr)local_30);
  return (uint64_t)(EVar4 + local_2c);
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int FUN_00102af0(int param_1,uint param_2,uint param_3)

{
  uint *puVar1;
  int *piVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  int *piVar6;
  int *piVar7;
  uint local_30;
  uint local_2c;
  
  uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;
  if (uVar4 <= param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);
  }
  local_2c = param_3;
  iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);
  if ((char)*(byte *)(iVar3 + 0xb) < '\0') {
    return param_3 + *(int *)(iVar3 + 0xc);
  }
  if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);
  }
  puVar1 = *(uint **)(iVar3 + 0xc);
  local_30 = *puVar1;
  if (param_3 < 0xffffff00) {
    local_30 = local_30 + param_3;
    local_2c = 0;
  }
  uVar4 = local_30 % puVar1[3];
  piVar7 = *(int **)(puVar1[2] + uVar4 * 4);
  if (piVar7 != (int *)0x0) {
    uVar5 = ((int *)*piVar7)[1];
    piVar2 = (int *)*piVar7;
    while (piVar6 = piVar2, local_30 != uVar5) {
      piVar2 = (int *)*piVar6;
      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])
         ) goto LAB_00102bf0;
    }
    if (*piVar7 != 0) {
      return local_2c + *(int *)(*piVar7 + 8);
    }
  }
LAB_00102bf0:
  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);
  return iVar3 + local_2c;
}


CALL 0x00074f02
ADD EAX,0x4e750b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV ESI,dword ptr [ESP + 0x40]
MOV ECX,dword ptr [ESP + 0x44]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x48]
MOV EBX,dword ptr [ESI + 0xdc]
MOV ESI,dword ptr [ESI + 0xe0]
MOV EDX,ESI
MOV dword ptr [ESP + 0xc],ESI
SUB EDX,EBX
SAR EDX,0x4
CMP ECX,EDX
JNC 0x00102c1c
SHL ECX,0x4
MOV dword ptr [ESP + 0x10],EAX
ADD ECX,EBX
MOVZX EDX,byte ptr [ECX + 0xb]
TEST DL,DL
JS 0x00102be0
AND EDX,0x8
JZ 0x00102c39
MOV EBP,dword ptr [ECX + 0xc]
MOV EBX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EBP]
MOV dword ptr [ESP + 0xc],EAX
CMP EBX,0xfffffeff
JBE 0x00102bd0
MOV EAX,dword ptr [EBP + 0xc]
XOR EDX,EDX
MOV EDI,EAX
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [ESP + 0xc]
DIV EDI
MOV EAX,dword ptr [EBP + 0x8]
MOV EDI,dword ptr [EAX + EDX*0x4]
MOV dword ptr [ESP + 0x18],EDX
TEST EDI,EDI
JZ 0x00102bf0
MOV ESI,dword ptr [EDI]
MOV EBX,dword ptr [ESI + 0x4]
JMP 0x00102bab
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x00102bf0
MOV EBX,dword ptr [EAX + 0x4]
MOV EDI,ESI
XOR EDX,EDX
MOV ESI,EAX
MOV EAX,EBX
DIV dword ptr [ESP + 0x14]
CMP dword ptr [ESP + 0x18],EDX
JNZ 0x00102bf0
CMP dword ptr [ESP + 0xc],EBX
JNZ 0x00102b90
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x00102bf0
MOV ESI,dword ptr [ESP + 0x10]
ADD ESI,dword ptr [EAX + 0x8]
ADD ESP,0x2c
XOR EDX,EDX
POP EBX
MOV EAX,ESI
POP ESI
POP EDI
POP EBP
RET
ADD EAX,EBX
MOV dword ptr [ESP + 0x10],0x0
MOV dword ptr [ESP + 0xc],EAX
JMP 0x00102b64
ADD EAX,dword ptr [ECX + 0xc]
ADD ESP,0x2c
XOR EDX,EDX
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ECX + 0x8]
AND EAX,0x7ffffff
PUSH EAX
PUSH dword ptr [ESP + 0x48]
PUSH EBP
MOV EBX,dword ptr [ESP + 0x2c]
CALL 0x00318cf0
ADD EAX,dword ptr [ESP + 0x20]
ADD ESP,0x10
XOR EDX,EDX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EDX
MOV EBX,dword ptr [ESP + 0x20]
LEA EAX,[EBX + 0xffe7b258]
PUSH EAX
LEA EAX,[EBX + 0xffe63385]
PUSH 0x8c1
PUSH EAX
CALL 0x002446e0
PUSH EAX
MOV EBX,dword ptr [ESP + 0x20]
LEA EAX,[EBX + 0xffe7b250]
PUSH EAX
LEA EAX,[EBX + 0xffe63385]
PUSH 0x6ab
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint FUN_00102af0(int param_1,uint param_2,uint param_3)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  uint local_30;\n  uint local_2c;\n  \n  uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;\n  if (uVar4 <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }\n  local_2c = param_3;\n  iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);\n  if ((char)*(byte *)(iVar3 + 0xb) < '\0') {\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }\n  if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }\n  puVar1 = *(uint **)(iVar3 + 0xc);\n  local_30 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }\n  uVar4 = local_30 % puVar1[3];\n  piVar7 = *(int **)(puVar1[2] + uVar4 * 4);\n  if (piVar7 != (int *)0x0) {\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }\nLAB_00102bf0:\n  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);\n  return iVar3 + local_2c;\n}\n\n" comment (function_definition "int FUN_00102af0(int param_1,uint param_2,uint param_3)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  uint local_30;\n  uint local_2c;\n  \n  uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;\n  if (uVar4 <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }\n  local_2c = param_3;\n  iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);\n  if ((char)*(byte *)(iVar3 + 0xb) < '\0') {\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }\n  if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }\n  puVar1 = *(uint **)(iVar3 + 0xc);\n  local_30 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }\n  uVar4 = local_30 % puVar1[3];\n  piVar7 = *(int **)(puVar1[2] + uVar4 * 4);\n  if (piVar7 != (int *)0x0) {\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }\nLAB_00102bf0:\n  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);\n  return iVar3 + local_2c;\n}" primitive_type (function_declarator "FUN_00102af0(int param_1,uint param_2,uint param_3)" identifier (parameter_list "(int param_1,uint param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  uint local_30;\n  uint local_2c;\n  \n  uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;\n  if (uVar4 <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }\n  local_2c = param_3;\n  iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);\n  if ((char)*(byte *)(iVar3 + 0xb) < '\0') {\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }\n  if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }\n  puVar1 = *(uint **)(iVar3 + 0xc);\n  local_30 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }\n  uVar4 = local_30 % puVar1[3];\n  piVar7 = *(int **)(puVar1[2] + uVar4 * 4);\n  if (piVar7 != (int *)0x0) {\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }\nLAB_00102bf0:\n  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);\n  return iVar3 + local_2c;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;" (assignment_expression "uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4" identifier = (binary_expression "*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4" (binary_expression "*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc)" (pointer_expression "*(int *)(param_1 + 0xe0)" * (cast_expression "(int *)(param_1 + 0xe0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe0)" ( (binary_expression "param_1 + 0xe0" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0xdc)" * (cast_expression "(int *)(param_1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdc)" ( (binary_expression "param_1 + 0xdc" identifier + number_literal) ))))) >> number_literal)) ;) (if_statement "if (uVar4 <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }" if (parenthesized_expression "(uVar4 <= param_2)" ( (binary_expression "uVar4 <= param_2" identifier <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);" (call_expression "FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4)" identifier (argument_list "("../../gold/object.h",0x8c1,"local_symbol",uVar4)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""local_symbol"" " string_content ") , identifier ))) ;) })) (expression_statement "local_2c = param_3;" (assignment_expression "local_2c = param_3" identifier = identifier) ;) (expression_statement "iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);" (assignment_expression "iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc)" identifier = (binary_expression "param_2 * 0x10 + *(int *)(param_1 + 0xdc)" (binary_expression "param_2 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0xdc)" * (cast_expression "(int *)(param_1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdc)" ( (binary_expression "param_1 + 0xdc" identifier + number_literal) )))))) ;) (if_statement "if ((char)*(byte *)(iVar3 + 0xb) < '\0') {\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }" if (parenthesized_expression "((char)*(byte *)(iVar3 + 0xb) < '\0')" ( (binary_expression "(char)*(byte *)(iVar3 + 0xb) < '\0'" (cast_expression "(char)*(byte *)(iVar3 + 0xb)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(byte *)(iVar3 + 0xb)" * (cast_expression "(byte *)(iVar3 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb)" ( (binary_expression "iVar3 + 0xb" identifier + number_literal) ))))) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }" { (return_statement "return param_3 + *(int *)(iVar3 + 0xc);" return (binary_expression "param_3 + *(int *)(iVar3 + 0xc)" identifier + (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) })) (if_statement "if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }" if (parenthesized_expression "((*(byte *)(iVar3 + 0xb) & 8) == 0)" ( (binary_expression "(*(byte *)(iVar3 + 0xb) & 8) == 0" (parenthesized_expression "(*(byte *)(iVar3 + 0xb) & 8)" ( (binary_expression "*(byte *)(iVar3 + 0xb) & 8" (pointer_expression "*(byte *)(iVar3 + 0xb)" * (cast_expression "(byte *)(iVar3 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb)" ( (binary_expression "iVar3 + 0xb" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);" (call_expression "FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3)" identifier (argument_list "("../../gold/object.h",0x6ab,"value",param_3)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""value"" " string_content ") , identifier ))) ;) })) (expression_statement "puVar1 = *(uint **)(iVar3 + 0xc);" (assignment_expression "puVar1 = *(uint **)(iVar3 + 0xc)" identifier = (pointer_expression "*(uint **)(iVar3 + 0xc)" * (cast_expression "(uint **)(iVar3 + 0xc)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_30 = *puVar1;" (assignment_expression "local_30 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (if_statement "if (param_3 < 0xffffff00) {\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }" if (parenthesized_expression "(param_3 < 0xffffff00)" ( (binary_expression "param_3 < 0xffffff00" identifier < number_literal) )) (compound_statement "{\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }" { (expression_statement "local_30 = local_30 + param_3;" (assignment_expression "local_30 = local_30 + param_3" identifier = (binary_expression "local_30 + param_3" identifier + identifier)) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) })) (expression_statement "uVar4 = local_30 % puVar1[3];" (assignment_expression "uVar4 = local_30 % puVar1[3]" identifier = (binary_expression "local_30 % puVar1[3]" identifier % (subscript_expression "puVar1[3]" identifier [ number_literal ]))) ;) (expression_statement "piVar7 = *(int **)(puVar1[2] + uVar4 * 4);" (assignment_expression "piVar7 = *(int **)(puVar1[2] + uVar4 * 4)" identifier = (pointer_expression "*(int **)(puVar1[2] + uVar4 * 4)" * (cast_expression "(int **)(puVar1[2] + uVar4 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1[2] + uVar4 * 4)" ( (binary_expression "puVar1[2] + uVar4 * 4" (subscript_expression "puVar1[2]" identifier [ number_literal ]) + (binary_expression "uVar4 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (piVar7 != (int *)0x0) {\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }" if (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }" { (expression_statement "uVar5 = ((int *)*piVar7)[1];" (assignment_expression "uVar5 = ((int *)*piVar7)[1]" identifier = (subscript_expression "((int *)*piVar7)[1]" (parenthesized_expression "((int *)*piVar7)" ( (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier)) )) [ number_literal ])) ;) (expression_statement "piVar2 = (int *)*piVar7;" (assignment_expression "piVar2 = (int *)*piVar7" identifier = (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier))) ;) (while_statement "while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }" while (parenthesized_expression "(piVar6 = piVar2, local_30 != uVar5)" ( (comma_expression "piVar6 = piVar2, local_30 != uVar5" (assignment_expression "piVar6 = piVar2" identifier = identifier) , (binary_expression "local_30 != uVar5" identifier != identifier)) )) (compound_statement "{\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }" { (expression_statement "piVar2 = (int *)*piVar6;" (assignment_expression "piVar2 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;" if (parenthesized_expression "((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         )" ( (binary_expression "(piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])" (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])" ( (comma_expression "uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3]" (assignment_expression "uVar5 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) , (comma_expression "piVar7 = piVar6, uVar4 != uVar5 % puVar1[3]" (assignment_expression "piVar7 = piVar6" identifier = identifier) , (binary_expression "uVar4 != uVar5 % puVar1[3]" identifier != (binary_expression "uVar5 % puVar1[3]" identifier % (subscript_expression "puVar1[3]" identifier [ number_literal ]))))) ))) )) (goto_statement "goto LAB_00102bf0;" goto statement_identifier ;)) })) (if_statement "if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }" if (parenthesized_expression "(*piVar7 != 0)" ( (binary_expression "*piVar7 != 0" (pointer_expression "*piVar7" * identifier) != number_literal) )) (compound_statement "{\n      return local_2c + *(int *)(*piVar7 + 8);\n    }" { (return_statement "return local_2c + *(int *)(*piVar7 + 8);" return (binary_expression "local_2c + *(int *)(*piVar7 + 8)" identifier + (pointer_expression "*(int *)(*piVar7 + 8)" * (cast_expression "(int *)(*piVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar7 + 8)" ( (binary_expression "*piVar7 + 8" (pointer_expression "*piVar7" * identifier) + number_literal) ))))) ;) })) })) (labeled_statement "LAB_00102bf0:\n  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);" statement_identifier : (expression_statement "iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);" (assignment_expression "iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30)" identifier = (call_expression "FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30)" identifier (argument_list "(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30)" ( identifier , identifier , (binary_expression "*(uint *)(iVar3 + 8) & 0x7ffffff" (pointer_expression "*(uint *)(iVar3 + 8)" * (cast_expression "(uint *)(iVar3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) & number_literal) , identifier )))) ;)) (return_statement "return iVar3 + local_2c;" return (binary_expression "iVar3 + local_2c" identifier + identifier) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* 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  uint uVar2;\n  _Hash_node_base *p_Var3;\n  Elf_Addr EVar4;\n  uint uVar5;\n  _Hash_node_base *p_Var6;\n  __bucket_type p_Var7;\n  __bucket_type p_Var8;\n  _Hash_node_base *local_30;\n  uint local_2c;\n  \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 ((uint)((int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4) <= symndx) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");\n  }\n  local_2c = (uint)addend;\n  if ((char)pSVar1[symndx].field_0xb < '\0') {\n    return (uint64_t)((int)&(pSVar1[symndx].u_.merged_symbol_value)->input_value_ + (uint)addend);\n  }\n  if ((pSVar1[symndx].field_0xb & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x6ab,"value");\n  }\n  this_00 = pSVar1[symndx].u_.merged_symbol_value;\n  local_30 = (_Hash_node_base *)this_00->input_value_;\n  if ((uint)addend < 0xffffff00) {\n    local_30 = (_Hash_node_base *)((int)&local_30->_M_nxt + (uint)addend);\n    local_2c = 0;\n  }\n  uVar2 = (this_00->output_addresses_)._M_h._M_bucket_count;\n  uVar5 = (uint)local_30 % uVar2;\n  p_Var8 = (this_00->output_addresses_)._M_h._M_buckets[uVar5];\n  if (p_Var8 != (__bucket_type)0x0) {\n    p_Var6 = p_Var8->_M_nxt[1]._M_nxt;\n    p_Var3 = p_Var8->_M_nxt;\n    while (p_Var7 = p_Var3, local_30 != p_Var6) {\n      p_Var3 = p_Var7->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var6 = p_Var3[1]._M_nxt, p_Var8 = p_Var7, uVar5 != (uint)p_Var6 % uVar2))\n      goto LAB_00102bf0;\n    }\n    if (p_Var8->_M_nxt != (_Hash_node_base *)0x0) {\n      return (uint64_t)((int)&(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt + local_2c);\n    }\n  }\nLAB_00102bf0:\n  EVar4 = Merged_symbol_value<32>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[symndx].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)local_30);\n  return (uint64_t)(EVar4 + local_2c);\n}\n\n" comment 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 "uint 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 "uint uVar5;" type_identifier identifier ;) (declaration "_Hash_node_base *p_Var6;" type_identifier (pointer_declarator "*p_Var6" * identifier) ;) (declaration "__bucket_type p_Var7;" type_identifier identifier ;) (declaration "__bucket_type p_Var8;" type_identifier identifier ;) (declaration "_Hash_node_base *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "uint local_2c;" 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 ((uint)((int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4) <= symndx) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");\n  }" if (parenthesized_expression "((uint)((int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4) <= symndx)" ( (binary_expression "(uint)((int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4) <= symndx" (call_expression "(uint)((int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4)" ( (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1" (field_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish" (field_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold" (cast_expression "(int)(this->local_values_).\n                  super__Vector_base" ( (type_descriptor "int" primitive_type) ) (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 "(int)pSVar1" ( (type_descriptor "int" primitive_type) ) identifier)) >> 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 "local_2c = (uint)addend;" (assignment_expression "local_2c = (uint)addend" identifier = (cast_expression "(uint)addend" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((char)pSVar1[symndx].field_0xb < '\0') {\n    return (uint64_t)((int)&(pSVar1[symndx].u_.merged_symbol_value)->input_value_ + (uint)addend);\n  }" if (parenthesized_expression "((char)pSVar1[symndx].field_0xb < '\0')" ( (binary_expression "(char)pSVar1[symndx].field_0xb < '\0'" (cast_expression "(char)pSVar1[symndx].field_0xb" ( (type_descriptor "char" primitive_type) ) (field_expression "pSVar1[symndx].field_0xb" (subscript_expression "pSVar1[symndx]" identifier [ identifier ]) . field_identifier)) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return (uint64_t)((int)&(pSVar1[symndx].u_.merged_symbol_value)->input_value_ + (uint)addend);\n  }" { (return_statement "return (uint64_t)((int)&(pSVar1[symndx].u_.merged_symbol_value)->input_value_ + (uint)addend);" return (cast_expression "(uint64_t)((int)&(pSVar1[symndx].u_.merged_symbol_value)->input_value_ + (uint)addend)" ( (type_descriptor "uint64_t" primitive_type) ) (parenthesized_expression "((int)&(pSVar1[symndx].u_.merged_symbol_value)->input_value_ + (uint)addend)" ( (binary_expression "(int)&(pSVar1[symndx].u_.merged_symbol_value)->input_value_ + (uint)addend" (cast_expression "(int)&(pSVar1[symndx].u_.merged_symbol_value)->input_value_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(pSVar1[symndx].u_.merged_symbol_value)->input_value_" & (field_expression "(pSVar1[symndx].u_.merged_symbol_value)->input_value_" (parenthesized_expression "(pSVar1[symndx].u_.merged_symbol_value)" ( (field_expression "pSVar1[symndx].u_.merged_symbol_value" (field_expression "pSVar1[symndx].u_" (subscript_expression "pSVar1[symndx]" identifier [ identifier ]) . field_identifier) . field_identifier) )) -> field_identifier))) + (cast_expression "(uint)addend" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) ;) })) (if_statement "if ((pSVar1[symndx].field_0xb & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x6ab,"value");\n  }" if (parenthesized_expression "((pSVar1[symndx].field_0xb & 8) == 0)" ( (binary_expression "(pSVar1[symndx].field_0xb & 8) == 0" (parenthesized_expression "(pSVar1[symndx].field_0xb & 8)" ( (binary_expression "pSVar1[symndx].field_0xb & 8" (field_expression "pSVar1[symndx].field_0xb" (subscript_expression "pSVar1[symndx]" 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[symndx].u_.merged_symbol_value;" (assignment_expression "this_00 = pSVar1[symndx].u_.merged_symbol_value" identifier = (field_expression "pSVar1[symndx].u_.merged_symbol_value" (field_expression "pSVar1[symndx].u_" (subscript_expression "pSVar1[symndx]" identifier [ identifier ]) . field_identifier) . field_identifier)) ;) (expression_statement "local_30 = (_Hash_node_base *)this_00->input_value_;" (assignment_expression "local_30 = (_Hash_node_base *)this_00->input_value_" identifier = (cast_expression "(_Hash_node_base *)this_00->input_value_" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this_00->input_value_" identifier -> field_identifier))) ;) (if_statement "if ((uint)addend < 0xffffff00) {\n    local_30 = (_Hash_node_base *)((int)&local_30->_M_nxt + (uint)addend);\n    local_2c = 0;\n  }" if (parenthesized_expression "((uint)addend < 0xffffff00)" ( (binary_expression "(uint)addend < 0xffffff00" (cast_expression "(uint)addend" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) )) (compound_statement "{\n    local_30 = (_Hash_node_base *)((int)&local_30->_M_nxt + (uint)addend);\n    local_2c = 0;\n  }" { (expression_statement "local_30 = (_Hash_node_base *)((int)&local_30->_M_nxt + (uint)addend);" (assignment_expression "local_30 = (_Hash_node_base *)((int)&local_30->_M_nxt + (uint)addend)" identifier = (cast_expression "(_Hash_node_base *)((int)&local_30->_M_nxt + (uint)addend)" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_30->_M_nxt + (uint)addend)" ( (binary_expression "(int)&local_30->_M_nxt + (uint)addend" (cast_expression "(int)&local_30->_M_nxt" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_30->_M_nxt" & (field_expression "local_30->_M_nxt" identifier -> field_identifier))) + (cast_expression "(uint)addend" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 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 "uVar5 = (uint)local_30 % uVar2;" (assignment_expression "uVar5 = (uint)local_30 % uVar2" identifier = (binary_expression "(uint)local_30 % uVar2" (cast_expression "(uint)local_30" ( (type_descriptor "uint" type_identifier) ) identifier) % identifier)) ;) (expression_statement "p_Var8 = (this_00->output_addresses_)._M_h._M_buckets[uVar5];" (assignment_expression "p_Var8 = (this_00->output_addresses_)._M_h._M_buckets[uVar5]" identifier = (subscript_expression "(this_00->output_addresses_)._M_h._M_buckets[uVar5]" (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_Var8 != (__bucket_type)0x0) {\n    p_Var6 = p_Var8->_M_nxt[1]._M_nxt;\n    p_Var3 = p_Var8->_M_nxt;\n    while (p_Var7 = p_Var3, local_30 != p_Var6) {\n      p_Var3 = p_Var7->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var6 = p_Var3[1]._M_nxt, p_Var8 = p_Var7, uVar5 != (uint)p_Var6 % uVar2))\n      goto LAB_00102bf0;\n    }\n    if (p_Var8->_M_nxt != (_Hash_node_base *)0x0) {\n      return (uint64_t)((int)&(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt + local_2c);\n    }\n  }" if (parenthesized_expression "(p_Var8 != (__bucket_type)0x0)" ( (binary_expression "p_Var8 != (__bucket_type)0x0" identifier != (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal)) )) (compound_statement "{\n    p_Var6 = p_Var8->_M_nxt[1]._M_nxt;\n    p_Var3 = p_Var8->_M_nxt;\n    while (p_Var7 = p_Var3, local_30 != p_Var6) {\n      p_Var3 = p_Var7->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var6 = p_Var3[1]._M_nxt, p_Var8 = p_Var7, uVar5 != (uint)p_Var6 % uVar2))\n      goto LAB_00102bf0;\n    }\n    if (p_Var8->_M_nxt != (_Hash_node_base *)0x0) {\n      return (uint64_t)((int)&(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt + local_2c);\n    }\n  }" { (expression_statement "p_Var6 = p_Var8->_M_nxt[1]._M_nxt;" (assignment_expression "p_Var6 = p_Var8->_M_nxt[1]._M_nxt" identifier = (field_expression "p_Var8->_M_nxt[1]._M_nxt" (subscript_expression "p_Var8->_M_nxt[1]" (field_expression "p_Var8->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "p_Var3 = p_Var8->_M_nxt;" (assignment_expression "p_Var3 = p_Var8->_M_nxt" identifier = (field_expression "p_Var8->_M_nxt" identifier -> field_identifier)) ;) (while_statement "while (p_Var7 = p_Var3, local_30 != p_Var6) {\n      p_Var3 = p_Var7->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var6 = p_Var3[1]._M_nxt, p_Var8 = p_Var7, uVar5 != (uint)p_Var6 % uVar2))\n      goto LAB_00102bf0;\n    }" while (parenthesized_expression "(p_Var7 = p_Var3, local_30 != p_Var6)" ( (comma_expression "p_Var7 = p_Var3, local_30 != p_Var6" (assignment_expression "p_Var7 = p_Var3" identifier = identifier) , (binary_expression "local_30 != p_Var6" identifier != identifier)) )) (compound_statement "{\n      p_Var3 = p_Var7->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var6 = p_Var3[1]._M_nxt, p_Var8 = p_Var7, uVar5 != (uint)p_Var6 % uVar2))\n      goto LAB_00102bf0;\n    }" { (expression_statement "p_Var3 = p_Var7->_M_nxt;" (assignment_expression "p_Var3 = p_Var7->_M_nxt" identifier = (field_expression "p_Var7->_M_nxt" identifier -> field_identifier)) ;) (if_statement "if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var6 = p_Var3[1]._M_nxt, p_Var8 = p_Var7, uVar5 != (uint)p_Var6 % uVar2))\n      goto LAB_00102bf0;" if (parenthesized_expression "((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var6 = p_Var3[1]._M_nxt, p_Var8 = p_Var7, uVar5 != (uint)p_Var6 % uVar2))" ( (binary_expression "(p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var6 = p_Var3[1]._M_nxt, p_Var8 = p_Var7, uVar5 != (uint)p_Var6 % 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_Var6 = p_Var3[1]._M_nxt, p_Var8 = p_Var7, uVar5 != (uint)p_Var6 % uVar2)" ( (comma_expression "p_Var6 = p_Var3[1]._M_nxt, p_Var8 = p_Var7, uVar5 != (uint)p_Var6 % uVar2" (assignment_expression "p_Var6 = 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_Var8 = p_Var7, uVar5 != (uint)p_Var6 % uVar2" (assignment_expression "p_Var8 = p_Var7" identifier = identifier) , (binary_expression "uVar5 != (uint)p_Var6 % uVar2" identifier != (binary_expression "(uint)p_Var6 % uVar2" (cast_expression "(uint)p_Var6" ( (type_descriptor "uint" type_identifier) ) identifier) % identifier)))) ))) )) (goto_statement "goto LAB_00102bf0;" goto statement_identifier ;)) })) (if_statement "if (p_Var8->_M_nxt != (_Hash_node_base *)0x0) {\n      return (uint64_t)((int)&(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt + local_2c);\n    }" if (parenthesized_expression "(p_Var8->_M_nxt != (_Hash_node_base *)0x0)" ( (binary_expression "p_Var8->_M_nxt != (_Hash_node_base *)0x0" (field_expression "p_Var8->_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 (uint64_t)((int)&(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt + local_2c);\n    }" { (return_statement "return (uint64_t)((int)&(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt + local_2c);" return (cast_expression "(uint64_t)((int)&(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt + local_2c)" ( (type_descriptor "uint64_t" primitive_type) ) (parenthesized_expression "((int)&(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt + local_2c)" ( (binary_expression "(int)&(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt + local_2c" (cast_expression "(int)&(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt" & (field_expression "(p_Var8->_M_nxt[2]._M_nxt)->_M_nxt" (parenthesized_expression "(p_Var8->_M_nxt[2]._M_nxt)" ( (field_expression "p_Var8->_M_nxt[2]._M_nxt" (subscript_expression "p_Var8->_M_nxt[2]" (field_expression "p_Var8->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier) )) -> field_identifier))) + identifier) ))) ;) })) })) (labeled_statement "LAB_00102bf0:\n  EVar4 = Merged_symbol_value<32>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[symndx].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)local_30);" statement_identifier : (expression_statement "EVar4 = Merged_symbol_value<32>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[symndx].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)local_30);" (assignment_expression "EVar4 = Merged_symbol_value<32>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[symndx].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)local_30)" identifier = (binary_expression "Merged_symbol_value<32>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[symndx].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)local_30)" (binary_expression "Merged_symbol_value<32" identifier < number_literal) > (ERROR "::" : :) (call_expression "value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[symndx].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)local_30)" identifier (argument_list "(this_00,(Relobj *)this,*(uint *)&pSVar1[symndx].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)local_30)" ( identifier , (cast_expression "(Relobj *)this" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (binary_expression "*(uint *)&pSVar1[symndx].field_0x8 & 0x7ffffff" (pointer_expression "*(uint *)&pSVar1[symndx].field_0x8" * (cast_expression "(uint *)&pSVar1[symndx].field_0x8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pSVar1[symndx].field_0x8" & (field_expression "pSVar1[symndx].field_0x8" (subscript_expression "pSVar1[symndx]" identifier [ identifier ]) . field_identifier)))) & number_literal) , (cast_expression "(Elf_Addr)local_30" ( (type_descriptor "Elf_Addr" type_identifier) ) identifier) ))))) ;)) (return_statement "return (uint64_t)(EVar4 + local_2c);" return (cast_expression "(uint64_t)(EVar4 + local_2c)" ( (type_descriptor "uint64_t" primitive_type) ) (parenthesized_expression "(EVar4 + local_2c)" ( (binary_expression "EVar4 + local_2c" identifier + identifier) ))) ;) (ERROR "}" }))
(translation_unit "int FUN_00102af0(int param_1,uint param_2,uint param_3)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  uint local_30;\n  uint local_2c;\n  \n  uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;\n  if (uVar4 <= param_2) {\n                    \n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }\n  local_2c = param_3;\n  iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);\n  if ((char)*(byte *)(iVar3 + 0xb) < '\0') {\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }\n  if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }\n  puVar1 = *(uint **)(iVar3 + 0xc);\n  local_30 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }\n  uVar4 = local_30 % puVar1[3];\n  piVar7 = *(int **)(puVar1[2] + uVar4 * 4);\n  if (piVar7 != (int *)0x0) {\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }\nLAB_00102bf0:\n  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);\n  return iVar3 + local_2c;\n}\n\n" (function_definition "int FUN_00102af0(int param_1,uint param_2,uint param_3)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  uint local_30;\n  uint local_2c;\n  \n  uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;\n  if (uVar4 <= param_2) {\n                    \n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }\n  local_2c = param_3;\n  iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);\n  if ((char)*(byte *)(iVar3 + 0xb) < '\0') {\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }\n  if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }\n  puVar1 = *(uint **)(iVar3 + 0xc);\n  local_30 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }\n  uVar4 = local_30 % puVar1[3];\n  piVar7 = *(int **)(puVar1[2] + uVar4 * 4);\n  if (piVar7 != (int *)0x0) {\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }\nLAB_00102bf0:\n  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);\n  return iVar3 + local_2c;\n}" primitive_type (function_declarator "FUN_00102af0(int param_1,uint param_2,uint param_3)" identifier (parameter_list "(int param_1,uint param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  uint local_30;\n  uint local_2c;\n  \n  uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;\n  if (uVar4 <= param_2) {\n                    \n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }\n  local_2c = param_3;\n  iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);\n  if ((char)*(byte *)(iVar3 + 0xb) < '\0') {\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }\n  if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }\n  puVar1 = *(uint **)(iVar3 + 0xc);\n  local_30 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }\n  uVar4 = local_30 % puVar1[3];\n  piVar7 = *(int **)(puVar1[2] + uVar4 * 4);\n  if (piVar7 != (int *)0x0) {\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }\nLAB_00102bf0:\n  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);\n  return iVar3 + local_2c;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (expression_statement "uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;" (assignment_expression "uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4" identifier = (binary_expression "*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4" (binary_expression "*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc)" (pointer_expression "*(int *)(param_1 + 0xe0)" * (cast_expression "(int *)(param_1 + 0xe0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe0)" ( (binary_expression "param_1 + 0xe0" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0xdc)" * (cast_expression "(int *)(param_1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdc)" ( (binary_expression "param_1 + 0xdc" identifier + number_literal) ))))) >> number_literal)) ;) (if_statement "if (uVar4 <= param_2) {\n                    \n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }" if (parenthesized_expression "(uVar4 <= param_2)" ( (binary_expression "uVar4 <= param_2" identifier <= identifier) )) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }" { (expression_statement "FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);" (call_expression "FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4)" identifier (argument_list "("../../gold/object.h",0x8c1,"local_symbol",uVar4)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""local_symbol"" " string_content ") , identifier ))) ;) })) (expression_statement "local_2c = param_3;" (assignment_expression "local_2c = param_3" identifier = identifier) ;) (expression_statement "iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);" (assignment_expression "iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc)" identifier = (binary_expression "param_2 * 0x10 + *(int *)(param_1 + 0xdc)" (binary_expression "param_2 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0xdc)" * (cast_expression "(int *)(param_1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdc)" ( (binary_expression "param_1 + 0xdc" identifier + number_literal) )))))) ;) (if_statement "if ((char)*(byte *)(iVar3 + 0xb) < '\0') {\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }" if (parenthesized_expression "((char)*(byte *)(iVar3 + 0xb) < '\0')" ( (binary_expression "(char)*(byte *)(iVar3 + 0xb) < '\0'" (cast_expression "(char)*(byte *)(iVar3 + 0xb)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(byte *)(iVar3 + 0xb)" * (cast_expression "(byte *)(iVar3 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb)" ( (binary_expression "iVar3 + 0xb" identifier + number_literal) ))))) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }" { (return_statement "return param_3 + *(int *)(iVar3 + 0xc);" return (binary_expression "param_3 + *(int *)(iVar3 + 0xc)" identifier + (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) })) (if_statement "if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }" if (parenthesized_expression "((*(byte *)(iVar3 + 0xb) & 8) == 0)" ( (binary_expression "(*(byte *)(iVar3 + 0xb) & 8) == 0" (parenthesized_expression "(*(byte *)(iVar3 + 0xb) & 8)" ( (binary_expression "*(byte *)(iVar3 + 0xb) & 8" (pointer_expression "*(byte *)(iVar3 + 0xb)" * (cast_expression "(byte *)(iVar3 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb)" ( (binary_expression "iVar3 + 0xb" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }" { (expression_statement "FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);" (call_expression "FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3)" identifier (argument_list "("../../gold/object.h",0x6ab,"value",param_3)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""value"" " string_content ") , identifier ))) ;) })) (expression_statement "puVar1 = *(uint **)(iVar3 + 0xc);" (assignment_expression "puVar1 = *(uint **)(iVar3 + 0xc)" identifier = (pointer_expression "*(uint **)(iVar3 + 0xc)" * (cast_expression "(uint **)(iVar3 + 0xc)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_30 = *puVar1;" (assignment_expression "local_30 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (if_statement "if (param_3 < 0xffffff00) {\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }" if (parenthesized_expression "(param_3 < 0xffffff00)" ( (binary_expression "param_3 < 0xffffff00" identifier < number_literal) )) (compound_statement "{\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }" { (expression_statement "local_30 = local_30 + param_3;" (assignment_expression "local_30 = local_30 + param_3" identifier = (binary_expression "local_30 + param_3" identifier + identifier)) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) })) (expression_statement "uVar4 = local_30 % puVar1[3];" (assignment_expression "uVar4 = local_30 % puVar1[3]" identifier = (binary_expression "local_30 % puVar1[3]" identifier % (subscript_expression "puVar1[3]" identifier [ number_literal ]))) ;) (expression_statement "piVar7 = *(int **)(puVar1[2] + uVar4 * 4);" (assignment_expression "piVar7 = *(int **)(puVar1[2] + uVar4 * 4)" identifier = (pointer_expression "*(int **)(puVar1[2] + uVar4 * 4)" * (cast_expression "(int **)(puVar1[2] + uVar4 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1[2] + uVar4 * 4)" ( (binary_expression "puVar1[2] + uVar4 * 4" (subscript_expression "puVar1[2]" identifier [ number_literal ]) + (binary_expression "uVar4 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (piVar7 != (int *)0x0) {\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }" if (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }" { (expression_statement "uVar5 = ((int *)*piVar7)[1];" (assignment_expression "uVar5 = ((int *)*piVar7)[1]" identifier = (subscript_expression "((int *)*piVar7)[1]" (parenthesized_expression "((int *)*piVar7)" ( (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier)) )) [ number_literal ])) ;) (expression_statement "piVar2 = (int *)*piVar7;" (assignment_expression "piVar2 = (int *)*piVar7" identifier = (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier))) ;) (while_statement "while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }" while (parenthesized_expression "(piVar6 = piVar2, local_30 != uVar5)" ( (comma_expression "piVar6 = piVar2, local_30 != uVar5" (assignment_expression "piVar6 = piVar2" identifier = identifier) , (binary_expression "local_30 != uVar5" identifier != identifier)) )) (compound_statement "{\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }" { (expression_statement "piVar2 = (int *)*piVar6;" (assignment_expression "piVar2 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;" if (parenthesized_expression "((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         )" ( (binary_expression "(piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])" (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])" ( (comma_expression "uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3]" (assignment_expression "uVar5 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) , (comma_expression "piVar7 = piVar6, uVar4 != uVar5 % puVar1[3]" (assignment_expression "piVar7 = piVar6" identifier = identifier) , (binary_expression "uVar4 != uVar5 % puVar1[3]" identifier != (binary_expression "uVar5 % puVar1[3]" identifier % (subscript_expression "puVar1[3]" identifier [ number_literal ]))))) ))) )) (goto_statement "goto LAB_00102bf0;" goto statement_identifier ;)) })) (if_statement "if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }" if (parenthesized_expression "(*piVar7 != 0)" ( (binary_expression "*piVar7 != 0" (pointer_expression "*piVar7" * identifier) != number_literal) )) (compound_statement "{\n      return local_2c + *(int *)(*piVar7 + 8);\n    }" { (return_statement "return local_2c + *(int *)(*piVar7 + 8);" return (binary_expression "local_2c + *(int *)(*piVar7 + 8)" identifier + (pointer_expression "*(int *)(*piVar7 + 8)" * (cast_expression "(int *)(*piVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar7 + 8)" ( (binary_expression "*piVar7 + 8" (pointer_expression "*piVar7" * identifier) + number_literal) ))))) ;) })) })) (labeled_statement "LAB_00102bf0:\n  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);" statement_identifier : (expression_statement "iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);" (assignment_expression "iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30)" identifier = (call_expression "FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30)" identifier (argument_list "(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30)" ( identifier , identifier , (binary_expression "*(uint *)(iVar3 + 8) & 0x7ffffff" (pointer_expression "*(uint *)(iVar3 + 8)" * (cast_expression "(uint *)(iVar3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) & number_literal) , identifier )))) ;)) (return_statement "return iVar3 + local_2c;" return (binary_expression "iVar3 + local_2c" identifier + identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression 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 ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression 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 IDENT % (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )) [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (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 TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (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 % (subscript_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) , IDENT )))) ;)) (return_statement return (binary_expression IDENT + IDENT) ;) })))
(function_definition "int FUN_00102af0(int param_1,uint param_2,uint param_3)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  uint local_30;\n  uint local_2c;\n  \n  uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;\n  if (uVar4 <= param_2) {\n                    \n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }\n  local_2c = param_3;\n  iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);\n  if ((char)*(byte *)(iVar3 + 0xb) < '\0') {\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }\n  if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }\n  puVar1 = *(uint **)(iVar3 + 0xc);\n  local_30 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }\n  uVar4 = local_30 % puVar1[3];\n  piVar7 = *(int **)(puVar1[2] + uVar4 * 4);\n  if (piVar7 != (int *)0x0) {\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }\nLAB_00102bf0:\n  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);\n  return iVar3 + local_2c;\n}" (primitive_type "int") (function_declarator "FUN_00102af0(int param_1,uint param_2,uint param_3)" (identifier "FUN_00102af0") (parameter_list "(int param_1,uint param_2,uint param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (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  uint *puVar1;\n  int *piVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  uint local_30;\n  uint local_2c;\n  \n  uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;\n  if (uVar4 <= param_2) {\n                    \n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }\n  local_2c = param_3;\n  iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);\n  if ((char)*(byte *)(iVar3 + 0xb) < '\0') {\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }\n  if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }\n  puVar1 = *(uint **)(iVar3 + 0xc);\n  local_30 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }\n  uVar4 = local_30 % puVar1[3];\n  piVar7 = *(int **)(puVar1[2] + uVar4 * 4);\n  if (piVar7 != (int *)0x0) {\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }\nLAB_00102bf0:\n  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);\n  return iVar3 + local_2c;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "uint local_2c;" (type_identifier "uint") (identifier "local_2c") (; ";")) (expression_statement "uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;" (assignment_expression "uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4" (identifier "uVar4") (= "=") (binary_expression "*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4" (binary_expression "*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc)" (pointer_expression "*(int *)(param_1 + 0xe0)" (* "*") (cast_expression "(int *)(param_1 + 0xe0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe0)" (( "(") (binary_expression "param_1 + 0xe0" (identifier "param_1") (+ "+") (number_literal "0xe0")) () ")")))) (- "-") (pointer_expression "*(int *)(param_1 + 0xdc)" (* "*") (cast_expression "(int *)(param_1 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xdc)" (( "(") (binary_expression "param_1 + 0xdc" (identifier "param_1") (+ "+") (number_literal "0xdc")) () ")"))))) (>> ">>") (number_literal "4"))) (; ";")) (if_statement "if (uVar4 <= param_2) {\n                    \n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }" (if "if") (parenthesized_expression "(uVar4 <= param_2)" (( "(") (binary_expression "uVar4 <= param_2" (identifier "uVar4") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);" (call_expression "FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4)" (identifier "FUN_002446e0") (argument_list "("../../gold/object.h",0x8c1,"local_symbol",uVar4)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x8c1") (, ",") (string_literal ""local_symbol"" (" """) (string_content "local_symbol") (" """)) (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "local_2c = param_3;" (assignment_expression "local_2c = param_3" (identifier "local_2c") (= "=") (identifier "param_3")) (; ";")) (expression_statement "iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);" (assignment_expression "iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc)" (identifier "iVar3") (= "=") (binary_expression "param_2 * 0x10 + *(int *)(param_1 + 0xdc)" (binary_expression "param_2 * 0x10" (identifier "param_2") (* "*") (number_literal "0x10")) (+ "+") (pointer_expression "*(int *)(param_1 + 0xdc)" (* "*") (cast_expression "(int *)(param_1 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xdc)" (( "(") (binary_expression "param_1 + 0xdc" (identifier "param_1") (+ "+") (number_literal "0xdc")) () ")")))))) (; ";")) (if_statement "if ((char)*(byte *)(iVar3 + 0xb) < '\0') {\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }" (if "if") (parenthesized_expression "((char)*(byte *)(iVar3 + 0xb) < '\0')" (( "(") (binary_expression "(char)*(byte *)(iVar3 + 0xb) < '\0'" (cast_expression "(char)*(byte *)(iVar3 + 0xb)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(byte *)(iVar3 + 0xb)" (* "*") (cast_expression "(byte *)(iVar3 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xb)" (( "(") (binary_expression "iVar3 + 0xb" (identifier "iVar3") (+ "+") (number_literal "0xb")) () ")"))))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return param_3 + *(int *)(iVar3 + 0xc);\n  }" ({ "{") (return_statement "return param_3 + *(int *)(iVar3 + 0xc);" (return "return") (binary_expression "param_3 + *(int *)(iVar3 + 0xc)" (identifier "param_3") (+ "+") (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}"))) (if_statement "if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }" (if "if") (parenthesized_expression "((*(byte *)(iVar3 + 0xb) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(iVar3 + 0xb) & 8) == 0" (parenthesized_expression "(*(byte *)(iVar3 + 0xb) & 8)" (( "(") (binary_expression "*(byte *)(iVar3 + 0xb) & 8" (pointer_expression "*(byte *)(iVar3 + 0xb)" (* "*") (cast_expression "(byte *)(iVar3 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xb)" (( "(") (binary_expression "iVar3 + 0xb" (identifier "iVar3") (+ "+") (number_literal "0xb")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);" (call_expression "FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3)" (identifier "FUN_002446e0") (argument_list "("../../gold/object.h",0x6ab,"value",param_3)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x6ab") (, ",") (string_literal ""value"" (" """) (string_content "value") (" """)) (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = *(uint **)(iVar3 + 0xc);" (assignment_expression "puVar1 = *(uint **)(iVar3 + 0xc)" (identifier "puVar1") (= "=") (pointer_expression "*(uint **)(iVar3 + 0xc)" (* "*") (cast_expression "(uint **)(iVar3 + 0xc)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "local_30 = *puVar1;" (assignment_expression "local_30 = *puVar1" (identifier "local_30") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (if_statement "if (param_3 < 0xffffff00) {\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }" (if "if") (parenthesized_expression "(param_3 < 0xffffff00)" (( "(") (binary_expression "param_3 < 0xffffff00" (identifier "param_3") (< "<") (number_literal "0xffffff00")) () ")")) (compound_statement "{\n    local_30 = local_30 + param_3;\n    local_2c = 0;\n  }" ({ "{") (expression_statement "local_30 = local_30 + param_3;" (assignment_expression "local_30 = local_30 + param_3" (identifier "local_30") (= "=") (binary_expression "local_30 + param_3" (identifier "local_30") (+ "+") (identifier "param_3"))) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar4 = local_30 % puVar1[3];" (assignment_expression "uVar4 = local_30 % puVar1[3]" (identifier "uVar4") (= "=") (binary_expression "local_30 % puVar1[3]" (identifier "local_30") (% "%") (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "piVar7 = *(int **)(puVar1[2] + uVar4 * 4);" (assignment_expression "piVar7 = *(int **)(puVar1[2] + uVar4 * 4)" (identifier "piVar7") (= "=") (pointer_expression "*(int **)(puVar1[2] + uVar4 * 4)" (* "*") (cast_expression "(int **)(puVar1[2] + uVar4 * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar1[2] + uVar4 * 4)" (( "(") (binary_expression "puVar1[2] + uVar4 * 4" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "uVar4 * 4" (identifier "uVar4") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (piVar7 != (int *)0x0) {\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }" (if "if") (parenthesized_expression "(piVar7 != (int *)0x0)" (( "(") (binary_expression "piVar7 != (int *)0x0" (identifier "piVar7") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar5 = ((int *)*piVar7)[1];\n    piVar2 = (int *)*piVar7;\n    while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }\n    if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }\n  }" ({ "{") (expression_statement "uVar5 = ((int *)*piVar7)[1];" (assignment_expression "uVar5 = ((int *)*piVar7)[1]" (identifier "uVar5") (= "=") (subscript_expression "((int *)*piVar7)[1]" (parenthesized_expression "((int *)*piVar7)" (( "(") (cast_expression "(int *)*piVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) () ")")) ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar2 = (int *)*piVar7;" (assignment_expression "piVar2 = (int *)*piVar7" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar7" (* "*") (identifier "piVar7")))) (; ";")) (while_statement "while (piVar6 = piVar2, local_30 != uVar5) {\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }" (while "while") (parenthesized_expression "(piVar6 = piVar2, local_30 != uVar5)" (( "(") (comma_expression "piVar6 = piVar2, local_30 != uVar5" (assignment_expression "piVar6 = piVar2" (identifier "piVar6") (= "=") (identifier "piVar2")) (, ",") (binary_expression "local_30 != uVar5" (identifier "local_30") (!= "!=") (identifier "uVar5"))) () ")")) (compound_statement "{\n      piVar2 = (int *)*piVar6;\n      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;\n    }" ({ "{") (expression_statement "piVar2 = (int *)*piVar6;" (assignment_expression "piVar2 = (int *)*piVar6" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (if_statement "if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         ) goto LAB_00102bf0;" (if "if") (parenthesized_expression "((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])\n         )" (( "(") (binary_expression "(piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])" (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])" (( "(") (comma_expression "uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3]" (assignment_expression "uVar5 = piVar2[1]" (identifier "uVar5") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (, ",") (comma_expression "piVar7 = piVar6, uVar4 != uVar5 % puVar1[3]" (assignment_expression "piVar7 = piVar6" (identifier "piVar7") (= "=") (identifier "piVar6")) (, ",") (binary_expression "uVar4 != uVar5 % puVar1[3]" (identifier "uVar4") (!= "!=") (binary_expression "uVar5 % puVar1[3]" (identifier "uVar5") (% "%") (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")))))) () ")"))) () ")")) (goto_statement "goto LAB_00102bf0;" (goto "goto") (statement_identifier "LAB_00102bf0") (; ";"))) (} "}"))) (if_statement "if (*piVar7 != 0) {\n      return local_2c + *(int *)(*piVar7 + 8);\n    }" (if "if") (parenthesized_expression "(*piVar7 != 0)" (( "(") (binary_expression "*piVar7 != 0" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return local_2c + *(int *)(*piVar7 + 8);\n    }" ({ "{") (return_statement "return local_2c + *(int *)(*piVar7 + 8);" (return "return") (binary_expression "local_2c + *(int *)(*piVar7 + 8)" (identifier "local_2c") (+ "+") (pointer_expression "*(int *)(*piVar7 + 8)" (* "*") (cast_expression "(int *)(*piVar7 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar7 + 8)" (( "(") (binary_expression "*piVar7 + 8" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00102bf0:\n  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);" (statement_identifier "LAB_00102bf0") (: ":") (expression_statement "iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);" (assignment_expression "iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30)" (identifier "iVar3") (= "=") (call_expression "FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30)" (identifier "FUN_00318cf0") (argument_list "(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30)" (( "(") (identifier "puVar1") (, ",") (identifier "param_1") (, ",") (binary_expression "*(uint *)(iVar3 + 8) & 0x7ffffff" (pointer_expression "*(uint *)(iVar3 + 8)" (* "*") (cast_expression "(uint *)(iVar3 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x7ffffff")) (, ",") (identifier "local_30") () ")")))) (; ";"))) (return_statement "return iVar3 + local_2c;" (return "return") (binary_expression "iVar3 + local_2c" (identifier "iVar3") (+ "+") (identifier "local_2c")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* 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_1 var_5,uint64_t addend)

{
  pointer pSVar1;
  var_1<32> *this_00;
  type_1 var_7;
  type_2 *var_11;
  type_3 var_15;
  type_1 var_12;
  type_2 *var_10;
  type_4 p_Var7;
  type_4 var_8;
  type_2 *var_9;
  type_1 var_13;
  
  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)((int)(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 - (int)pSVar1 >> 4) <= var_5) {
                    /* WARNING: Subroutine does not return */
    var_6("../../gold/object.h",0x8c1,"local_symbol");
  }
  var_13 = (type_1)addend;
  if ((char)pSVar1[var_5].field_0xb < '\0') {
    return (uint64_t)((int)&(pSVar1[var_5].u_.merged_symbol_value)->input_value_ + (type_1)addend);
  }
  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_9 = (type_2 *)this_00->input_value_;
  if ((type_1)addend < 0xffffff00) {
    var_9 = (type_2 *)((int)&var_9->_M_nxt + (type_1)addend);
    var_13 = 0;
  }
  var_7 = (this_00->output_addresses_)._M_h._M_bucket_count;
  var_12 = (type_1)var_9 % var_7;
  var_8 = (this_00->output_addresses_)._M_h._M_buckets[var_12];
  if (var_8 != (type_4)0x0) {
    var_10 = var_8->_M_nxt[1]._M_nxt;
    var_11 = var_8->_M_nxt;
    while (p_Var7 = var_11, var_9 != var_10) {
      var_11 = p_Var7->_M_nxt;
      if ((var_11 == (type_2 *)0x0) ||
         (var_10 = var_11[1]._M_nxt, var_8 = p_Var7, var_12 != (type_1)var_10 % var_7))
      goto LAB_00102bf0;
    }
    if (var_8->_M_nxt != (type_2 *)0x0) {
      return (uint64_t)((int)&(var_8->_M_nxt[2]._M_nxt)->_M_nxt + var_13);
    }
  }
LAB_00102bf0:
  var_15 = var_1<32>::var_14
                    (this_00,(type_5 *)this,*(type_1 *)&pSVar1[var_5].field_0x8 & 0x7ffffff,
                     (type_3)var_9);
  return (uint64_t)(var_15 + var_13);
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

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

{
  uint *puVar1;
  int *piVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  int *piVar6;
  int *piVar7;
  uint local_30;
  uint local_2c;
  
  uVar4 = *(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4;
  if (uVar4 <= param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/object.h",0x8c1,"local_symbol",uVar4);
  }
  local_2c = param_3;
  iVar3 = param_2 * 0x10 + *(int *)(param_1 + 0xdc);
  if ((char)*(byte *)(iVar3 + 0xb) < '\0') {
    return param_3 + *(int *)(iVar3 + 0xc);
  }
  if ((*(byte *)(iVar3 + 0xb) & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/object.h",0x6ab,"value",param_3);
  }
  puVar1 = *(uint **)(iVar3 + 0xc);
  local_30 = *puVar1;
  if (param_3 < 0xffffff00) {
    local_30 = local_30 + param_3;
    local_2c = 0;
  }
  uVar4 = local_30 % puVar1[3];
  piVar7 = *(int **)(puVar1[2] + uVar4 * 4);
  if (piVar7 != (int *)0x0) {
    uVar5 = ((int *)*piVar7)[1];
    piVar2 = (int *)*piVar7;
    while (piVar6 = piVar2, local_30 != uVar5) {
      piVar2 = (int *)*piVar6;
      if ((piVar2 == (int *)0x0) || (uVar5 = piVar2[1], piVar7 = piVar6, uVar4 != uVar5 % puVar1[3])
         ) goto LAB_00102bf0;
    }
    if (*piVar7 != 0) {
      return local_2c + *(int *)(*piVar7 + 8);
    }
  }
LAB_00102bf0:
  iVar3 = FUN_00318cf0(puVar1,param_1,*(uint *)(iVar3 + 8) & 0x7ffffff,local_30);
  return iVar3 + local_2c;
}

