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

void strlist_flush(STRINGLIST *sl)

{
  if ((sl != (STRINGLIST *)0x0) && (sl->list != (char **)0x0)) {
    strvec_flush(sl->list);
    sl->list_len = 0;
  }
  return;
}



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

void strlist_flush(int *param_1)

{
  if ((param_1 != (int *)0x0) && (*param_1 != 0)) {
    strvec_flush(*param_1);
    param_1[2] = 0;
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x000312b0
ADD EBX,0x99fc9
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
TEST ESI,ESI
JZ 0x000d8061
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x000d8061
SUB ESP,0xc
PUSH EAX
CALL 0x000d8cb0
MOV dword ptr [ESI + 0x8],0x0
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 strlist_flush(int *param_1)\n\n{\n  if ((param_1 != (int *)0x0) && (*param_1 != 0)) {\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }\n  return;\n}\n\n" comment (function_definition "void strlist_flush(int *param_1)\n\n{\n  if ((param_1 != (int *)0x0) && (*param_1 != 0)) {\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }\n  return;\n}" primitive_type (function_declarator "strlist_flush(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if ((param_1 != (int *)0x0) && (*param_1 != 0)) {\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }\n  return;\n}" { (if_statement "if ((param_1 != (int *)0x0) && (*param_1 != 0)) {\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }" if (parenthesized_expression "((param_1 != (int *)0x0) && (*param_1 != 0))" ( (binary_expression "(param_1 != (int *)0x0) && (*param_1 != 0)" (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) ))) )) (compound_statement "{\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }" { (expression_statement "strvec_flush(*param_1);" (call_expression "strvec_flush(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = 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 strlist_flush(STRINGLIST *sl)\n\n{\n  if ((sl != (STRINGLIST *)0x0) && (sl->list != (char **)0x0)) {\n    strvec_flush(sl->list);\n    sl->list_len = 0;\n  }\n  return;\n}\n\n" comment comment (function_definition "void strlist_flush(STRINGLIST *sl)\n\n{\n  if ((sl != (STRINGLIST *)0x0) && (sl->list != (char **)0x0)) {\n    strvec_flush(sl->list);\n    sl->list_len = 0;\n  }\n  return;\n}" primitive_type (function_declarator "strlist_flush(STRINGLIST *sl)" identifier (parameter_list "(STRINGLIST *sl)" ( (parameter_declaration "STRINGLIST *sl" type_identifier (pointer_declarator "*sl" * identifier)) ))) (compound_statement "{\n  if ((sl != (STRINGLIST *)0x0) && (sl->list != (char **)0x0)) {\n    strvec_flush(sl->list);\n    sl->list_len = 0;\n  }\n  return;\n}" { (if_statement "if ((sl != (STRINGLIST *)0x0) && (sl->list != (char **)0x0)) {\n    strvec_flush(sl->list);\n    sl->list_len = 0;\n  }" if (parenthesized_expression "((sl != (STRINGLIST *)0x0) && (sl->list != (char **)0x0))" ( (binary_expression "(sl != (STRINGLIST *)0x0) && (sl->list != (char **)0x0)" (parenthesized_expression "(sl != (STRINGLIST *)0x0)" ( (binary_expression "sl != (STRINGLIST *)0x0" identifier != (cast_expression "(STRINGLIST *)0x0" ( (type_descriptor "STRINGLIST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(sl->list != (char **)0x0)" ( (binary_expression "sl->list != (char **)0x0" (field_expression "sl->list" identifier -> field_identifier) != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ))) )) (compound_statement "{\n    strvec_flush(sl->list);\n    sl->list_len = 0;\n  }" { (expression_statement "strvec_flush(sl->list);" (call_expression "strvec_flush(sl->list)" identifier (argument_list "(sl->list)" ( (field_expression "sl->list" identifier -> field_identifier) ))) ;) (expression_statement "sl->list_len = 0;" (assignment_expression "sl->list_len = 0" (field_expression "sl->list_len" identifier -> field_identifier) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void strlist_flush(int *param_1)\n\n{\n  if ((param_1 != (int *)0x0) && (*param_1 != 0)) {\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }\n  return;\n}\n\n" (function_definition "void strlist_flush(int *param_1)\n\n{\n  if ((param_1 != (int *)0x0) && (*param_1 != 0)) {\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }\n  return;\n}" primitive_type (function_declarator "strlist_flush(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if ((param_1 != (int *)0x0) && (*param_1 != 0)) {\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }\n  return;\n}" { (if_statement "if ((param_1 != (int *)0x0) && (*param_1 != 0)) {\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }" if (parenthesized_expression "((param_1 != (int *)0x0) && (*param_1 != 0))" ( (binary_expression "(param_1 != (int *)0x0) && (*param_1 != 0)" (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) ))) )) (compound_statement "{\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }" { (expression_statement "strvec_flush(*param_1);" (call_expression "strvec_flush(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) })) (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 (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void strlist_flush(int *param_1)\n\n{\n  if ((param_1 != (int *)0x0) && (*param_1 != 0)) {\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "strlist_flush(int *param_1)" (identifier "strlist_flush") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if ((param_1 != (int *)0x0) && (*param_1 != 0)) {\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }\n  return;\n}" ({ "{") (if_statement "if ((param_1 != (int *)0x0) && (*param_1 != 0)) {\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }" (if "if") (parenthesized_expression "((param_1 != (int *)0x0) && (*param_1 != 0))" (( "(") (binary_expression "(param_1 != (int *)0x0) && (*param_1 != 0)" (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    strvec_flush(*param_1);\n    param_1[2] = 0;\n  }" ({ "{") (expression_statement "strvec_flush(*param_1);" (call_expression "strvec_flush(*param_1)" (identifier "strvec_flush") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (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_1->list != (char **)0x0)) {
    var_2(var_1->list);
    var_1->list_len = 0;
  }
  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))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (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))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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 != (int *)0x0) && (*param_1 != 0)) {
    strvec_flush(*param_1);
    param_1[2] = 0;
  }
  return;
}

