
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: TimeStats get_pass_time(Timer * this, int n) */

TimeStats * __thiscall
gold::Timer::get_pass_time(TimeStats *__return_storage_ptr__,Timer *this,int n)

{
}



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

void FUN_001ffb50(int *param_1,int *param_2,uint param_3)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  
  if (param_3 < 3) {
    piVar3 = param_2 + param_3 * 3;
    iVar1 = piVar3[5];
    *param_1 = piVar3[3];
    iVar2 = piVar3[4];
    if (param_3 == 0) {
      piVar3 = param_2;
    }
    param_1[2] = iVar1;
    param_1[1] = iVar2;
    param_1[2] = param_1[2] - piVar3[2];
    iVar1 = piVar3[1];
    *param_1 = *param_1 - *piVar3;
    param_1[1] = param_1[1] - iVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ECX,dword ptr [ESP + 0x18]
CALL 0x0003a210
ADD EBX,0x2144a4
MOV EAX,dword ptr [ESP + 0x10]
MOV ESI,dword ptr [ESP + 0x14]
CMP ECX,0x2
JA 0x001ffba1
LEA EDX,[ECX + ECX*0x2]
TEST ECX,ECX
LEA EDX,[ESI + EDX*0x4]
MOV EDI,dword ptr [EDX + 0xc]
MOV EBX,dword ptr [EDX + 0x14]
MOV dword ptr [EAX],EDI
MOV EDI,dword ptr [EDX + 0x10]
CMOVZ EDX,ESI
MOV dword ptr [EAX + 0x8],EBX
MOV dword ptr [EAX + 0x4],EDI
MOV ECX,dword ptr [EDX + 0x8]
SUB dword ptr [EAX + 0x8],ECX
MOV ECX,dword ptr [EDX]
MOV EDX,dword ptr [EDX + 0x4]
SUB dword ptr [EAX],ECX
SUB dword ptr [EAX + 0x4],EDX
POP EBX
POP ESI
POP EDI
RET 0x4
PUSH EAX
LEA EAX,[EBX + 0xffef9d30]
PUSH EAX
LEA EAX,[EBX + 0xffef9d19]
PUSH 0x7c
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001ffb50(int *param_1,int *param_2,uint param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if (param_3 < 3) {\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);\n}\n\n" comment (function_definition "void FUN_001ffb50(int *param_1,int *param_2,uint param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if (param_3 < 3) {\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);\n}" primitive_type (function_declarator "FUN_001ffb50(int *param_1,int *param_2,uint param_3)" identifier (parameter_list "(int *param_1,int *param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if (param_3 < 3) {\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (if_statement "if (param_3 < 3) {\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }" if (parenthesized_expression "(param_3 < 3)" ( (binary_expression "param_3 < 3" identifier < number_literal) )) (compound_statement "{\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }" { (expression_statement "piVar3 = param_2 + param_3 * 3;" (assignment_expression "piVar3 = param_2 + param_3 * 3" identifier = (binary_expression "param_2 + param_3 * 3" identifier + (binary_expression "param_3 * 3" identifier * number_literal))) ;) (expression_statement "iVar1 = piVar3[5];" (assignment_expression "iVar1 = piVar3[5]" identifier = (subscript_expression "piVar3[5]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = piVar3[3];" (assignment_expression "*param_1 = piVar3[3]" (pointer_expression "*param_1" * identifier) = (subscript_expression "piVar3[3]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = piVar3[4];" (assignment_expression "iVar2 = piVar3[4]" identifier = (subscript_expression "piVar3[4]" identifier [ number_literal ])) ;) (if_statement "if (param_3 == 0) {\n      piVar3 = param_2;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      piVar3 = param_2;\n    }" { (expression_statement "piVar3 = param_2;" (assignment_expression "piVar3 = param_2" identifier = identifier) ;) })) (expression_statement "param_1[2] = iVar1;" (assignment_expression "param_1[2] = iVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = iVar2;" (assignment_expression "param_1[1] = iVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = param_1[2] - piVar3[2];" (assignment_expression "param_1[2] = param_1[2] - piVar3[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "param_1[2] - piVar3[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) - (subscript_expression "piVar3[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar1 = piVar3[1];" (assignment_expression "iVar1 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = *param_1 - *piVar3;" (assignment_expression "*param_1 = *param_1 - *piVar3" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 - *piVar3" (pointer_expression "*param_1" * identifier) - (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "param_1[1] = param_1[1] - iVar1;" (assignment_expression "param_1[1] = param_1[1] - iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] - iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) - identifier)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);" (call_expression "FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1)" identifier (argument_list "("../../gold/timer.cc",0x7c,"get_pass_time",param_1)" ( (string_literal ""../../gold/timer.cc"" " string_content ") , number_literal , (string_literal ""get_pass_time"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: TimeStats get_pass_time(Timer * this, int n) */\n\nTimeStats * __thiscall\ngold::Timer::get_pass_time(TimeStats *__return_storage_ptr__,Timer *this,int n)\n\n{\n}\n\n" comment comment (ERROR "TimeStats * __thiscall\ngold::Timer::get_pass_time(TimeStats *__return_storage_ptr__,Timer *this,int n)" (binary_expression "TimeStats * __thiscall\ngold::Timer::get_pass_time(TimeStats *__return_storage_ptr__" (binary_expression "TimeStats * __thiscall" identifier * identifier) (ERROR "gold::Timer::get_pass_time(TimeStats" identifier : : identifier : : identifier ( identifier) * identifier) , type_identifier (pointer_declarator "*this" * identifier) , identifier identifier )) (compound_statement "{\n}" { }))
(translation_unit "void FUN_001ffb50(int *param_1,int *param_2,uint param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if (param_3 < 3) {\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);\n}\n\n" (function_definition "void FUN_001ffb50(int *param_1,int *param_2,uint param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if (param_3 < 3) {\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);\n}" primitive_type (function_declarator "FUN_001ffb50(int *param_1,int *param_2,uint param_3)" identifier (parameter_list "(int *param_1,int *param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if (param_3 < 3) {\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (if_statement "if (param_3 < 3) {\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }" if (parenthesized_expression "(param_3 < 3)" ( (binary_expression "param_3 < 3" identifier < number_literal) )) (compound_statement "{\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }" { (expression_statement "piVar3 = param_2 + param_3 * 3;" (assignment_expression "piVar3 = param_2 + param_3 * 3" identifier = (binary_expression "param_2 + param_3 * 3" identifier + (binary_expression "param_3 * 3" identifier * number_literal))) ;) (expression_statement "iVar1 = piVar3[5];" (assignment_expression "iVar1 = piVar3[5]" identifier = (subscript_expression "piVar3[5]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = piVar3[3];" (assignment_expression "*param_1 = piVar3[3]" (pointer_expression "*param_1" * identifier) = (subscript_expression "piVar3[3]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = piVar3[4];" (assignment_expression "iVar2 = piVar3[4]" identifier = (subscript_expression "piVar3[4]" identifier [ number_literal ])) ;) (if_statement "if (param_3 == 0) {\n      piVar3 = param_2;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      piVar3 = param_2;\n    }" { (expression_statement "piVar3 = param_2;" (assignment_expression "piVar3 = param_2" identifier = identifier) ;) })) (expression_statement "param_1[2] = iVar1;" (assignment_expression "param_1[2] = iVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = iVar2;" (assignment_expression "param_1[1] = iVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = param_1[2] - piVar3[2];" (assignment_expression "param_1[2] = param_1[2] - piVar3[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "param_1[2] - piVar3[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) - (subscript_expression "piVar3[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar1 = piVar3[1];" (assignment_expression "iVar1 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = *param_1 - *piVar3;" (assignment_expression "*param_1 = *param_1 - *piVar3" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 - *piVar3" (pointer_expression "*param_1" * identifier) - (pointer_expression "*piVar3" * identifier))) ;) (expression_statement "param_1[1] = param_1[1] - iVar1;" (assignment_expression "param_1[1] = param_1[1] - iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] - iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) - identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);" (call_expression "FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1)" identifier (argument_list "("../../gold/timer.cc",0x7c,"get_pass_time",param_1)" ( (string_literal ""../../gold/timer.cc"" " string_content ") , number_literal , (string_literal ""get_pass_time"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) - (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) - (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) - IDENT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_001ffb50(int *param_1,int *param_2,uint param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if (param_3 < 3) {\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);\n}" (primitive_type "void") (function_declarator "FUN_001ffb50(int *param_1,int *param_2,uint param_3)" (identifier "FUN_001ffb50") (parameter_list "(int *param_1,int *param_2,uint param_3)" (( "(") (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"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  \n  if (param_3 < 3) {\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }\n                    \n  FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (if_statement "if (param_3 < 3) {\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 < 3)" (( "(") (binary_expression "param_3 < 3" (identifier "param_3") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n    piVar3 = param_2 + param_3 * 3;\n    iVar1 = piVar3[5];\n    *param_1 = piVar3[3];\n    iVar2 = piVar3[4];\n    if (param_3 == 0) {\n      piVar3 = param_2;\n    }\n    param_1[2] = iVar1;\n    param_1[1] = iVar2;\n    param_1[2] = param_1[2] - piVar3[2];\n    iVar1 = piVar3[1];\n    *param_1 = *param_1 - *piVar3;\n    param_1[1] = param_1[1] - iVar1;\n    return;\n  }" ({ "{") (expression_statement "piVar3 = param_2 + param_3 * 3;" (assignment_expression "piVar3 = param_2 + param_3 * 3" (identifier "piVar3") (= "=") (binary_expression "param_2 + param_3 * 3" (identifier "param_2") (+ "+") (binary_expression "param_3 * 3" (identifier "param_3") (* "*") (number_literal "3")))) (; ";")) (expression_statement "iVar1 = piVar3[5];" (assignment_expression "iVar1 = piVar3[5]" (identifier "iVar1") (= "=") (subscript_expression "piVar3[5]" (identifier "piVar3") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "*param_1 = piVar3[3];" (assignment_expression "*param_1 = piVar3[3]" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "iVar2 = piVar3[4];" (assignment_expression "iVar2 = piVar3[4]" (identifier "iVar2") (= "=") (subscript_expression "piVar3[4]" (identifier "piVar3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if (param_3 == 0) {\n      piVar3 = param_2;\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      piVar3 = param_2;\n    }" ({ "{") (expression_statement "piVar3 = param_2;" (assignment_expression "piVar3 = param_2" (identifier "piVar3") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "param_1[2] = iVar1;" (assignment_expression "param_1[2] = iVar1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "param_1[1] = iVar2;" (assignment_expression "param_1[1] = iVar2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "param_1[2] = param_1[2] - piVar3[2];" (assignment_expression "param_1[2] = param_1[2] - piVar3[2]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "param_1[2] - piVar3[2]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (- "-") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar1 = piVar3[1];" (assignment_expression "iVar1 = piVar3[1]" (identifier "iVar1") (= "=") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*param_1 = *param_1 - *piVar3;" (assignment_expression "*param_1 = *param_1 - *piVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "*param_1 - *piVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (- "-") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) (; ";")) (expression_statement "param_1[1] = param_1[1] - iVar1;" (assignment_expression "param_1[1] = param_1[1] - iVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "param_1[1] - iVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (- "-") (identifier "iVar1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);" (call_expression "FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1)" (identifier "FUN_000da200") (argument_list "("../../gold/timer.cc",0x7c,"get_pass_time",param_1)" (( "(") (string_literal ""../../gold/timer.cc"" (" """) (string_content "../../gold/timer.cc") (" """)) (, ",") (number_literal "0x7c") (, ",") (string_literal ""get_pass_time"" (" """) (string_content "get_pass_time") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: TimeStats get_pass_time(Timer * this, int n) */

TimeStats * __thiscall
gold::Timer::get_pass_time(TimeStats *__return_storage_ptr__,Timer *this,int n)

{
}


(translation_unit (function_definition type: (primitive_type) 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))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))

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

void MASKED(int *param_1,int *param_2,uint param_3)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  
  if (param_3 < 3) {
    piVar3 = param_2 + param_3 * 3;
    iVar1 = piVar3[5];
    *param_1 = piVar3[3];
    iVar2 = piVar3[4];
    if (param_3 == 0) {
      piVar3 = param_2;
    }
    param_1[2] = iVar1;
    param_1[1] = iVar2;
    param_1[2] = param_1[2] - piVar3[2];
    iVar1 = piVar3[1];
    *param_1 = *param_1 - *piVar3;
    param_1[1] = param_1[1] - iVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/timer.cc",0x7c,"get_pass_time",param_1);
}

