
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "DT": Some values do not have unique names */

void gold::insert_into_vector<16>
               (vector<unsigned_char,_std::allocator<unsigned_char>_> *destination,Valtype value)

{
  uchar buffer [2];
  undefined1 local_c [4];
  undefined4 uStack_8;
  
  uStack_8 = 0x1461b6;
  if (parameters->target_ != (Target *)0x0) {
    if (*(char *)(*(int *)(parameters->target_ + 4) + 4) == '\0') {
      buffer = (uchar  [2])value;
    }
    else {
      buffer = (uchar  [2])(value << 8 | value >> 8);
    }
    std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_range_insert<unsigned_char*>
              (destination,
               (destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).
               _M_impl._M_finish,buffer,local_c,0);
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/parameters.h",0x69,"target");
}



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

void FUN_001461b0(int param_1,ushort param_2)

{
  ushort local_e;
  undefined1 local_c [4];
  undefined4 uStack_8;
  
  uStack_8 = 0x1461b6;
  if (*(int *)(DAT_0038f378 + 0xc) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);
  }
  local_e = param_2;
  if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {
    local_e = param_2 << 8 | param_2 >> 8;
  }
  FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);
  return;
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x248e4a
SUB ESP,0x18
MOV EDX,dword ptr [ESP + 0x20]
MOV ECX,dword ptr [ESP + 0x24]
LEA EAX,[EBX + 0x378]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JZ 0x00146213
MOV EAX,dword ptr [EAX + 0x4]
CMP byte ptr [EAX + 0x4],0x0
JNZ 0x00146208
MOV word ptr [ESP + 0xe],CX
SUB ESP,0xc
PUSH 0x0
LEA EAX,[ESP + 0x1e]
LEA ECX,[ESP + 0x20]
PUSH ECX
PUSH EAX
PUSH dword ptr [EDX + 0x4]
PUSH EDX
CALL 0x00145e80
ADD ESP,0x38
POP EBX
RET
ROL CX,0x8
MOV word ptr [ESP + 0xe],CX
JMP 0x001461e4
PUSH EAX
LEA EAX,[EBX + 0xfff0719c]
PUSH EAX
LEA EAX,[EBX + 0xffef8210]
PUSH 0x69
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001461b0(int param_1,ushort param_2)\n\n{\n  ushort local_e;\n  undefined1 local_c [4];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1461b6;\n  if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }\n  local_e = param_2;\n  if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {\n    local_e = param_2 << 8 | param_2 >> 8;\n  }\n  FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);\n  return;\n}\n\n" comment (function_definition "void FUN_001461b0(int param_1,ushort param_2)\n\n{\n  ushort local_e;\n  undefined1 local_c [4];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1461b6;\n  if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }\n  local_e = param_2;\n  if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {\n    local_e = param_2 << 8 | param_2 >> 8;\n  }\n  FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);\n  return;\n}" primitive_type (function_declarator "FUN_001461b0(int param_1,ushort param_2)" identifier (parameter_list "(int param_1,ushort param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "ushort param_2" type_identifier identifier) ))) (compound_statement "{\n  ushort local_e;\n  undefined1 local_c [4];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1461b6;\n  if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }\n  local_e = param_2;\n  if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {\n    local_e = param_2 << 8 | param_2 >> 8;\n  }\n  FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);\n  return;\n}" { (declaration "ushort local_e;" type_identifier identifier ;) (declaration "undefined1 local_c [4];" type_identifier (array_declarator "local_c [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x1461b6;" (assignment_expression "uStack_8 = 0x1461b6" identifier = number_literal) ;) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) == 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",0)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , number_literal ))) ;) })) (expression_statement "local_e = param_2;" (assignment_expression "local_e = param_2" identifier = identifier) ;) (if_statement "if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {\n    local_e = param_2 << 8 | param_2 >> 8;\n  }" if (parenthesized_expression "(*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0')" ( (binary_expression "*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4)" * (cast_expression "(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4)" ( (binary_expression "*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4" (pointer_expression "*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    local_e = param_2 << 8 | param_2 >> 8;\n  }" { (expression_statement "local_e = param_2 << 8 | param_2 >> 8;" (assignment_expression "local_e = param_2 << 8 | param_2 >> 8" identifier = (binary_expression "param_2 << 8 | param_2 >> 8" (binary_expression "param_2 << 8" identifier << number_literal) | (binary_expression "param_2 >> 8" identifier >> number_literal))) ;) })) (expression_statement "FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);" (call_expression "FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0)" identifier (argument_list "(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "&local_e" & identifier) , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "DT": Some values do not have unique names */\n\nvoid gold::insert_into_vector<16>\n               (vector<unsigned_char,_std::allocator<unsigned_char>_> *destination,Valtype value)\n\n{\n  uchar buffer [2];\n  undefined1 local_c [4];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1461b6;\n  if (parameters->target_ != (Target *)0x0) {\n    if (*(char *)(*(int *)(parameters->target_ + 4) + 4) == '\0') {\n      buffer = (uchar  [2])value;\n    }\n    else {\n      buffer = (uchar  [2])(value << 8 | value >> 8);\n    }\n    std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_range_insert<unsigned_char*>\n              (destination,\n               (destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).\n               _M_impl._M_finish,buffer,local_c,0);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}\n\n" comment comment comment (ERROR "void gold::insert_into_vector<16>\n               (vector<unsigned_char,_std::allocator<unsigned_char>_> *destination,Valtype value)" primitive_type (ERROR "gold::" identifier : :) identifier < (binary_expression "16>\n               (vector<unsigned_char,_std::allocator<unsigned_char>_> *destination,Valtype value)" number_literal > (parenthesized_expression "(vector<unsigned_char,_std::allocator<unsigned_char>_> *destination,Valtype value)" ( (ERROR "vector<unsigned_char,_std::" (comma_expression "vector<unsigned_char,_std" (binary_expression "vector<unsigned_char" identifier < identifier) , identifier) : :) (comma_expression "allocator<unsigned_char>_> *destination,Valtype" (binary_expression "allocator<unsigned_char>_> *destination" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > (pointer_expression "*destination" * identifier)) , identifier) (ERROR "value" identifier) )))) (compound_statement "{\n  uchar buffer [2];\n  undefined1 local_c [4];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1461b6;\n  if (parameters->target_ != (Target *)0x0) {\n    if (*(char *)(*(int *)(parameters->target_ + 4) + 4) == '\0') {\n      buffer = (uchar  [2])value;\n    }\n    else {\n      buffer = (uchar  [2])(value << 8 | value >> 8);\n    }\n    std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_range_insert<unsigned_char*>\n              (destination,\n               (destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).\n               _M_impl._M_finish,buffer,local_c,0);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}" { (declaration "uchar buffer [2];" type_identifier (array_declarator "buffer [2]" identifier [ number_literal ]) ;) (declaration "undefined1 local_c [4];" type_identifier (array_declarator "local_c [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x1461b6;" (assignment_expression "uStack_8 = 0x1461b6" identifier = number_literal) ;) (if_statement "if (parameters->target_ != (Target *)0x0) {\n    if (*(char *)(*(int *)(parameters->target_ + 4) + 4) == '\0') {\n      buffer = (uchar  [2])value;\n    }\n    else {\n      buffer = (uchar  [2])(value << 8 | value >> 8);\n    }\n    std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_range_insert<unsigned_char*>\n              (destination,\n               (destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).\n               _M_impl._M_finish,buffer,local_c,0);\n    return;\n  }" if (parenthesized_expression "(parameters->target_ != (Target *)0x0)" ( (binary_expression "parameters->target_ != (Target *)0x0" (field_expression "parameters->target_" identifier -> field_identifier) != (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(char *)(*(int *)(parameters->target_ + 4) + 4) == '\0') {\n      buffer = (uchar  [2])value;\n    }\n    else {\n      buffer = (uchar  [2])(value << 8 | value >> 8);\n    }\n    std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_range_insert<unsigned_char*>\n              (destination,\n               (destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).\n               _M_impl._M_finish,buffer,local_c,0);\n    return;\n  }" { (if_statement "if (*(char *)(*(int *)(parameters->target_ + 4) + 4) == '\0') {\n      buffer = (uchar  [2])value;\n    }\n    else {\n      buffer = (uchar  [2])(value << 8 | value >> 8);\n    }" if (parenthesized_expression "(*(char *)(*(int *)(parameters->target_ + 4) + 4) == '\0')" ( (binary_expression "*(char *)(*(int *)(parameters->target_ + 4) + 4) == '\0'" (pointer_expression "*(char *)(*(int *)(parameters->target_ + 4) + 4)" * (cast_expression "(char *)(*(int *)(parameters->target_ + 4) + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(parameters->target_ + 4) + 4)" ( (binary_expression "*(int *)(parameters->target_ + 4) + 4" (pointer_expression "*(int *)(parameters->target_ + 4)" * (cast_expression "(int *)(parameters->target_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(parameters->target_ + 4)" ( (binary_expression "parameters->target_ + 4" (field_expression "parameters->target_" identifier -> field_identifier) + number_literal) )))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      buffer = (uchar  [2])value;\n    }" { (expression_statement "buffer = (uchar  [2])value;" (assignment_expression "buffer = (uchar  [2])value" identifier = (cast_expression "(uchar  [2])value" ( (type_descriptor "uchar  [2]" type_identifier (abstract_array_declarator "[2]" [ number_literal ])) ) identifier)) ;) }) (else_clause "else {\n      buffer = (uchar  [2])(value << 8 | value >> 8);\n    }" else (compound_statement "{\n      buffer = (uchar  [2])(value << 8 | value >> 8);\n    }" { (expression_statement "buffer = (uchar  [2])(value << 8 | value >> 8);" (assignment_expression "buffer = (uchar  [2])(value << 8 | value >> 8)" identifier = (call_expression "(uchar  [2])(value << 8 | value >> 8)" (parenthesized_expression "(uchar  [2])" ( (subscript_expression "uchar  [2]" identifier [ number_literal ]) )) (argument_list "(value << 8 | value >> 8)" ( (binary_expression "value << 8 | value >> 8" (binary_expression "value << 8" identifier << number_literal) | (binary_expression "value >> 8" identifier >> number_literal)) )))) ;) }))) (labeled_statement "std::vector<unsigned_char,_std::allocator<unsigned_char>_>::_M_range_insert<unsigned_char*>\n              (destination,\n               (destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).\n               _M_impl._M_finish,buffer,local_c,0);" statement_identifier (ERROR "::vector<unsigned_char,_std::allocator<unsigned_char>_>:" : : (comma_expression "vector<unsigned_char,_std" (binary_expression "vector<unsigned_char" identifier < identifier) , identifier) : : (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > :) : (expression_statement "_M_range_insert<unsigned_char*>\n              (destination,\n               (destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).\n               _M_impl._M_finish,buffer,local_c,0);" (binary_expression "_M_range_insert<unsigned_char*>\n              (destination,\n               (destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).\n               _M_impl._M_finish,buffer,local_c,0)" (binary_expression "_M_range_insert<unsigned_char" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(destination,\n               (destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).\n               _M_impl._M_finish,buffer,local_c,0)" ( (comma_expression "destination,\n               (destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).\n               _M_impl._M_finish,buffer,local_c,0" identifier , (comma_expression "(destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).\n               _M_impl._M_finish,buffer,local_c,0" (field_expression "(destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).\n               _M_impl._M_finish" (field_expression "(destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>).\n               _M_impl" (parenthesized_expression "(destination->super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>)" ( (ERROR "destination->super__Vector_base<unsigned_char,_std::" (comma_expression "destination->super__Vector_base<unsigned_char,_std" (binary_expression "destination->super__Vector_base<unsigned_char" (field_expression "destination->super__Vector_base" identifier -> field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_char>_>" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) , (comma_expression "buffer,local_c,0" identifier , (comma_expression "local_c,0" identifier , number_literal)))) ))) ;)) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x69,"target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) }))
(translation_unit "void FUN_001461b0(int param_1,ushort param_2)\n\n{\n  ushort local_e;\n  undefined1 local_c [4];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1461b6;\n  if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }\n  local_e = param_2;\n  if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {\n    local_e = param_2 << 8 | param_2 >> 8;\n  }\n  FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);\n  return;\n}\n\n" (function_definition "void FUN_001461b0(int param_1,ushort param_2)\n\n{\n  ushort local_e;\n  undefined1 local_c [4];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1461b6;\n  if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }\n  local_e = param_2;\n  if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {\n    local_e = param_2 << 8 | param_2 >> 8;\n  }\n  FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);\n  return;\n}" primitive_type (function_declarator "FUN_001461b0(int param_1,ushort param_2)" identifier (parameter_list "(int param_1,ushort param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "ushort param_2" type_identifier identifier) ))) (compound_statement "{\n  ushort local_e;\n  undefined1 local_c [4];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1461b6;\n  if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }\n  local_e = param_2;\n  if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {\n    local_e = param_2 << 8 | param_2 >> 8;\n  }\n  FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);\n  return;\n}" { (declaration "ushort local_e;" type_identifier identifier ;) (declaration "undefined1 local_c [4];" type_identifier (array_declarator "local_c [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x1461b6;" (assignment_expression "uStack_8 = 0x1461b6" identifier = number_literal) ;) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) == 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }" { (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",0)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , number_literal ))) ;) })) (expression_statement "local_e = param_2;" (assignment_expression "local_e = param_2" identifier = identifier) ;) (if_statement "if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {\n    local_e = param_2 << 8 | param_2 >> 8;\n  }" if (parenthesized_expression "(*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0')" ( (binary_expression "*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4)" * (cast_expression "(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4)" ( (binary_expression "*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4" (pointer_expression "*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    local_e = param_2 << 8 | param_2 >> 8;\n  }" { (expression_statement "local_e = param_2 << 8 | param_2 >> 8;" (assignment_expression "local_e = param_2 << 8 | param_2 >> 8" identifier = (binary_expression "param_2 << 8 | param_2 >> 8" (binary_expression "param_2 << 8" identifier << number_literal) | (binary_expression "param_2 >> 8" identifier >> number_literal))) ;) })) (expression_statement "FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);" (call_expression "FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0)" identifier (argument_list "(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "&local_e" & identifier) , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (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 ") , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | (binary_expression IDENT >> LIT))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) , IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001461b0(int param_1,ushort param_2)\n\n{\n  ushort local_e;\n  undefined1 local_c [4];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1461b6;\n  if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }\n  local_e = param_2;\n  if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {\n    local_e = param_2 << 8 | param_2 >> 8;\n  }\n  FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001461b0(int param_1,ushort param_2)" (identifier "FUN_001461b0") (parameter_list "(int param_1,ushort param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "ushort param_2" (type_identifier "ushort") (identifier "param_2")) () ")"))) (compound_statement "{\n  ushort local_e;\n  undefined1 local_c [4];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1461b6;\n  if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }\n  local_e = param_2;\n  if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {\n    local_e = param_2 << 8 | param_2 >> 8;\n  }\n  FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);\n  return;\n}" ({ "{") (declaration "ushort local_e;" (type_identifier "ushort") (identifier "local_e") (; ";")) (declaration "undefined1 local_c [4];" (type_identifier "undefined1") (array_declarator "local_c [4]" (identifier "local_c") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 uStack_8;" (type_identifier "undefined4") (identifier "uStack_8") (; ";")) (expression_statement "uStack_8 = 0x1461b6;" (assignment_expression "uStack_8 = 0x1461b6" (identifier "uStack_8") (= "=") (number_literal "0x1461b6")) (; ";")) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",0)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.h",0x69,"target",0)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "local_e = param_2;" (assignment_expression "local_e = param_2" (identifier "local_e") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {\n    local_e = param_2 << 8 | param_2 >> 8;\n  }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4)" (* "*") (cast_expression "(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4)" (( "(") (binary_expression "*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4" (pointer_expression "*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" (* "*") (cast_expression "(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    local_e = param_2 << 8 | param_2 >> 8;\n  }" ({ "{") (expression_statement "local_e = param_2 << 8 | param_2 >> 8;" (assignment_expression "local_e = param_2 << 8 | param_2 >> 8" (identifier "local_e") (= "=") (binary_expression "param_2 << 8 | param_2 >> 8" (binary_expression "param_2 << 8" (identifier "param_2") (<< "<<") (number_literal "8")) (| "|") (binary_expression "param_2 >> 8" (identifier "param_2") (>> ">>") (number_literal "8")))) (; ";")) (} "}"))) (expression_statement "FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);" (call_expression "FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0)" (identifier "FUN_00145e80") (argument_list "(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "&local_e" (& "&") (identifier "local_e")) (, ",") (identifier "local_c") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "DT": Some values do not have unique names */

void gold::insert_into_vector<16>
               (vector<var_3,_std::var_4<var_3>var_5> *destination,Valtype var_1)

{
  type_1 buffer [2];
  type_2 local_c [4];
  type_3 uStack_8;
  
  uStack_8 = 0x1461b6;
  if (parameters->target_ != (type_4 *)0x0) {
    if (*(char *)(*(int *)(parameters->target_ + 4) + 4) == '\0') {
      buffer = (type_1  [2])var_1;
    }
    else {
      buffer = (type_1  [2])(var_1 << 8 | var_1 >> 8);
    }
    std::vector<var_3,_std::var_4<var_3>var_5>::var_2<var_3*>
              (destination,
               (destination->super__Vector_base<var_3,_std::var_4<var_3>var_5>var_6).
               _M_impl._M_finish,buffer,local_c,0);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_7("../../gold/parameters.h",0x69,"target");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (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)) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (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: (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: (number_literal))))) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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))))) (pointer_expression argument: (identifier)) (identifier) (number_literal)))) (return_statement))))

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

void MASKED(int param_1,ushort param_2)

{
  ushort local_e;
  undefined1 local_c [4];
  undefined4 uStack_8;
  
  uStack_8 = 0x1461b6;
  if (*(int *)(DAT_0038f378 + 0xc) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/parameters.h",0x69,"target",0);
  }
  local_e = param_2;
  if (*(char *)(*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4) + 4) != '\0') {
    local_e = param_2 << 8 | param_2 >> 8;
  }
  FUN_00145e80(param_1,*(undefined4 *)(param_1 + 4),&local_e,local_c,0);
  return;
}

