
/* DWARF original prototype: char * do_get_unused_symbol(Sized_input_reader * this, uint n) */

char * __thiscall
gold::Sized_incremental_binary<32,_false>::Sized_input_reader::do_get_unused_symbol
          (Sized_input_reader *this,uint n)

{
  Incremental_inputs_reader<32,_false> *pIVar1;
  char *pcVar2;
  ulong uVar3;
  
  if ((char)(this->reader_).flags_ == '\x03') {
    pIVar1 = (this->reader_).inputs_;
    uVar3 = (ulong)(this->reader_).info_offset_;
    uVar3 = (ulong)*(uint *)(pIVar1->p_ +
                            (ulong)(n << 2) + 8 + (uint)(*(int *)(pIVar1->p_ + uVar3) << 2) + uVar3)
    ;
    pcVar2 = (char *)0x0;
    if (uVar3 < (pIVar1->strtab_).usable_size_) {
      pcVar2 = (pIVar1->strtab_).base_ + uVar3;
    }
    return pcVar2;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/incremental.h",0x3ec,"get_unused_symbol");
}



long FUN_001879c0(long param_1,int param_2)

{
  long *plVar1;
  long lVar2;
  ulong uVar3;
  
  if (*(char *)(param_1 + 0x10) == '\x03') {
    plVar1 = *(long **)(param_1 + 8);
    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +
                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +
                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)
                            );
    lVar2 = 0;
    if (uVar3 < (ulong)plVar1[2]) {
      lVar2 = plVar1[1] + uVar3;
    }
    return lVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");
}


