
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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 PrependImageToList(Image **images,Image *prepend)

{
  if (*images != (Image *)0x0) {
    AppendImageToList(&prepend,*images);
    return;
  }
  *images = prepend;
  return;
}



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

void PrependImageToList(int *param_1,int param_2)

{
  if (*param_1 != 0) {
    AppendImageToList(&param_2,*param_1);
    return;
  }
  *param_1 = param_2;
  return;
}


PUSH EBX
CALL 0x00038830
ADD EBX,0x2e929a
SUB ESP,0x8
MOV EDX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EDX]
TEST EAX,EAX
JZ 0x000efd90
SUB ESP,0x8
PUSH EAX
LEA EAX,[ESP + 0x20]
PUSH EAX
CALL 0x00030a60
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [EDX],EAX
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid PrependImageToList(int *param_1,int param_2)\n\n{\n  if (*param_1 != 0) {\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}\n\n" comment (function_definition "void PrependImageToList(int *param_1,int param_2)\n\n{\n  if (*param_1 != 0) {\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}" primitive_type (function_declarator "PrependImageToList(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*param_1 != 0) {\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}" { (if_statement "if (*param_1 != 0) {\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }" { (expression_statement "AppendImageToList(&param_2,*param_1);" (call_expression "AppendImageToList(&param_2,*param_1)" identifier (argument_list "(&param_2,*param_1)" ( (pointer_expression "&param_2" & identifier) , (pointer_expression "*param_1" * identifier) ))) ;) (return_statement "return;" return ;) })) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\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 PrependImageToList(Image **images,Image *prepend)\n\n{\n  if (*images != (Image *)0x0) {\n    AppendImageToList(&prepend,*images);\n    return;\n  }\n  *images = prepend;\n  return;\n}\n\n" comment comment comment comment comment (function_definition "void PrependImageToList(Image **images,Image *prepend)\n\n{\n  if (*images != (Image *)0x0) {\n    AppendImageToList(&prepend,*images);\n    return;\n  }\n  *images = prepend;\n  return;\n}" primitive_type (function_declarator "PrependImageToList(Image **images,Image *prepend)" identifier (parameter_list "(Image **images,Image *prepend)" ( (parameter_declaration "Image **images" type_identifier (pointer_declarator "**images" * (pointer_declarator "*images" * identifier))) , (parameter_declaration "Image *prepend" type_identifier (pointer_declarator "*prepend" * identifier)) ))) (compound_statement "{\n  if (*images != (Image *)0x0) {\n    AppendImageToList(&prepend,*images);\n    return;\n  }\n  *images = prepend;\n  return;\n}" { (if_statement "if (*images != (Image *)0x0) {\n    AppendImageToList(&prepend,*images);\n    return;\n  }" if (parenthesized_expression "(*images != (Image *)0x0)" ( (binary_expression "*images != (Image *)0x0" (pointer_expression "*images" * identifier) != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    AppendImageToList(&prepend,*images);\n    return;\n  }" { (expression_statement "AppendImageToList(&prepend,*images);" (call_expression "AppendImageToList(&prepend,*images)" identifier (argument_list "(&prepend,*images)" ( (pointer_expression "&prepend" & identifier) , (pointer_expression "*images" * identifier) ))) ;) (return_statement "return;" return ;) })) (expression_statement "*images = prepend;" (assignment_expression "*images = prepend" (pointer_expression "*images" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void PrependImageToList(int *param_1,int param_2)\n\n{\n  if (*param_1 != 0) {\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}\n\n" (function_definition "void PrependImageToList(int *param_1,int param_2)\n\n{\n  if (*param_1 != 0) {\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}" primitive_type (function_declarator "PrependImageToList(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*param_1 != 0) {\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}" { (if_statement "if (*param_1 != 0) {\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }" { (expression_statement "AppendImageToList(&param_2,*param_1);" (call_expression "AppendImageToList(&param_2,*param_1)" identifier (argument_list "(&param_2,*param_1)" ( (pointer_expression "&param_2" & identifier) , (pointer_expression "*param_1" * identifier) ))) ;) (return_statement "return;" return ;) })) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression * IDENT) ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void PrependImageToList(int *param_1,int param_2)\n\n{\n  if (*param_1 != 0) {\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}" (primitive_type "void") (function_declarator "PrependImageToList(int *param_1,int param_2)" (identifier "PrependImageToList") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (*param_1 != 0) {\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }\n  *param_1 = param_2;\n  return;\n}" ({ "{") (if_statement "if (*param_1 != 0) {\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    AppendImageToList(&param_2,*param_1);\n    return;\n  }" ({ "{") (expression_statement "AppendImageToList(&param_2,*param_1);" (call_expression "AppendImageToList(&param_2,*param_1)" (identifier "AppendImageToList") (argument_list "(&param_2,*param_1)" (( "(") (pointer_expression "&param_2" (& "&") (identifier "param_2")) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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 *prepend)

{
  if (*images != (type_1 *)0x0) {
    var_1(&prepend,*images);
    return;
  }
  *images = prepend;
  return;
}


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

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

void MASKED(int *param_1,int param_2)

{
  if (*param_1 != 0) {
    AppendImageToList(&param_2,*param_1);
    return;
  }
  *param_1 = param_2;
  return;
}

