
/* WARNING: Unknown calling convention */

void dot_update(void *progress,wgint howmuch,double dltime)

{
  *(int *)((int)progress + 0x10) = *(int *)((int)progress + 0x10) + (int)howmuch;
  *(double *)((int)progress + 0x14) = dltime;
  return;
}



void FUN_0003c870(int param_1,int param_2,undefined4 param_3,undefined8 param_4)

{
  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;
  *(undefined8 *)(param_1 + 0x14) = param_4;
  return;
}


FLD qword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
ADD dword ptr [EAX + 0x10],EDX
FSTP qword ptr [EAX + 0x14]
RET
(translation_unit "void FUN_0003c870(int param_1,int param_2,undefined4 param_3,undefined8 param_4)\n\n{\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;\n  *(undefined8 *)(param_1 + 0x14) = param_4;\n  return;\n}\n\n" (function_definition "void FUN_0003c870(int param_1,int param_2,undefined4 param_3,undefined8 param_4)\n\n{\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;\n  *(undefined8 *)(param_1 + 0x14) = param_4;\n  return;\n}" primitive_type (function_declarator "FUN_0003c870(int param_1,int param_2,undefined4 param_3,undefined8 param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined8 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;\n  *(undefined8 *)(param_1 + 0x14) = param_4;\n  return;\n}" { (expression_statement "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;" (assignment_expression "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x10) + param_2" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + identifier)) ;) (expression_statement "*(undefined8 *)(param_1 + 0x14) = param_4;" (assignment_expression "*(undefined8 *)(param_1 + 0x14) = param_4" (pointer_expression "*(undefined8 *)(param_1 + 0x14)" * (cast_expression "(undefined8 *)(param_1 + 0x14)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid dot_update(void *progress,wgint howmuch,double dltime)\n\n{\n  *(int *)((int)progress + 0x10) = *(int *)((int)progress + 0x10) + (int)howmuch;\n  *(double *)((int)progress + 0x14) = dltime;\n  return;\n}\n\n" comment (function_definition "void dot_update(void *progress,wgint howmuch,double dltime)\n\n{\n  *(int *)((int)progress + 0x10) = *(int *)((int)progress + 0x10) + (int)howmuch;\n  *(double *)((int)progress + 0x14) = dltime;\n  return;\n}" primitive_type (function_declarator "dot_update(void *progress,wgint howmuch,double dltime)" identifier (parameter_list "(void *progress,wgint howmuch,double dltime)" ( (parameter_declaration "void *progress" primitive_type (pointer_declarator "*progress" * identifier)) , (parameter_declaration "wgint howmuch" type_identifier identifier) , (parameter_declaration "double dltime" primitive_type identifier) ))) (compound_statement "{\n  *(int *)((int)progress + 0x10) = *(int *)((int)progress + 0x10) + (int)howmuch;\n  *(double *)((int)progress + 0x14) = dltime;\n  return;\n}" { (expression_statement "*(int *)((int)progress + 0x10) = *(int *)((int)progress + 0x10) + (int)howmuch;" (assignment_expression "*(int *)((int)progress + 0x10) = *(int *)((int)progress + 0x10) + (int)howmuch" (pointer_expression "*(int *)((int)progress + 0x10)" * (cast_expression "(int *)((int)progress + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)progress + 0x10)" ( (binary_expression "(int)progress + 0x10" (cast_expression "(int)progress" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(int *)((int)progress + 0x10) + (int)howmuch" (pointer_expression "*(int *)((int)progress + 0x10)" * (cast_expression "(int *)((int)progress + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)progress + 0x10)" ( (binary_expression "(int)progress + 0x10" (cast_expression "(int)progress" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (cast_expression "(int)howmuch" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*(double *)((int)progress + 0x14) = dltime;" (assignment_expression "*(double *)((int)progress + 0x14) = dltime" (pointer_expression "*(double *)((int)progress + 0x14)" * (cast_expression "(double *)((int)progress + 0x14)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)progress + 0x14)" ( (binary_expression "(int)progress + 0x14" (cast_expression "(int)progress" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003c870(int param_1,int param_2,undefined4 param_3,undefined8 param_4)\n\n{\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;\n  *(undefined8 *)(param_1 + 0x14) = param_4;\n  return;\n}\n\n" (function_definition "void FUN_0003c870(int param_1,int param_2,undefined4 param_3,undefined8 param_4)\n\n{\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;\n  *(undefined8 *)(param_1 + 0x14) = param_4;\n  return;\n}" primitive_type (function_declarator "FUN_0003c870(int param_1,int param_2,undefined4 param_3,undefined8 param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined8 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;\n  *(undefined8 *)(param_1 + 0x14) = param_4;\n  return;\n}" { (expression_statement "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;" (assignment_expression "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x10) + param_2" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + identifier)) ;) (expression_statement "*(undefined8 *)(param_1 + 0x14) = param_4;" (assignment_expression "*(undefined8 *)(param_1 + 0x14) = param_4" (pointer_expression "*(undefined8 *)(param_1 + 0x14)" * (cast_expression "(undefined8 *)(param_1 + 0x14)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0003c870(int param_1,int param_2,undefined4 param_3,undefined8 param_4)\n\n{\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;\n  *(undefined8 *)(param_1 + 0x14) = param_4;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003c870(int param_1,int param_2,undefined4 param_3,undefined8 param_4)" (identifier "FUN_0003c870") (parameter_list "(int param_1,int param_2,undefined4 param_3,undefined8 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) () ")"))) (compound_statement "{\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;\n  *(undefined8 *)(param_1 + 0x14) = param_4;\n  return;\n}" ({ "{") (expression_statement "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;" (assignment_expression "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x10) + param_2" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (identifier "param_2"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x14) = param_4;" (assignment_expression "*(undefined8 *)(param_1 + 0x14) = param_4" (pointer_expression "*(undefined8 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(void *progress,type_1 howmuch,double dltime)

{
  *(int *)((int)progress + 0x10) = *(int *)((int)progress + 0x10) + (int)howmuch;
  *(double *)((int)progress + 0x14) = dltime;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (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: (identifier))) (return_statement))))

void MASKED(int param_1,int param_2,undefined4 param_3,undefined8 param_4)

{
  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + param_2;
  *(undefined8 *)(param_1 + 0x14) = param_4;
  return;
}

