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

void r_free_wstr(NODE *n)

{
  uint uVar1;
  
  uVar1 = n->flags;
  if ((uVar1 & 0x200) != 0) {
    free((n->sub).nodep.rn);
    uVar1 = n->flags;
  }
  (n->sub).nodep.rn = (exp_node *)0x0;
  (n->sub).nodep.cnt = 0;
  n->flags = uVar1 & 0xfffffdff;
  return;
}



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

void FUN_00076270(int param_1)

{
  uint uVar1;
  
  uVar1 = *(uint *)(param_1 + 0x2c);
  if ((uVar1 & 0x200) != 0) {
    free(*(void **)(param_1 + 0x18));
    uVar1 = *(uint *)(param_1 + 0x2c);
  }
  *(undefined4 *)(param_1 + 0x18) = 0;
  *(undefined4 *)(param_1 + 0x1c) = 0;
  *(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00016f80
ADD EBX,0x66a6d
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESI + 0x2c]
TEST AH,0x2
JZ 0x0007629d
SUB ESP,0xc
PUSH dword ptr [ESI + 0x18]
CALL 0x00013e50
MOV EAX,dword ptr [ESI + 0x2c]
ADD ESP,0x10
AND AH,0xfd
MOV dword ptr [ESI + 0x18],0x0
MOV dword ptr [ESI + 0x1c],0x0
MOV dword ptr [ESI + 0x2c],EAX
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_00076270(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x2c);\n  if ((uVar1 & 0x200) != 0) {\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }\n  *(undefined4 *)(param_1 + 0x18) = 0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  *(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;\n  return;\n}\n\n" comment (function_definition "void FUN_00076270(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x2c);\n  if ((uVar1 & 0x200) != 0) {\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }\n  *(undefined4 *)(param_1 + 0x18) = 0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  *(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;\n  return;\n}" primitive_type (function_declarator "FUN_00076270(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x2c);\n  if ((uVar1 & 0x200) != 0) {\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }\n  *(undefined4 *)(param_1 + 0x18) = 0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  *(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x2c);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x2c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x2c)" * (cast_expression "(uint *)(param_1 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & 0x200) != 0) {\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }" if (parenthesized_expression "((uVar1 & 0x200) != 0)" ( (binary_expression "(uVar1 & 0x200) != 0" (parenthesized_expression "(uVar1 & 0x200)" ( (binary_expression "uVar1 & 0x200" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }" { (expression_statement "free(*(void **)(param_1 + 0x18));" (call_expression "free(*(void **)(param_1 + 0x18))" identifier (argument_list "(*(void **)(param_1 + 0x18))" ( (pointer_expression "*(void **)(param_1 + 0x18)" * (cast_expression "(void **)(param_1 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) ))) ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x2c);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x2c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x2c)" * (cast_expression "(uint *)(param_1 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;" (assignment_expression "*(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff" (pointer_expression "*(uint *)(param_1 + 0x2c)" * (cast_expression "(uint *)(param_1 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = (binary_expression "uVar1 & 0xfffffdff" 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 r_free_wstr(NODE *n)\n\n{\n  uint uVar1;\n  \n  uVar1 = n->flags;\n  if ((uVar1 & 0x200) != 0) {\n    free((n->sub).nodep.rn);\n    uVar1 = n->flags;\n  }\n  (n->sub).nodep.rn = (exp_node *)0x0;\n  (n->sub).nodep.cnt = 0;\n  n->flags = uVar1 & 0xfffffdff;\n  return;\n}\n\n" comment comment (function_definition "void r_free_wstr(NODE *n)\n\n{\n  uint uVar1;\n  \n  uVar1 = n->flags;\n  if ((uVar1 & 0x200) != 0) {\n    free((n->sub).nodep.rn);\n    uVar1 = n->flags;\n  }\n  (n->sub).nodep.rn = (exp_node *)0x0;\n  (n->sub).nodep.cnt = 0;\n  n->flags = uVar1 & 0xfffffdff;\n  return;\n}" primitive_type (function_declarator "r_free_wstr(NODE *n)" identifier (parameter_list "(NODE *n)" ( (parameter_declaration "NODE *n" type_identifier (pointer_declarator "*n" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = n->flags;\n  if ((uVar1 & 0x200) != 0) {\n    free((n->sub).nodep.rn);\n    uVar1 = n->flags;\n  }\n  (n->sub).nodep.rn = (exp_node *)0x0;\n  (n->sub).nodep.cnt = 0;\n  n->flags = uVar1 & 0xfffffdff;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = n->flags;" (assignment_expression "uVar1 = n->flags" identifier = (field_expression "n->flags" identifier -> field_identifier)) ;) (if_statement "if ((uVar1 & 0x200) != 0) {\n    free((n->sub).nodep.rn);\n    uVar1 = n->flags;\n  }" if (parenthesized_expression "((uVar1 & 0x200) != 0)" ( (binary_expression "(uVar1 & 0x200) != 0" (parenthesized_expression "(uVar1 & 0x200)" ( (binary_expression "uVar1 & 0x200" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    free((n->sub).nodep.rn);\n    uVar1 = n->flags;\n  }" { (expression_statement "free((n->sub).nodep.rn);" (call_expression "free((n->sub).nodep.rn)" identifier (argument_list "((n->sub).nodep.rn)" ( (field_expression "(n->sub).nodep.rn" (field_expression "(n->sub).nodep" (parenthesized_expression "(n->sub)" ( (field_expression "n->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) (expression_statement "uVar1 = n->flags;" (assignment_expression "uVar1 = n->flags" identifier = (field_expression "n->flags" identifier -> field_identifier)) ;) })) (expression_statement "(n->sub).nodep.rn = (exp_node *)0x0;" (assignment_expression "(n->sub).nodep.rn = (exp_node *)0x0" (field_expression "(n->sub).nodep.rn" (field_expression "(n->sub).nodep" (parenthesized_expression "(n->sub)" ( (field_expression "n->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(exp_node *)0x0" ( (type_descriptor "exp_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(n->sub).nodep.cnt = 0;" (assignment_expression "(n->sub).nodep.cnt = 0" (field_expression "(n->sub).nodep.cnt" (field_expression "(n->sub).nodep" (parenthesized_expression "(n->sub)" ( (field_expression "n->sub" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "n->flags = uVar1 & 0xfffffdff;" (assignment_expression "n->flags = uVar1 & 0xfffffdff" (field_expression "n->flags" identifier -> field_identifier) = (binary_expression "uVar1 & 0xfffffdff" identifier & number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00076270(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x2c);\n  if ((uVar1 & 0x200) != 0) {\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }\n  *(undefined4 *)(param_1 + 0x18) = 0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  *(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;\n  return;\n}\n\n" (function_definition "void FUN_00076270(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x2c);\n  if ((uVar1 & 0x200) != 0) {\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }\n  *(undefined4 *)(param_1 + 0x18) = 0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  *(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;\n  return;\n}" primitive_type (function_declarator "FUN_00076270(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x2c);\n  if ((uVar1 & 0x200) != 0) {\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }\n  *(undefined4 *)(param_1 + 0x18) = 0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  *(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x2c);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x2c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x2c)" * (cast_expression "(uint *)(param_1 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & 0x200) != 0) {\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }" if (parenthesized_expression "((uVar1 & 0x200) != 0)" ( (binary_expression "(uVar1 & 0x200) != 0" (parenthesized_expression "(uVar1 & 0x200)" ( (binary_expression "uVar1 & 0x200" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }" { (expression_statement "free(*(void **)(param_1 + 0x18));" (call_expression "free(*(void **)(param_1 + 0x18))" identifier (argument_list "(*(void **)(param_1 + 0x18))" ( (pointer_expression "*(void **)(param_1 + 0x18)" * (cast_expression "(void **)(param_1 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) ))) ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x2c);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x2c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x2c)" * (cast_expression "(uint *)(param_1 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;" (assignment_expression "*(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff" (pointer_expression "*(uint *)(param_1 + 0x2c)" * (cast_expression "(uint *)(param_1 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = (binary_expression "uVar1 & 0xfffffdff" identifier & number_literal)) ;) (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != 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) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT & LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_00076270(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x2c);\n  if ((uVar1 & 0x200) != 0) {\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }\n  *(undefined4 *)(param_1 + 0x18) = 0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  *(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00076270(int param_1)" (identifier "FUN_00076270") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 0x2c);\n  if ((uVar1 & 0x200) != 0) {\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }\n  *(undefined4 *)(param_1 + 0x18) = 0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  *(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(uint *)(param_1 + 0x2c);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x2c)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 0x2c)" (* "*") (cast_expression "(uint *)(param_1 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (if_statement "if ((uVar1 & 0x200) != 0) {\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }" (if "if") (parenthesized_expression "((uVar1 & 0x200) != 0)" (( "(") (binary_expression "(uVar1 & 0x200) != 0" (parenthesized_expression "(uVar1 & 0x200)" (( "(") (binary_expression "uVar1 & 0x200" (identifier "uVar1") (& "&") (number_literal "0x200")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    free(*(void **)(param_1 + 0x18));\n    uVar1 = *(uint *)(param_1 + 0x2c);\n  }" ({ "{") (expression_statement "free(*(void **)(param_1 + 0x18));" (call_expression "free(*(void **)(param_1 + 0x18))" (identifier "free") (argument_list "(*(void **)(param_1 + 0x18))" (( "(") (pointer_expression "*(void **)(param_1 + 0x18)" (* "*") (cast_expression "(void **)(param_1 + 0x18)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) () ")"))) (; ";")) (expression_statement "uVar1 = *(uint *)(param_1 + 0x2c);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x2c)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 0x2c)" (* "*") (cast_expression "(uint *)(param_1 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;" (assignment_expression "*(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff" (pointer_expression "*(uint *)(param_1 + 0x2c)" (* "*") (cast_expression "(uint *)(param_1 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "uVar1 & 0xfffffdff" (identifier "uVar1") (& "&") (number_literal "0xfffffdff"))) (; ";")) (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 *n)

{
  type_2 var_1;
  
  var_1 = n->flags;
  if ((var_1 & 0x200) != 0) {
    var_2((n->sub).nodep.rn);
    var_1 = n->flags;
  }
  (n->sub).nodep.rn = (type_3 *)0x0;
  (n->sub).nodep.cnt = 0;
  n->flags = var_1 & 0xfffffdff;
  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 (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))))) (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 (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 (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: (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)

{
  uint uVar1;
  
  uVar1 = *(uint *)(param_1 + 0x2c);
  if ((uVar1 & 0x200) != 0) {
    free(*(void **)(param_1 + 0x18));
    uVar1 = *(uint *)(param_1 + 0x2c);
  }
  *(undefined4 *)(param_1 + 0x18) = 0;
  *(undefined4 *)(param_1 + 0x1c) = 0;
  *(uint *)(param_1 + 0x2c) = uVar1 & 0xfffffdff;
  return;
}

