
/* WARNING: Unknown calling convention */

int share_xchannel_server_cmp(void)

{
  uint uVar1;
  share_xchannel *a;
  share_xchannel *b;
  
  uVar1 = 0xffffffff;
  if (b->server_id <= a->server_id) {
    uVar1 = (uint)(b->server_id < a->server_id);
  }
  return uVar1;
}



uint FUN_0005dc10(int param_1,int param_2)

{
  uint uVar1;
  
  uVar1 = 0xffffffff;
  if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {
    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));
  }
  return uVar1;
}


MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0x4]
MOV EAX,0xffffffff
MOV EDX,dword ptr [EDX + 0x4]
CMP dword ptr [ECX + 0x4],EDX
JC 0x0005dc2b
SETA AL
MOVZX EAX,AL
RET
(translation_unit "uint FUN_0005dc10(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_0005dc10(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0005dc10(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  uint uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }" if (parenthesized_expression "(*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4))" ( (binary_expression "*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }" { (expression_statement "uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));" (assignment_expression "uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" identifier = (call_expression "(uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" ( (binary_expression "*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint share_xchannel_server_cmp(void)\n\n{\n  uint uVar1;\n  share_xchannel *a;\n  share_xchannel *b;\n  \n  uVar1 = 0xffffffff;\n  if (b->server_id <= a->server_id) {\n    uVar1 = (uint)(b->server_id < a->server_id);\n  }\n  return uVar1;\n}\n\n" comment (function_definition "int share_xchannel_server_cmp(void)\n\n{\n  uint uVar1;\n  share_xchannel *a;\n  share_xchannel *b;\n  \n  uVar1 = 0xffffffff;\n  if (b->server_id <= a->server_id) {\n    uVar1 = (uint)(b->server_id < a->server_id);\n  }\n  return uVar1;\n}" primitive_type (function_declarator "share_xchannel_server_cmp(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  share_xchannel *a;\n  share_xchannel *b;\n  \n  uVar1 = 0xffffffff;\n  if (b->server_id <= a->server_id) {\n    uVar1 = (uint)(b->server_id < a->server_id);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "share_xchannel *a;" type_identifier (pointer_declarator "*a" * identifier) ;) (declaration "share_xchannel *b;" type_identifier (pointer_declarator "*b" * identifier) ;) (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (b->server_id <= a->server_id) {\n    uVar1 = (uint)(b->server_id < a->server_id);\n  }" if (parenthesized_expression "(b->server_id <= a->server_id)" ( (binary_expression "b->server_id <= a->server_id" (field_expression "b->server_id" identifier -> field_identifier) <= (field_expression "a->server_id" identifier -> field_identifier)) )) (compound_statement "{\n    uVar1 = (uint)(b->server_id < a->server_id);\n  }" { (expression_statement "uVar1 = (uint)(b->server_id < a->server_id);" (assignment_expression "uVar1 = (uint)(b->server_id < a->server_id)" identifier = (call_expression "(uint)(b->server_id < a->server_id)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(b->server_id < a->server_id)" ( (binary_expression "b->server_id < a->server_id" (field_expression "b->server_id" identifier -> field_identifier) < (field_expression "a->server_id" identifier -> field_identifier)) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "uint FUN_0005dc10(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_0005dc10(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0005dc10(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  uint uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }" if (parenthesized_expression "(*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4))" ( (binary_expression "*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }" { (expression_statement "uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));" (assignment_expression "uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" identifier = (call_expression "(uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" ( (binary_expression "*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(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 = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_0005dc10(int param_1,int param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_0005dc10(int param_1,int param_2)" (identifier "FUN_0005dc10") (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  uint uVar1;\n  \n  uVar1 = 0xffffffff;\n  if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" (identifier "uVar1") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }" (if "if") (parenthesized_expression "(*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4))" (( "(") (binary_expression "*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (<= "<=") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));\n  }" ({ "{") (expression_statement "uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));" (assignment_expression "uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (identifier "uVar1") (= "=") (call_expression "(uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (( "(") (binary_expression "*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (< "<") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) () ")")))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(void)

{
  type_1 uVar1;
  type_2 *a;
  type_2 *b;
  
  uVar1 = 0xffffffff;
  if (b->server_id <= a->server_id) {
    uVar1 = (type_1)(b->server_id < a->server_id);
  }
  return uVar1;
}


(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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (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))))) right: (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)))))))))))) (return_statement (identifier)))))

uint MASKED(int param_1,int param_2)

{
  uint uVar1;
  
  uVar1 = 0xffffffff;
  if (*(uint *)(param_2 + 4) <= *(uint *)(param_1 + 4)) {
    uVar1 = (uint)(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4));
  }
  return uVar1;
}

