
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: section_offset_type
   get_offset_from_key(Stringpool_template<unsigned_int> * this, Key k) */

section_offset_type __thiscall
gold::Stringpool_template<unsigned_int>::get_offset_from_key
          (Stringpool_template<unsigned_int> *this,Key k)

{
  if (k <= (this->key_to_offset_).size_) {
    return *(section_offset_type *)
            ((int)(this->key_to_offset_).chunks_.
                  super__Vector_base<std::vector<int,_std::allocator<int>_>,_std::allocator<std::vector<int,_std::allocator<int>_>_>_>
                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int,_std::allocator<int>_>.
                  _M_impl._M_start + (k - 1 & 0x1fff) * 4);
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/stringpool.h",0x108,"get_offset_from_key");
}



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

undefined4 FUN_0011da20(int param_1,uint param_2)

{
  if (param_2 <= *(uint *)(param_1 + 0x28)) {
    return *(undefined4 *)
            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +
            (param_2 - 1 & 0x1fff) * 4);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);
}


PUSH EBX
CALL 0x00032730
ADD EBX,0x1e45da
SUB ESP,0x8
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x14]
CMP EAX,dword ptr [ECX + 0x28]
JA 0x0011da5c
SUB EAX,0x1
MOV EBX,dword ptr [ECX + 0x1c]
MOV EDX,EAX
AND EAX,0x1fff
SHR EDX,0xd
LEA EDX,[EDX + EDX*0x2]
LEA EDX,[EBX + EDX*0x4]
MOV EDX,dword ptr [EDX]
MOV EAX,dword ptr [EDX + EAX*0x4]
ADD ESP,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfff2e6a0]
PUSH EAX
LEA EAX,[EBX + 0xfff18532]
PUSH 0x108
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0011da20(int param_1,uint param_2)\n\n{\n  if (param_2 <= *(uint *)(param_1 + 0x28)) {\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);\n}\n\n" comment (function_definition "undefined4 FUN_0011da20(int param_1,uint param_2)\n\n{\n  if (param_2 <= *(uint *)(param_1 + 0x28)) {\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);\n}" type_identifier (function_declarator "FUN_0011da20(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if (param_2 <= *(uint *)(param_1 + 0x28)) {\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);\n}" { (if_statement "if (param_2 <= *(uint *)(param_1 + 0x28)) {\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }" if (parenthesized_expression "(param_2 <= *(uint *)(param_1 + 0x28))" ( (binary_expression "param_2 <= *(uint *)(param_1 + 0x28)" identifier <= (pointer_expression "*(uint *)(param_1 + 0x28)" * (cast_expression "(uint *)(param_1 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }" { (return_statement "return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);" return (pointer_expression "*(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4)" * (cast_expression "(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4" (pointer_expression "*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc)" * (cast_expression "(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc)" ( (binary_expression "*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + (binary_expression "(param_2 - 1 >> 0xd) * 0xc" (parenthesized_expression "(param_2 - 1 >> 0xd)" ( (binary_expression "param_2 - 1 >> 0xd" (binary_expression "param_2 - 1" identifier - number_literal) >> number_literal) )) * number_literal)) )))) + (binary_expression "(param_2 - 1 & 0x1fff) * 4" (parenthesized_expression "(param_2 - 1 & 0x1fff)" ( (binary_expression "param_2 - 1 & 0x1fff" (binary_expression "param_2 - 1" identifier - number_literal) & number_literal) )) * number_literal)) )))) ;) })) comment (expression_statement "FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);" (call_expression "FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2)" identifier (argument_list "("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2)" ( (string_literal ""../../gold/stringpool.h"" " string_content ") , number_literal , (string_literal ""get_offset_from_key"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Type propagation algorithm not settling */\n/* DWARF original prototype: section_offset_type\n   get_offset_from_key(Stringpool_template<unsigned_int> * this, Key k) */\n\nsection_offset_type __thiscall\ngold::Stringpool_template<unsigned_int>::get_offset_from_key\n          (Stringpool_template<unsigned_int> *this,Key k)\n\n{\n  if (k <= (this->key_to_offset_).size_) {\n    return *(section_offset_type *)\n            ((int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std::vector<int,_std::allocator<int>_>,_std::allocator<std::vector<int,_std::allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int,_std::allocator<int>_>.\n                  _M_impl._M_start + (k - 1 & 0x1fff) * 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/stringpool.h",0x108,"get_offset_from_key");\n}\n\n" comment comment comment (function_definition "section_offset_type __thiscall\ngold::Stringpool_template<unsigned_int>::get_offset_from_key\n          (Stringpool_template<unsigned_int> *this,Key k)\n\n{\n  if (k <= (this->key_to_offset_).size_) {\n    return *(section_offset_type *)\n            ((int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std::vector<int,_std::allocator<int>_>,_std::allocator<std::vector<int,_std::allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int,_std::allocator<int>_>.\n                  _M_impl._M_start + (k - 1 & 0x1fff) * 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/stringpool.h",0x108,"get_offset_from_key");\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Stringpool_template<unsigned_int>::" identifier : : identifier < identifier > : :) (function_declarator "get_offset_from_key\n          (Stringpool_template<unsigned_int> *this,Key k)" identifier (parameter_list "(Stringpool_template<unsigned_int> *this,Key k)" ( (parameter_declaration "Stringpool_template<unsigned_int> *this" type_identifier (ERROR "<unsigned_int>" < identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Key k" type_identifier identifier) ))) (compound_statement "{\n  if (k <= (this->key_to_offset_).size_) {\n    return *(section_offset_type *)\n            ((int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std::vector<int,_std::allocator<int>_>,_std::allocator<std::vector<int,_std::allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int,_std::allocator<int>_>.\n                  _M_impl._M_start + (k - 1 & 0x1fff) * 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/stringpool.h",0x108,"get_offset_from_key");\n}" { (if_statement "if (k <= (this->key_to_offset_).size_) {\n    return *(section_offset_type *)\n            ((int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std::vector<int,_std::allocator<int>_>,_std::allocator<std::vector<int,_std::allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int,_std::allocator<int>_>.\n                  _M_impl._M_start + (k - 1 & 0x1fff) * 4);\n  }" if (parenthesized_expression "(k <= (this->key_to_offset_).size_)" ( (binary_expression "k <= (this->key_to_offset_).size_" identifier <= (field_expression "(this->key_to_offset_).size_" (parenthesized_expression "(this->key_to_offset_)" ( (field_expression "this->key_to_offset_" identifier -> field_identifier) )) . field_identifier)) )) (compound_statement "{\n    return *(section_offset_type *)\n            ((int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std::vector<int,_std::allocator<int>_>,_std::allocator<std::vector<int,_std::allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int,_std::allocator<int>_>.\n                  _M_impl._M_start + (k - 1 & 0x1fff) * 4);\n  }" { (return_statement "return *(section_offset_type *)\n            ((int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std::vector<int,_std::allocator<int>_>,_std::allocator<std::vector<int,_std::allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int,_std::allocator<int>_>.\n                  _M_impl._M_start + (k - 1 & 0x1fff) * 4);" return (pointer_expression "*(section_offset_type *)\n            ((int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std::vector<int,_std::allocator<int>_>,_std::allocator<std::vector<int,_std::allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int,_std::allocator<int>_>.\n                  _M_impl._M_start + (k - 1 & 0x1fff) * 4)" * (cast_expression "(section_offset_type *)\n            ((int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std::vector<int,_std::allocator<int>_>,_std::allocator<std::vector<int,_std::allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int,_std::allocator<int>_>.\n                  _M_impl._M_start + (k - 1 & 0x1fff) * 4)" ( (type_descriptor "section_offset_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std::vector<int,_std::allocator<int>_>,_std::allocator<std::vector<int,_std::allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int,_std::allocator<int>_>.\n                  _M_impl._M_start + (k - 1 & 0x1fff) * 4)" ( (ERROR "(int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std::vector<int,_std::allocator<int>_>,_std::allocator<std::vector<int,_std::allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int,_std::" (comma_expression "(int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std::vector<int,_std" (binary_expression "(int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std::vector<int" (binary_expression "(int)(this->key_to_offset_).chunks_.\n                  super__Vector_base<std" (cast_expression "(int)(this->key_to_offset_).chunks_.\n                  super__Vector_base" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->key_to_offset_).chunks_.\n                  super__Vector_base" (field_expression "(this->key_to_offset_).chunks_" (parenthesized_expression "(this->key_to_offset_)" ( (field_expression "this->key_to_offset_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) < identifier) (ERROR "::vector" : : identifier) < identifier) , identifier) : : (binary_expression "allocator<int>_>,_std" (binary_expression "allocator<int>_" (binary_expression "allocator<int" identifier < identifier) > identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "vector<int,_std" (binary_expression "vector<int" identifier < identifier) , identifier) : : (comma_expression "allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int,_std" (binary_expression "allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base<int" (field_expression "allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd].super__Vector_base" (subscript_expression "allocator<int>_>_>_>\n                  ._M_impl._M_start[k - 1 >> 0xd]" (field_expression "allocator<int>_>_>_>\n                  ._M_impl._M_start" (field_expression "allocator<int>_>_>_>\n                  ._M_impl" (binary_expression "allocator<int>_>_>_" (binary_expression "allocator<int>_>_" (binary_expression "allocator<int>_" (binary_expression "allocator<int" identifier < identifier) > identifier) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) [ (binary_expression "k - 1 >> 0xd" (binary_expression "k - 1" identifier - number_literal) >> number_literal) ]) . field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<int>_>.\n                  _M_impl._M_start + (k - 1 & 0x1fff) * 4" (field_expression "allocator<int>_>.\n                  _M_impl._M_start" (field_expression "allocator<int>_>.\n                  _M_impl" (binary_expression "allocator<int>_" (binary_expression "allocator<int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) + (binary_expression "(k - 1 & 0x1fff) * 4" (parenthesized_expression "(k - 1 & 0x1fff)" ( (binary_expression "k - 1 & 0x1fff" (binary_expression "k - 1" identifier - number_literal) & number_literal) )) * number_literal)) )))) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/stringpool.h",0x108,"get_offset_from_key");" (call_expression "do_gold_unreachable("../../gold/stringpool.h",0x108,"get_offset_from_key")" identifier (argument_list "("../../gold/stringpool.h",0x108,"get_offset_from_key")" ( (string_literal ""../../gold/stringpool.h"" " string_content ") , number_literal , (string_literal ""get_offset_from_key"" " string_content ") ))) ;) })))
(translation_unit "undefined4 FUN_0011da20(int param_1,uint param_2)\n\n{\n  if (param_2 <= *(uint *)(param_1 + 0x28)) {\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }\n                    \n  FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);\n}\n\n" (function_definition "undefined4 FUN_0011da20(int param_1,uint param_2)\n\n{\n  if (param_2 <= *(uint *)(param_1 + 0x28)) {\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }\n                    \n  FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);\n}" type_identifier (function_declarator "FUN_0011da20(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if (param_2 <= *(uint *)(param_1 + 0x28)) {\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }\n                    \n  FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);\n}" { (if_statement "if (param_2 <= *(uint *)(param_1 + 0x28)) {\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }" if (parenthesized_expression "(param_2 <= *(uint *)(param_1 + 0x28))" ( (binary_expression "param_2 <= *(uint *)(param_1 + 0x28)" identifier <= (pointer_expression "*(uint *)(param_1 + 0x28)" * (cast_expression "(uint *)(param_1 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }" { (return_statement "return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);" return (pointer_expression "*(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4)" * (cast_expression "(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4" (pointer_expression "*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc)" * (cast_expression "(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc)" ( (binary_expression "*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + (binary_expression "(param_2 - 1 >> 0xd) * 0xc" (parenthesized_expression "(param_2 - 1 >> 0xd)" ( (binary_expression "param_2 - 1 >> 0xd" (binary_expression "param_2 - 1" identifier - number_literal) >> number_literal) )) * number_literal)) )))) + (binary_expression "(param_2 - 1 & 0x1fff) * 4" (parenthesized_expression "(param_2 - 1 & 0x1fff)" ( (binary_expression "param_2 - 1 & 0x1fff" (binary_expression "param_2 - 1" identifier - number_literal) & number_literal) )) * number_literal)) )))) ;) })) (expression_statement "FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);" (call_expression "FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2)" identifier (argument_list "("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2)" ( (string_literal ""../../gold/stringpool.h"" " string_content ") , number_literal , (string_literal ""get_offset_from_key"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) >> LIT) )) * LIT)) )))) + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) )) * LIT)) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "undefined4 FUN_0011da20(int param_1,uint param_2)\n\n{\n  if (param_2 <= *(uint *)(param_1 + 0x28)) {\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }\n                    \n  FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);\n}" (type_identifier "undefined4") (function_declarator "FUN_0011da20(int param_1,uint param_2)" (identifier "FUN_0011da20") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (param_2 <= *(uint *)(param_1 + 0x28)) {\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }\n                    \n  FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);\n}" ({ "{") (if_statement "if (param_2 <= *(uint *)(param_1 + 0x28)) {\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }" (if "if") (parenthesized_expression "(param_2 <= *(uint *)(param_1 + 0x28))" (( "(") (binary_expression "param_2 <= *(uint *)(param_1 + 0x28)" (identifier "param_2") (<= "<=") (pointer_expression "*(uint *)(param_1 + 0x28)" (* "*") (cast_expression "(uint *)(param_1 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);\n  }" ({ "{") (return_statement "return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4);" (return "return") (pointer_expression "*(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4)" (* "*") (cast_expression "(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4)" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +\n            (param_2 - 1 & 0x1fff) * 4" (pointer_expression "*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (binary_expression "(param_2 - 1 >> 0xd) * 0xc" (parenthesized_expression "(param_2 - 1 >> 0xd)" (( "(") (binary_expression "param_2 - 1 >> 0xd" (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1")) (>> ">>") (number_literal "0xd")) () ")")) (* "*") (number_literal "0xc"))) () ")")))) (+ "+") (binary_expression "(param_2 - 1 & 0x1fff) * 4" (parenthesized_expression "(param_2 - 1 & 0x1fff)" (( "(") (binary_expression "param_2 - 1 & 0x1fff" (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1")) (& "&") (number_literal "0x1fff")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);" (call_expression "FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2)" (( "(") (string_literal ""../../gold/stringpool.h"" (" """) (string_content "../../gold/stringpool.h") (" """)) (, ",") (number_literal "0x108") (, ",") (string_literal ""get_offset_from_key"" (" """) (string_content "get_offset_from_key") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: section_offset_type
   get_offset_from_key(Stringpool_template<unsigned_int> * this, Key k) */

type_1 __thiscall
gold::type_2<unsigned_int>::function_1
          (type_2<unsigned_int> *this,type_3 var_1)

{
  if (var_1 <= (this->key_to_offset_).size_) {
    return *(type_1 *)
            ((int)(this->key_to_offset_).chunks_.
                  super__Vector_base<std::vector<var_3,_std::var_2<var_3>var_4>,_std::var_2<std::vector<var_3,_std::var_2<var_3>var_4>var_4>var_4>
                  ._M_impl._M_start[var_1 - 1 >> 0xd].super__Vector_base<var_3,_std::var_2<var_3>var_4>.
                  _M_impl._M_start + (var_1 - 1 & 0x1fff) * 4);
  }
                    /* WARNING: Subroutine does not return */
  var_5("../../gold/stringpool.h",0x108,"get_offset_from_key");
}


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

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

undefined4 MASKED(int param_1,uint param_2)

{
  if (param_2 <= *(uint *)(param_1 + 0x28)) {
    return *(undefined4 *)
            (*(int *)(*(int *)(param_1 + 0x1c) + (param_2 - 1 >> 0xd) * 0xc) +
            (param_2 - 1 & 0x1fff) * 4);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/stringpool.h",0x108,"get_offset_from_key",param_2);
}

