
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: section_offset_type
   get_offset_with_length(Stringpool_template<short_unsigned_int> * this, ushort * s, size_t length)
    */

section_offset_type __thiscall
gold::Stringpool_template<short_unsigned_int>::get_offset_with_length
          (Stringpool_template<short_unsigned_int> *this,ushort *s,size_t length)

{
  Hashkey hk;
  
}



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

undefined4 FUN_001e46b0(int param_1,undefined4 param_2,undefined4 param_3)

{
  uint uVar1;
  int local_24;
  undefined1 local_20 [8];
  undefined4 local_18;
  undefined4 local_14;
  undefined4 local_10;
  undefined4 uStack_c;
  
  uStack_c = 0x1e46b7;
  if (*(int *)(param_1 + 0x38) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);
  }
  local_14 = param_3;
  local_18 = param_2;
  local_10 = FUN_001e13e0(param_2,param_3);
  FUN_001e45f0(local_20,param_1,&local_18);
  if (local_24 != 0) {
    uVar1 = *(int *)(local_24 + 0x10) - 1;
    return *(undefined4 *)
            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);
}


PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x22f949
SUB ESP,0x24
MOV ESI,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [ESP + 0x38]
MOV ECX,dword ptr [ESI + 0x38]
TEST ECX,ECX
JZ 0x001e472b
MOV dword ptr [ESP + 0x18],EDX
SUB ESP,0x8
MOV dword ptr [ESP + 0x1c],EAX
PUSH EDX
PUSH EAX
CALL 0x001e13e0
MOV dword ptr [ESP + 0x2c],EAX
LEA EAX,[ESP + 0x1c]
ADD ESP,0xc
LEA EDX,[ESP + 0x18]
PUSH EDX
PUSH ESI
PUSH EAX
CALL 0x001e45f0
MOV EAX,dword ptr [ESP + 0x18]
ADD ESP,0xc
TEST EAX,EAX
JZ 0x001e4744
MOV EAX,dword ptr [EAX + 0x10]
MOV ECX,dword ptr [ESI + 0x1c]
SUB EAX,0x1
MOV EDX,EAX
AND EAX,0x1fff
SHR EDX,0xd
LEA EDX,[EDX + EDX*0x2]
LEA EDX,[ECX + EDX*0x4]
MOV EDX,dword ptr [EDX]
MOV EAX,dword ptr [EDX + EAX*0x4]
ADD ESP,0x24
POP EBX
POP ESI
RET
PUSH EAX
LEA EAX,[EBX + 0xffef88c8]
PUSH EAX
LEA EAX,[EBX + 0xffef879a]
PUSH 0x1ce
PUSH EAX
CALL 0x000da200
LEA EAX,[EBX + 0xffef88c8]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xffef879a]
PUSH 0x1d3
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_001e46b0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int local_24;\n  undefined1 local_20 [8];\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1e46b7;\n  if (*(int *)(param_1 + 0x38) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }\n  local_14 = param_3;\n  local_18 = param_2;\n  local_10 = FUN_001e13e0(param_2,param_3);\n  FUN_001e45f0(local_20,param_1,&local_18);\n  if (local_24 != 0) {\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);\n}\n\n" comment (function_definition "undefined4 FUN_001e46b0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int local_24;\n  undefined1 local_20 [8];\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1e46b7;\n  if (*(int *)(param_1 + 0x38) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }\n  local_14 = param_3;\n  local_18 = param_2;\n  local_10 = FUN_001e13e0(param_2,param_3);\n  FUN_001e45f0(local_20,param_1,&local_18);\n  if (local_24 != 0) {\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);\n}" type_identifier (function_declarator "FUN_001e46b0(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int local_24;\n  undefined1 local_20 [8];\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1e46b7;\n  if (*(int *)(param_1 + 0x38) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }\n  local_14 = param_3;\n  local_18 = param_2;\n  local_10 = FUN_001e13e0(param_2,param_3);\n  FUN_001e45f0(local_20,param_1,&local_18);\n  if (local_24 != 0) {\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined1 local_20 [8];" type_identifier (array_declarator "local_20 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x1e46b7;" (assignment_expression "uStack_c = 0x1e46b7" identifier = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0x38) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x38) == 0)" ( (binary_expression "*(int *)(param_1 + 0x38) == 0" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }" { comment (expression_statement "FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);" (call_expression "FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2)" identifier (argument_list "("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2)" ( (string_literal ""../../gold/stringpool.cc"" " string_content ") , number_literal , (string_literal ""get_offset_with_length"" " string_content ") , identifier ))) ;) })) (expression_statement "local_14 = param_3;" (assignment_expression "local_14 = param_3" identifier = identifier) ;) (expression_statement "local_18 = param_2;" (assignment_expression "local_18 = param_2" identifier = identifier) ;) (expression_statement "local_10 = FUN_001e13e0(param_2,param_3);" (assignment_expression "local_10 = FUN_001e13e0(param_2,param_3)" identifier = (call_expression "FUN_001e13e0(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (expression_statement "FUN_001e45f0(local_20,param_1,&local_18);" (call_expression "FUN_001e45f0(local_20,param_1,&local_18)" identifier (argument_list "(local_20,param_1,&local_18)" ( identifier , identifier , (pointer_expression "&local_18" & identifier) ))) ;) (if_statement "if (local_24 != 0) {\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }" { (expression_statement "uVar1 = *(int *)(local_24 + 0x10) - 1;" (assignment_expression "uVar1 = *(int *)(local_24 + 0x10) - 1" identifier = (binary_expression "*(int *)(local_24 + 0x10) - 1" (pointer_expression "*(int *)(local_24 + 0x10)" * (cast_expression "(int *)(local_24 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x10)" ( (binary_expression "local_24 + 0x10" identifier + number_literal) )))) - number_literal)) ;) (return_statement "return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);" return (pointer_expression "*(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4)" * (cast_expression "(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4" (pointer_expression "*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc)" * (cast_expression "(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc)" ( (binary_expression "*(int *)(param_1 + 0x1c) + (uVar1 >> 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 "(uVar1 >> 0xd) * 0xc" (parenthesized_expression "(uVar1 >> 0xd)" ( (binary_expression "uVar1 >> 0xd" identifier >> number_literal) )) * number_literal)) )))) + (binary_expression "(uVar1 & 0x1fff) * 4" (parenthesized_expression "(uVar1 & 0x1fff)" ( (binary_expression "uVar1 & 0x1fff" identifier & number_literal) )) * number_literal)) )))) ;) })) comment (expression_statement "FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);" (call_expression "FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1)" identifier (argument_list "("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1)" ( (string_literal ""../../gold/stringpool.cc"" " string_content ") , number_literal , (string_literal ""get_offset_with_length"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: section_offset_type\n   get_offset_with_length(Stringpool_template<short_unsigned_int> * this, ushort * s, size_t length)\n    */\n\nsection_offset_type __thiscall\ngold::Stringpool_template<short_unsigned_int>::get_offset_with_length\n          (Stringpool_template<short_unsigned_int> *this,ushort *s,size_t length)\n\n{\n  Hashkey hk;\n  \n}\n\n" comment comment (function_definition "section_offset_type __thiscall\ngold::Stringpool_template<short_unsigned_int>::get_offset_with_length\n          (Stringpool_template<short_unsigned_int> *this,ushort *s,size_t length)\n\n{\n  Hashkey hk;\n  \n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Stringpool_template<short_unsigned_int>::" identifier : : identifier < identifier > : :) (function_declarator "get_offset_with_length\n          (Stringpool_template<short_unsigned_int> *this,ushort *s,size_t length)" identifier (parameter_list "(Stringpool_template<short_unsigned_int> *this,ushort *s,size_t length)" ( (parameter_declaration "Stringpool_template<short_unsigned_int> *this" type_identifier (ERROR "<short_unsigned_int>" < identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "ushort *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) ))) (compound_statement "{\n  Hashkey hk;\n  \n}" { (declaration "Hashkey hk;" type_identifier identifier ;) })))
(translation_unit "undefined4 FUN_001e46b0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int local_24;\n  undefined1 local_20 [8];\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1e46b7;\n  if (*(int *)(param_1 + 0x38) == 0) {\n                    \n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }\n  local_14 = param_3;\n  local_18 = param_2;\n  local_10 = FUN_001e13e0(param_2,param_3);\n  FUN_001e45f0(local_20,param_1,&local_18);\n  if (local_24 != 0) {\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }\n                    \n  FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);\n}\n\n" (function_definition "undefined4 FUN_001e46b0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int local_24;\n  undefined1 local_20 [8];\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1e46b7;\n  if (*(int *)(param_1 + 0x38) == 0) {\n                    \n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }\n  local_14 = param_3;\n  local_18 = param_2;\n  local_10 = FUN_001e13e0(param_2,param_3);\n  FUN_001e45f0(local_20,param_1,&local_18);\n  if (local_24 != 0) {\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }\n                    \n  FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);\n}" type_identifier (function_declarator "FUN_001e46b0(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int local_24;\n  undefined1 local_20 [8];\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1e46b7;\n  if (*(int *)(param_1 + 0x38) == 0) {\n                    \n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }\n  local_14 = param_3;\n  local_18 = param_2;\n  local_10 = FUN_001e13e0(param_2,param_3);\n  FUN_001e45f0(local_20,param_1,&local_18);\n  if (local_24 != 0) {\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }\n                    \n  FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined1 local_20 [8];" type_identifier (array_declarator "local_20 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x1e46b7;" (assignment_expression "uStack_c = 0x1e46b7" identifier = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0x38) == 0) {\n                    \n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x38) == 0)" ( (binary_expression "*(int *)(param_1 + 0x38) == 0" (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }" { (expression_statement "FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);" (call_expression "FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2)" identifier (argument_list "("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2)" ( (string_literal ""../../gold/stringpool.cc"" " string_content ") , number_literal , (string_literal ""get_offset_with_length"" " string_content ") , identifier ))) ;) })) (expression_statement "local_14 = param_3;" (assignment_expression "local_14 = param_3" identifier = identifier) ;) (expression_statement "local_18 = param_2;" (assignment_expression "local_18 = param_2" identifier = identifier) ;) (expression_statement "local_10 = FUN_001e13e0(param_2,param_3);" (assignment_expression "local_10 = FUN_001e13e0(param_2,param_3)" identifier = (call_expression "FUN_001e13e0(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (expression_statement "FUN_001e45f0(local_20,param_1,&local_18);" (call_expression "FUN_001e45f0(local_20,param_1,&local_18)" identifier (argument_list "(local_20,param_1,&local_18)" ( identifier , identifier , (pointer_expression "&local_18" & identifier) ))) ;) (if_statement "if (local_24 != 0) {\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }" { (expression_statement "uVar1 = *(int *)(local_24 + 0x10) - 1;" (assignment_expression "uVar1 = *(int *)(local_24 + 0x10) - 1" identifier = (binary_expression "*(int *)(local_24 + 0x10) - 1" (pointer_expression "*(int *)(local_24 + 0x10)" * (cast_expression "(int *)(local_24 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x10)" ( (binary_expression "local_24 + 0x10" identifier + number_literal) )))) - number_literal)) ;) (return_statement "return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);" return (pointer_expression "*(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4)" * (cast_expression "(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4" (pointer_expression "*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc)" * (cast_expression "(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc)" ( (binary_expression "*(int *)(param_1 + 0x1c) + (uVar1 >> 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 "(uVar1 >> 0xd) * 0xc" (parenthesized_expression "(uVar1 >> 0xd)" ( (binary_expression "uVar1 >> 0xd" identifier >> number_literal) )) * number_literal)) )))) + (binary_expression "(uVar1 & 0x1fff) * 4" (parenthesized_expression "(uVar1 & 0x1fff)" ( (binary_expression "uVar1 & 0x1fff" identifier & number_literal) )) * number_literal)) )))) ;) })) (expression_statement "FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);" (call_expression "FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1)" identifier (argument_list "("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1)" ( (string_literal ""../../gold/stringpool.cc"" " string_content ") , number_literal , (string_literal ""get_offset_with_length"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT)) ;) (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 IDENT >> LIT) )) * LIT)) )))) + (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * LIT)) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "undefined4 FUN_001e46b0(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int local_24;\n  undefined1 local_20 [8];\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1e46b7;\n  if (*(int *)(param_1 + 0x38) == 0) {\n                    \n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }\n  local_14 = param_3;\n  local_18 = param_2;\n  local_10 = FUN_001e13e0(param_2,param_3);\n  FUN_001e45f0(local_20,param_1,&local_18);\n  if (local_24 != 0) {\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }\n                    \n  FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);\n}" (type_identifier "undefined4") (function_declarator "FUN_001e46b0(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_001e46b0") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int local_24;\n  undefined1 local_20 [8];\n  undefined4 local_18;\n  undefined4 local_14;\n  undefined4 local_10;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x1e46b7;\n  if (*(int *)(param_1 + 0x38) == 0) {\n                    \n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }\n  local_14 = param_3;\n  local_18 = param_2;\n  local_10 = FUN_001e13e0(param_2,param_3);\n  FUN_001e45f0(local_20,param_1,&local_18);\n  if (local_24 != 0) {\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }\n                    \n  FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined1 local_20 [8];" (type_identifier "undefined1") (array_declarator "local_20 [8]" (identifier "local_20") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "undefined4 local_18;" (type_identifier "undefined4") (identifier "local_18") (; ";")) (declaration "undefined4 local_14;" (type_identifier "undefined4") (identifier "local_14") (; ";")) (declaration "undefined4 local_10;" (type_identifier "undefined4") (identifier "local_10") (; ";")) (declaration "undefined4 uStack_c;" (type_identifier "undefined4") (identifier "uStack_c") (; ";")) (expression_statement "uStack_c = 0x1e46b7;" (assignment_expression "uStack_c = 0x1e46b7" (identifier "uStack_c") (= "=") (number_literal "0x1e46b7")) (; ";")) (if_statement "if (*(int *)(param_1 + 0x38) == 0) {\n                    \n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x38) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x38) == 0" (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);\n  }" ({ "{") (expression_statement "FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);" (call_expression "FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2)" (identifier "FUN_000da200") (argument_list "("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2)" (( "(") (string_literal ""../../gold/stringpool.cc"" (" """) (string_content "../../gold/stringpool.cc") (" """)) (, ",") (number_literal "0x1ce") (, ",") (string_literal ""get_offset_with_length"" (" """) (string_content "get_offset_with_length") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "local_14 = param_3;" (assignment_expression "local_14 = param_3" (identifier "local_14") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_18 = param_2;" (assignment_expression "local_18 = param_2" (identifier "local_18") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_10 = FUN_001e13e0(param_2,param_3);" (assignment_expression "local_10 = FUN_001e13e0(param_2,param_3)" (identifier "local_10") (= "=") (call_expression "FUN_001e13e0(param_2,param_3)" (identifier "FUN_001e13e0") (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "FUN_001e45f0(local_20,param_1,&local_18);" (call_expression "FUN_001e45f0(local_20,param_1,&local_18)" (identifier "FUN_001e45f0") (argument_list "(local_20,param_1,&local_18)" (( "(") (identifier "local_20") (, ",") (identifier "param_1") (, ",") (pointer_expression "&local_18" (& "&") (identifier "local_18")) () ")"))) (; ";")) (if_statement "if (local_24 != 0) {\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = *(int *)(local_24 + 0x10) - 1;\n    return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);\n  }" ({ "{") (expression_statement "uVar1 = *(int *)(local_24 + 0x10) - 1;" (assignment_expression "uVar1 = *(int *)(local_24 + 0x10) - 1" (identifier "uVar1") (= "=") (binary_expression "*(int *)(local_24 + 0x10) - 1" (pointer_expression "*(int *)(local_24 + 0x10)" (* "*") (cast_expression "(int *)(local_24 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0x10)" (( "(") (binary_expression "local_24 + 0x10" (identifier "local_24") (+ "+") (number_literal "0x10")) () ")")))) (- "-") (number_literal "1"))) (; ";")) (return_statement "return *(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);" (return "return") (pointer_expression "*(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4)" (* "*") (cast_expression "(undefined4 *)\n            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4)" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4" (pointer_expression "*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) + (uVar1 >> 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 "(uVar1 >> 0xd) * 0xc" (parenthesized_expression "(uVar1 >> 0xd)" (( "(") (binary_expression "uVar1 >> 0xd" (identifier "uVar1") (>> ">>") (number_literal "0xd")) () ")")) (* "*") (number_literal "0xc"))) () ")")))) (+ "+") (binary_expression "(uVar1 & 0x1fff) * 4" (parenthesized_expression "(uVar1 & 0x1fff)" (( "(") (binary_expression "uVar1 & 0x1fff" (identifier "uVar1") (& "&") (number_literal "0x1fff")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);" (call_expression "FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1)" (identifier "FUN_000da200") (argument_list "("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1)" (( "(") (string_literal ""../../gold/stringpool.cc"" (" """) (string_content "../../gold/stringpool.cc") (" """)) (, ",") (number_literal "0x1d3") (, ",") (string_literal ""get_offset_with_length"" (" """) (string_content "get_offset_with_length") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: section_offset_type
   get_offset_with_length(Stringpool_template<short_unsigned_int> * this, ushort * s, size_t length)
    */

type_1 __thiscall
gold::type_2<short_unsigned_int>::function_1
          (type_2<short_unsigned_int> *this,type_3 *s,size_t length)

{
  type_4 hk;
  
}


(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)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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)))) (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: (identifier) right: (number_literal))) right: (number_literal)))))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) 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,undefined4 param_2,undefined4 param_3)

{
  uint uVar1;
  int local_24;
  undefined1 local_20 [8];
  undefined4 local_18;
  undefined4 local_14;
  undefined4 local_10;
  undefined4 uStack_c;
  
  uStack_c = 0x1e46b7;
  if (*(int *)(param_1 + 0x38) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/stringpool.cc",0x1ce,"get_offset_with_length",param_2);
  }
  local_14 = param_3;
  local_18 = param_2;
  local_10 = FUN_001e13e0(param_2,param_3);
  FUN_001e45f0(local_20,param_1,&local_18);
  if (local_24 != 0) {
    uVar1 = *(int *)(local_24 + 0x10) - 1;
    return *(undefined4 *)
            (*(int *)(*(int *)(param_1 + 0x1c) + (uVar1 >> 0xd) * 0xc) + (uVar1 & 0x1fff) * 4);
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/stringpool.cc",0x1d3,"get_offset_with_length",param_1);
}

