
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Unknown calling convention */

bfd_boolean pr_set_type(void *p,bfd_boolean bitstringp)

{
  bfd_boolean bVar1;
  pr_handle *info;
  
  bVar1 = substitute_type((pr_handle *)p,"");
  if (bVar1 != 0) {
    info = (pr_handle *)((int)p + 8);
    bVar1 = prepend_type(info,"set { ");
    if ((bVar1 != 0) && (bVar1 = append_type(info," }"), bVar1 != 0)) {
      if (bitstringp == 0) {
        return 1;
      }
      bVar1 = append_type(info,"/* bitstring */");
      return (uint)(bVar1 != 0);
    }
  }
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

bool FUN_00038c70(undefined4 param_1,int param_2)

{
  int iVar1;
  
  iVar1 = FUN_00037630();
  if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)
     ) {
    if (param_2 == 0) {
      return true;
    }
    iVar1 = FUN_00037580();
    return iVar1 != 0;
  }
  return false;
}


PUSH ESI
CALL 0x0003adb8
ADD ESI,0x3a38a
PUSH EBX
SUB ESP,0x4
MOV EBX,dword ptr [ESP + 0x10]
LEA EDX,[ESI + 0xfffdca07]
MOV EAX,EBX
CALL 0x00037630
TEST EAX,EAX
JNZ 0x00038ca0
XOR EAX,EAX
ADD ESP,0x4
POP EBX
POP ESI
RET
ADD EBX,0x8
LEA EDX,[ESI + 0xfffe42c7]
MOV EAX,EBX
CALL 0x000374e0
TEST EAX,EAX
JZ 0x00038c95
LEA EDX,[ESI + 0xfffe42ce]
MOV EAX,EBX
CALL 0x00037580
TEST EAX,EAX
JZ 0x00038c95
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,0x1
TEST EDX,EDX
JZ 0x00038c97
LEA EDX,[ESI + 0xfffe42d1]
MOV EAX,EBX
CALL 0x00037580
TEST EAX,EAX
SETNZ AL
MOVZX EAX,AL
JMP 0x00038c97
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nbool FUN_00038c70(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00037630();\n  if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     ) {\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }\n  return false;\n}\n\n" comment (function_definition "bool FUN_00038c70(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00037630();\n  if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     ) {\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_00038c70(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00037630();\n  if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     ) {\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00037630();" (assignment_expression "iVar1 = FUN_00037630()" identifier = (call_expression "FUN_00037630()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     ) {\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }" if (parenthesized_expression "(((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     )" ( (binary_expression "((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)" (parenthesized_expression "((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0))" ( (binary_expression "(iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = FUN_000374e0(), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_000374e0(), iVar1 != 0" (assignment_expression "iVar1 = FUN_000374e0()" identifier = (call_expression "FUN_000374e0()" identifier (argument_list "()" ( )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar1 = FUN_00037580(), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_00037580(), iVar1 != 0" (assignment_expression "iVar1 = FUN_00037580()" identifier = (call_expression "FUN_00037580()" identifier (argument_list "()" ( )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }" { (if_statement "if (param_2 == 0) {\n      return true;\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (expression_statement "iVar1 = FUN_00037580();" (assignment_expression "iVar1 = FUN_00037580()" identifier = (call_expression "FUN_00037580()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1 != 0;" return (binary_expression "iVar1 != 0" identifier != number_literal) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* WARNING: Unknown calling convention */\n\nbfd_boolean pr_set_type(void *p,bfd_boolean bitstringp)\n\n{\n  bfd_boolean bVar1;\n  pr_handle *info;\n  \n  bVar1 = substitute_type((pr_handle *)p,"");\n  if (bVar1 != 0) {\n    info = (pr_handle *)((int)p + 8);\n    bVar1 = prepend_type(info,"set { ");\n    if ((bVar1 != 0) && (bVar1 = append_type(info," }"), bVar1 != 0)) {\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }\n  }\n  return 0;\n}\n\n" comment comment (function_definition "bfd_boolean pr_set_type(void *p,bfd_boolean bitstringp)\n\n{\n  bfd_boolean bVar1;\n  pr_handle *info;\n  \n  bVar1 = substitute_type((pr_handle *)p,"");\n  if (bVar1 != 0) {\n    info = (pr_handle *)((int)p + 8);\n    bVar1 = prepend_type(info,"set { ");\n    if ((bVar1 != 0) && (bVar1 = append_type(info," }"), bVar1 != 0)) {\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "pr_set_type(void *p,bfd_boolean bitstringp)" identifier (parameter_list "(void *p,bfd_boolean bitstringp)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "bfd_boolean bitstringp" type_identifier identifier) ))) (compound_statement "{\n  bfd_boolean bVar1;\n  pr_handle *info;\n  \n  bVar1 = substitute_type((pr_handle *)p,"");\n  if (bVar1 != 0) {\n    info = (pr_handle *)((int)p + 8);\n    bVar1 = prepend_type(info,"set { ");\n    if ((bVar1 != 0) && (bVar1 = append_type(info," }"), bVar1 != 0)) {\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }\n  }\n  return 0;\n}" { (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "pr_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (expression_statement "bVar1 = substitute_type((pr_handle *)p,"");" (assignment_expression "bVar1 = substitute_type((pr_handle *)p,"")" identifier = (call_expression "substitute_type((pr_handle *)p,"")" identifier (argument_list "((pr_handle *)p,"")" ( (cast_expression "(pr_handle *)p" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal """" " ") )))) ;) (if_statement "if (bVar1 != 0) {\n    info = (pr_handle *)((int)p + 8);\n    bVar1 = prepend_type(info,"set { ");\n    if ((bVar1 != 0) && (bVar1 = append_type(info," }"), bVar1 != 0)) {\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }\n  }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    info = (pr_handle *)((int)p + 8);\n    bVar1 = prepend_type(info,"set { ");\n    if ((bVar1 != 0) && (bVar1 = append_type(info," }"), bVar1 != 0)) {\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }\n  }" { (expression_statement "info = (pr_handle *)((int)p + 8);" (assignment_expression "info = (pr_handle *)((int)p + 8)" identifier = (cast_expression "(pr_handle *)((int)p + 8)" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)p + 8)" ( (binary_expression "(int)p + 8" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "bVar1 = prepend_type(info,"set { ");" (assignment_expression "bVar1 = prepend_type(info,"set { ")" identifier = (call_expression "prepend_type(info,"set { ")" identifier (argument_list "(info,"set { ")" ( identifier , (string_literal ""set { "" " string_content ") )))) ;) (if_statement "if ((bVar1 != 0) && (bVar1 = append_type(info," }"), bVar1 != 0)) {\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }" if (parenthesized_expression "((bVar1 != 0) && (bVar1 = append_type(info," }"), bVar1 != 0))" ( (binary_expression "(bVar1 != 0) && (bVar1 = append_type(info," }"), bVar1 != 0)" (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(bVar1 = append_type(info," }"), bVar1 != 0)" ( (comma_expression "bVar1 = append_type(info," }"), bVar1 != 0" (assignment_expression "bVar1 = append_type(info," }")" identifier = (call_expression "append_type(info," }")" identifier (argument_list "(info," }")" ( identifier , (string_literal "" }"" " string_content ") )))) , (binary_expression "bVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }" { (if_statement "if (bitstringp == 0) {\n        return 1;\n      }" if (parenthesized_expression "(bitstringp == 0)" ( (binary_expression "bitstringp == 0" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "bVar1 = append_type(info,"/* bitstring */");" (assignment_expression "bVar1 = append_type(info,"/* bitstring */")" identifier = (call_expression "append_type(info,"/* bitstring */")" identifier (argument_list "(info,"/* bitstring */")" ( identifier , (string_literal ""/* bitstring */"" " string_content ") )))) ;) (return_statement "return (uint)(bVar1 != 0);" return (call_expression "(uint)(bVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) ))) ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bool FUN_00038c70(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00037630();\n  if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     ) {\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_00038c70(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00037630();\n  if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     ) {\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_00038c70(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00037630();\n  if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     ) {\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00037630();" (assignment_expression "iVar1 = FUN_00037630()" identifier = (call_expression "FUN_00037630()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     ) {\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }" if (parenthesized_expression "(((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     )" ( (binary_expression "((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)" (parenthesized_expression "((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0))" ( (binary_expression "(iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = FUN_000374e0(), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_000374e0(), iVar1 != 0" (assignment_expression "iVar1 = FUN_000374e0()" identifier = (call_expression "FUN_000374e0()" identifier (argument_list "()" ( )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar1 = FUN_00037580(), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_00037580(), iVar1 != 0" (assignment_expression "iVar1 = FUN_00037580()" identifier = (call_expression "FUN_00037580()" identifier (argument_list "()" ( )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }" { (if_statement "if (param_2 == 0) {\n      return true;\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (expression_statement "iVar1 = FUN_00037580();" (assignment_expression "iVar1 = FUN_00037580()" identifier = (call_expression "FUN_00037580()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1 != 0;" return (binary_expression "iVar1 != 0" identifier != number_literal) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return (binary_expression IDENT != LIT) ;) })) (return_statement return BOOL ;) })))
(function_definition "bool FUN_00038c70(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00037630();\n  if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     ) {\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }\n  return false;\n}" (primitive_type "bool") (function_declarator "FUN_00038c70(undefined4 param_1,int param_2)" (identifier "FUN_00038c70") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00037630();\n  if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     ) {\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }\n  return false;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00037630();" (assignment_expression "iVar1 = FUN_00037630()" (identifier "iVar1") (= "=") (call_expression "FUN_00037630()" (identifier "FUN_00037630") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     ) {\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }" (if "if") (parenthesized_expression "(((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)\n     )" (( "(") (binary_expression "((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)" (parenthesized_expression "((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0))" (( "(") (binary_expression "(iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = FUN_000374e0(), iVar1 != 0)" (( "(") (comma_expression "iVar1 = FUN_000374e0(), iVar1 != 0" (assignment_expression "iVar1 = FUN_000374e0()" (identifier "iVar1") (= "=") (call_expression "FUN_000374e0()" (identifier "FUN_000374e0") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = FUN_00037580(), iVar1 != 0)" (( "(") (comma_expression "iVar1 = FUN_00037580(), iVar1 != 0" (assignment_expression "iVar1 = FUN_00037580()" (identifier "iVar1") (= "=") (call_expression "FUN_00037580()" (identifier "FUN_00037580") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    if (param_2 == 0) {\n      return true;\n    }\n    iVar1 = FUN_00037580();\n    return iVar1 != 0;\n  }" ({ "{") (if_statement "if (param_2 == 0) {\n      return true;\n    }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return true;\n    }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_00037580();" (assignment_expression "iVar1 = FUN_00037580()" (identifier "iVar1") (= "=") (call_expression "FUN_00037580()" (identifier "FUN_00037580") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar1 != 0;" (return "return") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Unknown calling convention */

type_1 function_1(void *p,type_1 var_5)

{
  type_1 var_2;
  type_2 *info;
  
  var_2 = var_1((type_2 *)p,"");
  if (var_2 != 0) {
    info = (type_2 *)((int)p + 8);
    var_2 = var_3(info,"set { ");
    if ((var_2 != 0) && (var_2 = var_4(info," }"), var_2 != 0)) {
      if (var_5 == 0) {
        return 1;
      }
      var_2 = var_4(info,"/* bitstring */");
      return (uint)(var_2 != 0);
    }
  }
  return 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: (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (true)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (return_statement (binary_expression left: (identifier) right: (number_literal))))) (return_statement (false)))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

bool MASKED(undefined4 param_1,int param_2)

{
  int iVar1;
  
  iVar1 = FUN_00037630();
  if (((iVar1 != 0) && (iVar1 = FUN_000374e0(), iVar1 != 0)) && (iVar1 = FUN_00037580(), iVar1 != 0)
     ) {
    if (param_2 == 0) {
      return true;
    }
    iVar1 = FUN_00037580();
    return iVar1 != 0;
  }
  return false;
}

