
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: string get_name(Allocate_commons_task * this) */

string * __thiscall gold::Allocate_commons_task::get_name(Allocate_commons_task *this)

{
  pointer pcVar1;
  string *in_stack_00000004;
  size_type __dnew;
  undefined4 uStack_c;
  
  uStack_c = 0x166887;
  __dnew = 0x15;
  (in_stack_00000004->_M_dataplus)._M_p = (pointer)&in_stack_00000004->field_2;
  pcVar1 = (pointer)std::string::_M_create((string *)in_stack_00000004,&__dnew,0);
  (in_stack_00000004->_M_dataplus)._M_p = pcVar1;
  (in_stack_00000004->field_2)._M_allocated_capacity = __dnew;
  builtin_strncpy(pcVar1,"Allocate_commons_task",0x15);
  pcVar1 = (in_stack_00000004->_M_dataplus)._M_p;
  in_stack_00000004->_M_string_length = __dnew;
  pcVar1[__dnew] = '\0';
  return in_stack_00000004;
}



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

int * FUN_00166880(int *param_1)

{
  undefined4 *puVar1;
  int local_10 [2];
  
  local_10[1] = 0x166887;
  local_10[0] = 0x15;
  *param_1 = (int)(param_1 + 2);
  puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);
  *param_1 = (int)puVar1;
  param_1[2] = local_10[0];
  *puVar1 = 0x6f6c6c41;
  puVar1[1] = 0x65746163;
  puVar1[2] = 0x6d6f635f;
  puVar1[3] = 0x736e6f6d;
  puVar1[4] = 0x7361745f;
  *(undefined1 *)(puVar1 + 5) = 0x6b;
  param_1[1] = local_10[0];
  *(undefined1 *)(*param_1 + local_10[0]) = 0;
  return param_1;
}


PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x1d8779
SUB ESP,0x18
MOV ESI,dword ptr [ESP + 0x24]
MOV dword ptr [ESP + 0x10],0x15
LEA EAX,[ESI + 0x8]
MOV dword ptr [ESI],EAX
PUSH 0x0
LEA EAX,[ESP + 0x14]
PUSH EAX
PUSH ESI
CALL 0x001b3b80
MOV EDX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESI],EAX
MOV dword ptr [ESI + 0x8],EDX
MOV dword ptr [EAX],0x6f6c6c41
MOV dword ptr [EAX + 0x4],0x65746163
MOV dword ptr [EAX + 0x8],0x6d6f635f
MOV dword ptr [EAX + 0xc],0x736e6f6d
MOV dword ptr [EAX + 0x10],0x7361745f
MOV byte ptr [EAX + 0x14],0x6b
MOV EAX,dword ptr [ESP + 0x1c]
MOV EDX,dword ptr [ESI]
MOV dword ptr [ESI + 0x4],EAX
MOV byte ptr [EDX + EAX*0x1],0x0
ADD ESP,0x24
MOV EAX,ESI
POP EBX
POP ESI
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_00166880(int *param_1)\n\n{\n  undefined4 *puVar1;\n  int local_10 [2];\n  \n  local_10[1] = 0x166887;\n  local_10[0] = 0x15;\n  *param_1 = (int)(param_1 + 2);\n  puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);\n  *param_1 = (int)puVar1;\n  param_1[2] = local_10[0];\n  *puVar1 = 0x6f6c6c41;\n  puVar1[1] = 0x65746163;\n  puVar1[2] = 0x6d6f635f;\n  puVar1[3] = 0x736e6f6d;\n  puVar1[4] = 0x7361745f;\n  *(undefined1 *)(puVar1 + 5) = 0x6b;\n  param_1[1] = local_10[0];\n  *(undefined1 *)(*param_1 + local_10[0]) = 0;\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_00166880(int *param_1)\n\n{\n  undefined4 *puVar1;\n  int local_10 [2];\n  \n  local_10[1] = 0x166887;\n  local_10[0] = 0x15;\n  *param_1 = (int)(param_1 + 2);\n  puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);\n  *param_1 = (int)puVar1;\n  param_1[2] = local_10[0];\n  *puVar1 = 0x6f6c6c41;\n  puVar1[1] = 0x65746163;\n  puVar1[2] = 0x6d6f635f;\n  puVar1[3] = 0x736e6f6d;\n  puVar1[4] = 0x7361745f;\n  *(undefined1 *)(puVar1 + 5) = 0x6b;\n  param_1[1] = local_10[0];\n  *(undefined1 *)(*param_1 + local_10[0]) = 0;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00166880(int *param_1)" * (function_declarator "FUN_00166880(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int local_10 [2];\n  \n  local_10[1] = 0x166887;\n  local_10[0] = 0x15;\n  *param_1 = (int)(param_1 + 2);\n  puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);\n  *param_1 = (int)puVar1;\n  param_1[2] = local_10[0];\n  *puVar1 = 0x6f6c6c41;\n  puVar1[1] = 0x65746163;\n  puVar1[2] = 0x6d6f635f;\n  puVar1[3] = 0x736e6f6d;\n  puVar1[4] = 0x7361745f;\n  *(undefined1 *)(puVar1 + 5) = 0x6b;\n  param_1[1] = local_10[0];\n  *(undefined1 *)(*param_1 + local_10[0]) = 0;\n  return param_1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int local_10 [2];" primitive_type (array_declarator "local_10 [2]" identifier [ number_literal ]) ;) (expression_statement "local_10[1] = 0x166887;" (assignment_expression "local_10[1] = 0x166887" (subscript_expression "local_10[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_10[0] = 0x15;" (assignment_expression "local_10[0] = 0x15" (subscript_expression "local_10[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);" (assignment_expression "puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0)" identifier = (cast_expression "(undefined4 *)FUN_001b3b80(param_1,local_10,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001b3b80(param_1,local_10,0)" identifier (argument_list "(param_1,local_10,0)" ( identifier , identifier , number_literal ))))) ;) (expression_statement "*param_1 = (int)puVar1;" (assignment_expression "*param_1 = (int)puVar1" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[2] = local_10[0];" (assignment_expression "param_1[2] = local_10[0]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "local_10[0]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = 0x6f6c6c41;" (assignment_expression "*puVar1 = 0x6f6c6c41" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[1] = 0x65746163;" (assignment_expression "puVar1[1] = 0x65746163" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = 0x6d6f635f;" (assignment_expression "puVar1[2] = 0x6d6f635f" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[3] = 0x736e6f6d;" (assignment_expression "puVar1[3] = 0x736e6f6d" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[4] = 0x7361745f;" (assignment_expression "puVar1[4] = 0x7361745f" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar1 + 5) = 0x6b;" (assignment_expression "*(undefined1 *)(puVar1 + 5) = 0x6b" (pointer_expression "*(undefined1 *)(puVar1 + 5)" * (cast_expression "(undefined1 *)(puVar1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 5)" ( (binary_expression "puVar1 + 5" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[1] = local_10[0];" (assignment_expression "param_1[1] = local_10[0]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "local_10[0]" identifier [ number_literal ])) ;) (expression_statement "*(undefined1 *)(*param_1 + local_10[0]) = 0;" (assignment_expression "*(undefined1 *)(*param_1 + local_10[0]) = 0" (pointer_expression "*(undefined1 *)(*param_1 + local_10[0])" * (cast_expression "(undefined1 *)(*param_1 + local_10[0])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + local_10[0])" ( (binary_expression "*param_1 + local_10[0]" (pointer_expression "*param_1" * identifier) + (subscript_expression "local_10[0]" identifier [ number_literal ])) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: string get_name(Allocate_commons_task * this) */\n\nstring * __thiscall gold::Allocate_commons_task::get_name(Allocate_commons_task *this)\n\n{\n  pointer pcVar1;\n  string *in_stack_00000004;\n  size_type __dnew;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x166887;\n  __dnew = 0x15;\n  (in_stack_00000004->_M_dataplus)._M_p = (pointer)&in_stack_00000004->field_2;\n  pcVar1 = (pointer)std::string::_M_create((string *)in_stack_00000004,&__dnew,0);\n  (in_stack_00000004->_M_dataplus)._M_p = pcVar1;\n  (in_stack_00000004->field_2)._M_allocated_capacity = __dnew;\n  builtin_strncpy(pcVar1,"Allocate_commons_task",0x15);\n  pcVar1 = (in_stack_00000004->_M_dataplus)._M_p;\n  in_stack_00000004->_M_string_length = __dnew;\n  pcVar1[__dnew] = '\0';\n  return in_stack_00000004;\n}\n\n" comment comment comment (ERROR "string * __thiscall gold::Allocate_commons_task::get_name(Allocate_commons_task *this)" (binary_expression "string * __thiscall gold::Allocate_commons_task::get_name(Allocate_commons_task *this" (binary_expression "string * __thiscall" identifier * identifier) (ERROR "gold::Allocate_commons_task::get_name(Allocate_commons_task" identifier : : identifier : : identifier ( identifier) * identifier) )) (compound_statement "{\n  pointer pcVar1;\n  string *in_stack_00000004;\n  size_type __dnew;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x166887;\n  __dnew = 0x15;\n  (in_stack_00000004->_M_dataplus)._M_p = (pointer)&in_stack_00000004->field_2;\n  pcVar1 = (pointer)std::string::_M_create((string *)in_stack_00000004,&__dnew,0);\n  (in_stack_00000004->_M_dataplus)._M_p = pcVar1;\n  (in_stack_00000004->field_2)._M_allocated_capacity = __dnew;\n  builtin_strncpy(pcVar1,"Allocate_commons_task",0x15);\n  pcVar1 = (in_stack_00000004->_M_dataplus)._M_p;\n  in_stack_00000004->_M_string_length = __dnew;\n  pcVar1[__dnew] = '\0';\n  return in_stack_00000004;\n}" { (declaration "pointer pcVar1;" type_identifier identifier ;) (declaration "string *in_stack_00000004;" type_identifier (pointer_declarator "*in_stack_00000004" * identifier) ;) (declaration "size_type __dnew;" type_identifier identifier ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x166887;" (assignment_expression "uStack_c = 0x166887" identifier = number_literal) ;) (expression_statement "__dnew = 0x15;" (assignment_expression "__dnew = 0x15" identifier = number_literal) ;) (expression_statement "(in_stack_00000004->_M_dataplus)._M_p = (pointer)&in_stack_00000004->field_2;" (assignment_expression "(in_stack_00000004->_M_dataplus)._M_p = (pointer)&in_stack_00000004->field_2" (field_expression "(in_stack_00000004->_M_dataplus)._M_p" (parenthesized_expression "(in_stack_00000004->_M_dataplus)" ( (field_expression "in_stack_00000004->_M_dataplus" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(pointer)&in_stack_00000004->field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "in_stack_00000004->field_2" identifier -> field_identifier))) ;) (ERROR "pcVar1 = (pointer)std::" (assignment_expression "pcVar1 = (pointer)std" identifier = (cast_expression "(pointer)std" ( (type_descriptor "pointer" type_identifier) ) identifier)) : :) (labeled_statement "string::_M_create((string *)in_stack_00000004,&__dnew,0);" statement_identifier : (ERROR ":" :) (expression_statement "_M_create((string *)in_stack_00000004,&__dnew,0);" (call_expression "_M_create((string *)in_stack_00000004,&__dnew,0)" identifier (argument_list "((string *)in_stack_00000004,&__dnew,0)" ( (cast_expression "(string *)in_stack_00000004" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "&__dnew" & identifier) , number_literal ))) ;)) (expression_statement "(in_stack_00000004->_M_dataplus)._M_p = pcVar1;" (assignment_expression "(in_stack_00000004->_M_dataplus)._M_p = pcVar1" (field_expression "(in_stack_00000004->_M_dataplus)._M_p" (parenthesized_expression "(in_stack_00000004->_M_dataplus)" ( (field_expression "in_stack_00000004->_M_dataplus" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(in_stack_00000004->field_2)._M_allocated_capacity = __dnew;" (assignment_expression "(in_stack_00000004->field_2)._M_allocated_capacity = __dnew" (field_expression "(in_stack_00000004->field_2)._M_allocated_capacity" (parenthesized_expression "(in_stack_00000004->field_2)" ( (field_expression "in_stack_00000004->field_2" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "builtin_strncpy(pcVar1,"Allocate_commons_task",0x15);" (call_expression "builtin_strncpy(pcVar1,"Allocate_commons_task",0x15)" identifier (argument_list "(pcVar1,"Allocate_commons_task",0x15)" ( identifier , (string_literal ""Allocate_commons_task"" " string_content ") , number_literal ))) ;) (expression_statement "pcVar1 = (in_stack_00000004->_M_dataplus)._M_p;" (assignment_expression "pcVar1 = (in_stack_00000004->_M_dataplus)._M_p" identifier = (field_expression "(in_stack_00000004->_M_dataplus)._M_p" (parenthesized_expression "(in_stack_00000004->_M_dataplus)" ( (field_expression "in_stack_00000004->_M_dataplus" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "in_stack_00000004->_M_string_length = __dnew;" (assignment_expression "in_stack_00000004->_M_string_length = __dnew" (field_expression "in_stack_00000004->_M_string_length" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar1[__dnew] = '\0';" (assignment_expression "pcVar1[__dnew] = '\0'" (subscript_expression "pcVar1[__dnew]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return in_stack_00000004;" return identifier ;) }))
(translation_unit "int * FUN_00166880(int *param_1)\n\n{\n  undefined4 *puVar1;\n  int local_10 [2];\n  \n  local_10[1] = 0x166887;\n  local_10[0] = 0x15;\n  *param_1 = (int)(param_1 + 2);\n  puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);\n  *param_1 = (int)puVar1;\n  param_1[2] = local_10[0];\n  *puVar1 = 0x6f6c6c41;\n  puVar1[1] = 0x65746163;\n  puVar1[2] = 0x6d6f635f;\n  puVar1[3] = 0x736e6f6d;\n  puVar1[4] = 0x7361745f;\n  *(undefined1 *)(puVar1 + 5) = 0x6b;\n  param_1[1] = local_10[0];\n  *(undefined1 *)(*param_1 + local_10[0]) = 0;\n  return param_1;\n}\n\n" (function_definition "int * FUN_00166880(int *param_1)\n\n{\n  undefined4 *puVar1;\n  int local_10 [2];\n  \n  local_10[1] = 0x166887;\n  local_10[0] = 0x15;\n  *param_1 = (int)(param_1 + 2);\n  puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);\n  *param_1 = (int)puVar1;\n  param_1[2] = local_10[0];\n  *puVar1 = 0x6f6c6c41;\n  puVar1[1] = 0x65746163;\n  puVar1[2] = 0x6d6f635f;\n  puVar1[3] = 0x736e6f6d;\n  puVar1[4] = 0x7361745f;\n  *(undefined1 *)(puVar1 + 5) = 0x6b;\n  param_1[1] = local_10[0];\n  *(undefined1 *)(*param_1 + local_10[0]) = 0;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00166880(int *param_1)" * (function_declarator "FUN_00166880(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int local_10 [2];\n  \n  local_10[1] = 0x166887;\n  local_10[0] = 0x15;\n  *param_1 = (int)(param_1 + 2);\n  puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);\n  *param_1 = (int)puVar1;\n  param_1[2] = local_10[0];\n  *puVar1 = 0x6f6c6c41;\n  puVar1[1] = 0x65746163;\n  puVar1[2] = 0x6d6f635f;\n  puVar1[3] = 0x736e6f6d;\n  puVar1[4] = 0x7361745f;\n  *(undefined1 *)(puVar1 + 5) = 0x6b;\n  param_1[1] = local_10[0];\n  *(undefined1 *)(*param_1 + local_10[0]) = 0;\n  return param_1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int local_10 [2];" primitive_type (array_declarator "local_10 [2]" identifier [ number_literal ]) ;) (expression_statement "local_10[1] = 0x166887;" (assignment_expression "local_10[1] = 0x166887" (subscript_expression "local_10[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_10[0] = 0x15;" (assignment_expression "local_10[0] = 0x15" (subscript_expression "local_10[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);" (assignment_expression "puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0)" identifier = (cast_expression "(undefined4 *)FUN_001b3b80(param_1,local_10,0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001b3b80(param_1,local_10,0)" identifier (argument_list "(param_1,local_10,0)" ( identifier , identifier , number_literal ))))) ;) (expression_statement "*param_1 = (int)puVar1;" (assignment_expression "*param_1 = (int)puVar1" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[2] = local_10[0];" (assignment_expression "param_1[2] = local_10[0]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "local_10[0]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = 0x6f6c6c41;" (assignment_expression "*puVar1 = 0x6f6c6c41" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[1] = 0x65746163;" (assignment_expression "puVar1[1] = 0x65746163" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = 0x6d6f635f;" (assignment_expression "puVar1[2] = 0x6d6f635f" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[3] = 0x736e6f6d;" (assignment_expression "puVar1[3] = 0x736e6f6d" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[4] = 0x7361745f;" (assignment_expression "puVar1[4] = 0x7361745f" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar1 + 5) = 0x6b;" (assignment_expression "*(undefined1 *)(puVar1 + 5) = 0x6b" (pointer_expression "*(undefined1 *)(puVar1 + 5)" * (cast_expression "(undefined1 *)(puVar1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 5)" ( (binary_expression "puVar1 + 5" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[1] = local_10[0];" (assignment_expression "param_1[1] = local_10[0]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "local_10[0]" identifier [ number_literal ])) ;) (expression_statement "*(undefined1 *)(*param_1 + local_10[0]) = 0;" (assignment_expression "*(undefined1 *)(*param_1 + local_10[0]) = 0" (pointer_expression "*(undefined1 *)(*param_1 + local_10[0])" * (cast_expression "(undefined1 *)(*param_1 + local_10[0])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + local_10[0])" ( (binary_expression "*param_1 + local_10[0]" (pointer_expression "*param_1" * identifier) + (subscript_expression "local_10[0]" identifier [ number_literal ])) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (subscript_expression IDENT [ LIT ])) )))) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00166880(int *param_1)\n\n{\n  undefined4 *puVar1;\n  int local_10 [2];\n  \n  local_10[1] = 0x166887;\n  local_10[0] = 0x15;\n  *param_1 = (int)(param_1 + 2);\n  puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);\n  *param_1 = (int)puVar1;\n  param_1[2] = local_10[0];\n  *puVar1 = 0x6f6c6c41;\n  puVar1[1] = 0x65746163;\n  puVar1[2] = 0x6d6f635f;\n  puVar1[3] = 0x736e6f6d;\n  puVar1[4] = 0x7361745f;\n  *(undefined1 *)(puVar1 + 5) = 0x6b;\n  param_1[1] = local_10[0];\n  *(undefined1 *)(*param_1 + local_10[0]) = 0;\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_00166880(int *param_1)" (* "*") (function_declarator "FUN_00166880(int *param_1)" (identifier "FUN_00166880") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  int local_10 [2];\n  \n  local_10[1] = 0x166887;\n  local_10[0] = 0x15;\n  *param_1 = (int)(param_1 + 2);\n  puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);\n  *param_1 = (int)puVar1;\n  param_1[2] = local_10[0];\n  *puVar1 = 0x6f6c6c41;\n  puVar1[1] = 0x65746163;\n  puVar1[2] = 0x6d6f635f;\n  puVar1[3] = 0x736e6f6d;\n  puVar1[4] = 0x7361745f;\n  *(undefined1 *)(puVar1 + 5) = 0x6b;\n  param_1[1] = local_10[0];\n  *(undefined1 *)(*param_1 + local_10[0]) = 0;\n  return param_1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int local_10 [2];" (primitive_type "int") (array_declarator "local_10 [2]" (identifier "local_10") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "local_10[1] = 0x166887;" (assignment_expression "local_10[1] = 0x166887" (subscript_expression "local_10[1]" (identifier "local_10") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x166887")) (; ";")) (expression_statement "local_10[0] = 0x15;" (assignment_expression "local_10[0] = 0x15" (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0x15")) (; ";")) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);" (assignment_expression "puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_001b3b80(param_1,local_10,0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001b3b80(param_1,local_10,0)" (identifier "FUN_001b3b80") (argument_list "(param_1,local_10,0)" (( "(") (identifier "param_1") (, ",") (identifier "local_10") (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "*param_1 = (int)puVar1;" (assignment_expression "*param_1 = (int)puVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1"))) (; ";")) (expression_statement "param_1[2] = local_10[0];" (assignment_expression "param_1[2] = local_10[0]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "*puVar1 = 0x6f6c6c41;" (assignment_expression "*puVar1 = 0x6f6c6c41" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0x6f6c6c41")) (; ";")) (expression_statement "puVar1[1] = 0x65746163;" (assignment_expression "puVar1[1] = 0x65746163" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x65746163")) (; ";")) (expression_statement "puVar1[2] = 0x6d6f635f;" (assignment_expression "puVar1[2] = 0x6d6f635f" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0x6d6f635f")) (; ";")) (expression_statement "puVar1[3] = 0x736e6f6d;" (assignment_expression "puVar1[3] = 0x736e6f6d" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0x736e6f6d")) (; ";")) (expression_statement "puVar1[4] = 0x7361745f;" (assignment_expression "puVar1[4] = 0x7361745f" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0x7361745f")) (; ";")) (expression_statement "*(undefined1 *)(puVar1 + 5) = 0x6b;" (assignment_expression "*(undefined1 *)(puVar1 + 5) = 0x6b" (pointer_expression "*(undefined1 *)(puVar1 + 5)" (* "*") (cast_expression "(undefined1 *)(puVar1 + 5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 5)" (( "(") (binary_expression "puVar1 + 5" (identifier "puVar1") (+ "+") (number_literal "5")) () ")")))) (= "=") (number_literal "0x6b")) (; ";")) (expression_statement "param_1[1] = local_10[0];" (assignment_expression "param_1[1] = local_10[0]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "*(undefined1 *)(*param_1 + local_10[0]) = 0;" (assignment_expression "*(undefined1 *)(*param_1 + local_10[0]) = 0" (pointer_expression "*(undefined1 *)(*param_1 + local_10[0])" (* "*") (cast_expression "(undefined1 *)(*param_1 + local_10[0])" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + local_10[0])" (( "(") (binary_expression "*param_1 + local_10[0]" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: string get_name(Allocate_commons_task * this) */

type_2 * __thiscall gold::Allocate_commons_task::get_name(Allocate_commons_task *this)

{
  type_1 pcVar1;
  type_2 *in_stack_00000004;
  type_3 __dnew;
  type_4 uStack_c;
  
  uStack_c = 0x166887;
  __dnew = 0x15;
  (in_stack_00000004->_M_dataplus)._M_p = (type_1)&in_stack_00000004->field_2;
  pcVar1 = (type_1)std::string::var_1((type_2 *)in_stack_00000004,&__dnew,0);
  (in_stack_00000004->_M_dataplus)._M_p = pcVar1;
  (in_stack_00000004->field_2)._M_allocated_capacity = __dnew;
  var_2(pcVar1,"Allocate_commons_task",0x15);
  pcVar1 = (in_stack_00000004->_M_dataplus)._M_p;
  in_stack_00000004->_M_string_length = __dnew;
  pcVar1[__dnew] = '\0';
  return in_stack_00000004;
}


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

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

int * MASKED(int *param_1)

{
  undefined4 *puVar1;
  int local_10 [2];
  
  local_10[1] = 0x166887;
  local_10[0] = 0x15;
  *param_1 = (int)(param_1 + 2);
  puVar1 = (undefined4 *)FUN_001b3b80(param_1,local_10,0);
  *param_1 = (int)puVar1;
  param_1[2] = local_10[0];
  *puVar1 = 0x6f6c6c41;
  puVar1[1] = 0x65746163;
  puVar1[2] = 0x6d6f635f;
  puVar1[3] = 0x736e6f6d;
  puVar1[4] = 0x7361745f;
  *(undefined1 *)(puVar1 + 5) = 0x6b;
  param_1[1] = local_10[0];
  *(undefined1 *)(*param_1 + local_10[0]) = 0;
  return param_1;
}

