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

void sk_tcp_set_frozen(Socket sock,int is_frozen)

{
  if (sock[9] != (socket_function_table *)is_frozen) {
    sock[9] = (socket_function_table *)is_frozen;
    uxsel_tell((Actual_Socket_conflict)sock);
    return;
  }
  return;
}



void FUN_00066590(int param_1,int param_2)

{
  if (*(int *)(param_1 + 0x24) != param_2) {
    *(int *)(param_1 + 0x24) = param_2;
    FUN_00066500();
    return;
  }
  return;
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
CMP dword ptr [EAX + 0x24],EDX
JZ 0x000665a8
MOV dword ptr [EAX + 0x24],EDX
JMP 0x00066500
RET
(translation_unit "void FUN_00066590(int param_1,int param_2)\n\n{\n  if (*(int *)(param_1 + 0x24) != param_2) {\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00066590(int param_1,int param_2)\n\n{\n  if (*(int *)(param_1 + 0x24) != param_2) {\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00066590(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(int *)(param_1 + 0x24) != param_2) {\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }\n  return;\n}" { (if_statement "if (*(int *)(param_1 + 0x24) != param_2) {\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x24) != param_2)" ( (binary_expression "*(int *)(param_1 + 0x24) != param_2" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0x24) = param_2;" (assignment_expression "*(int *)(param_1 + 0x24) = param_2" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_00066500();" (call_expression "FUN_00066500()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_tcp_set_frozen(Socket sock,int is_frozen)\n\n{\n  if (sock[9] != (socket_function_table *)is_frozen) {\n    sock[9] = (socket_function_table *)is_frozen;\n    uxsel_tell((Actual_Socket_conflict)sock);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void sk_tcp_set_frozen(Socket sock,int is_frozen)\n\n{\n  if (sock[9] != (socket_function_table *)is_frozen) {\n    sock[9] = (socket_function_table *)is_frozen;\n    uxsel_tell((Actual_Socket_conflict)sock);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "sk_tcp_set_frozen(Socket sock,int is_frozen)" identifier (parameter_list "(Socket sock,int is_frozen)" ( (parameter_declaration "Socket sock" type_identifier identifier) , (parameter_declaration "int is_frozen" primitive_type identifier) ))) (compound_statement "{\n  if (sock[9] != (socket_function_table *)is_frozen) {\n    sock[9] = (socket_function_table *)is_frozen;\n    uxsel_tell((Actual_Socket_conflict)sock);\n    return;\n  }\n  return;\n}" { (if_statement "if (sock[9] != (socket_function_table *)is_frozen) {\n    sock[9] = (socket_function_table *)is_frozen;\n    uxsel_tell((Actual_Socket_conflict)sock);\n    return;\n  }" if (parenthesized_expression "(sock[9] != (socket_function_table *)is_frozen)" ( (binary_expression "sock[9] != (socket_function_table *)is_frozen" (subscript_expression "sock[9]" identifier [ number_literal ]) != (cast_expression "(socket_function_table *)is_frozen" ( (type_descriptor "socket_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    sock[9] = (socket_function_table *)is_frozen;\n    uxsel_tell((Actual_Socket_conflict)sock);\n    return;\n  }" { (expression_statement "sock[9] = (socket_function_table *)is_frozen;" (assignment_expression "sock[9] = (socket_function_table *)is_frozen" (subscript_expression "sock[9]" identifier [ number_literal ]) = (cast_expression "(socket_function_table *)is_frozen" ( (type_descriptor "socket_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "uxsel_tell((Actual_Socket_conflict)sock);" (call_expression "uxsel_tell((Actual_Socket_conflict)sock)" identifier (argument_list "((Actual_Socket_conflict)sock)" ( (cast_expression "(Actual_Socket_conflict)sock" ( (type_descriptor "Actual_Socket_conflict" type_identifier) ) identifier) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00066590(int param_1,int param_2)\n\n{\n  if (*(int *)(param_1 + 0x24) != param_2) {\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00066590(int param_1,int param_2)\n\n{\n  if (*(int *)(param_1 + 0x24) != param_2) {\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00066590(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(int *)(param_1 + 0x24) != param_2) {\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }\n  return;\n}" { (if_statement "if (*(int *)(param_1 + 0x24) != param_2) {\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x24) != param_2)" ( (binary_expression "*(int *)(param_1 + 0x24) != param_2" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0x24) = param_2;" (assignment_expression "*(int *)(param_1 + 0x24) = param_2" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_00066500();" (call_expression "FUN_00066500()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00066590(int param_1,int param_2)\n\n{\n  if (*(int *)(param_1 + 0x24) != param_2) {\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00066590(int param_1,int param_2)" (identifier "FUN_00066590") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (*(int *)(param_1 + 0x24) != param_2) {\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (*(int *)(param_1 + 0x24) != param_2) {\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x24) != param_2)" (( "(") (binary_expression "*(int *)(param_1 + 0x24) != param_2" (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0x24) = param_2;\n    FUN_00066500();\n    return;\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0x24) = param_2;" (assignment_expression "*(int *)(param_1 + 0x24) = param_2" (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "FUN_00066500();" (call_expression "FUN_00066500()" (identifier "FUN_00066500") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 sock,int is_frozen)

{
  if (sock[9] != (type_2 *)is_frozen) {
    sock[9] = (type_2 *)is_frozen;
    var_1((type_3)sock);
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (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: (identifier))) consequence: (compound_statement (expression_statement (assignment_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: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (return_statement))))

void MASKED(int param_1,int param_2)

{
  if (*(int *)(param_1 + 0x24) != param_2) {
    *(int *)(param_1 + 0x24) = param_2;
    FUN_00066500();
    return;
  }
  return;
}

