
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */

void DeleteImageFromList(Image **images)

{
  Image *image;
  
  image = RemoveImageFromList(images);
  if (image != (Image *)0x0) {
    DestroyImage(image);
  }
  return;
}



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

void DeleteImageFromList(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = RemoveImageFromList(param_1);
  if (iVar1 != 0) {
    DestroyImage(iVar1);
  }
  return;
}


PUSH EBX
CALL 0x00038830
ADD EBX,0x2e913a
SUB ESP,0x14
PUSH dword ptr [ESP + 0x1c]
CALL 0x000319b0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000efeeb
SUB ESP,0xc
PUSH EAX
CALL 0x00032dd0
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 DeleteImageFromList(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = RemoveImageFromList(param_1);\n  if (iVar1 != 0) {\n    DestroyImage(iVar1);\n  }\n  return;\n}\n\n" comment (function_definition "void DeleteImageFromList(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = RemoveImageFromList(param_1);\n  if (iVar1 != 0) {\n    DestroyImage(iVar1);\n  }\n  return;\n}" primitive_type (function_declarator "DeleteImageFromList(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = RemoveImageFromList(param_1);\n  if (iVar1 != 0) {\n    DestroyImage(iVar1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = RemoveImageFromList(param_1);" (assignment_expression "iVar1 = RemoveImageFromList(param_1)" identifier = (call_expression "RemoveImageFromList(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    DestroyImage(iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    DestroyImage(iVar1);\n  }" { (expression_statement "DestroyImage(iVar1);" (call_expression "DestroyImage(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) (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/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n\nvoid DeleteImageFromList(Image **images)\n\n{\n  Image *image;\n  \n  image = RemoveImageFromList(images);\n  if (image != (Image *)0x0) {\n    DestroyImage(image);\n  }\n  return;\n}\n\n" comment comment comment comment comment comment (function_definition "void DeleteImageFromList(Image **images)\n\n{\n  Image *image;\n  \n  image = RemoveImageFromList(images);\n  if (image != (Image *)0x0) {\n    DestroyImage(image);\n  }\n  return;\n}" primitive_type (function_declarator "DeleteImageFromList(Image **images)" identifier (parameter_list "(Image **images)" ( (parameter_declaration "Image **images" type_identifier (pointer_declarator "**images" * (pointer_declarator "*images" * identifier))) ))) (compound_statement "{\n  Image *image;\n  \n  image = RemoveImageFromList(images);\n  if (image != (Image *)0x0) {\n    DestroyImage(image);\n  }\n  return;\n}" { (declaration "Image *image;" type_identifier (pointer_declarator "*image" * identifier) ;) (expression_statement "image = RemoveImageFromList(images);" (assignment_expression "image = RemoveImageFromList(images)" identifier = (call_expression "RemoveImageFromList(images)" identifier (argument_list "(images)" ( identifier )))) ;) (if_statement "if (image != (Image *)0x0) {\n    DestroyImage(image);\n  }" if (parenthesized_expression "(image != (Image *)0x0)" ( (binary_expression "image != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DestroyImage(image);\n  }" { (expression_statement "DestroyImage(image);" (call_expression "DestroyImage(image)" identifier (argument_list "(image)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void DeleteImageFromList(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = RemoveImageFromList(param_1);\n  if (iVar1 != 0) {\n    DestroyImage(iVar1);\n  }\n  return;\n}\n\n" (function_definition "void DeleteImageFromList(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = RemoveImageFromList(param_1);\n  if (iVar1 != 0) {\n    DestroyImage(iVar1);\n  }\n  return;\n}" primitive_type (function_declarator "DeleteImageFromList(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = RemoveImageFromList(param_1);\n  if (iVar1 != 0) {\n    DestroyImage(iVar1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = RemoveImageFromList(param_1);" (assignment_expression "iVar1 = RemoveImageFromList(param_1)" identifier = (call_expression "RemoveImageFromList(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    DestroyImage(iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    DestroyImage(iVar1);\n  }" { (expression_statement "DestroyImage(iVar1);" (call_expression "DestroyImage(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void DeleteImageFromList(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = RemoveImageFromList(param_1);\n  if (iVar1 != 0) {\n    DestroyImage(iVar1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "DeleteImageFromList(undefined4 param_1)" (identifier "DeleteImageFromList") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = RemoveImageFromList(param_1);\n  if (iVar1 != 0) {\n    DestroyImage(iVar1);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = RemoveImageFromList(param_1);" (assignment_expression "iVar1 = RemoveImageFromList(param_1)" (identifier "iVar1") (= "=") (call_expression "RemoveImageFromList(param_1)" (identifier "RemoveImageFromList") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    DestroyImage(iVar1);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    DestroyImage(iVar1);\n  }" ({ "{") (expression_statement "DestroyImage(iVar1);" (call_expression "DestroyImage(iVar1)" (identifier "DestroyImage") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */

void function_1(type_1 **images)

{
  type_1 *var_2;
  
  var_2 = var_1(images);
  if (var_2 != (type_1 *)0x0) {
    var_3(var_2);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (return_statement))))

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

void MASKED(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = RemoveImageFromList(param_1);
  if (iVar1 != 0) {
    DestroyImage(iVar1);
  }
  return;
}

