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

void png_default_flush(png_structp png_ptr)

{
  if (png_ptr != (png_structp)0x0) {
    fflush((FILE *)png_ptr->io_ptr);
  }
  return;
}



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

void FUN_00032da0(int param_1)

{
  if (param_1 != 0) {
    fflush(*(FILE **)(param_1 + 0xbc));
  }
  return;
}


PUSH EBX
CALL 0x00014970
ADD EBX,0x1afda
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JZ 0x00032dc8
SUB ESP,0xc
PUSH dword ptr [EAX + 0xbc]
CALL 0x000140f0
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00032da0(int param_1)\n\n{\n  if (param_1 != 0) {\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00032da0(int param_1)\n\n{\n  if (param_1 != 0) {\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00032da0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }\n  return;\n}" { (if_statement "if (param_1 != 0) {\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }" { (expression_statement "fflush(*(FILE **)(param_1 + 0xbc));" (call_expression "fflush(*(FILE **)(param_1 + 0xbc))" identifier (argument_list "(*(FILE **)(param_1 + 0xbc))" ( (pointer_expression "*(FILE **)(param_1 + 0xbc)" * (cast_expression "(FILE **)(param_1 + 0xbc)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xbc)" ( (binary_expression "param_1 + 0xbc" identifier + number_literal) )))) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid png_default_flush(png_structp png_ptr)\n\n{\n  if (png_ptr != (png_structp)0x0) {\n    fflush((FILE *)png_ptr->io_ptr);\n  }\n  return;\n}\n\n" comment comment (function_definition "void png_default_flush(png_structp png_ptr)\n\n{\n  if (png_ptr != (png_structp)0x0) {\n    fflush((FILE *)png_ptr->io_ptr);\n  }\n  return;\n}" primitive_type (function_declarator "png_default_flush(png_structp png_ptr)" identifier (parameter_list "(png_structp png_ptr)" ( (parameter_declaration "png_structp png_ptr" type_identifier identifier) ))) (compound_statement "{\n  if (png_ptr != (png_structp)0x0) {\n    fflush((FILE *)png_ptr->io_ptr);\n  }\n  return;\n}" { (if_statement "if (png_ptr != (png_structp)0x0) {\n    fflush((FILE *)png_ptr->io_ptr);\n  }" if (parenthesized_expression "(png_ptr != (png_structp)0x0)" ( (binary_expression "png_ptr != (png_structp)0x0" identifier != (cast_expression "(png_structp)0x0" ( (type_descriptor "png_structp" type_identifier) ) number_literal)) )) (compound_statement "{\n    fflush((FILE *)png_ptr->io_ptr);\n  }" { (expression_statement "fflush((FILE *)png_ptr->io_ptr);" (call_expression "fflush((FILE *)png_ptr->io_ptr)" identifier (argument_list "((FILE *)png_ptr->io_ptr)" ( (cast_expression "(FILE *)png_ptr->io_ptr" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "png_ptr->io_ptr" identifier -> field_identifier)) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00032da0(int param_1)\n\n{\n  if (param_1 != 0) {\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }\n  return;\n}\n\n" (function_definition "void FUN_00032da0(int param_1)\n\n{\n  if (param_1 != 0) {\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00032da0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }\n  return;\n}" { (if_statement "if (param_1 != 0) {\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }" { (expression_statement "fflush(*(FILE **)(param_1 + 0xbc));" (call_expression "fflush(*(FILE **)(param_1 + 0xbc))" identifier (argument_list "(*(FILE **)(param_1 + 0xbc))" ( (pointer_expression "*(FILE **)(param_1 + 0xbc)" * (cast_expression "(FILE **)(param_1 + 0xbc)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xbc)" ( (binary_expression "param_1 + 0xbc" identifier + number_literal) )))) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00032da0(int param_1)\n\n{\n  if (param_1 != 0) {\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00032da0(int param_1)" (identifier "FUN_00032da0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 != 0) {\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }\n  return;\n}" ({ "{") (if_statement "if (param_1 != 0) {\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    fflush(*(FILE **)(param_1 + 0xbc));\n  }" ({ "{") (expression_statement "fflush(*(FILE **)(param_1 + 0xbc));" (call_expression "fflush(*(FILE **)(param_1 + 0xbc))" (identifier "fflush") (argument_list "(*(FILE **)(param_1 + 0xbc))" (( "(") (pointer_expression "*(FILE **)(param_1 + 0xbc)" (* "*") (cast_expression "(FILE **)(param_1 + 0xbc)" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xbc)" (( "(") (binary_expression "param_1 + 0xbc" (identifier "param_1") (+ "+") (number_literal "0xbc")) () ")")))) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 var_1)

{
  if (var_1 != (type_1)0x0) {
    var_2((type_2 *)var_1->io_ptr);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (return_statement))))

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

void MASKED(int param_1)

{
  if (param_1 != 0) {
    fflush(*(FILE **)(param_1 + 0xbc));
  }
  return;
}

