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

void x11_unthrottle(X11Connection *xconn)

{
  Socket ppsVar1;
  long lVar2;
  
  if (xconn != (X11Connection *)0x0) {
    xconn->throttled = 0;
    ppsVar1 = xconn->s;
    if (ppsVar1 != (Socket)0x0) {
      lVar2._0_4_ = xconn->throttled;
      lVar2._4_4_ = xconn->throttle_override;
      (*(*ppsVar1)->set_frozen)(ppsVar1,SUB14(lVar2 != 0,0));
      return;
    }
  }
  return;
}



void FUN_0015bdf4(long param_1)

{
  long *plVar1;
  
  if (param_1 != 0) {
    *(undefined4 *)(param_1 + 0x50) = 0;
    plVar1 = *(long **)(param_1 + 0x78);
    if (plVar1 != (long *)0x0) {
      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);
      return;
    }
  }
  return;
}


TEST RDI,RDI
JZ 0x0015be28
MOV dword ptr [RDI + 0x50],0x0
MOV RDX,qword ptr [RDI + 0x78]
TEST RDX,RDX
JZ 0x0015be28
SUB RSP,0x8
CMP qword ptr [RDI + 0x50],0x0
SETNZ SIL
MOVZX ESI,SIL
MOV RAX,qword ptr [RDX]
MOV RDI,RDX
CALL qword ptr [RAX + 0x30]
ADD RSP,0x8
RET
RET
(translation_unit "void FUN_0015bdf4(long param_1)\n\n{\n  long *plVar1;\n  \n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0015bdf4(long param_1)\n\n{\n  long *plVar1;\n  \n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0015bdf4(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *plVar1;\n  \n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (if_statement "if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x50) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x50) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x50)" * (cast_expression "(undefined4 *)(param_1 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = number_literal) ;) (expression_statement "plVar1 = *(long **)(param_1 + 0x78);" (assignment_expression "plVar1 = *(long **)(param_1 + 0x78)" identifier = (pointer_expression "*(long **)(param_1 + 0x78)" * (cast_expression "(long **)(param_1 + 0x78)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) ))))) ;) (if_statement "if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }" if (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }" { (expression_statement "(**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);" (call_expression "(**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0)" (parenthesized_expression "(**(code **)(*plVar1 + 0x30))" ( (pointer_expression "**(code **)(*plVar1 + 0x30)" * (pointer_expression "*(code **)(*plVar1 + 0x30)" * (cast_expression "(code **)(*plVar1 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x30)" ( (binary_expression "*plVar1 + 0x30" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,*(long *)(param_1 + 0x50) != 0)" ( identifier , (binary_expression "*(long *)(param_1 + 0x50) != 0" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) != number_literal) ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11_unthrottle(X11Connection *xconn)\n\n{\n  Socket ppsVar1;\n  long lVar2;\n  \n  if (xconn != (X11Connection *)0x0) {\n    xconn->throttled = 0;\n    ppsVar1 = xconn->s;\n    if (ppsVar1 != (Socket)0x0) {\n      lVar2._0_4_ = xconn->throttled;\n      lVar2._4_4_ = xconn->throttle_override;\n      (*(*ppsVar1)->set_frozen)(ppsVar1,SUB14(lVar2 != 0,0));\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void x11_unthrottle(X11Connection *xconn)\n\n{\n  Socket ppsVar1;\n  long lVar2;\n  \n  if (xconn != (X11Connection *)0x0) {\n    xconn->throttled = 0;\n    ppsVar1 = xconn->s;\n    if (ppsVar1 != (Socket)0x0) {\n      lVar2._0_4_ = xconn->throttled;\n      lVar2._4_4_ = xconn->throttle_override;\n      (*(*ppsVar1)->set_frozen)(ppsVar1,SUB14(lVar2 != 0,0));\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "x11_unthrottle(X11Connection *xconn)" identifier (parameter_list "(X11Connection *xconn)" ( (parameter_declaration "X11Connection *xconn" type_identifier (pointer_declarator "*xconn" * identifier)) ))) (compound_statement "{\n  Socket ppsVar1;\n  long lVar2;\n  \n  if (xconn != (X11Connection *)0x0) {\n    xconn->throttled = 0;\n    ppsVar1 = xconn->s;\n    if (ppsVar1 != (Socket)0x0) {\n      lVar2._0_4_ = xconn->throttled;\n      lVar2._4_4_ = xconn->throttle_override;\n      (*(*ppsVar1)->set_frozen)(ppsVar1,SUB14(lVar2 != 0,0));\n      return;\n    }\n  }\n  return;\n}" { (declaration "Socket ppsVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (xconn != (X11Connection *)0x0) {\n    xconn->throttled = 0;\n    ppsVar1 = xconn->s;\n    if (ppsVar1 != (Socket)0x0) {\n      lVar2._0_4_ = xconn->throttled;\n      lVar2._4_4_ = xconn->throttle_override;\n      (*(*ppsVar1)->set_frozen)(ppsVar1,SUB14(lVar2 != 0,0));\n      return;\n    }\n  }" if (parenthesized_expression "(xconn != (X11Connection *)0x0)" ( (binary_expression "xconn != (X11Connection *)0x0" identifier != (cast_expression "(X11Connection *)0x0" ( (type_descriptor "X11Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    xconn->throttled = 0;\n    ppsVar1 = xconn->s;\n    if (ppsVar1 != (Socket)0x0) {\n      lVar2._0_4_ = xconn->throttled;\n      lVar2._4_4_ = xconn->throttle_override;\n      (*(*ppsVar1)->set_frozen)(ppsVar1,SUB14(lVar2 != 0,0));\n      return;\n    }\n  }" { (expression_statement "xconn->throttled = 0;" (assignment_expression "xconn->throttled = 0" (field_expression "xconn->throttled" identifier -> field_identifier) = number_literal) ;) (expression_statement "ppsVar1 = xconn->s;" (assignment_expression "ppsVar1 = xconn->s" identifier = (field_expression "xconn->s" identifier -> field_identifier)) ;) (if_statement "if (ppsVar1 != (Socket)0x0) {\n      lVar2._0_4_ = xconn->throttled;\n      lVar2._4_4_ = xconn->throttle_override;\n      (*(*ppsVar1)->set_frozen)(ppsVar1,SUB14(lVar2 != 0,0));\n      return;\n    }" if (parenthesized_expression "(ppsVar1 != (Socket)0x0)" ( (binary_expression "ppsVar1 != (Socket)0x0" identifier != (cast_expression "(Socket)0x0" ( (type_descriptor "Socket" type_identifier) ) number_literal)) )) (compound_statement "{\n      lVar2._0_4_ = xconn->throttled;\n      lVar2._4_4_ = xconn->throttle_override;\n      (*(*ppsVar1)->set_frozen)(ppsVar1,SUB14(lVar2 != 0,0));\n      return;\n    }" { (expression_statement "lVar2._0_4_ = xconn->throttled;" (assignment_expression "lVar2._0_4_ = xconn->throttled" (field_expression "lVar2._0_4_" identifier . field_identifier) = (field_expression "xconn->throttled" identifier -> field_identifier)) ;) (expression_statement "lVar2._4_4_ = xconn->throttle_override;" (assignment_expression "lVar2._4_4_ = xconn->throttle_override" (field_expression "lVar2._4_4_" identifier . field_identifier) = (field_expression "xconn->throttle_override" identifier -> field_identifier)) ;) (expression_statement "(*(*ppsVar1)->set_frozen)(ppsVar1,SUB14(lVar2 != 0,0));" (call_expression "(*(*ppsVar1)->set_frozen)(ppsVar1,SUB14(lVar2 != 0,0))" (parenthesized_expression "(*(*ppsVar1)->set_frozen)" ( (pointer_expression "*(*ppsVar1)->set_frozen" * (field_expression "(*ppsVar1)->set_frozen" (parenthesized_expression "(*ppsVar1)" ( (pointer_expression "*ppsVar1" * identifier) )) -> field_identifier)) )) (argument_list "(ppsVar1,SUB14(lVar2 != 0,0))" ( identifier , (call_expression "SUB14(lVar2 != 0,0)" identifier (argument_list "(lVar2 != 0,0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) , number_literal ))) ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0015bdf4(long param_1)\n\n{\n  long *plVar1;\n  \n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0015bdf4(long param_1)\n\n{\n  long *plVar1;\n  \n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0015bdf4(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *plVar1;\n  \n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (if_statement "if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x50) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x50) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x50)" * (cast_expression "(undefined4 *)(param_1 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = number_literal) ;) (expression_statement "plVar1 = *(long **)(param_1 + 0x78);" (assignment_expression "plVar1 = *(long **)(param_1 + 0x78)" identifier = (pointer_expression "*(long **)(param_1 + 0x78)" * (cast_expression "(long **)(param_1 + 0x78)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) ))))) ;) (if_statement "if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }" if (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }" { (expression_statement "(**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);" (call_expression "(**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0)" (parenthesized_expression "(**(code **)(*plVar1 + 0x30))" ( (pointer_expression "**(code **)(*plVar1 + 0x30)" * (pointer_expression "*(code **)(*plVar1 + 0x30)" * (cast_expression "(code **)(*plVar1 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x30)" ( (binary_expression "*plVar1 + 0x30" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,*(long *)(param_1 + 0x50) != 0)" ( identifier , (binary_expression "*(long *)(param_1 + 0x50) != 0" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) != number_literal) ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (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 * IDENT) + LIT) ))))) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_0015bdf4(long param_1)\n\n{\n  long *plVar1;\n  \n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0015bdf4(long param_1)" (identifier "FUN_0015bdf4") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  long *plVar1;\n  \n  if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (if_statement "if (param_1 != 0) {\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x50) = 0;\n    plVar1 = *(long **)(param_1 + 0x78);\n    if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x50) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x50) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x50)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar1 = *(long **)(param_1 + 0x78);" (assignment_expression "plVar1 = *(long **)(param_1 + 0x78)" (identifier "plVar1") (= "=") (pointer_expression "*(long **)(param_1 + 0x78)" (* "*") (cast_expression "(long **)(param_1 + 0x78)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x78)" (( "(") (binary_expression "param_1 + 0x78" (identifier "param_1") (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (if_statement "if (plVar1 != (long *)0x0) {\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }" (if "if") (parenthesized_expression "(plVar1 != (long *)0x0)" (( "(") (binary_expression "plVar1 != (long *)0x0" (identifier "plVar1") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);\n      return;\n    }" ({ "{") (expression_statement "(**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);" (call_expression "(**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0)" (parenthesized_expression "(**(code **)(*plVar1 + 0x30))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x30)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x30)" (* "*") (cast_expression "(code **)(*plVar1 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x30)" (( "(") (binary_expression "*plVar1 + 0x30" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x30")) () ")"))))) () ")")) (argument_list "(plVar1,*(long *)(param_1 + 0x50) != 0)" (( "(") (identifier "plVar1") (, ",") (binary_expression "*(long *)(param_1 + 0x50) != 0" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) (; ";")) (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 *var_1)

{
  type_2 var_2;
  long var_4;
  
  if (var_1 != (type_1 *)0x0) {
    var_1->throttled = 0;
    var_2 = var_1->s;
    if (var_2 != (type_2)0x0) {
      var_4._0_4_ = var_1->throttled;
      var_4._4_4_ = var_1->throttle_override;
      (*(*var_2)->set_frozen)(var_2,var_3(var_4 != 0,0));
      return;
    }
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (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: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (return_statement))))) (return_statement))))

void MASKED(long param_1)

{
  long *plVar1;
  
  if (param_1 != 0) {
    *(undefined4 *)(param_1 + 0x50) = 0;
    plVar1 = *(long **)(param_1 + 0x78);
    if (plVar1 != (long *)0x0) {
      (**(code **)(*plVar1 + 0x30))(plVar1,*(long *)(param_1 + 0x50) != 0);
      return;
    }
  }
  return;
}

