
/* DWARF original prototype: TimeStats get_elapsed_time(Timer * this) */

TimeStats * __thiscall gold::Timer::get_elapsed_time(Timer *this)

{
  TimeStats *delta;
  TimeStats now;
  
  get_time(&now);
  delta->wall = now.wall - (this->start_time_).wall;
  delta->user = now.user - (this->start_time_).user;
  delta->sys = now.sys - (this->start_time_).sys;
  return delta;
}



int * FUN_001900e0(int *param_1,int *param_2)

{
  int local_18;
  int local_14;
  int local_10;
  
  FUN_00190020(&local_18);
  param_1[2] = local_10 - param_2[2];
  *param_1 = local_18 - *param_2;
  param_1[1] = local_14 - param_2[1];
  return param_1;
}


PUSH ESI
PUSH EBX
SUB ESP,0x20
LEA EAX,[ESP + 0x10]
MOV EBX,dword ptr [ESP + 0x2c]
MOV ESI,dword ptr [ESP + 0x30]
PUSH EAX
CALL 0x00190020
MOV EAX,dword ptr [ESP + 0x1c]
SUB EAX,dword ptr [ESI + 0x8]
MOV dword ptr [EBX + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x14]
SUB EAX,dword ptr [ESI]
MOV dword ptr [EBX],EAX
MOV EAX,dword ptr [ESP + 0x18]
SUB EAX,dword ptr [ESI + 0x4]
MOV dword ptr [EBX + 0x4],EAX
ADD ESP,0x24
MOV EAX,EBX
POP EBX
POP ESI
RET 0x4
(translation_unit "int * FUN_001900e0(int *param_1,int *param_2)\n\n{\n  int local_18;\n  int local_14;\n  int local_10;\n  \n  FUN_00190020(&local_18);\n  param_1[2] = local_10 - param_2[2];\n  *param_1 = local_18 - *param_2;\n  param_1[1] = local_14 - param_2[1];\n  return param_1;\n}\n\n" (function_definition "int * FUN_001900e0(int *param_1,int *param_2)\n\n{\n  int local_18;\n  int local_14;\n  int local_10;\n  \n  FUN_00190020(&local_18);\n  param_1[2] = local_10 - param_2[2];\n  *param_1 = local_18 - *param_2;\n  param_1[1] = local_14 - param_2[1];\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_001900e0(int *param_1,int *param_2)" * (function_declarator "FUN_001900e0(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  int local_18;\n  int local_14;\n  int local_10;\n  \n  FUN_00190020(&local_18);\n  param_1[2] = local_10 - param_2[2];\n  *param_1 = local_18 - *param_2;\n  param_1[1] = local_14 - param_2[1];\n  return param_1;\n}" { (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "FUN_00190020(&local_18);" (call_expression "FUN_00190020(&local_18)" identifier (argument_list "(&local_18)" ( (pointer_expression "&local_18" & identifier) ))) ;) (expression_statement "param_1[2] = local_10 - param_2[2];" (assignment_expression "param_1[2] = local_10 - param_2[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "local_10 - param_2[2]" identifier - (subscript_expression "param_2[2]" identifier [ number_literal ]))) ;) (expression_statement "*param_1 = local_18 - *param_2;" (assignment_expression "*param_1 = local_18 - *param_2" (pointer_expression "*param_1" * identifier) = (binary_expression "local_18 - *param_2" identifier - (pointer_expression "*param_2" * identifier))) ;) (expression_statement "param_1[1] = local_14 - param_2[1];" (assignment_expression "param_1[1] = local_14 - param_2[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "local_14 - param_2[1]" identifier - (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: TimeStats get_elapsed_time(Timer * this) */\n\nTimeStats * __thiscall gold::Timer::get_elapsed_time(Timer *this)\n\n{\n  TimeStats *delta;\n  TimeStats now;\n  \n  get_time(&now);\n  delta->wall = now.wall - (this->start_time_).wall;\n  delta->user = now.user - (this->start_time_).user;\n  delta->sys = now.sys - (this->start_time_).sys;\n  return delta;\n}\n\n" comment (ERROR "TimeStats * __thiscall gold::Timer::get_elapsed_time(Timer *this)" (binary_expression "TimeStats * __thiscall gold::Timer::get_elapsed_time(Timer *this" (binary_expression "TimeStats * __thiscall" identifier * identifier) (ERROR "gold::Timer::get_elapsed_time(Timer" identifier : : identifier : : identifier ( identifier) * identifier) )) (compound_statement "{\n  TimeStats *delta;\n  TimeStats now;\n  \n  get_time(&now);\n  delta->wall = now.wall - (this->start_time_).wall;\n  delta->user = now.user - (this->start_time_).user;\n  delta->sys = now.sys - (this->start_time_).sys;\n  return delta;\n}" { (declaration "TimeStats *delta;" type_identifier (pointer_declarator "*delta" * identifier) ;) (declaration "TimeStats now;" type_identifier identifier ;) (expression_statement "get_time(&now);" (call_expression "get_time(&now)" identifier (argument_list "(&now)" ( (pointer_expression "&now" & identifier) ))) ;) (expression_statement "delta->wall = now.wall - (this->start_time_).wall;" (assignment_expression "delta->wall = now.wall - (this->start_time_).wall" (field_expression "delta->wall" identifier -> field_identifier) = (binary_expression "now.wall - (this->start_time_).wall" (field_expression "now.wall" identifier . field_identifier) - (field_expression "(this->start_time_).wall" (parenthesized_expression "(this->start_time_)" ( (field_expression "this->start_time_" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "delta->user = now.user - (this->start_time_).user;" (assignment_expression "delta->user = now.user - (this->start_time_).user" (field_expression "delta->user" identifier -> field_identifier) = (binary_expression "now.user - (this->start_time_).user" (field_expression "now.user" identifier . field_identifier) - (field_expression "(this->start_time_).user" (parenthesized_expression "(this->start_time_)" ( (field_expression "this->start_time_" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "delta->sys = now.sys - (this->start_time_).sys;" (assignment_expression "delta->sys = now.sys - (this->start_time_).sys" (field_expression "delta->sys" identifier -> field_identifier) = (binary_expression "now.sys - (this->start_time_).sys" (field_expression "now.sys" identifier . field_identifier) - (field_expression "(this->start_time_).sys" (parenthesized_expression "(this->start_time_)" ( (field_expression "this->start_time_" identifier -> field_identifier) )) . field_identifier))) ;) (return_statement "return delta;" return identifier ;) }))
(translation_unit "int * FUN_001900e0(int *param_1,int *param_2)\n\n{\n  int local_18;\n  int local_14;\n  int local_10;\n  \n  FUN_00190020(&local_18);\n  param_1[2] = local_10 - param_2[2];\n  *param_1 = local_18 - *param_2;\n  param_1[1] = local_14 - param_2[1];\n  return param_1;\n}\n\n" (function_definition "int * FUN_001900e0(int *param_1,int *param_2)\n\n{\n  int local_18;\n  int local_14;\n  int local_10;\n  \n  FUN_00190020(&local_18);\n  param_1[2] = local_10 - param_2[2];\n  *param_1 = local_18 - *param_2;\n  param_1[1] = local_14 - param_2[1];\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_001900e0(int *param_1,int *param_2)" * (function_declarator "FUN_001900e0(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  int local_18;\n  int local_14;\n  int local_10;\n  \n  FUN_00190020(&local_18);\n  param_1[2] = local_10 - param_2[2];\n  *param_1 = local_18 - *param_2;\n  param_1[1] = local_14 - param_2[1];\n  return param_1;\n}" { (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "FUN_00190020(&local_18);" (call_expression "FUN_00190020(&local_18)" identifier (argument_list "(&local_18)" ( (pointer_expression "&local_18" & identifier) ))) ;) (expression_statement "param_1[2] = local_10 - param_2[2];" (assignment_expression "param_1[2] = local_10 - param_2[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "local_10 - param_2[2]" identifier - (subscript_expression "param_2[2]" identifier [ number_literal ]))) ;) (expression_statement "*param_1 = local_18 - *param_2;" (assignment_expression "*param_1 = local_18 - *param_2" (pointer_expression "*param_1" * identifier) = (binary_expression "local_18 - *param_2" identifier - (pointer_expression "*param_2" * identifier))) ;) (expression_statement "param_1[1] = local_14 - param_2[1];" (assignment_expression "param_1[1] = local_14 - param_2[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "local_14 - param_2[1]" identifier - (subscript_expression "param_2[1]" identifier [ 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)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - (subscript_expression IDENT [ LIT ]))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_001900e0(int *param_1,int *param_2)\n\n{\n  int local_18;\n  int local_14;\n  int local_10;\n  \n  FUN_00190020(&local_18);\n  param_1[2] = local_10 - param_2[2];\n  *param_1 = local_18 - *param_2;\n  param_1[1] = local_14 - param_2[1];\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_001900e0(int *param_1,int *param_2)" (* "*") (function_declarator "FUN_001900e0(int *param_1,int *param_2)" (identifier "FUN_001900e0") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  int local_18;\n  int local_14;\n  int local_10;\n  \n  FUN_00190020(&local_18);\n  param_1[2] = local_10 - param_2[2];\n  *param_1 = local_18 - *param_2;\n  param_1[1] = local_14 - param_2[1];\n  return param_1;\n}" ({ "{") (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (expression_statement "FUN_00190020(&local_18);" (call_expression "FUN_00190020(&local_18)" (identifier "FUN_00190020") (argument_list "(&local_18)" (( "(") (pointer_expression "&local_18" (& "&") (identifier "local_18")) () ")"))) (; ";")) (expression_statement "param_1[2] = local_10 - param_2[2];" (assignment_expression "param_1[2] = local_10 - param_2[2]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "local_10 - param_2[2]" (identifier "local_10") (- "-") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "*param_1 = local_18 - *param_2;" (assignment_expression "*param_1 = local_18 - *param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "local_18 - *param_2" (identifier "local_18") (- "-") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "param_1[1] = local_14 - param_2[1];" (assignment_expression "param_1[1] = local_14 - param_2[1]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "local_14 - param_2[1]" (identifier "local_14") (- "-") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* DWARF original prototype: TimeStats get_elapsed_time(Timer * this) */

type_1 * __thiscall gold::Timer::get_elapsed_time(Timer *this)

{
  type_1 *delta;
  type_1 now;
  
  var_1(&now);
  delta->wall = now.wall - (this->start_time_).wall;
  delta->user = now.user - (this->start_time_).user;
  delta->sys = now.sys - (this->start_time_).sys;
  return delta;
}


(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))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (return_statement (identifier)))))

int * MASKED(int *param_1,int *param_2)

{
  int local_18;
  int local_14;
  int local_10;
  
  FUN_00190020(&local_18);
  param_1[2] = local_10 - param_2[2];
  *param_1 = local_18 - *param_2;
  param_1[1] = local_14 - param_2[1];
  return param_1;
}

