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

_Bool pred_path(char *pathname,stat *stat_buf,predicate *pred_ptr)

{
  int iVar1;
  
  iVar1 = rpl_fnmatch((pred_ptr->args).str,pathname,0);
  return iVar1 == 0;
}



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

bool FUN_00016290(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  
  iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);
  return iVar1 == 0;
}


PUSH EBX
CALL 0x00014d70
ADD EBX,0x54a52
SUB ESP,0xc
PUSH 0x0
PUSH dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ESP + 0x24]
PUSH dword ptr [EAX + 0x28]
CALL 0x00036fc0
TEST EAX,EAX
SETZ AL
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool FUN_00016290(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);\n  return iVar1 == 0;\n}\n\n" comment (function_definition "bool FUN_00016290(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);\n  return iVar1 == 0;\n}" primitive_type (function_declarator "FUN_00016290(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);\n  return iVar1 == 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);" (assignment_expression "iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0)" identifier = (call_expression "FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0)" identifier (argument_list "(*(undefined4 *)(param_3 + 0x28),param_1,0)" ( (pointer_expression "*(undefined4 *)(param_3 + 0x28)" * (cast_expression "(undefined4 *)(param_3 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) , identifier , number_literal )))) ;) (return_statement "return iVar1 == 0;" return (binary_expression "iVar1 == 0" identifier == number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\n_Bool pred_path(char *pathname,stat *stat_buf,predicate *pred_ptr)\n\n{\n  int iVar1;\n  \n  iVar1 = rpl_fnmatch((pred_ptr->args).str,pathname,0);\n  return iVar1 == 0;\n}\n\n" comment comment (function_definition "_Bool pred_path(char *pathname,stat *stat_buf,predicate *pred_ptr)\n\n{\n  int iVar1;\n  \n  iVar1 = rpl_fnmatch((pred_ptr->args).str,pathname,0);\n  return iVar1 == 0;\n}" type_identifier (function_declarator "pred_path(char *pathname,stat *stat_buf,predicate *pred_ptr)" identifier (parameter_list "(char *pathname,stat *stat_buf,predicate *pred_ptr)" ( (parameter_declaration "char *pathname" primitive_type (pointer_declarator "*pathname" * identifier)) , (parameter_declaration "stat *stat_buf" type_identifier (pointer_declarator "*stat_buf" * identifier)) , (parameter_declaration "predicate *pred_ptr" type_identifier (pointer_declarator "*pred_ptr" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = rpl_fnmatch((pred_ptr->args).str,pathname,0);\n  return iVar1 == 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = rpl_fnmatch((pred_ptr->args).str,pathname,0);" (assignment_expression "iVar1 = rpl_fnmatch((pred_ptr->args).str,pathname,0)" identifier = (call_expression "rpl_fnmatch((pred_ptr->args).str,pathname,0)" identifier (argument_list "((pred_ptr->args).str,pathname,0)" ( (field_expression "(pred_ptr->args).str" (parenthesized_expression "(pred_ptr->args)" ( (field_expression "pred_ptr->args" identifier -> field_identifier) )) . field_identifier) , identifier , number_literal )))) ;) (return_statement "return iVar1 == 0;" return (binary_expression "iVar1 == 0" identifier == number_literal) ;) })))
(translation_unit "bool FUN_00016290(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);\n  return iVar1 == 0;\n}\n\n" (function_definition "bool FUN_00016290(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);\n  return iVar1 == 0;\n}" primitive_type (function_declarator "FUN_00016290(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);\n  return iVar1 == 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);" (assignment_expression "iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0)" identifier = (call_expression "FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0)" identifier (argument_list "(*(undefined4 *)(param_3 + 0x28),param_1,0)" ( (pointer_expression "*(undefined4 *)(param_3 + 0x28)" * (cast_expression "(undefined4 *)(param_3 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) )))) , identifier , number_literal )))) ;) (return_statement "return iVar1 == 0;" return (binary_expression "iVar1 == 0" identifier == number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT )))) ;) (return_statement return (binary_expression IDENT == LIT) ;) })))
(function_definition "bool FUN_00016290(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);\n  return iVar1 == 0;\n}" (primitive_type "bool") (function_declarator "FUN_00016290(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "FUN_00016290") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);\n  return iVar1 == 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);" (assignment_expression "iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0)" (identifier "iVar1") (= "=") (call_expression "FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0)" (identifier "FUN_00036fc0") (argument_list "(*(undefined4 *)(param_3 + 0x28),param_1,0)" (( "(") (pointer_expression "*(undefined4 *)(param_3 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x28)" (( "(") (binary_expression "param_3 + 0x28" (identifier "param_3") (+ "+") (number_literal "0x28")) () ")")))) (, ",") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (return_statement "return iVar1 == 0;" (return "return") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) (; ";")) (} "}")))

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

type_1 function_1(char *pathname,type_2 *stat_buf,type_3 *pred_ptr)

{
  int var_2;
  
  var_2 = var_1((pred_ptr->args).str,pathname,0);
  return var_2 == 0;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) 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 (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))))) (identifier) (number_literal))))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))

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

bool MASKED(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  
  iVar1 = FUN_00036fc0(*(undefined4 *)(param_3 + 0x28),param_1,0);
  return iVar1 == 0;
}

