
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void Curl_pgrsSetDownloadSize(Curl_easy *data,curl_off_t size)

{
  uint uVar1;
  
  uVar1 = (data->progress).flags;
  if (size < 0) {
    uVar1 = uVar1 & 0xffffffbf;
    size = 0;
  }
  else {
    uVar1 = uVar1 | 0x40;
  }
  (data->progress).flags = uVar1;
  (data->progress).size_dl = size;
  return;
}



void FUN_0001cc20(int param_1,undefined4 param_2,int param_3)

{
  uint uVar1;
  
  if (param_3 < 0) {
    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;
    param_2 = 0;
    param_3 = 0;
  }
  else {
    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;
  }
  *(uint *)(param_1 + 0xb74) = uVar1;
  *(undefined4 *)(param_1 + 0xb44) = param_2;
  *(int *)(param_1 + 0xb48) = param_3;
  return;
}


PUSH EBX
MOV EAX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0x10]
MOV EBX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [EAX + 0xb74]
TEST ECX,ECX
JS 0x0001cc50
OR EDX,0x40
MOV dword ptr [EAX + 0xb74],EDX
MOV dword ptr [EAX + 0xb44],EBX
MOV dword ptr [EAX + 0xb48],ECX
POP EBX
RET
AND EDX,0xffffffbf
XOR EBX,EBX
XOR ECX,ECX
JMP 0x0001cc3a
(translation_unit "void FUN_0001cc20(int param_1,undefined4 param_2,int param_3)\n\n{\n  uint uVar1;\n  \n  if (param_3 < 0) {\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }\n  *(uint *)(param_1 + 0xb74) = uVar1;\n  *(undefined4 *)(param_1 + 0xb44) = param_2;\n  *(int *)(param_1 + 0xb48) = param_3;\n  return;\n}\n\n" (function_definition "void FUN_0001cc20(int param_1,undefined4 param_2,int param_3)\n\n{\n  uint uVar1;\n  \n  if (param_3 < 0) {\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }\n  *(uint *)(param_1 + 0xb74) = uVar1;\n  *(undefined4 *)(param_1 + 0xb44) = param_2;\n  *(int *)(param_1 + 0xb48) = param_3;\n  return;\n}" primitive_type (function_declarator "FUN_0001cc20(int param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (param_3 < 0) {\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }\n  *(uint *)(param_1 + 0xb74) = uVar1;\n  *(undefined4 *)(param_1 + 0xb44) = param_2;\n  *(int *)(param_1 + 0xb48) = param_3;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (param_3 < 0) {\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }" if (parenthesized_expression "(param_3 < 0)" ( (binary_expression "param_3 < 0" identifier < number_literal) )) (compound_statement "{\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }" { (expression_statement "uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;" (assignment_expression "uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf" identifier = (binary_expression "*(uint *)(param_1 + 0xb74) & 0xffffffbf" (pointer_expression "*(uint *)(param_1 + 0xb74)" * (cast_expression "(uint *)(param_1 + 0xb74)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb74)" ( (binary_expression "param_1 + 0xb74" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }" else (compound_statement "{\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }" { (expression_statement "uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;" (assignment_expression "uVar1 = *(uint *)(param_1 + 0xb74) | 0x40" identifier = (binary_expression "*(uint *)(param_1 + 0xb74) | 0x40" (pointer_expression "*(uint *)(param_1 + 0xb74)" * (cast_expression "(uint *)(param_1 + 0xb74)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb74)" ( (binary_expression "param_1 + 0xb74" identifier + number_literal) )))) | number_literal)) ;) }))) (expression_statement "*(uint *)(param_1 + 0xb74) = uVar1;" (assignment_expression "*(uint *)(param_1 + 0xb74) = uVar1" (pointer_expression "*(uint *)(param_1 + 0xb74)" * (cast_expression "(uint *)(param_1 + 0xb74)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb74)" ( (binary_expression "param_1 + 0xb74" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xb44) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0xb44) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0xb44)" * (cast_expression "(undefined4 *)(param_1 + 0xb44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb44)" ( (binary_expression "param_1 + 0xb44" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0xb48) = param_3;" (assignment_expression "*(int *)(param_1 + 0xb48) = param_3" (pointer_expression "*(int *)(param_1 + 0xb48)" * (cast_expression "(int *)(param_1 + 0xb48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb48)" ( (binary_expression "param_1 + 0xb48" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid Curl_pgrsSetDownloadSize(Curl_easy *data,curl_off_t size)\n\n{\n  uint uVar1;\n  \n  uVar1 = (data->progress).flags;\n  if (size < 0) {\n    uVar1 = uVar1 & 0xffffffbf;\n    size = 0;\n  }\n  else {\n    uVar1 = uVar1 | 0x40;\n  }\n  (data->progress).flags = uVar1;\n  (data->progress).size_dl = size;\n  return;\n}\n\n" comment (function_definition "void Curl_pgrsSetDownloadSize(Curl_easy *data,curl_off_t size)\n\n{\n  uint uVar1;\n  \n  uVar1 = (data->progress).flags;\n  if (size < 0) {\n    uVar1 = uVar1 & 0xffffffbf;\n    size = 0;\n  }\n  else {\n    uVar1 = uVar1 | 0x40;\n  }\n  (data->progress).flags = uVar1;\n  (data->progress).size_dl = size;\n  return;\n}" primitive_type (function_declarator "Curl_pgrsSetDownloadSize(Curl_easy *data,curl_off_t size)" identifier (parameter_list "(Curl_easy *data,curl_off_t size)" ( (parameter_declaration "Curl_easy *data" type_identifier (pointer_declarator "*data" * identifier)) , (parameter_declaration "curl_off_t size" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (data->progress).flags;\n  if (size < 0) {\n    uVar1 = uVar1 & 0xffffffbf;\n    size = 0;\n  }\n  else {\n    uVar1 = uVar1 | 0x40;\n  }\n  (data->progress).flags = uVar1;\n  (data->progress).size_dl = size;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (data->progress).flags;" (assignment_expression "uVar1 = (data->progress).flags" identifier = (field_expression "(data->progress).flags" (parenthesized_expression "(data->progress)" ( (field_expression "data->progress" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (size < 0) {\n    uVar1 = uVar1 & 0xffffffbf;\n    size = 0;\n  }\n  else {\n    uVar1 = uVar1 | 0x40;\n  }" if (parenthesized_expression "(size < 0)" ( (binary_expression "size < 0" identifier < number_literal) )) (compound_statement "{\n    uVar1 = uVar1 & 0xffffffbf;\n    size = 0;\n  }" { (expression_statement "uVar1 = uVar1 & 0xffffffbf;" (assignment_expression "uVar1 = uVar1 & 0xffffffbf" identifier = (binary_expression "uVar1 & 0xffffffbf" identifier & number_literal)) ;) (expression_statement "size = 0;" (assignment_expression "size = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar1 = uVar1 | 0x40;\n  }" else (compound_statement "{\n    uVar1 = uVar1 | 0x40;\n  }" { (expression_statement "uVar1 = uVar1 | 0x40;" (assignment_expression "uVar1 = uVar1 | 0x40" identifier = (binary_expression "uVar1 | 0x40" identifier | number_literal)) ;) }))) (expression_statement "(data->progress).flags = uVar1;" (assignment_expression "(data->progress).flags = uVar1" (field_expression "(data->progress).flags" (parenthesized_expression "(data->progress)" ( (field_expression "data->progress" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(data->progress).size_dl = size;" (assignment_expression "(data->progress).size_dl = size" (field_expression "(data->progress).size_dl" (parenthesized_expression "(data->progress)" ( (field_expression "data->progress" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001cc20(int param_1,undefined4 param_2,int param_3)\n\n{\n  uint uVar1;\n  \n  if (param_3 < 0) {\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }\n  *(uint *)(param_1 + 0xb74) = uVar1;\n  *(undefined4 *)(param_1 + 0xb44) = param_2;\n  *(int *)(param_1 + 0xb48) = param_3;\n  return;\n}\n\n" (function_definition "void FUN_0001cc20(int param_1,undefined4 param_2,int param_3)\n\n{\n  uint uVar1;\n  \n  if (param_3 < 0) {\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }\n  *(uint *)(param_1 + 0xb74) = uVar1;\n  *(undefined4 *)(param_1 + 0xb44) = param_2;\n  *(int *)(param_1 + 0xb48) = param_3;\n  return;\n}" primitive_type (function_declarator "FUN_0001cc20(int param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (param_3 < 0) {\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }\n  *(uint *)(param_1 + 0xb74) = uVar1;\n  *(undefined4 *)(param_1 + 0xb44) = param_2;\n  *(int *)(param_1 + 0xb48) = param_3;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (param_3 < 0) {\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }" if (parenthesized_expression "(param_3 < 0)" ( (binary_expression "param_3 < 0" identifier < number_literal) )) (compound_statement "{\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }" { (expression_statement "uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;" (assignment_expression "uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf" identifier = (binary_expression "*(uint *)(param_1 + 0xb74) & 0xffffffbf" (pointer_expression "*(uint *)(param_1 + 0xb74)" * (cast_expression "(uint *)(param_1 + 0xb74)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb74)" ( (binary_expression "param_1 + 0xb74" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" identifier = number_literal) ;) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }" else (compound_statement "{\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }" { (expression_statement "uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;" (assignment_expression "uVar1 = *(uint *)(param_1 + 0xb74) | 0x40" identifier = (binary_expression "*(uint *)(param_1 + 0xb74) | 0x40" (pointer_expression "*(uint *)(param_1 + 0xb74)" * (cast_expression "(uint *)(param_1 + 0xb74)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb74)" ( (binary_expression "param_1 + 0xb74" identifier + number_literal) )))) | number_literal)) ;) }))) (expression_statement "*(uint *)(param_1 + 0xb74) = uVar1;" (assignment_expression "*(uint *)(param_1 + 0xb74) = uVar1" (pointer_expression "*(uint *)(param_1 + 0xb74)" * (cast_expression "(uint *)(param_1 + 0xb74)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb74)" ( (binary_expression "param_1 + 0xb74" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xb44) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0xb44) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0xb44)" * (cast_expression "(undefined4 *)(param_1 + 0xb44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb44)" ( (binary_expression "param_1 + 0xb44" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0xb48) = param_3;" (assignment_expression "*(int *)(param_1 + 0xb48) = param_3" (pointer_expression "*(int *)(param_1 + 0xb48)" * (cast_expression "(int *)(param_1 + 0xb48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb48)" ( (binary_expression "param_1 + 0xb48" 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) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) }))) (expression_statement (assignment_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) ;) (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_0001cc20(int param_1,undefined4 param_2,int param_3)\n\n{\n  uint uVar1;\n  \n  if (param_3 < 0) {\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }\n  *(uint *)(param_1 + 0xb74) = uVar1;\n  *(undefined4 *)(param_1 + 0xb44) = param_2;\n  *(int *)(param_1 + 0xb48) = param_3;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001cc20(int param_1,undefined4 param_2,int param_3)" (identifier "FUN_0001cc20") (parameter_list "(int param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  if (param_3 < 0) {\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }\n  *(uint *)(param_1 + 0xb74) = uVar1;\n  *(undefined4 *)(param_1 + 0xb44) = param_2;\n  *(int *)(param_1 + 0xb48) = param_3;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (if_statement "if (param_3 < 0) {\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }\n  else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }" (if "if") (parenthesized_expression "(param_3 < 0)" (( "(") (binary_expression "param_3 < 0" (identifier "param_3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;\n    param_2 = 0;\n    param_3 = 0;\n  }" ({ "{") (expression_statement "uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;" (assignment_expression "uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf" (identifier "uVar1") (= "=") (binary_expression "*(uint *)(param_1 + 0xb74) & 0xffffffbf" (pointer_expression "*(uint *)(param_1 + 0xb74)" (* "*") (cast_expression "(uint *)(param_1 + 0xb74)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb74)" (( "(") (binary_expression "param_1 + 0xb74" (identifier "param_1") (+ "+") (number_literal "0xb74")) () ")")))) (& "&") (number_literal "0xffffffbf"))) (; ";")) (expression_statement "param_2 = 0;" (assignment_expression "param_2 = 0" (identifier "param_2") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" (identifier "param_3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }" (else "else") (compound_statement "{\n    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;\n  }" ({ "{") (expression_statement "uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;" (assignment_expression "uVar1 = *(uint *)(param_1 + 0xb74) | 0x40" (identifier "uVar1") (= "=") (binary_expression "*(uint *)(param_1 + 0xb74) | 0x40" (pointer_expression "*(uint *)(param_1 + 0xb74)" (* "*") (cast_expression "(uint *)(param_1 + 0xb74)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb74)" (( "(") (binary_expression "param_1 + 0xb74" (identifier "param_1") (+ "+") (number_literal "0xb74")) () ")")))) (| "|") (number_literal "0x40"))) (; ";")) (} "}")))) (expression_statement "*(uint *)(param_1 + 0xb74) = uVar1;" (assignment_expression "*(uint *)(param_1 + 0xb74) = uVar1" (pointer_expression "*(uint *)(param_1 + 0xb74)" (* "*") (cast_expression "(uint *)(param_1 + 0xb74)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb74)" (( "(") (binary_expression "param_1 + 0xb74" (identifier "param_1") (+ "+") (number_literal "0xb74")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xb44) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0xb44) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0xb44)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xb44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb44)" (( "(") (binary_expression "param_1 + 0xb44" (identifier "param_1") (+ "+") (number_literal "0xb44")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(int *)(param_1 + 0xb48) = param_3;" (assignment_expression "*(int *)(param_1 + 0xb48) = param_3" (pointer_expression "*(int *)(param_1 + 0xb48)" (* "*") (cast_expression "(int *)(param_1 + 0xb48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb48)" (( "(") (binary_expression "param_1 + 0xb48" (identifier "param_1") (+ "+") (number_literal "0xb48")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void function_1(type_1 *data,type_2 var_1)

{
  type_3 var_2;
  
  var_2 = (data->progress).flags;
  if (var_1 < 0) {
    var_2 = var_2 & 0xffffffbf;
    var_1 = 0;
  }
  else {
    var_2 = var_2 | 0x40;
  }
  (data->progress).flags = var_2;
  (data->progress).size_dl = var_1;
  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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) 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: (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: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_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: (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))) (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))) (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: (identifier))) (return_statement))))

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

{
  uint uVar1;
  
  if (param_3 < 0) {
    uVar1 = *(uint *)(param_1 + 0xb74) & 0xffffffbf;
    param_2 = 0;
    param_3 = 0;
  }
  else {
    uVar1 = *(uint *)(param_1 + 0xb74) | 0x40;
  }
  *(uint *)(param_1 + 0xb74) = uVar1;
  *(undefined4 *)(param_1 + 0xb44) = param_2;
  *(int *)(param_1 + 0xb48) = param_3;
  return;
}

