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

int proxy_socks5_selectchap(Proxy_Socket p)

{
  (*(*p->plug)->closing)(p->plug,PTR_LAB_000800a8 + 0x57b0,8000,0);
  return 1;
}



undefined4 proxy_socks5_selectchap(int param_1)

{
  (**(code **)(**(int **)(param_1 + 0xc) + 4))
            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);
  return 1;
}


lui gp,0x7
addiu gp,gp,-0x6df8
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw gp,0x10(sp)
lw a0,0xc(a0)
lw v0,0x0(a0)
lw t9,0x4(v0)
or a3,zero,zero
li a2,0x1f40
lw a1,-0x7fc8(gp)
addiu a1,a1,0x57b0
jalr t9
_nop
lw gp,0x10(sp)
li v0,0x1
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "undefined4 proxy_socks5_selectchap(int param_1)\n\n{\n  (**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);\n  return 1;\n}\n\n" (function_definition "undefined4 proxy_socks5_selectchap(int param_1)\n\n{\n  (**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);\n  return 1;\n}" type_identifier (function_declarator "proxy_socks5_selectchap(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  (**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);\n  return 1;\n}" { (expression_statement "(**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);" (call_expression "(**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0)" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0xc) + 4))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 0xc) + 4)" * (pointer_expression "*(code **)(**(int **)(param_1 + 0xc) + 4)" * (cast_expression "(code **)(**(int **)(param_1 + 0xc) + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 0xc) + 4)" ( (binary_expression "**(int **)(param_1 + 0xc) + 4" (pointer_expression "**(int **)(param_1 + 0xc)" * (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0)" ( (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , (binary_expression "PTR_LAB_000800a8 + 0x57b0" identifier + number_literal) , number_literal , number_literal ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint proxy_socks5_selectchap(Proxy_Socket p)\n\n{\n  (*(*p->plug)->closing)(p->plug,PTR_LAB_000800a8 + 0x57b0,8000,0);\n  return 1;\n}\n\n" comment (function_definition "int proxy_socks5_selectchap(Proxy_Socket p)\n\n{\n  (*(*p->plug)->closing)(p->plug,PTR_LAB_000800a8 + 0x57b0,8000,0);\n  return 1;\n}" primitive_type (function_declarator "proxy_socks5_selectchap(Proxy_Socket p)" identifier (parameter_list "(Proxy_Socket p)" ( (parameter_declaration "Proxy_Socket p" type_identifier identifier) ))) (compound_statement "{\n  (*(*p->plug)->closing)(p->plug,PTR_LAB_000800a8 + 0x57b0,8000,0);\n  return 1;\n}" { (expression_statement "(*(*p->plug)->closing)(p->plug,PTR_LAB_000800a8 + 0x57b0,8000,0);" (call_expression "(*(*p->plug)->closing)(p->plug,PTR_LAB_000800a8 + 0x57b0,8000,0)" (parenthesized_expression "(*(*p->plug)->closing)" ( (pointer_expression "*(*p->plug)->closing" * (field_expression "(*p->plug)->closing" (parenthesized_expression "(*p->plug)" ( (pointer_expression "*p->plug" * (field_expression "p->plug" identifier -> field_identifier)) )) -> field_identifier)) )) (argument_list "(p->plug,PTR_LAB_000800a8 + 0x57b0,8000,0)" ( (field_expression "p->plug" identifier -> field_identifier) , (binary_expression "PTR_LAB_000800a8 + 0x57b0" identifier + number_literal) , number_literal , number_literal ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 proxy_socks5_selectchap(int param_1)\n\n{\n  (**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);\n  return 1;\n}\n\n" (function_definition "undefined4 proxy_socks5_selectchap(int param_1)\n\n{\n  (**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);\n  return 1;\n}" type_identifier (function_declarator "proxy_socks5_selectchap(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  (**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);\n  return 1;\n}" { (expression_statement "(**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);" (call_expression "(**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0)" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0xc) + 4))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 0xc) + 4)" * (pointer_expression "*(code **)(**(int **)(param_1 + 0xc) + 4)" * (cast_expression "(code **)(**(int **)(param_1 + 0xc) + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 0xc) + 4)" ( (binary_expression "**(int **)(param_1 + 0xc) + 4" (pointer_expression "**(int **)(param_1 + 0xc)" * (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0)" ( (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , (binary_expression "PTR_LAB_000800a8 + 0x57b0" identifier + number_literal) , number_literal , number_literal ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) , LIT , LIT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 proxy_socks5_selectchap(int param_1)\n\n{\n  (**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "proxy_socks5_selectchap(int param_1)" (identifier "proxy_socks5_selectchap") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  (**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);\n  return 1;\n}" ({ "{") (expression_statement "(**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);" (call_expression "(**(code **)(**(int **)(param_1 + 0xc) + 4))\n            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0)" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 0xc) + 4))" (( "(") (pointer_expression "**(code **)(**(int **)(param_1 + 0xc) + 4)" (* "*") (pointer_expression "*(code **)(**(int **)(param_1 + 0xc) + 4)" (* "*") (cast_expression "(code **)(**(int **)(param_1 + 0xc) + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_1 + 0xc) + 4)" (( "(") (binary_expression "**(int **)(param_1 + 0xc) + 4" (pointer_expression "**(int **)(param_1 + 0xc)" (* "*") (pointer_expression "*(int **)(param_1 + 0xc)" (* "*") (cast_expression "(int **)(param_1 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (+ "+") (number_literal "4")) () ")"))))) () ")")) (argument_list "(*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0)" (( "(") (pointer_expression "*(int **)(param_1 + 0xc)" (* "*") (cast_expression "(int **)(param_1 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (binary_expression "PTR_LAB_000800a8 + 0x57b0" (identifier "PTR_LAB_000800a8") (+ "+") (number_literal "0x57b0")) (, ",") (number_literal "8000") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

int function_1(type_1 p)

{
  (*(*p->plug)->closing)(p->plug,var_1 + 0x57b0,8000,0);
  return 1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1)

{
  (**(code **)(**(int **)(param_1 + 0xc) + 4))
            (*(int **)(param_1 + 0xc),PTR_LAB_000800a8 + 0x57b0,8000,0);
  return 1;
}

