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

size_t __regparm3 warc_write_buffer(char *buffer,size_t size)

{
  size_t sVar1;
  size_t sVar2;
  bool bVar3;
  
  if (warc_current_gzfile != (gzFile)0x0) {
    bVar3 = CARRY4((uint)warc_current_gzfile_uncompressed_size,size);
    warc_current_gzfile_uncompressed_size._0_4_ = (uint)warc_current_gzfile_uncompressed_size + size
    ;
    warc_current_gzfile_uncompressed_size._4_4_ =
         warc_current_gzfile_uncompressed_size._4_4_ + (uint)bVar3;
    sVar1 = gzwrite(warc_current_gzfile,buffer,size);
    return sVar1;
  }
  sVar2 = fwrite(buffer,1,size,(FILE *)warc_current_file);
  return sVar2;
}



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

void __regparm3 FUN_00047380(void *param_1,uint param_2)

{
  bool bVar1;
  
  if (DAT_000a85a8 != 0) {
    bVar1 = CARRY4(DAT_000a8598,param_2);
    DAT_000a8598 = DAT_000a8598 + param_2;
    DAT_000a859c = DAT_000a859c + (uint)bVar1;
    gzwrite(DAT_000a85a8,param_1,param_2);
    return;
  }
  fwrite(param_1,1,param_2,DAT_000a85ac);
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00019070
ADD EBX,0x59848
MOV ECX,dword ptr [EBX + 0x79d8]
TEST ECX,ECX
JZ 0x000473c0
XOR EDI,EDI
ADD dword ptr [EBX + 0x79c8],EDX
ADC dword ptr [EBX + 0x79cc],EDI
SUB ESP,0x4
PUSH EDX
PUSH EAX
PUSH ECX
CALL 0x00016690
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
PUSH dword ptr [EBX + 0x79dc]
PUSH EDX
PUSH 0x1
PUSH EAX
CALL 0x00016a50
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00047380(void *param_1,uint param_2)\n\n{\n  bool bVar1;\n  \n  if (DAT_000a85a8 != 0) {\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }\n  fwrite(param_1,1,param_2,DAT_000a85ac);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00047380(void *param_1,uint param_2)\n\n{\n  bool bVar1;\n  \n  if (DAT_000a85a8 != 0) {\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }\n  fwrite(param_1,1,param_2,DAT_000a85ac);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00047380(void *param_1,uint param_2)" identifier (parameter_list "(void *param_1,uint param_2)" ( (parameter_declaration "void *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  if (DAT_000a85a8 != 0) {\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }\n  fwrite(param_1,1,param_2,DAT_000a85ac);\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (if_statement "if (DAT_000a85a8 != 0) {\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }" if (parenthesized_expression "(DAT_000a85a8 != 0)" ( (binary_expression "DAT_000a85a8 != 0" identifier != number_literal) )) (compound_statement "{\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }" { (expression_statement "bVar1 = CARRY4(DAT_000a8598,param_2);" (assignment_expression "bVar1 = CARRY4(DAT_000a8598,param_2)" identifier = (call_expression "CARRY4(DAT_000a8598,param_2)" identifier (argument_list "(DAT_000a8598,param_2)" ( identifier , identifier )))) ;) (expression_statement "DAT_000a8598 = DAT_000a8598 + param_2;" (assignment_expression "DAT_000a8598 = DAT_000a8598 + param_2" identifier = (binary_expression "DAT_000a8598 + param_2" identifier + identifier)) ;) (expression_statement "DAT_000a859c = DAT_000a859c + (uint)bVar1;" (assignment_expression "DAT_000a859c = DAT_000a859c + (uint)bVar1" identifier = (binary_expression "DAT_000a859c + (uint)bVar1" identifier + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "gzwrite(DAT_000a85a8,param_1,param_2);" (call_expression "gzwrite(DAT_000a85a8,param_1,param_2)" identifier (argument_list "(DAT_000a85a8,param_1,param_2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "fwrite(param_1,1,param_2,DAT_000a85ac);" (call_expression "fwrite(param_1,1,param_2,DAT_000a85ac)" identifier (argument_list "(param_1,1,param_2,DAT_000a85ac)" ( identifier , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nsize_t __regparm3 warc_write_buffer(char *buffer,size_t size)\n\n{\n  size_t sVar1;\n  size_t sVar2;\n  bool bVar3;\n  \n  if (warc_current_gzfile != (gzFile)0x0) {\n    bVar3 = CARRY4((uint)warc_current_gzfile_uncompressed_size,size);\n    warc_current_gzfile_uncompressed_size._0_4_ = (uint)warc_current_gzfile_uncompressed_size + size\n    ;\n    warc_current_gzfile_uncompressed_size._4_4_ =\n         warc_current_gzfile_uncompressed_size._4_4_ + (uint)bVar3;\n    sVar1 = gzwrite(warc_current_gzfile,buffer,size);\n    return sVar1;\n  }\n  sVar2 = fwrite(buffer,1,size,(FILE *)warc_current_file);\n  return sVar2;\n}\n\n" comment (function_definition "size_t __regparm3 warc_write_buffer(char *buffer,size_t size)\n\n{\n  size_t sVar1;\n  size_t sVar2;\n  bool bVar3;\n  \n  if (warc_current_gzfile != (gzFile)0x0) {\n    bVar3 = CARRY4((uint)warc_current_gzfile_uncompressed_size,size);\n    warc_current_gzfile_uncompressed_size._0_4_ = (uint)warc_current_gzfile_uncompressed_size + size\n    ;\n    warc_current_gzfile_uncompressed_size._4_4_ =\n         warc_current_gzfile_uncompressed_size._4_4_ + (uint)bVar3;\n    sVar1 = gzwrite(warc_current_gzfile,buffer,size);\n    return sVar1;\n  }\n  sVar2 = fwrite(buffer,1,size,(FILE *)warc_current_file);\n  return sVar2;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "warc_write_buffer(char *buffer,size_t size)" identifier (parameter_list "(char *buffer,size_t size)" ( (parameter_declaration "char *buffer" primitive_type (pointer_declarator "*buffer" * identifier)) , (parameter_declaration "size_t size" primitive_type identifier) ))) (compound_statement "{\n  size_t sVar1;\n  size_t sVar2;\n  bool bVar3;\n  \n  if (warc_current_gzfile != (gzFile)0x0) {\n    bVar3 = CARRY4((uint)warc_current_gzfile_uncompressed_size,size);\n    warc_current_gzfile_uncompressed_size._0_4_ = (uint)warc_current_gzfile_uncompressed_size + size\n    ;\n    warc_current_gzfile_uncompressed_size._4_4_ =\n         warc_current_gzfile_uncompressed_size._4_4_ + (uint)bVar3;\n    sVar1 = gzwrite(warc_current_gzfile,buffer,size);\n    return sVar1;\n  }\n  sVar2 = fwrite(buffer,1,size,(FILE *)warc_current_file);\n  return sVar2;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (if_statement "if (warc_current_gzfile != (gzFile)0x0) {\n    bVar3 = CARRY4((uint)warc_current_gzfile_uncompressed_size,size);\n    warc_current_gzfile_uncompressed_size._0_4_ = (uint)warc_current_gzfile_uncompressed_size + size\n    ;\n    warc_current_gzfile_uncompressed_size._4_4_ =\n         warc_current_gzfile_uncompressed_size._4_4_ + (uint)bVar3;\n    sVar1 = gzwrite(warc_current_gzfile,buffer,size);\n    return sVar1;\n  }" if (parenthesized_expression "(warc_current_gzfile != (gzFile)0x0)" ( (binary_expression "warc_current_gzfile != (gzFile)0x0" identifier != (cast_expression "(gzFile)0x0" ( (type_descriptor "gzFile" type_identifier) ) number_literal)) )) (compound_statement "{\n    bVar3 = CARRY4((uint)warc_current_gzfile_uncompressed_size,size);\n    warc_current_gzfile_uncompressed_size._0_4_ = (uint)warc_current_gzfile_uncompressed_size + size\n    ;\n    warc_current_gzfile_uncompressed_size._4_4_ =\n         warc_current_gzfile_uncompressed_size._4_4_ + (uint)bVar3;\n    sVar1 = gzwrite(warc_current_gzfile,buffer,size);\n    return sVar1;\n  }" { (expression_statement "bVar3 = CARRY4((uint)warc_current_gzfile_uncompressed_size,size);" (assignment_expression "bVar3 = CARRY4((uint)warc_current_gzfile_uncompressed_size,size)" identifier = (call_expression "CARRY4((uint)warc_current_gzfile_uncompressed_size,size)" identifier (argument_list "((uint)warc_current_gzfile_uncompressed_size,size)" ( (cast_expression "(uint)warc_current_gzfile_uncompressed_size" ( (type_descriptor "uint" type_identifier) ) identifier) , identifier )))) ;) (expression_statement "warc_current_gzfile_uncompressed_size._0_4_ = (uint)warc_current_gzfile_uncompressed_size + size\n    ;" (assignment_expression "warc_current_gzfile_uncompressed_size._0_4_ = (uint)warc_current_gzfile_uncompressed_size + size" (field_expression "warc_current_gzfile_uncompressed_size._0_4_" identifier . field_identifier) = (binary_expression "(uint)warc_current_gzfile_uncompressed_size + size" (cast_expression "(uint)warc_current_gzfile_uncompressed_size" ( (type_descriptor "uint" type_identifier) ) identifier) + identifier)) ;) (expression_statement "warc_current_gzfile_uncompressed_size._4_4_ =\n         warc_current_gzfile_uncompressed_size._4_4_ + (uint)bVar3;" (assignment_expression "warc_current_gzfile_uncompressed_size._4_4_ =\n         warc_current_gzfile_uncompressed_size._4_4_ + (uint)bVar3" (field_expression "warc_current_gzfile_uncompressed_size._4_4_" identifier . field_identifier) = (binary_expression "warc_current_gzfile_uncompressed_size._4_4_ + (uint)bVar3" (field_expression "warc_current_gzfile_uncompressed_size._4_4_" identifier . field_identifier) + (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "sVar1 = gzwrite(warc_current_gzfile,buffer,size);" (assignment_expression "sVar1 = gzwrite(warc_current_gzfile,buffer,size)" identifier = (call_expression "gzwrite(warc_current_gzfile,buffer,size)" identifier (argument_list "(warc_current_gzfile,buffer,size)" ( identifier , identifier , identifier )))) ;) (return_statement "return sVar1;" return identifier ;) })) (expression_statement "sVar2 = fwrite(buffer,1,size,(FILE *)warc_current_file);" (assignment_expression "sVar2 = fwrite(buffer,1,size,(FILE *)warc_current_file)" identifier = (call_expression "fwrite(buffer,1,size,(FILE *)warc_current_file)" identifier (argument_list "(buffer,1,size,(FILE *)warc_current_file)" ( identifier , number_literal , identifier , (cast_expression "(FILE *)warc_current_file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (return_statement "return sVar2;" return identifier ;) })))
(translation_unit "void __regparm3 FUN_00047380(void *param_1,uint param_2)\n\n{\n  bool bVar1;\n  \n  if (DAT_000a85a8 != 0) {\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }\n  fwrite(param_1,1,param_2,DAT_000a85ac);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00047380(void *param_1,uint param_2)\n\n{\n  bool bVar1;\n  \n  if (DAT_000a85a8 != 0) {\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }\n  fwrite(param_1,1,param_2,DAT_000a85ac);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00047380(void *param_1,uint param_2)" identifier (parameter_list "(void *param_1,uint param_2)" ( (parameter_declaration "void *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  if (DAT_000a85a8 != 0) {\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }\n  fwrite(param_1,1,param_2,DAT_000a85ac);\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (if_statement "if (DAT_000a85a8 != 0) {\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }" if (parenthesized_expression "(DAT_000a85a8 != 0)" ( (binary_expression "DAT_000a85a8 != 0" identifier != number_literal) )) (compound_statement "{\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }" { (expression_statement "bVar1 = CARRY4(DAT_000a8598,param_2);" (assignment_expression "bVar1 = CARRY4(DAT_000a8598,param_2)" identifier = (call_expression "CARRY4(DAT_000a8598,param_2)" identifier (argument_list "(DAT_000a8598,param_2)" ( identifier , identifier )))) ;) (expression_statement "DAT_000a8598 = DAT_000a8598 + param_2;" (assignment_expression "DAT_000a8598 = DAT_000a8598 + param_2" identifier = (binary_expression "DAT_000a8598 + param_2" identifier + identifier)) ;) (expression_statement "DAT_000a859c = DAT_000a859c + (uint)bVar1;" (assignment_expression "DAT_000a859c = DAT_000a859c + (uint)bVar1" identifier = (binary_expression "DAT_000a859c + (uint)bVar1" identifier + (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "gzwrite(DAT_000a85a8,param_1,param_2);" (call_expression "gzwrite(DAT_000a85a8,param_1,param_2)" identifier (argument_list "(DAT_000a85a8,param_1,param_2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "fwrite(param_1,1,param_2,DAT_000a85ac);" (call_expression "fwrite(param_1,1,param_2,DAT_000a85ac)" identifier (argument_list "(param_1,1,param_2,DAT_000a85ac)" ( identifier , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * 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 = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00047380(void *param_1,uint param_2)\n\n{\n  bool bVar1;\n  \n  if (DAT_000a85a8 != 0) {\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }\n  fwrite(param_1,1,param_2,DAT_000a85ac);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00047380(void *param_1,uint param_2)" (identifier "FUN_00047380") (parameter_list "(void *param_1,uint param_2)" (( "(") (parameter_declaration "void *param_1" (primitive_type "void") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  bool bVar1;\n  \n  if (DAT_000a85a8 != 0) {\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }\n  fwrite(param_1,1,param_2,DAT_000a85ac);\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (if_statement "if (DAT_000a85a8 != 0) {\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_000a85a8 != 0)" (( "(") (binary_expression "DAT_000a85a8 != 0" (identifier "DAT_000a85a8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    bVar1 = CARRY4(DAT_000a8598,param_2);\n    DAT_000a8598 = DAT_000a8598 + param_2;\n    DAT_000a859c = DAT_000a859c + (uint)bVar1;\n    gzwrite(DAT_000a85a8,param_1,param_2);\n    return;\n  }" ({ "{") (expression_statement "bVar1 = CARRY4(DAT_000a8598,param_2);" (assignment_expression "bVar1 = CARRY4(DAT_000a8598,param_2)" (identifier "bVar1") (= "=") (call_expression "CARRY4(DAT_000a8598,param_2)" (identifier "CARRY4") (argument_list "(DAT_000a8598,param_2)" (( "(") (identifier "DAT_000a8598") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "DAT_000a8598 = DAT_000a8598 + param_2;" (assignment_expression "DAT_000a8598 = DAT_000a8598 + param_2" (identifier "DAT_000a8598") (= "=") (binary_expression "DAT_000a8598 + param_2" (identifier "DAT_000a8598") (+ "+") (identifier "param_2"))) (; ";")) (expression_statement "DAT_000a859c = DAT_000a859c + (uint)bVar1;" (assignment_expression "DAT_000a859c = DAT_000a859c + (uint)bVar1" (identifier "DAT_000a859c") (= "=") (binary_expression "DAT_000a859c + (uint)bVar1" (identifier "DAT_000a859c") (+ "+") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")))) (; ";")) (expression_statement "gzwrite(DAT_000a85a8,param_1,param_2);" (call_expression "gzwrite(DAT_000a85a8,param_1,param_2)" (identifier "gzwrite") (argument_list "(DAT_000a85a8,param_1,param_2)" (( "(") (identifier "DAT_000a85a8") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "fwrite(param_1,1,param_2,DAT_000a85ac);" (call_expression "fwrite(param_1,1,param_2,DAT_000a85ac)" (identifier "fwrite") (argument_list "(param_1,1,param_2,DAT_000a85ac)" (( "(") (identifier "param_1") (, ",") (number_literal "1") (, ",") (identifier "param_2") (, ",") (identifier "DAT_000a85ac") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

size_t __regparm3 function_1(char *buffer,size_t var_3)

{
  size_t sVar1;
  size_t sVar2;
  bool bVar3;
  
  if (var_1 != (type_1)0x0) {
    bVar3 = var_2((type_2)warc_current_gzfile_uncompressed_size,var_3);
    warc_current_gzfile_uncompressed_size._0_4_ = (type_2)warc_current_gzfile_uncompressed_size + var_3
    ;
    warc_current_gzfile_uncompressed_size._4_4_ =
         warc_current_gzfile_uncompressed_size._4_4_ + (type_2)bVar3;
    sVar1 = var_4(var_1,buffer,var_3);
    return sVar1;
  }
  sVar2 = var_5(buffer,1,var_3,(type_3 *)warc_current_file);
  return sVar2;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (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)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier)))) (return_statement))))

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

void __regparm3 MASKED(void *param_1,uint param_2)

{
  bool bVar1;
  
  if (DAT_000a85a8 != 0) {
    bVar1 = CARRY4(DAT_000a8598,param_2);
    DAT_000a8598 = DAT_000a8598 + param_2;
    DAT_000a859c = DAT_000a859c + (uint)bVar1;
    gzwrite(DAT_000a85a8,param_1,param_2);
    return;
  }
  fwrite(param_1,1,param_2,DAT_000a85ac);
  return;
}

