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

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

{
  Incremental_inputs_reader<32,_true> *pIVar1;
  uint uVar2;
  
  if ((char)(this->reader_).flags_ != '\x03') {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,
                        PTR_s_alize_xindex_004323b4 + -0x3e68);
  }
  pIVar1 = (this->reader_).inputs_;
  uVar2 = (this->reader_).info_offset_;
  uVar2 = *(uint *)(pIVar1->p_ + uVar2 + (n + *(int *)(pIVar1->p_ + uVar2)) * 4 + 8);
  if (uVar2 < (pIVar1->strtab_).usable_size_) {
    return (pIVar1->strtab_).base_ + uVar2;
  }
  return (char *)0x0;
}



int FUN_000f906c(int param_1,int param_2)

{
  int *piVar1;
  uint uVar2;
  
  if (*(char *)(param_1 + 0xb) != '\x03') {
                    /* WARNING: Subroutine does not return */
    gold::do_gold_unreachable
              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);
  }
  piVar1 = *(int **)(param_1 + 4);
  uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +
                    *(int *)(param_1 + 0x10) + 8);
  if (uVar2 < (uint)piVar1[2]) {
    return piVar1[1] + uVar2;
  }
  return 0;
}


lui gp,0x34
addiu gp,gp,0x1164
addu gp,gp,t9
lbu v1,0xb(a0)
li v0,0x3
bne v1,v0,0x000f90d0
_lw a2,-0x7e1c(gp)
lw v0,0x4(a0)
lw a2,0x10(a0)
lw v1,0x0(v0)
lw a0,0x8(v0)
addu a3,v1,a2
lw a3,0x0(a3)
addu a1,a1,a3
sll a1,a1,0x2
addu v1,v1,a1
addu v1,v1,a2
lw v1,0x8(v1)
sltu a0,v1,a0
beq a0,zero,0x000f90c8
_lw v0,0x4(v0)
jr ra
_addu v0,v0,v1
jr ra
_or v0,zero,zero
addiu sp,sp,-0x20
lw a0,-0x7e1c(gp)
li a1,0x3ec
lw t9,-0x7e0c(gp)
addiu a2,a2,-0x3e68
sw gp,0x10(sp)
sw ra,0x1c(sp)
bal 0x000eb2f0
_addiu a0,a0,-0x4fb0
(translation_unit "int FUN_000f906c(int param_1,int param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0xb) != '\x03') {\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }\n  piVar1 = *(int **)(param_1 + 4);\n  uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8);\n  if (uVar2 < (uint)piVar1[2]) {\n    return piVar1[1] + uVar2;\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_000f906c(int param_1,int param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0xb) != '\x03') {\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }\n  piVar1 = *(int **)(param_1 + 4);\n  uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8);\n  if (uVar2 < (uint)piVar1[2]) {\n    return piVar1[1] + uVar2;\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_000f906c(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0xb) != '\x03') {\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }\n  piVar1 = *(int **)(param_1 + 4);\n  uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8);\n  if (uVar2 < (uint)piVar1[2]) {\n    return piVar1[1] + uVar2;\n  }\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (*(char *)(param_1 + 0xb) != '\x03') {\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0xb) != '\x03')" ( (binary_expression "*(char *)(param_1 + 0xb) != '\x03'" (pointer_expression "*(char *)(param_1 + 0xb)" * (cast_expression "(char *)(param_1 + 0xb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb)" ( (binary_expression "param_1 + 0xb" identifier + number_literal) )))) != (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }" { comment (labeled_statement "gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);" (call_expression "do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68)" identifier (argument_list "(PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68)" ( (binary_expression "PTR_s_alize_xindex_004323b4 + -0x4fb0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_alize_xindex_004323b4 + -0x3e68" identifier + number_literal) ))) ;)) })) (expression_statement "piVar1 = *(int **)(param_1 + 4);" (assignment_expression "piVar1 = *(int **)(param_1 + 4)" identifier = (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8);" (assignment_expression "uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8)" identifier = (pointer_expression "*(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8)" * (cast_expression "(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8)" ( (binary_expression "*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8" (binary_expression "*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10)" (binary_expression "*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4" (pointer_expression "*piVar1" * identifier) + (binary_expression "(param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4" (parenthesized_expression "(param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10)))" ( (binary_expression "param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))" identifier + (pointer_expression "*(int *)(*piVar1 + *(int *)(param_1 + 0x10))" * (cast_expression "(int *)(*piVar1 + *(int *)(param_1 + 0x10))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + *(int *)(param_1 + 0x10))" ( (binary_expression "*piVar1 + *(int *)(param_1 + 0x10)" (pointer_expression "*piVar1" * identifier) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ))))) )) * number_literal)) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (uVar2 < (uint)piVar1[2]) {\n    return piVar1[1] + uVar2;\n  }" if (parenthesized_expression "(uVar2 < (uint)piVar1[2])" ( (binary_expression "uVar2 < (uint)piVar1[2]" identifier < (cast_expression "(uint)piVar1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    return piVar1[1] + uVar2;\n  }" { (return_statement "return piVar1[1] + uVar2;" return (binary_expression "piVar1[1] + uVar2" (subscript_expression "piVar1[1]" identifier [ number_literal ]) + identifier) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* DWARF original prototype: char * do_get_unused_symbol(Sized_input_reader * this, uint n) */\n\nchar * __thiscall\ngold::Sized_incremental_binary<32,_true>::Sized_input_reader::do_get_unused_symbol\n          (Sized_input_reader *this,uint n)\n\n{\n  Incremental_inputs_reader<32,_true> *pIVar1;\n  uint uVar2;\n  \n  if ((char)(this->reader_).flags_ != '\x03') {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,\n                        PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }\n  pIVar1 = (this->reader_).inputs_;\n  uVar2 = (this->reader_).info_offset_;\n  uVar2 = *(uint *)(pIVar1->p_ + uVar2 + (n + *(int *)(pIVar1->p_ + uVar2)) * 4 + 8);\n  if (uVar2 < (pIVar1->strtab_).usable_size_) {\n    return (pIVar1->strtab_).base_ + uVar2;\n  }\n  return (char *)0x0;\n}\n\n" comment (declaration "char * __thiscall" primitive_type (pointer_declarator "* __thiscall" * identifier) ;) (labeled_statement "gold::Sized_incremental_binary<32,_true>::Sized_input_reader::do_get_unused_symbol\n          (Sized_input_reader *this,uint n)" statement_identifier (ERROR "::Sized_incremental_binary<32,_true>::Sized_input_reader:" : : (comma_expression "Sized_incremental_binary<32,_true>::Sized_input_reader" (binary_expression "Sized_incremental_binary<32" identifier < number_literal) , (binary_expression "_true>::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,_true> *pIVar1;\n  uint uVar2;\n  \n  if ((char)(this->reader_).flags_ != '\x03') {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,\n                        PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }\n  pIVar1 = (this->reader_).inputs_;\n  uVar2 = (this->reader_).info_offset_;\n  uVar2 = *(uint *)(pIVar1->p_ + uVar2 + (n + *(int *)(pIVar1->p_ + uVar2)) * 4 + 8);\n  if (uVar2 < (pIVar1->strtab_).usable_size_) {\n    return (pIVar1->strtab_).base_ + uVar2;\n  }\n  return (char *)0x0;\n}" { (expression_statement "Incremental_inputs_reader<32,_true> *pIVar1;" (comma_expression "Incremental_inputs_reader<32,_true> *pIVar1" (binary_expression "Incremental_inputs_reader<32" identifier < number_literal) , (binary_expression "_true> *pIVar1" identifier > (pointer_expression "*pIVar1" * identifier))) ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if ((char)(this->reader_).flags_ != '\x03') {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,\n                        PTR_s_alize_xindex_004323b4 + -0x3e68);\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                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,\n                        PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }" { comment (expression_statement "do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,\n                        PTR_s_alize_xindex_004323b4 + -0x3e68);" (call_expression "do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,\n                        PTR_s_alize_xindex_004323b4 + -0x3e68)" identifier (argument_list "(PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,\n                        PTR_s_alize_xindex_004323b4 + -0x3e68)" ( (binary_expression "PTR_s_alize_xindex_004323b4 + -0x4fb0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_alize_xindex_004323b4 + -0x3e68" identifier + number_literal) ))) ;) })) (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 "uVar2 = (this->reader_).info_offset_;" (assignment_expression "uVar2 = (this->reader_).info_offset_" identifier = (field_expression "(this->reader_).info_offset_" (parenthesized_expression "(this->reader_)" ( (field_expression "this->reader_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "uVar2 = *(uint *)(pIVar1->p_ + uVar2 + (n + *(int *)(pIVar1->p_ + uVar2)) * 4 + 8);" (assignment_expression "uVar2 = *(uint *)(pIVar1->p_ + uVar2 + (n + *(int *)(pIVar1->p_ + uVar2)) * 4 + 8)" identifier = (pointer_expression "*(uint *)(pIVar1->p_ + uVar2 + (n + *(int *)(pIVar1->p_ + uVar2)) * 4 + 8)" * (cast_expression "(uint *)(pIVar1->p_ + uVar2 + (n + *(int *)(pIVar1->p_ + uVar2)) * 4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pIVar1->p_ + uVar2 + (n + *(int *)(pIVar1->p_ + uVar2)) * 4 + 8)" ( (binary_expression "pIVar1->p_ + uVar2 + (n + *(int *)(pIVar1->p_ + uVar2)) * 4 + 8" (binary_expression "pIVar1->p_ + uVar2 + (n + *(int *)(pIVar1->p_ + uVar2)) * 4" (binary_expression "pIVar1->p_ + uVar2" (field_expression "pIVar1->p_" identifier -> field_identifier) + identifier) + (binary_expression "(n + *(int *)(pIVar1->p_ + uVar2)) * 4" (parenthesized_expression "(n + *(int *)(pIVar1->p_ + uVar2))" ( (binary_expression "n + *(int *)(pIVar1->p_ + uVar2)" identifier + (pointer_expression "*(int *)(pIVar1->p_ + uVar2)" * (cast_expression "(int *)(pIVar1->p_ + uVar2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pIVar1->p_ + uVar2)" ( (binary_expression "pIVar1->p_ + uVar2" (field_expression "pIVar1->p_" identifier -> field_identifier) + identifier) ))))) )) * number_literal)) + number_literal) ))))) ;) (if_statement "if (uVar2 < (pIVar1->strtab_).usable_size_) {\n    return (pIVar1->strtab_).base_ + uVar2;\n  }" if (parenthesized_expression "(uVar2 < (pIVar1->strtab_).usable_size_)" ( (binary_expression "uVar2 < (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    return (pIVar1->strtab_).base_ + uVar2;\n  }" { (return_statement "return (pIVar1->strtab_).base_ + uVar2;" return (binary_expression "(pIVar1->strtab_).base_ + uVar2" (field_expression "(pIVar1->strtab_).base_" (parenthesized_expression "(pIVar1->strtab_)" ( (field_expression "pIVar1->strtab_" identifier -> field_identifier) )) . field_identifier) + identifier) ;) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "int FUN_000f906c(int param_1,int param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0xb) != '\x03') {\n                    \n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }\n  piVar1 = *(int **)(param_1 + 4);\n  uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8);\n  if (uVar2 < (uint)piVar1[2]) {\n    return piVar1[1] + uVar2;\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_000f906c(int param_1,int param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0xb) != '\x03') {\n                    \n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }\n  piVar1 = *(int **)(param_1 + 4);\n  uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8);\n  if (uVar2 < (uint)piVar1[2]) {\n    return piVar1[1] + uVar2;\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_000f906c(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0xb) != '\x03') {\n                    \n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }\n  piVar1 = *(int **)(param_1 + 4);\n  uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8);\n  if (uVar2 < (uint)piVar1[2]) {\n    return piVar1[1] + uVar2;\n  }\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (*(char *)(param_1 + 0xb) != '\x03') {\n                    \n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0xb) != '\x03')" ( (binary_expression "*(char *)(param_1 + 0xb) != '\x03'" (pointer_expression "*(char *)(param_1 + 0xb)" * (cast_expression "(char *)(param_1 + 0xb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb)" ( (binary_expression "param_1 + 0xb" identifier + number_literal) )))) != (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n                    \n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }" { (labeled_statement "gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);" (call_expression "do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68)" identifier (argument_list "(PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68)" ( (binary_expression "PTR_s_alize_xindex_004323b4 + -0x4fb0" identifier + number_literal) , number_literal , (binary_expression "PTR_s_alize_xindex_004323b4 + -0x3e68" identifier + number_literal) ))) ;)) })) (expression_statement "piVar1 = *(int **)(param_1 + 4);" (assignment_expression "piVar1 = *(int **)(param_1 + 4)" identifier = (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8);" (assignment_expression "uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8)" identifier = (pointer_expression "*(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8)" * (cast_expression "(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8)" ( (binary_expression "*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8" (binary_expression "*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10)" (binary_expression "*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4" (pointer_expression "*piVar1" * identifier) + (binary_expression "(param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4" (parenthesized_expression "(param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10)))" ( (binary_expression "param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))" identifier + (pointer_expression "*(int *)(*piVar1 + *(int *)(param_1 + 0x10))" * (cast_expression "(int *)(*piVar1 + *(int *)(param_1 + 0x10))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + *(int *)(param_1 + 0x10))" ( (binary_expression "*piVar1 + *(int *)(param_1 + 0x10)" (pointer_expression "*piVar1" * identifier) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ))))) )) * number_literal)) + (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (uVar2 < (uint)piVar1[2]) {\n    return piVar1[1] + uVar2;\n  }" if (parenthesized_expression "(uVar2 < (uint)piVar1[2])" ( (binary_expression "uVar2 < (uint)piVar1[2]" identifier < (cast_expression "(uint)piVar1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    return piVar1[1] + uVar2;\n  }" { (return_statement "return piVar1[1] + uVar2;" return (binary_expression "piVar1[1] + uVar2" (subscript_expression "piVar1[1]" identifier [ number_literal ]) + identifier) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * 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 { (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_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 IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (pointer_expression * IDENT) + (binary_expression (parenthesized_expression ( (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))))) )) * 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 < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (return_statement return (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) ;) })) (return_statement return LIT ;) })))
(function_definition "int FUN_000f906c(int param_1,int param_2)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0xb) != '\x03') {\n                    \n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }\n  piVar1 = *(int **)(param_1 + 4);\n  uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8);\n  if (uVar2 < (uint)piVar1[2]) {\n    return piVar1[1] + uVar2;\n  }\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_000f906c(int param_1,int param_2)" (identifier "FUN_000f906c") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  \n  if (*(char *)(param_1 + 0xb) != '\x03') {\n                    \n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }\n  piVar1 = *(int **)(param_1 + 4);\n  uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8);\n  if (uVar2 < (uint)piVar1[2]) {\n    return piVar1[1] + uVar2;\n  }\n  return 0;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (if_statement "if (*(char *)(param_1 + 0xb) != '\x03') {\n                    \n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0xb) != '\x03')" (( "(") (binary_expression "*(char *)(param_1 + 0xb) != '\x03'" (pointer_expression "*(char *)(param_1 + 0xb)" (* "*") (cast_expression "(char *)(param_1 + 0xb)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb)" (( "(") (binary_expression "param_1 + 0xb" (identifier "param_1") (+ "+") (number_literal "0xb")) () ")")))) (!= "!=") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) () ")")) (compound_statement "{\n                    \n    gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);\n  }" ({ "{") (labeled_statement "gold::do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);" (statement_identifier "gold") (: ":") (ERROR ":" (: ":")) (expression_statement "do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);" (call_expression "do_gold_unreachable\n              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68)" (identifier "do_gold_unreachable") (argument_list "(PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68)" (( "(") (binary_expression "PTR_s_alize_xindex_004323b4 + -0x4fb0" (identifier "PTR_s_alize_xindex_004323b4") (+ "+") (number_literal "-0x4fb0")) (, ",") (number_literal "0x3ec") (, ",") (binary_expression "PTR_s_alize_xindex_004323b4 + -0x3e68" (identifier "PTR_s_alize_xindex_004323b4") (+ "+") (number_literal "-0x3e68")) () ")"))) (; ";"))) (} "}"))) (expression_statement "piVar1 = *(int **)(param_1 + 4);" (assignment_expression "piVar1 = *(int **)(param_1 + 4)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8);" (assignment_expression "uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8)" (* "*") (cast_expression "(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8)" (( "(") (binary_expression "*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10) + 8" (binary_expression "*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +\n                    *(int *)(param_1 + 0x10)" (binary_expression "*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (binary_expression "(param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4" (parenthesized_expression "(param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10)))" (( "(") (binary_expression "param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))" (identifier "param_2") (+ "+") (pointer_expression "*(int *)(*piVar1 + *(int *)(param_1 + 0x10))" (* "*") (cast_expression "(int *)(*piVar1 + *(int *)(param_1 + 0x10))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar1 + *(int *)(param_1 + 0x10))" (( "(") (binary_expression "*piVar1 + *(int *)(param_1 + 0x10)" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) () ")"))))) () ")")) (* "*") (number_literal "4"))) (+ "+") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (uVar2 < (uint)piVar1[2]) {\n    return piVar1[1] + uVar2;\n  }" (if "if") (parenthesized_expression "(uVar2 < (uint)piVar1[2])" (( "(") (binary_expression "uVar2 < (uint)piVar1[2]" (identifier "uVar2") (< "<") (cast_expression "(uint)piVar1[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) () ")")) (compound_statement "{\n    return piVar1[1] + uVar2;\n  }" ({ "{") (return_statement "return piVar1[1] + uVar2;" (return "return") (binary_expression "piVar1[1] + uVar2" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "uVar2")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* 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_1 var_9)

{
  var_4<32,var_5> *pIVar1;
  type_1 var_8;
  
  if ((char)(var_3->reader_).flags_ != '\x03') {
                    /* WARNING: Subroutine does not return */
    var_6(var_7 + -0x4fb0,0x3ec,
                        var_7 + -0x3e68);
  }
  pIVar1 = (var_3->reader_).inputs_;
  var_8 = (var_3->reader_).info_offset_;
  var_8 = *(type_1 *)(pIVar1->p_ + var_8 + (var_9 + *(int *)(pIVar1->p_ + var_8)) * 4 + 8);
  if (var_8 < (pIVar1->strtab_).usable_size_) {
    return (pIVar1->strtab_).base_ + var_8;
  }
  return (char *)0x0;
}


(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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator 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 (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (parenthesized_expression (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: (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))) 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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (return_statement (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) (return_statement (number_literal)))))

int MASKED(int param_1,int param_2)

{
  int *piVar1;
  uint uVar2;
  
  if (*(char *)(param_1 + 0xb) != '\x03') {
                    /* WARNING: Subroutine does not return */
    gold::do_gold_unreachable
              (PTR_s_alize_xindex_004323b4 + -0x4fb0,0x3ec,PTR_s_alize_xindex_004323b4 + -0x3e68);
  }
  piVar1 = *(int **)(param_1 + 4);
  uVar2 = *(uint *)(*piVar1 + (param_2 + *(int *)(*piVar1 + *(int *)(param_1 + 0x10))) * 4 +
                    *(int *)(param_1 + 0x10) + 8);
  if (uVar2 < (uint)piVar1[2]) {
    return piVar1[1] + uVar2;
  }
  return 0;
}

