
/* DWARF original prototype: void start(Timer * this) */

void __thiscall gold::Timer::start(Timer *this)

{
  long lVar1;
  clock_t cVar2;
  tms tStack_28;
  
  cVar2 = times(&tStack_28);
  lVar1 = ticks_per_sec;
  (this->start_time_).wall = (cVar2 * 1000) / ticks_per_sec;
  (this->start_time_).user = (tStack_28.tms_utime * 1000) / lVar1;
  (this->start_time_).sys = (tStack_28.tms_stime * 1000) / lVar1;
  return;
}



void thunk_FUN_0029d440(long *param_1)

{
  long lVar1;
  clock_t cVar2;
  tms tStack_28;
  
  cVar2 = times(&tStack_28);
  lVar1 = DAT_004672e8;
  param_1[2] = (cVar2 * 1000) / DAT_004672e8;
  *param_1 = (tStack_28.tms_utime * 1000) / lVar1;
  param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;
  return;
}


JMP 0x0029d440
(translation_unit "void thunk_FUN_0029d440(long *param_1)\n\n{\n  long lVar1;\n  clock_t cVar2;\n  tms tStack_28;\n  \n  cVar2 = times(&tStack_28);\n  lVar1 = DAT_004672e8;\n  param_1[2] = (cVar2 * 1000) / DAT_004672e8;\n  *param_1 = (tStack_28.tms_utime * 1000) / lVar1;\n  param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;\n  return;\n}\n\n" (function_definition "void thunk_FUN_0029d440(long *param_1)\n\n{\n  long lVar1;\n  clock_t cVar2;\n  tms tStack_28;\n  \n  cVar2 = times(&tStack_28);\n  lVar1 = DAT_004672e8;\n  param_1[2] = (cVar2 * 1000) / DAT_004672e8;\n  *param_1 = (tStack_28.tms_utime * 1000) / lVar1;\n  param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;\n  return;\n}" primitive_type (function_declarator "thunk_FUN_0029d440(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  clock_t cVar2;\n  tms tStack_28;\n  \n  cVar2 = times(&tStack_28);\n  lVar1 = DAT_004672e8;\n  param_1[2] = (cVar2 * 1000) / DAT_004672e8;\n  *param_1 = (tStack_28.tms_utime * 1000) / lVar1;\n  param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "clock_t cVar2;" type_identifier identifier ;) (declaration "tms tStack_28;" type_identifier identifier ;) (expression_statement "cVar2 = times(&tStack_28);" (assignment_expression "cVar2 = times(&tStack_28)" identifier = (call_expression "times(&tStack_28)" identifier (argument_list "(&tStack_28)" ( (pointer_expression "&tStack_28" & identifier) )))) ;) (expression_statement "lVar1 = DAT_004672e8;" (assignment_expression "lVar1 = DAT_004672e8" identifier = identifier) ;) (expression_statement "param_1[2] = (cVar2 * 1000) / DAT_004672e8;" (assignment_expression "param_1[2] = (cVar2 * 1000) / DAT_004672e8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "(cVar2 * 1000) / DAT_004672e8" (parenthesized_expression "(cVar2 * 1000)" ( (binary_expression "cVar2 * 1000" identifier * number_literal) )) / identifier)) ;) (expression_statement "*param_1 = (tStack_28.tms_utime * 1000) / lVar1;" (assignment_expression "*param_1 = (tStack_28.tms_utime * 1000) / lVar1" (pointer_expression "*param_1" * identifier) = (binary_expression "(tStack_28.tms_utime * 1000) / lVar1" (parenthesized_expression "(tStack_28.tms_utime * 1000)" ( (binary_expression "tStack_28.tms_utime * 1000" (field_expression "tStack_28.tms_utime" identifier . field_identifier) * number_literal) )) / identifier)) ;) (expression_statement "param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;" (assignment_expression "param_1[1] = (tStack_28.tms_stime * 1000) / lVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(tStack_28.tms_stime * 1000) / lVar1" (parenthesized_expression "(tStack_28.tms_stime * 1000)" ( (binary_expression "tStack_28.tms_stime * 1000" (field_expression "tStack_28.tms_stime" identifier . field_identifier) * number_literal) )) / identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void start(Timer * this) */\n\nvoid __thiscall gold::Timer::start(Timer *this)\n\n{\n  long lVar1;\n  clock_t cVar2;\n  tms tStack_28;\n  \n  cVar2 = times(&tStack_28);\n  lVar1 = ticks_per_sec;\n  (this->start_time_).wall = (cVar2 * 1000) / ticks_per_sec;\n  (this->start_time_).user = (tStack_28.tms_utime * 1000) / lVar1;\n  (this->start_time_).sys = (tStack_28.tms_stime * 1000) / lVar1;\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Timer::start(Timer *this)\n\n{\n  long lVar1;\n  clock_t cVar2;\n  tms tStack_28;\n  \n  cVar2 = times(&tStack_28);\n  lVar1 = ticks_per_sec;\n  (this->start_time_).wall = (cVar2 * 1000) / ticks_per_sec;\n  (this->start_time_).user = (tStack_28.tms_utime * 1000) / lVar1;\n  (this->start_time_).sys = (tStack_28.tms_stime * 1000) / lVar1;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Timer::" identifier : : identifier : :) (function_declarator "start(Timer *this)" identifier (parameter_list "(Timer *this)" ( (parameter_declaration "Timer *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  clock_t cVar2;\n  tms tStack_28;\n  \n  cVar2 = times(&tStack_28);\n  lVar1 = ticks_per_sec;\n  (this->start_time_).wall = (cVar2 * 1000) / ticks_per_sec;\n  (this->start_time_).user = (tStack_28.tms_utime * 1000) / lVar1;\n  (this->start_time_).sys = (tStack_28.tms_stime * 1000) / lVar1;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "clock_t cVar2;" type_identifier identifier ;) (declaration "tms tStack_28;" type_identifier identifier ;) (expression_statement "cVar2 = times(&tStack_28);" (assignment_expression "cVar2 = times(&tStack_28)" identifier = (call_expression "times(&tStack_28)" identifier (argument_list "(&tStack_28)" ( (pointer_expression "&tStack_28" & identifier) )))) ;) (expression_statement "lVar1 = ticks_per_sec;" (assignment_expression "lVar1 = ticks_per_sec" identifier = identifier) ;) (expression_statement "(this->start_time_).wall = (cVar2 * 1000) / ticks_per_sec;" (assignment_expression "(this->start_time_).wall = (cVar2 * 1000) / ticks_per_sec" (field_expression "(this->start_time_).wall" (parenthesized_expression "(this->start_time_)" ( (field_expression "this->start_time_" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(cVar2 * 1000) / ticks_per_sec" (parenthesized_expression "(cVar2 * 1000)" ( (binary_expression "cVar2 * 1000" identifier * number_literal) )) / identifier)) ;) (expression_statement "(this->start_time_).user = (tStack_28.tms_utime * 1000) / lVar1;" (assignment_expression "(this->start_time_).user = (tStack_28.tms_utime * 1000) / lVar1" (field_expression "(this->start_time_).user" (parenthesized_expression "(this->start_time_)" ( (field_expression "this->start_time_" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(tStack_28.tms_utime * 1000) / lVar1" (parenthesized_expression "(tStack_28.tms_utime * 1000)" ( (binary_expression "tStack_28.tms_utime * 1000" (field_expression "tStack_28.tms_utime" identifier . field_identifier) * number_literal) )) / identifier)) ;) (expression_statement "(this->start_time_).sys = (tStack_28.tms_stime * 1000) / lVar1;" (assignment_expression "(this->start_time_).sys = (tStack_28.tms_stime * 1000) / lVar1" (field_expression "(this->start_time_).sys" (parenthesized_expression "(this->start_time_)" ( (field_expression "this->start_time_" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(tStack_28.tms_stime * 1000) / lVar1" (parenthesized_expression "(tStack_28.tms_stime * 1000)" ( (binary_expression "tStack_28.tms_stime * 1000" (field_expression "tStack_28.tms_stime" identifier . field_identifier) * number_literal) )) / identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void thunk_FUN_0029d440(long *param_1)\n\n{\n  long lVar1;\n  clock_t cVar2;\n  tms tStack_28;\n  \n  cVar2 = times(&tStack_28);\n  lVar1 = DAT_004672e8;\n  param_1[2] = (cVar2 * 1000) / DAT_004672e8;\n  *param_1 = (tStack_28.tms_utime * 1000) / lVar1;\n  param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;\n  return;\n}\n\n" (function_definition "void thunk_FUN_0029d440(long *param_1)\n\n{\n  long lVar1;\n  clock_t cVar2;\n  tms tStack_28;\n  \n  cVar2 = times(&tStack_28);\n  lVar1 = DAT_004672e8;\n  param_1[2] = (cVar2 * 1000) / DAT_004672e8;\n  *param_1 = (tStack_28.tms_utime * 1000) / lVar1;\n  param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;\n  return;\n}" primitive_type (function_declarator "thunk_FUN_0029d440(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  clock_t cVar2;\n  tms tStack_28;\n  \n  cVar2 = times(&tStack_28);\n  lVar1 = DAT_004672e8;\n  param_1[2] = (cVar2 * 1000) / DAT_004672e8;\n  *param_1 = (tStack_28.tms_utime * 1000) / lVar1;\n  param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "clock_t cVar2;" type_identifier identifier ;) (declaration "tms tStack_28;" type_identifier identifier ;) (expression_statement "cVar2 = times(&tStack_28);" (assignment_expression "cVar2 = times(&tStack_28)" identifier = (call_expression "times(&tStack_28)" identifier (argument_list "(&tStack_28)" ( (pointer_expression "&tStack_28" & identifier) )))) ;) (expression_statement "lVar1 = DAT_004672e8;" (assignment_expression "lVar1 = DAT_004672e8" identifier = identifier) ;) (expression_statement "param_1[2] = (cVar2 * 1000) / DAT_004672e8;" (assignment_expression "param_1[2] = (cVar2 * 1000) / DAT_004672e8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "(cVar2 * 1000) / DAT_004672e8" (parenthesized_expression "(cVar2 * 1000)" ( (binary_expression "cVar2 * 1000" identifier * number_literal) )) / identifier)) ;) (expression_statement "*param_1 = (tStack_28.tms_utime * 1000) / lVar1;" (assignment_expression "*param_1 = (tStack_28.tms_utime * 1000) / lVar1" (pointer_expression "*param_1" * identifier) = (binary_expression "(tStack_28.tms_utime * 1000) / lVar1" (parenthesized_expression "(tStack_28.tms_utime * 1000)" ( (binary_expression "tStack_28.tms_utime * 1000" (field_expression "tStack_28.tms_utime" identifier . field_identifier) * number_literal) )) / identifier)) ;) (expression_statement "param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;" (assignment_expression "param_1[1] = (tStack_28.tms_stime * 1000) / lVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "(tStack_28.tms_stime * 1000) / lVar1" (parenthesized_expression "(tStack_28.tms_stime * 1000)" ( (binary_expression "tStack_28.tms_stime * 1000" (field_expression "tStack_28.tms_stime" identifier . field_identifier) * number_literal) )) / identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( (binary_expression IDENT * LIT) )) / IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) * LIT) )) / IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) * LIT) )) / IDENT)) ;) (return_statement return ;) })))
(function_definition "void thunk_FUN_0029d440(long *param_1)\n\n{\n  long lVar1;\n  clock_t cVar2;\n  tms tStack_28;\n  \n  cVar2 = times(&tStack_28);\n  lVar1 = DAT_004672e8;\n  param_1[2] = (cVar2 * 1000) / DAT_004672e8;\n  *param_1 = (tStack_28.tms_utime * 1000) / lVar1;\n  param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;\n  return;\n}" (primitive_type "void") (function_declarator "thunk_FUN_0029d440(long *param_1)" (identifier "thunk_FUN_0029d440") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  long lVar1;\n  clock_t cVar2;\n  tms tStack_28;\n  \n  cVar2 = times(&tStack_28);\n  lVar1 = DAT_004672e8;\n  param_1[2] = (cVar2 * 1000) / DAT_004672e8;\n  *param_1 = (tStack_28.tms_utime * 1000) / lVar1;\n  param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "clock_t cVar2;" (type_identifier "clock_t") (identifier "cVar2") (; ";")) (declaration "tms tStack_28;" (type_identifier "tms") (identifier "tStack_28") (; ";")) (expression_statement "cVar2 = times(&tStack_28);" (assignment_expression "cVar2 = times(&tStack_28)" (identifier "cVar2") (= "=") (call_expression "times(&tStack_28)" (identifier "times") (argument_list "(&tStack_28)" (( "(") (pointer_expression "&tStack_28" (& "&") (identifier "tStack_28")) () ")")))) (; ";")) (expression_statement "lVar1 = DAT_004672e8;" (assignment_expression "lVar1 = DAT_004672e8" (identifier "lVar1") (= "=") (identifier "DAT_004672e8")) (; ";")) (expression_statement "param_1[2] = (cVar2 * 1000) / DAT_004672e8;" (assignment_expression "param_1[2] = (cVar2 * 1000) / DAT_004672e8" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "(cVar2 * 1000) / DAT_004672e8" (parenthesized_expression "(cVar2 * 1000)" (( "(") (binary_expression "cVar2 * 1000" (identifier "cVar2") (* "*") (number_literal "1000")) () ")")) (/ "/") (identifier "DAT_004672e8"))) (; ";")) (expression_statement "*param_1 = (tStack_28.tms_utime * 1000) / lVar1;" (assignment_expression "*param_1 = (tStack_28.tms_utime * 1000) / lVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "(tStack_28.tms_utime * 1000) / lVar1" (parenthesized_expression "(tStack_28.tms_utime * 1000)" (( "(") (binary_expression "tStack_28.tms_utime * 1000" (field_expression "tStack_28.tms_utime" (identifier "tStack_28") (. ".") (field_identifier "tms_utime")) (* "*") (number_literal "1000")) () ")")) (/ "/") (identifier "lVar1"))) (; ";")) (expression_statement "param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;" (assignment_expression "param_1[1] = (tStack_28.tms_stime * 1000) / lVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(tStack_28.tms_stime * 1000) / lVar1" (parenthesized_expression "(tStack_28.tms_stime * 1000)" (( "(") (binary_expression "tStack_28.tms_stime * 1000" (field_expression "tStack_28.tms_stime" (identifier "tStack_28") (. ".") (field_identifier "tms_stime")) (* "*") (number_literal "1000")) () ")")) (/ "/") (identifier "lVar1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void start(Timer * this) */

void __thiscall gold::type_1::function_1(type_1 *this)

{
  long var_4;
  type_2 var_2;
  type_3 tStack_28;
  
  var_2 = var_1(&tStack_28);
  var_4 = var_3;
  (this->start_time_).wall = (var_2 * 1000) / var_3;
  (this->start_time_).user = (tStack_28.tms_utime * 1000) / var_4;
  (this->start_time_).sys = (tStack_28.tms_stime * 1000) / var_4;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) right: (identifier)))) (return_statement))))

void MASKED(long *param_1)

{
  long lVar1;
  clock_t cVar2;
  tms tStack_28;
  
  cVar2 = times(&tStack_28);
  lVar1 = DAT_004672e8;
  param_1[2] = (cVar2 * 1000) / DAT_004672e8;
  *param_1 = (tStack_28.tms_utime * 1000) / lVar1;
  param_1[1] = (tStack_28.tms_stime * 1000) / lVar1;
  return;
}

