
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

CURLcode Curl_protocol_connecting(connectdata *conn,_Bool *done)

{
  CURLcode CVar1;
  
  if ((conn != (connectdata *)0x0) &&
     (conn->handler->connecting != (_func_CURLcode_connectdata_ptr__Bool_ptr *)0x0)) {
    *done = false;
    CVar1 = (*conn->handler->connecting)(conn,done);
    return CVar1;
  }
  *done = true;
  return CURLE_OK;
}



undefined4 FUN_00030db8(int param_1,undefined1 *param_2)

{
  undefined4 uVar1;
  
  if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {
    *param_2 = 0;
    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();
    return uVar1;
  }
  *param_2 = 1;
  return 0;
}


beq a0,zero,0x00030df8
_li v0,0x1
lw v0,0x284(a0)
lw v0,0x18(v0)
beq v0,zero,0x00030df8
_li v0,0x1
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sb zero,0x0(a1)
lw v0,0x284(a0)
lw t9,0x18(v0)
jalr t9
_nop
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
sb v0,0x0(a1)
jr ra
_or v0,zero,zero
(translation_unit "undefined4 FUN_00030db8(int param_1,undefined1 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }\n  *param_2 = 1;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00030db8(int param_1,undefined1 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }\n  *param_2 = 1;\n  return 0;\n}" type_identifier (function_declarator "FUN_00030db8(int param_1,undefined1 *param_2)" identifier (parameter_list "(int param_1,undefined1 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }\n  *param_2 = 1;\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }" if (parenthesized_expression "((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0))" ( (binary_expression "(param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)" (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0x284) + 0x18)" * (cast_expression "(int *)(*(int *)(param_1 + 0x284) + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x284) + 0x18)" ( (binary_expression "*(int *)(param_1 + 0x284) + 0x18" (pointer_expression "*(int *)(param_1 + 0x284)" * (cast_expression "(int *)(param_1 + 0x284)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x284)" ( (binary_expression "param_1 + 0x284" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();" (assignment_expression "uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))()" identifier = (call_expression "(**(code **)(*(int *)(param_1 + 0x284) + 0x18))()" (parenthesized_expression "(**(code **)(*(int *)(param_1 + 0x284) + 0x18))" ( (pointer_expression "**(code **)(*(int *)(param_1 + 0x284) + 0x18)" * (pointer_expression "*(code **)(*(int *)(param_1 + 0x284) + 0x18)" * (cast_expression "(code **)(*(int *)(param_1 + 0x284) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x284) + 0x18)" ( (binary_expression "*(int *)(param_1 + 0x284) + 0x18" (pointer_expression "*(int *)(param_1 + 0x284)" * (cast_expression "(int *)(param_1 + 0x284)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x284)" ( (binary_expression "param_1 + 0x284" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "*param_2 = 1;" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode Curl_protocol_connecting(connectdata *conn,_Bool *done)\n\n{\n  CURLcode CVar1;\n  \n  if ((conn != (connectdata *)0x0) &&\n     (conn->handler->connecting != (_func_CURLcode_connectdata_ptr__Bool_ptr *)0x0)) {\n    *done = false;\n    CVar1 = (*conn->handler->connecting)(conn,done);\n    return CVar1;\n  }\n  *done = true;\n  return CURLE_OK;\n}\n\n" comment (function_definition "CURLcode Curl_protocol_connecting(connectdata *conn,_Bool *done)\n\n{\n  CURLcode CVar1;\n  \n  if ((conn != (connectdata *)0x0) &&\n     (conn->handler->connecting != (_func_CURLcode_connectdata_ptr__Bool_ptr *)0x0)) {\n    *done = false;\n    CVar1 = (*conn->handler->connecting)(conn,done);\n    return CVar1;\n  }\n  *done = true;\n  return CURLE_OK;\n}" type_identifier (function_declarator "Curl_protocol_connecting(connectdata *conn,_Bool *done)" identifier (parameter_list "(connectdata *conn,_Bool *done)" ( (parameter_declaration "connectdata *conn" type_identifier (pointer_declarator "*conn" * identifier)) , (parameter_declaration "_Bool *done" type_identifier (pointer_declarator "*done" * identifier)) ))) (compound_statement "{\n  CURLcode CVar1;\n  \n  if ((conn != (connectdata *)0x0) &&\n     (conn->handler->connecting != (_func_CURLcode_connectdata_ptr__Bool_ptr *)0x0)) {\n    *done = false;\n    CVar1 = (*conn->handler->connecting)(conn,done);\n    return CVar1;\n  }\n  *done = true;\n  return CURLE_OK;\n}" { (declaration "CURLcode CVar1;" type_identifier identifier ;) (if_statement "if ((conn != (connectdata *)0x0) &&\n     (conn->handler->connecting != (_func_CURLcode_connectdata_ptr__Bool_ptr *)0x0)) {\n    *done = false;\n    CVar1 = (*conn->handler->connecting)(conn,done);\n    return CVar1;\n  }" if (parenthesized_expression "((conn != (connectdata *)0x0) &&\n     (conn->handler->connecting != (_func_CURLcode_connectdata_ptr__Bool_ptr *)0x0))" ( (binary_expression "(conn != (connectdata *)0x0) &&\n     (conn->handler->connecting != (_func_CURLcode_connectdata_ptr__Bool_ptr *)0x0)" (parenthesized_expression "(conn != (connectdata *)0x0)" ( (binary_expression "conn != (connectdata *)0x0" identifier != (cast_expression "(connectdata *)0x0" ( (type_descriptor "connectdata *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(conn->handler->connecting != (_func_CURLcode_connectdata_ptr__Bool_ptr *)0x0)" ( (binary_expression "conn->handler->connecting != (_func_CURLcode_connectdata_ptr__Bool_ptr *)0x0" (field_expression "conn->handler->connecting" (field_expression "conn->handler" identifier -> field_identifier) -> field_identifier) != (cast_expression "(_func_CURLcode_connectdata_ptr__Bool_ptr *)0x0" ( (type_descriptor "_func_CURLcode_connectdata_ptr__Bool_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    *done = false;\n    CVar1 = (*conn->handler->connecting)(conn,done);\n    return CVar1;\n  }" { (expression_statement "*done = false;" (assignment_expression "*done = false" (pointer_expression "*done" * identifier) = false) ;) (expression_statement "CVar1 = (*conn->handler->connecting)(conn,done);" (assignment_expression "CVar1 = (*conn->handler->connecting)(conn,done)" identifier = (call_expression "(*conn->handler->connecting)(conn,done)" (parenthesized_expression "(*conn->handler->connecting)" ( (pointer_expression "*conn->handler->connecting" * (field_expression "conn->handler->connecting" (field_expression "conn->handler" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(conn,done)" ( identifier , identifier )))) ;) (return_statement "return CVar1;" return identifier ;) })) (expression_statement "*done = true;" (assignment_expression "*done = true" (pointer_expression "*done" * identifier) = true) ;) (return_statement "return CURLE_OK;" return identifier ;) })))
(translation_unit "undefined4 FUN_00030db8(int param_1,undefined1 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }\n  *param_2 = 1;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00030db8(int param_1,undefined1 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }\n  *param_2 = 1;\n  return 0;\n}" type_identifier (function_declarator "FUN_00030db8(int param_1,undefined1 *param_2)" identifier (parameter_list "(int param_1,undefined1 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }\n  *param_2 = 1;\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }" if (parenthesized_expression "((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0))" ( (binary_expression "(param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)" (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0x284) + 0x18)" * (cast_expression "(int *)(*(int *)(param_1 + 0x284) + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x284) + 0x18)" ( (binary_expression "*(int *)(param_1 + 0x284) + 0x18" (pointer_expression "*(int *)(param_1 + 0x284)" * (cast_expression "(int *)(param_1 + 0x284)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x284)" ( (binary_expression "param_1 + 0x284" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();" (assignment_expression "uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))()" identifier = (call_expression "(**(code **)(*(int *)(param_1 + 0x284) + 0x18))()" (parenthesized_expression "(**(code **)(*(int *)(param_1 + 0x284) + 0x18))" ( (pointer_expression "**(code **)(*(int *)(param_1 + 0x284) + 0x18)" * (pointer_expression "*(code **)(*(int *)(param_1 + 0x284) + 0x18)" * (cast_expression "(code **)(*(int *)(param_1 + 0x284) + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x284) + 0x18)" ( (binary_expression "*(int *)(param_1 + 0x284) + 0x18" (pointer_expression "*(int *)(param_1 + 0x284)" * (cast_expression "(int *)(param_1 + 0x284)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x284)" ( (binary_expression "param_1 + 0x284" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "*param_2 = 1;" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" * identifier) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00030db8(int param_1,undefined1 *param_2)\n\n{\n  undefined4 uVar1;\n  \n  if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }\n  *param_2 = 1;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00030db8(int param_1,undefined1 *param_2)" (identifier "FUN_00030db8") (parameter_list "(int param_1,undefined1 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }\n  *param_2 = 1;\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0))" (( "(") (binary_expression "(param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)" (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0x284) + 0x18)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x284) + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x284) + 0x18)" (( "(") (binary_expression "*(int *)(param_1 + 0x284) + 0x18" (pointer_expression "*(int *)(param_1 + 0x284)" (* "*") (cast_expression "(int *)(param_1 + 0x284)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x284)" (( "(") (binary_expression "param_1 + 0x284" (identifier "param_1") (+ "+") (number_literal "0x284")) () ")")))) (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    *param_2 = 0;\n    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();\n    return uVar1;\n  }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();" (assignment_expression "uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))()" (identifier "uVar1") (= "=") (call_expression "(**(code **)(*(int *)(param_1 + 0x284) + 0x18))()" (parenthesized_expression "(**(code **)(*(int *)(param_1 + 0x284) + 0x18))" (( "(") (pointer_expression "**(code **)(*(int *)(param_1 + 0x284) + 0x18)" (* "*") (pointer_expression "*(code **)(*(int *)(param_1 + 0x284) + 0x18)" (* "*") (cast_expression "(code **)(*(int *)(param_1 + 0x284) + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x284) + 0x18)" (( "(") (binary_expression "*(int *)(param_1 + 0x284) + 0x18" (pointer_expression "*(int *)(param_1 + 0x284)" (* "*") (cast_expression "(int *)(param_1 + 0x284)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x284)" (( "(") (binary_expression "param_1 + 0x284" (identifier "param_1") (+ "+") (number_literal "0x284")) () ")")))) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "*param_2 = 1;" (assignment_expression "*param_2 = 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "1")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_1 function_1(type_2 *var_1,type_3 *done)

{
  type_1 CVar1;
  
  if ((var_1 != (type_2 *)0x0) &&
     (var_1->handler->connecting != (type_4 *)0x0)) {
    *done = false;
    CVar1 = (*var_1->handler->connecting)(var_1,done);
    return CVar1;
  }
  *done = true;
  return CURLE_OK;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) arguments: (argument_list)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1,undefined1 *param_2)

{
  undefined4 uVar1;
  
  if ((param_1 != 0) && (*(int *)(*(int *)(param_1 + 0x284) + 0x18) != 0)) {
    *param_2 = 0;
    uVar1 = (**(code **)(*(int *)(param_1 + 0x284) + 0x18))();
    return uVar1;
  }
  *param_2 = 1;
  return 0;
}