CMP byte ptr [RDI + 0x10],0x3
JNZ 0x001879f4
MOV RCX,qword ptr [RDI + 0x8]
MOV EDI,dword ptr [RDI + 0x18]
SHL ESI,0x2
MOV RAX,qword ptr [RCX]
MOV EDX,dword ptr [RAX + RDI*0x1]
ADD RAX,RDI
SHL EDX,0x2
ADD RAX,RDX
MOV EDX,dword ptr [RSI + RAX*0x1 + 0x8]
MOV RSI,qword ptr [RCX + 0x8]
XOR EAX,EAX
CMP RDX,qword ptr [RCX + 0x10]
JNC 0x001879f3
LEA RAX,[RSI + RDX*0x1]
RET
PUSH RAX
LEA RDX,[0x374f80]
MOV ESI,0x3ec
LEA RDI,[0x373482]
CALL 0x0017c650
(translation_unit "long FUN_001879c0(long param_1,int param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  if (*(char *)(param_1 + 0x10) == '\x03') {\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");\n}\n\n" (function_definition "long FUN_001879c0(long param_1,int param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  if (*(char *)(param_1 + 0x10) == '\x03') {\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");\n}" (sized_type_specifier "long" long) (function_declarator "FUN_001879c0(long param_1,int param_2)" identifier (parameter_list "(long param_1,int param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  if (*(char *)(param_1 + 0x10) == '\x03') {\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (if_statement "if (*(char *)(param_1 + 0x10) == '\x03') {\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x10) == '\x03')" ( (binary_expression "*(char *)(param_1 + 0x10) == '\x03'" (pointer_expression "*(char *)(param_1 + 0x10)" * (cast_expression "(char *)(param_1 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }" { (expression_statement "plVar1 = *(long **)(param_1 + 8);" (assignment_expression "plVar1 = *(long **)(param_1 + 8)" identifier = (pointer_expression "*(long **)(param_1 + 8)" * (cast_expression "(long **)(param_1 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );" (assignment_expression "uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            )" identifier = (binary_expression "(ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            )" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            )" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            )" ( (binary_expression "(ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)" (binary_expression "(ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18)" (binary_expression "(ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1" (binary_expression "(ulong)(uint)(param_2 << 2) + 8" (call_expression "(ulong)(uint)(param_2 << 2)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uint)" ( identifier ))) (argument_list "(param_2 << 2)" ( (binary_expression "param_2 << 2" identifier << number_literal) ))) + number_literal) + (pointer_expression "*plVar1" * identifier)) + (binary_expression "(ulong)*(uint *)(param_1 + 0x18)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) + (call_expression "(ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uint)" ( identifier ))) (argument_list "(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)" ( (binary_expression "*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2" (pointer_expression "*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18))" * (cast_expression "(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar1 + (ulong)*(uint *)(param_1 + 0x18))" ( (binary_expression "*plVar1 + (ulong)*(uint *)(param_1 + 0x18)" (pointer_expression "*plVar1" * identifier) + (binary_expression "(ulong)*(uint *)(param_1 + 0x18)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )))) << number_literal) )))) ))))) ;) (expression_statement "lVar2 = 0;" (assignment_expression "lVar2 = 0" identifier = number_literal) ;) (if_statement "if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }" if (parenthesized_expression "(uVar3 < (ulong)plVar1[2])" ( (binary_expression "uVar3 < (ulong)plVar1[2]" identifier < (cast_expression "(ulong)plVar1[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "plVar1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n      lVar2 = plVar1[1] + uVar3;\n    }" { (expression_statement "lVar2 = plVar1[1] + uVar3;" (assignment_expression "lVar2 = plVar1[1] + uVar3" identifier = (binary_expression "plVar1[1] + uVar3" (subscript_expression "plVar1[1]" identifier [ number_literal ]) + identifier)) ;) })) (return_statement "return lVar2;" return identifier ;) })) comment (expression_statement "FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");" (call_expression "FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol")" identifier (argument_list "("../../gold/incremental.h",0x3ec,"get_unused_symbol")" ( (string_literal ""../../gold/incremental.h"" " string_content ") , number_literal , (string_literal ""get_unused_symbol"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: char * do_get_unused_symbol(Sized_input_reader * this, uint n) */\n\nchar * __thiscall\ngold::Sized_incremental_binary<32,_false>::Sized_input_reader::do_get_unused_symbol\n          (Sized_input_reader *this,uint n)\n\n{\n  Incremental_inputs_reader<32,_false> *pIVar1;\n  char *pcVar2;\n  ulong uVar3;\n  \n  if ((char)(this->reader_).flags_ == '\x03') {\n    pIVar1 = (this->reader_).inputs_;\n    uVar3 = (ulong)(this->reader_).info_offset_;\n    uVar3 = (ulong)*(uint *)(pIVar1->p_ +\n                            (ulong)(n << 2) + 8 + (uint)(*(int *)(pIVar1->p_ + uVar3) << 2) + uVar3)\n    ;\n    pcVar2 = (char *)0x0;\n    if (uVar3 < (pIVar1->strtab_).usable_size_) {\n      pcVar2 = (pIVar1->strtab_).base_ + uVar3;\n    }\n    return pcVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/incremental.h",0x3ec,"get_unused_symbol");\n}\n\n" comment (declaration "char * __thiscall" primitive_type (pointer_declarator "* __thiscall" * identifier) ;) (labeled_statement "gold::Sized_incremental_binary<32,_false>::Sized_input_reader::do_get_unused_symbol\n          (Sized_input_reader *this,uint n)" statement_identifier (ERROR "::Sized_incremental_binary<32,_false>::Sized_input_reader:" : : (comma_expression "Sized_incremental_binary<32,_false>::Sized_input_reader" (binary_expression "Sized_incremental_binary<32" identifier < number_literal) , (binary_expression "_false>::Sized_input_reader" identifier > (ERROR "::" : :) identifier)) :) : (expression_statement "do_get_unused_symbol\n          (Sized_input_reader *this,uint n)" (call_expression "do_get_unused_symbol\n          (Sized_input_reader *this,uint n)" identifier (argument_list "(Sized_input_reader *this,uint n)" ( (binary_expression "Sized_input_reader *this" identifier * identifier) , identifier (ERROR "n" identifier) ))) ;)) (compound_statement "{\n  Incremental_inputs_reader<32,_false> *pIVar1;\n  char *pcVar2;\n  ulong uVar3;\n  \n  if ((char)(this->reader_).flags_ == '\x03') {\n    pIVar1 = (this->reader_).inputs_;\n    uVar3 = (ulong)(this->reader_).info_offset_;\n    uVar3 = (ulong)*(uint *)(pIVar1->p_ +\n                            (ulong)(n << 2) + 8 + (uint)(*(int *)(pIVar1->p_ + uVar3) << 2) + uVar3)\n    ;\n    pcVar2 = (char *)0x0;\n    if (uVar3 < (pIVar1->strtab_).usable_size_) {\n      pcVar2 = (pIVar1->strtab_).base_ + uVar3;\n    }\n    return pcVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/incremental.h",0x3ec,"get_unused_symbol");\n}" { (expression_statement "Incremental_inputs_reader<32,_false> *pIVar1;" (comma_expression "Incremental_inputs_reader<32,_false> *pIVar1" (binary_expression "Incremental_inputs_reader<32" identifier < number_literal) , (binary_expression "_false> *pIVar1" identifier > (pointer_expression "*pIVar1" * identifier))) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (if_statement "if ((char)(this->reader_).flags_ == '\x03') {\n    pIVar1 = (this->reader_).inputs_;\n    uVar3 = (ulong)(this->reader_).info_offset_;\n    uVar3 = (ulong)*(uint *)(pIVar1->p_ +\n                            (ulong)(n << 2) + 8 + (uint)(*(int *)(pIVar1->p_ + uVar3) << 2) + uVar3)\n    ;\n    pcVar2 = (char *)0x0;\n    if (uVar3 < (pIVar1->strtab_).usable_size_) {\n      pcVar2 = (pIVar1->strtab_).base_ + uVar3;\n    }\n    return pcVar2;\n  }" if (parenthesized_expression "((char)(this->reader_).flags_ == '\x03')" ( (binary_expression "(char)(this->reader_).flags_ == '\x03'" (cast_expression "(char)(this->reader_).flags_" ( (type_descriptor "char" primitive_type) ) (field_expression "(this->reader_).flags_" (parenthesized_expression "(this->reader_)" ( (field_expression "this->reader_" identifier -> field_identifier) )) . field_identifier)) == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n    pIVar1 = (this->reader_).inputs_;\n    uVar3 = (ulong)(this->reader_).info_offset_;\n    uVar3 = (ulong)*(uint *)(pIVar1->p_ +\n                            (ulong)(n << 2) + 8 + (uint)(*(int *)(pIVar1->p_ + uVar3) << 2) + uVar3)\n    ;\n    pcVar2 = (char *)0x0;\n    if (uVar3 < (pIVar1->strtab_).usable_size_) {\n      pcVar2 = (pIVar1->strtab_).base_ + uVar3;\n    }\n    return pcVar2;\n  }" { (expression_statement "pIVar1 = (this->reader_).inputs_;" (assignment_expression "pIVar1 = (this->reader_).inputs_" identifier = (field_expression "(this->reader_).inputs_" (parenthesized_expression "(this->reader_)" ( (field_expression "this->reader_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "uVar3 = (ulong)(this->reader_).info_offset_;" (assignment_expression "uVar3 = (ulong)(this->reader_).info_offset_" identifier = (field_expression "(ulong)(this->reader_).info_offset_" (call_expression "(ulong)(this->reader_)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(this->reader_)" ( (field_expression "this->reader_" identifier -> field_identifier) ))) . field_identifier)) ;) (expression_statement "uVar3 = (ulong)*(uint *)(pIVar1->p_ +\n                            (ulong)(n << 2) + 8 + (uint)(*(int *)(pIVar1->p_ + uVar3) << 2) + uVar3)\n    ;" (assignment_expression "uVar3 = (ulong)*(uint *)(pIVar1->p_ +\n                            (ulong)(n << 2) + 8 + (uint)(*(int *)(pIVar1->p_ + uVar3) << 2) + uVar3)" identifier = (binary_expression "(ulong)*(uint *)(pIVar1->p_ +\n                            (ulong)(n << 2) + 8 + (uint)(*(int *)(pIVar1->p_ + uVar3) << 2) + uVar3)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(pIVar1->p_ +\n                            (ulong)(n << 2) + 8 + (uint)(*(int *)(pIVar1->p_ + uVar3) << 2) + uVar3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pIVar1->p_ +\n                            (ulong)(n << 2) + 8 + (uint)(*(int *)(pIVar1->p_ + uVar3) << 2) + uVar3)" ( (binary_expression "pIVar1->p_ +\n                            (ulong)(n << 2) + 8 + (uint)(*(int *)(pIVar1->p_ + uVar3) << 2) + uVar3" (binary_expression "pIVar1->p_ +\n                            (ulong)(n << 2) + 8 + (uint)(*(int *)(pIVar1->p_ + uVar3) << 2)" (binary_expression "pIVar1->p_ +\n                            (ulong)(n << 2) + 8" (binary_expression "pIVar1->p_ +\n                            (ulong)(n << 2)" (field_expression "pIVar1->p_" identifier -> field_identifier) + (call_expression "(ulong)(n << 2)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(n << 2)" ( (binary_expression "n << 2" identifier << number_literal) )))) + number_literal) + (call_expression "(uint)(*(int *)(pIVar1->p_ + uVar3) << 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(pIVar1->p_ + uVar3) << 2)" ( (binary_expression "*(int *)(pIVar1->p_ + uVar3) << 2" (pointer_expression "*(int *)(pIVar1->p_ + uVar3)" * (cast_expression "(int *)(pIVar1->p_ + uVar3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pIVar1->p_ + uVar3)" ( (binary_expression "pIVar1->p_ + uVar3" (field_expression "pIVar1->p_" identifier -> field_identifier) + identifier) )))) << number_literal) )))) + identifier) ))))) ;) (expression_statement "pcVar2 = (char *)0x0;" (assignment_expression "pcVar2 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (uVar3 < (pIVar1->strtab_).usable_size_) {\n      pcVar2 = (pIVar1->strtab_).base_ + uVar3;\n    }" if (parenthesized_expression "(uVar3 < (pIVar1->strtab_).usable_size_)" ( (binary_expression "uVar3 < (pIVar1->strtab_).usable_size_" identifier < (field_expression "(pIVar1->strtab_).usable_size_" (parenthesized_expression "(pIVar1->strtab_)" ( (field_expression "pIVar1->strtab_" identifier -> field_identifier) )) . field_identifier)) )) (compound_statement "{\n      pcVar2 = (pIVar1->strtab_).base_ + uVar3;\n    }" { (expression_statement "pcVar2 = (pIVar1->strtab_).base_ + uVar3;" (assignment_expression "pcVar2 = (pIVar1->strtab_).base_ + uVar3" identifier = (binary_expression "(pIVar1->strtab_).base_ + uVar3" (field_expression "(pIVar1->strtab_).base_" (parenthesized_expression "(pIVar1->strtab_)" ( (field_expression "pIVar1->strtab_" identifier -> field_identifier) )) . field_identifier) + identifier)) ;) })) (return_statement "return pcVar2;" return identifier ;) })) comment (expression_statement "do_gold_unreachable("../../gold/incremental.h",0x3ec,"get_unused_symbol");" (call_expression "do_gold_unreachable("../../gold/incremental.h",0x3ec,"get_unused_symbol")" identifier (argument_list "("../../gold/incremental.h",0x3ec,"get_unused_symbol")" ( (string_literal ""../../gold/incremental.h"" " string_content ") , number_literal , (string_literal ""get_unused_symbol"" " string_content ") ))) ;) }))
(translation_unit "long FUN_001879c0(long param_1,int param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  if (*(char *)(param_1 + 0x10) == '\x03') {\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }\n                    \n  FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");\n}\n\n" (function_definition "long FUN_001879c0(long param_1,int param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  if (*(char *)(param_1 + 0x10) == '\x03') {\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }\n                    \n  FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");\n}" (sized_type_specifier "long" long) (function_declarator "FUN_001879c0(long param_1,int param_2)" identifier (parameter_list "(long param_1,int param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  if (*(char *)(param_1 + 0x10) == '\x03') {\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }\n                    \n  FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (if_statement "if (*(char *)(param_1 + 0x10) == '\x03') {\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x10) == '\x03')" ( (binary_expression "*(char *)(param_1 + 0x10) == '\x03'" (pointer_expression "*(char *)(param_1 + 0x10)" * (cast_expression "(char *)(param_1 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }" { (expression_statement "plVar1 = *(long **)(param_1 + 8);" (assignment_expression "plVar1 = *(long **)(param_1 + 8)" identifier = (pointer_expression "*(long **)(param_1 + 8)" * (cast_expression "(long **)(param_1 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );" (assignment_expression "uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            )" identifier = (binary_expression "(ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            )" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            )" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            )" ( (binary_expression "(ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)" (binary_expression "(ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18)" (binary_expression "(ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1" (binary_expression "(ulong)(uint)(param_2 << 2) + 8" (call_expression "(ulong)(uint)(param_2 << 2)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uint)" ( identifier ))) (argument_list "(param_2 << 2)" ( (binary_expression "param_2 << 2" identifier << number_literal) ))) + number_literal) + (pointer_expression "*plVar1" * identifier)) + (binary_expression "(ulong)*(uint *)(param_1 + 0x18)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) + (call_expression "(ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uint)" ( identifier ))) (argument_list "(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)" ( (binary_expression "*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2" (pointer_expression "*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18))" * (cast_expression "(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar1 + (ulong)*(uint *)(param_1 + 0x18))" ( (binary_expression "*plVar1 + (ulong)*(uint *)(param_1 + 0x18)" (pointer_expression "*plVar1" * identifier) + (binary_expression "(ulong)*(uint *)(param_1 + 0x18)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )))) << number_literal) )))) ))))) ;) (expression_statement "lVar2 = 0;" (assignment_expression "lVar2 = 0" identifier = number_literal) ;) (if_statement "if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }" if (parenthesized_expression "(uVar3 < (ulong)plVar1[2])" ( (binary_expression "uVar3 < (ulong)plVar1[2]" identifier < (cast_expression "(ulong)plVar1[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "plVar1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n      lVar2 = plVar1[1] + uVar3;\n    }" { (expression_statement "lVar2 = plVar1[1] + uVar3;" (assignment_expression "lVar2 = plVar1[1] + uVar3" identifier = (binary_expression "plVar1[1] + uVar3" (subscript_expression "plVar1[1]" identifier [ number_literal ]) + identifier)) ;) })) (return_statement "return lVar2;" return identifier ;) })) (expression_statement "FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");" (call_expression "FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol")" identifier (argument_list "("../../gold/incremental.h",0x3ec,"get_unused_symbol")" ( (string_literal ""../../gold/incremental.h"" " string_content ") , number_literal , (string_literal ""get_unused_symbol"" " string_content ") ))) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression IDENT << LIT) ))) + LIT) + (pointer_expression * IDENT)) + (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) << LIT) )))) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT)) ;) })) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "long FUN_001879c0(long param_1,int param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  if (*(char *)(param_1 + 0x10) == '\x03') {\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }\n                    \n  FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_001879c0(long param_1,int param_2)" (identifier "FUN_001879c0") (parameter_list "(long param_1,int param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  ulong uVar3;\n  \n  if (*(char *)(param_1 + 0x10) == '\x03') {\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }\n                    \n  FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (if_statement "if (*(char *)(param_1 + 0x10) == '\x03') {\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x10) == '\x03')" (( "(") (binary_expression "*(char *)(param_1 + 0x10) == '\x03'" (pointer_expression "*(char *)(param_1 + 0x10)" (* "*") (cast_expression "(char *)(param_1 + 0x10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) () ")")) (compound_statement "{\n    plVar1 = *(long **)(param_1 + 8);\n    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );\n    lVar2 = 0;\n    if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }\n    return lVar2;\n  }" ({ "{") (expression_statement "plVar1 = *(long **)(param_1 + 8);" (assignment_expression "plVar1 = *(long **)(param_1 + 8)" (identifier "plVar1") (= "=") (pointer_expression "*(long **)(param_1 + 8)" (* "*") (cast_expression "(long **)(param_1 + 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            );" (assignment_expression "uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            )" (identifier "uVar3") (= "=") (binary_expression "(ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            )" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            )" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)\n                            )" (( "(") (binary_expression "(ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +\n                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)" (binary_expression "(ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18)" (binary_expression "(ulong)(uint)(param_2 << 2) + 8 +\n                            *plVar1" (binary_expression "(ulong)(uint)(param_2 << 2) + 8" (call_expression "(ulong)(uint)(param_2 << 2)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(uint)" (( "(") (identifier "uint") () ")"))) (argument_list "(param_2 << 2)" (( "(") (binary_expression "param_2 << 2" (identifier "param_2") (<< "<<") (number_literal "2")) () ")"))) (+ "+") (number_literal "8")) (+ "+") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) (+ "+") (binary_expression "(ulong)*(uint *)(param_1 + 0x18)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (+ "+") (call_expression "(ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)" (call_expression "(ulong)(uint)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(uint)" (( "(") (identifier "uint") () ")"))) (argument_list "(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)" (( "(") (binary_expression "*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2" (pointer_expression "*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18))" (* "*") (cast_expression "(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*plVar1 + (ulong)*(uint *)(param_1 + 0x18))" (( "(") (binary_expression "*plVar1 + (ulong)*(uint *)(param_1 + 0x18)" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (binary_expression "(ulong)*(uint *)(param_1 + 0x18)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) () ")")))) (<< "<<") (number_literal "2")) () ")")))) () ")"))))) (; ";")) (expression_statement "lVar2 = 0;" (assignment_expression "lVar2 = 0" (identifier "lVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (uVar3 < (ulong)plVar1[2]) {\n      lVar2 = plVar1[1] + uVar3;\n    }" (if "if") (parenthesized_expression "(uVar3 < (ulong)plVar1[2])" (( "(") (binary_expression "uVar3 < (ulong)plVar1[2]" (identifier "uVar3") (< "<") (cast_expression "(ulong)plVar1[2]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]")))) () ")")) (compound_statement "{\n      lVar2 = plVar1[1] + uVar3;\n    }" ({ "{") (expression_statement "lVar2 = plVar1[1] + uVar3;" (assignment_expression "lVar2 = plVar1[1] + uVar3" (identifier "lVar2") (= "=") (binary_expression "plVar1[1] + uVar3" (subscript_expression "plVar1[1]" (identifier "plVar1") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "uVar3"))) (; ";")) (} "}"))) (return_statement "return lVar2;" (return "return") (identifier "lVar2") (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");" (call_expression "FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol")" (identifier "FUN_0017c650") (argument_list "("../../gold/incremental.h",0x3ec,"get_unused_symbol")" (( "(") (string_literal ""../../gold/incremental.h"" (" """) (string_content "../../gold/incremental.h") (" """)) (, ",") (number_literal "0x3ec") (, ",") (string_literal ""get_unused_symbol"" (" """) (string_content "get_unused_symbol") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: char * do_get_unused_symbol(Sized_input_reader * this, uint n) */

char * __thiscall
gold::Sized_incremental_binary<32,var_5>::var_2::var_1
          (var_2 *var_3,type_2 var_6)

{
  var_4<32,var_5> *pIVar1;
  char *pcVar2;
  type_1 var_7;
  
  if ((char)(var_3->reader_).flags_ == '\x03') {
    pIVar1 = (var_3->reader_).inputs_;
    var_7 = (type_1)(var_3->reader_).info_offset_;
    var_7 = (type_1)*(type_2 *)(pIVar1->p_ +
                            (type_1)(var_6 << 2) + 8 + (type_2)(*(int *)(pIVar1->p_ + var_7) << 2) + var_7)
    ;
    pcVar2 = (char *)0x0;
    if (var_7 < (pIVar1->strtab_).usable_size_) {
      pcVar2 = (pIVar1->strtab_).base_ + var_7;
    }
    return pcVar2;
  }
                    /* WARNING: Subroutine does not return */
  var_8("../../gold/incremental.h",0x3ec,"get_unused_symbol");
}


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

long MASKED(long param_1,int param_2)

{
  long *plVar1;
  long lVar2;
  ulong uVar3;
  
  if (*(char *)(param_1 + 0x10) == '\x03') {
    plVar1 = *(long **)(param_1 + 8);
    uVar3 = (ulong)*(uint *)((ulong)(uint)(param_2 << 2) + 8 +
                            *plVar1 + (ulong)*(uint *)(param_1 + 0x18) +
                            (ulong)(uint)(*(int *)(*plVar1 + (ulong)*(uint *)(param_1 + 0x18)) << 2)
                            );
    lVar2 = 0;
    if (uVar3 < (ulong)plVar1[2]) {
      lVar2 = plVar1[1] + uVar3;
    }
    return lVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/incremental.h",0x3ec,"get_unused_symbol");
}

