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

void ec_point_free(ec_point *point)

{
  if (point != (ec_point *)0x0) {
    point->curve = (ec_curve *)0x0;
    if ((Bignum_conflict)point->x != (Bignum_conflict)0x0) {
      freebn((Bignum_conflict)point->x);
    }
    if ((Bignum_conflict)point->y != (Bignum_conflict)0x0) {
      freebn((Bignum_conflict)point->y);
    }
    if ((Bignum_conflict)point->z != (Bignum_conflict)0x0) {
      freebn((Bignum_conflict)point->z);
    }
    point->infinity = '\0';
    safefree(point);
  }
  return;
}



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

void FUN_0002ac70(undefined4 *param_1)

{
  if (param_1 != (undefined4 *)0x0) {
    *param_1 = 0;
    if (param_1[1] != 0) {
      FUN_00021b10(param_1[1]);
    }
    if (param_1[2] != 0) {
      FUN_00021b10(param_1[2]);
    }
    if (param_1[3] != 0) {
      FUN_00021b10(param_1[3]);
    }
    *(undefined1 *)(param_1 + 4) = 0;
    FUN_0001c5f0(param_1);
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00014540
ADD EBX,0x321ed
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
TEST ESI,ESI
JZ 0x0002acd7
MOV EAX,dword ptr [ESI + 0x4]
MOV dword ptr [ESI],0x0
TEST EAX,EAX
JZ 0x0002aca1
SUB ESP,0xc
PUSH EAX
CALL 0x00021b10
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x8]
TEST EAX,EAX
JZ 0x0002acb4
SUB ESP,0xc
PUSH EAX
CALL 0x00021b10
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0xc]
TEST EAX,EAX
JZ 0x0002acc7
SUB ESP,0xc
PUSH EAX
CALL 0x00021b10
ADD ESP,0x10
SUB ESP,0xc
MOV byte ptr [ESI + 0x10],0x0
PUSH ESI
CALL 0x0001c5f0
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0002ac70(undefined4 *param_1)\n\n{\n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0002ac70(undefined4 *param_1)\n\n{\n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0002ac70(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }\n  return;\n}" { (if_statement "if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (if_statement "if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_00021b10(param_1[1]);\n    }" { (expression_statement "FUN_00021b10(param_1[1]);" (call_expression "FUN_00021b10(param_1[1])" identifier (argument_list "(param_1[1])" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }" if (parenthesized_expression "(param_1[2] != 0)" ( (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_00021b10(param_1[2]);\n    }" { (expression_statement "FUN_00021b10(param_1[2]);" (call_expression "FUN_00021b10(param_1[2])" identifier (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }" if (parenthesized_expression "(param_1[3] != 0)" ( (binary_expression "param_1[3] != 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_00021b10(param_1[3]);\n    }" { (expression_statement "FUN_00021b10(param_1[3]);" (call_expression "FUN_00021b10(param_1[3])" identifier (argument_list "(param_1[3])" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) ))) ;) })) (expression_statement "*(undefined1 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 4) = 0" (pointer_expression "*(undefined1 *)(param_1 + 4)" * (cast_expression "(undefined1 *)(param_1 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001c5f0(param_1);" (call_expression "FUN_0001c5f0(param_1)" identifier (argument_list "(param_1)" ( 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 "anon_enum_32": Some values do not have unique names */\n\nvoid ec_point_free(ec_point *point)\n\n{\n  if (point != (ec_point *)0x0) {\n    point->curve = (ec_curve *)0x0;\n    if ((Bignum_conflict)point->x != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->x);\n    }\n    if ((Bignum_conflict)point->y != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->y);\n    }\n    if ((Bignum_conflict)point->z != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->z);\n    }\n    point->infinity = '\0';\n    safefree(point);\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void ec_point_free(ec_point *point)\n\n{\n  if (point != (ec_point *)0x0) {\n    point->curve = (ec_curve *)0x0;\n    if ((Bignum_conflict)point->x != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->x);\n    }\n    if ((Bignum_conflict)point->y != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->y);\n    }\n    if ((Bignum_conflict)point->z != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->z);\n    }\n    point->infinity = '\0';\n    safefree(point);\n  }\n  return;\n}" primitive_type (function_declarator "ec_point_free(ec_point *point)" identifier (parameter_list "(ec_point *point)" ( (parameter_declaration "ec_point *point" type_identifier (pointer_declarator "*point" * identifier)) ))) (compound_statement "{\n  if (point != (ec_point *)0x0) {\n    point->curve = (ec_curve *)0x0;\n    if ((Bignum_conflict)point->x != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->x);\n    }\n    if ((Bignum_conflict)point->y != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->y);\n    }\n    if ((Bignum_conflict)point->z != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->z);\n    }\n    point->infinity = '\0';\n    safefree(point);\n  }\n  return;\n}" { (if_statement "if (point != (ec_point *)0x0) {\n    point->curve = (ec_curve *)0x0;\n    if ((Bignum_conflict)point->x != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->x);\n    }\n    if ((Bignum_conflict)point->y != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->y);\n    }\n    if ((Bignum_conflict)point->z != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->z);\n    }\n    point->infinity = '\0';\n    safefree(point);\n  }" if (parenthesized_expression "(point != (ec_point *)0x0)" ( (binary_expression "point != (ec_point *)0x0" identifier != (cast_expression "(ec_point *)0x0" ( (type_descriptor "ec_point *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    point->curve = (ec_curve *)0x0;\n    if ((Bignum_conflict)point->x != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->x);\n    }\n    if ((Bignum_conflict)point->y != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->y);\n    }\n    if ((Bignum_conflict)point->z != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->z);\n    }\n    point->infinity = '\0';\n    safefree(point);\n  }" { (expression_statement "point->curve = (ec_curve *)0x0;" (assignment_expression "point->curve = (ec_curve *)0x0" (field_expression "point->curve" identifier -> field_identifier) = (cast_expression "(ec_curve *)0x0" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((Bignum_conflict)point->x != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->x);\n    }" if (parenthesized_expression "((Bignum_conflict)point->x != (Bignum_conflict)0x0)" ( (binary_expression "(Bignum_conflict)point->x != (Bignum_conflict)0x0" (cast_expression "(Bignum_conflict)point->x" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "point->x" identifier -> field_identifier)) != (cast_expression "(Bignum_conflict)0x0" ( (type_descriptor "Bignum_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n      freebn((Bignum_conflict)point->x);\n    }" { (expression_statement "freebn((Bignum_conflict)point->x);" (call_expression "freebn((Bignum_conflict)point->x)" identifier (argument_list "((Bignum_conflict)point->x)" ( (cast_expression "(Bignum_conflict)point->x" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "point->x" identifier -> field_identifier)) ))) ;) })) (if_statement "if ((Bignum_conflict)point->y != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->y);\n    }" if (parenthesized_expression "((Bignum_conflict)point->y != (Bignum_conflict)0x0)" ( (binary_expression "(Bignum_conflict)point->y != (Bignum_conflict)0x0" (cast_expression "(Bignum_conflict)point->y" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "point->y" identifier -> field_identifier)) != (cast_expression "(Bignum_conflict)0x0" ( (type_descriptor "Bignum_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n      freebn((Bignum_conflict)point->y);\n    }" { (expression_statement "freebn((Bignum_conflict)point->y);" (call_expression "freebn((Bignum_conflict)point->y)" identifier (argument_list "((Bignum_conflict)point->y)" ( (cast_expression "(Bignum_conflict)point->y" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "point->y" identifier -> field_identifier)) ))) ;) })) (if_statement "if ((Bignum_conflict)point->z != (Bignum_conflict)0x0) {\n      freebn((Bignum_conflict)point->z);\n    }" if (parenthesized_expression "((Bignum_conflict)point->z != (Bignum_conflict)0x0)" ( (binary_expression "(Bignum_conflict)point->z != (Bignum_conflict)0x0" (cast_expression "(Bignum_conflict)point->z" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "point->z" identifier -> field_identifier)) != (cast_expression "(Bignum_conflict)0x0" ( (type_descriptor "Bignum_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n      freebn((Bignum_conflict)point->z);\n    }" { (expression_statement "freebn((Bignum_conflict)point->z);" (call_expression "freebn((Bignum_conflict)point->z)" identifier (argument_list "((Bignum_conflict)point->z)" ( (cast_expression "(Bignum_conflict)point->z" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "point->z" identifier -> field_identifier)) ))) ;) })) (expression_statement "point->infinity = '\0';" (assignment_expression "point->infinity = '\0'" (field_expression "point->infinity" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "safefree(point);" (call_expression "safefree(point)" identifier (argument_list "(point)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0002ac70(undefined4 *param_1)\n\n{\n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0002ac70(undefined4 *param_1)\n\n{\n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0002ac70(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }\n  return;\n}" { (if_statement "if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (if_statement "if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_00021b10(param_1[1]);\n    }" { (expression_statement "FUN_00021b10(param_1[1]);" (call_expression "FUN_00021b10(param_1[1])" identifier (argument_list "(param_1[1])" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }" if (parenthesized_expression "(param_1[2] != 0)" ( (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_00021b10(param_1[2]);\n    }" { (expression_statement "FUN_00021b10(param_1[2]);" (call_expression "FUN_00021b10(param_1[2])" identifier (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }" if (parenthesized_expression "(param_1[3] != 0)" ( (binary_expression "param_1[3] != 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_00021b10(param_1[3]);\n    }" { (expression_statement "FUN_00021b10(param_1[3]);" (call_expression "FUN_00021b10(param_1[3])" identifier (argument_list "(param_1[3])" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) ))) ;) })) (expression_statement "*(undefined1 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 4) = 0" (pointer_expression "*(undefined1 *)(param_1 + 4)" * (cast_expression "(undefined1 *)(param_1 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001c5f0(param_1);" (call_expression "FUN_0001c5f0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0002ac70(undefined4 *param_1)\n\n{\n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0002ac70(undefined4 *param_1)" (identifier "FUN_0002ac70") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }\n  return;\n}" ({ "{") (if_statement "if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }" (if "if") (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_1 = 0;\n    if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }\n    if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }\n    if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }\n    *(undefined1 *)(param_1 + 4) = 0;\n    FUN_0001c5f0(param_1);\n  }" ({ "{") (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1[1] != 0) {\n      FUN_00021b10(param_1[1]);\n    }" (if "if") (parenthesized_expression "(param_1[1] != 0)" (( "(") (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00021b10(param_1[1]);\n    }" ({ "{") (expression_statement "FUN_00021b10(param_1[1]);" (call_expression "FUN_00021b10(param_1[1])" (identifier "FUN_00021b10") (argument_list "(param_1[1])" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[2] != 0) {\n      FUN_00021b10(param_1[2]);\n    }" (if "if") (parenthesized_expression "(param_1[2] != 0)" (( "(") (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00021b10(param_1[2]);\n    }" ({ "{") (expression_statement "FUN_00021b10(param_1[2]);" (call_expression "FUN_00021b10(param_1[2])" (identifier "FUN_00021b10") (argument_list "(param_1[2])" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[3] != 0) {\n      FUN_00021b10(param_1[3]);\n    }" (if "if") (parenthesized_expression "(param_1[3] != 0)" (( "(") (binary_expression "param_1[3] != 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00021b10(param_1[3]);\n    }" ({ "{") (expression_statement "FUN_00021b10(param_1[3]);" (call_expression "FUN_00021b10(param_1[3])" (identifier "FUN_00021b10") (argument_list "(param_1[3])" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 4) = 0" (pointer_expression "*(undefined1 *)(param_1 + 4)" (* "*") (cast_expression "(undefined1 *)(param_1 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0001c5f0(param_1);" (call_expression "FUN_0001c5f0(param_1)" (identifier "FUN_0001c5f0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (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 "anon_enum_32": Some values do not have unique names */

void function_1(type_1 *var_1)

{
  if (var_1 != (type_1 *)0x0) {
    var_1->curve = (type_2 *)0x0;
    if ((type_3)var_1->x != (type_3)0x0) {
      var_2((type_3)var_1->x);
    }
    if ((type_3)var_1->y != (type_3)0x0) {
      var_2((type_3)var_1->y);
    }
    if ((type_3)var_1->z != (type_3)0x0) {
      var_2((type_3)var_1->z);
    }
    var_1->infinity = '\0';
    var_3(var_1);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (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: (number_literal))) (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)

{
  if (param_1 != (undefined4 *)0x0) {
    *param_1 = 0;
    if (param_1[1] != 0) {
      FUN_00021b10(param_1[1]);
    }
    if (param_1[2] != 0) {
      FUN_00021b10(param_1[2]);
    }
    if (param_1[3] != 0) {
      FUN_00021b10(param_1[3]);
    }
    *(undefined1 *)(param_1 + 4) = 0;
    FUN_0001c5f0(param_1);
  }
  return;
}

