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

void share_activate(void *state,char *server_verstring)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  ssh_sharing_connstate *cs;
  char *pcVar4;
  
  puVar1 = PTR_DAT_000ad2c8;
  iVar2 = (*(code *)PTR_strcspn_000adcf8)(server_verstring,PTR_DAT_000ad2c8 + 0x6244);
  pcVar4 = server_verstring + iVar2;
  if (*pcVar4 != '\0') {
    pcVar4 = pcVar4 + 1;
  }
  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar4,puVar1 + 0x6244);
  pcVar4 = pcVar4 + iVar2;
  if (*pcVar4 != '\0') {
    pcVar4 = pcVar4 + 1;
  }
  iVar2 = 0;
  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar4);
  *(undefined4 *)((int)state + 0x18) = uVar3;
  while( true ) {
    cs = (ssh_sharing_connstate *)index234(*(tree234 **)((int)state + 0xc),iVar2);
    if (cs == (ssh_sharing_connstate *)0x0) {
      return;
    }
    if (cs->sent_verstring != 0) break;
    share_send_verstring(cs);
    iVar2 = iVar2 + 1;
  }
  (*(code *)PTR___assert_fail_000adb00)
            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);
  return;
}



void share_activate(int param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  char *pcVar5;
  
  puVar1 = PTR_DAT_000ad2c8;
  iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);
  pcVar5 = (char *)(param_2 + iVar2);
  if (*pcVar5 != '\0') {
    pcVar5 = pcVar5 + 1;
  }
  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);
  pcVar5 = pcVar5 + iVar2;
  if (*pcVar5 != '\0') {
    pcVar5 = pcVar5 + 1;
  }
  iVar2 = 0;
  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);
  *(undefined4 *)(param_1 + 0x18) = uVar3;
  while( true ) {
    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);
    if (iVar4 == 0) {
      return;
    }
    if (*(int *)(iVar4 + 0x14) != 0) break;
    FUN_0006f6ac(iVar4);
    iVar2 = iVar2 + 1;
  }
  (*(code *)PTR___assert_fail_000adb00)
            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);
  return;
}


lui gp,0x4
addiu gp,gp,0x2340
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7598(gp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
or s1,a0,zero
sw s0,0x18(sp)
or a0,a1,zero
sw gp,0x10(sp)
or s0,a1,zero
sw ra,0x24(sp)
lw s2,-0x7fc8(gp)
jalr t9
_addiu a1,s2,0x6244
addu s0,s0,v0
lb v0,0x0(s0)
beq v0,zero,0x00072fa4
_lw gp,0x10(sp)
addiu s0,s0,0x1
lw t9,-0x7598(gp)
addiu a1,s2,0x6244
jalr t9
_or a0,s0,zero
addu a0,s0,v0
lb v0,0x0(a0)
beq v0,zero,0x00072fc8
_lw gp,0x10(sp)
addiu a0,a0,0x1
lw t9,-0x7fb4(gp)
jalr t9
_or s0,zero,zero
lw gp,0x10(sp)
sw v0,0x18(s1)
lw s2,-0x78f8(gp)
b 0x00073004
_addiu s2,s2,-0x954
lw v1,0x14(v0)
bne v1,zero,0x00073034
_or t9,s2,zero
bal 0x0006f6ac
_or a0,v0,zero
addiu s0,s0,0x1
lw gp,0x10(sp)
lw t9,-0x7e20(gp)
or a1,s0,zero
bal 0x000791c8
_lw a0,0xc(s1)
bne v0,zero,0x00072fe8
_lw gp,0x10(sp)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw a3,-0x7fc8(gp)
li a2,0x789
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7790(gp)
addiu a3,a3,0x7270
addiu a1,a1,0x6d3c
jalr t9
_addiu a0,a0,0x7124
(translation_unit "void share_activate(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR_DAT_000ad2c8;\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);\n  pcVar5 = (char *)(param_2 + iVar2);\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);\n  pcVar5 = pcVar5 + iVar2;\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = 0;\n  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  while( true ) {\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }\n  (*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);\n  return;\n}\n\n" (function_definition "void share_activate(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR_DAT_000ad2c8;\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);\n  pcVar5 = (char *)(param_2 + iVar2);\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);\n  pcVar5 = pcVar5 + iVar2;\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = 0;\n  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  while( true ) {\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }\n  (*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);\n  return;\n}" primitive_type (function_declarator "share_activate(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  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR_DAT_000ad2c8;\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);\n  pcVar5 = (char *)(param_2 + iVar2);\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);\n  pcVar5 = pcVar5 + iVar2;\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = 0;\n  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  while( true ) {\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }\n  (*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "puVar1 = PTR_DAT_000ad2c8;" (assignment_expression "puVar1 = PTR_DAT_000ad2c8" identifier = identifier) ;) (expression_statement "iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);" (assignment_expression "iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244)" identifier = (call_expression "(*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244)" (parenthesized_expression "(*(code *)PTR_strcspn_000adcf8)" ( (pointer_expression "*(code *)PTR_strcspn_000adcf8" * (cast_expression "(code *)PTR_strcspn_000adcf8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_DAT_000ad2c8 + 0x6244)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + 0x6244" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (char *)(param_2 + iVar2);" (assignment_expression "pcVar5 = (char *)(param_2 + iVar2)" identifier = (cast_expression "(char *)(param_2 + iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar2)" ( (binary_expression "param_2 + iVar2" identifier + identifier) )))) ;) (if_statement "if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }" if (parenthesized_expression "(*pcVar5 != '\0')" ( (binary_expression "*pcVar5 != '\0'" (pointer_expression "*pcVar5" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar5 = pcVar5 + 1;\n  }" { (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);" (assignment_expression "iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244)" identifier = (call_expression "(*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244)" (parenthesized_expression "(*(code *)PTR_strcspn_000adcf8)" ( (pointer_expression "*(code *)PTR_strcspn_000adcf8" * (cast_expression "(code *)PTR_strcspn_000adcf8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5,puVar1 + 0x6244)" ( identifier , (binary_expression "puVar1 + 0x6244" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = pcVar5 + iVar2;" (assignment_expression "pcVar5 = pcVar5 + iVar2" identifier = (binary_expression "pcVar5 + iVar2" identifier + identifier)) ;) (if_statement "if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }" if (parenthesized_expression "(*pcVar5 != '\0')" ( (binary_expression "*pcVar5 != '\0'" (pointer_expression "*pcVar5" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar5 = pcVar5 + 1;\n  }" { (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);" (assignment_expression "uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(pcVar5)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x18) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) (while_statement "while( true ) {\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }" { (expression_statement "iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);" (assignment_expression "iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2)" identifier = (call_expression "index234(*(undefined4 *)(param_1 + 0xc),iVar2)" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc),iVar2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n      return;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if (*(int *)(iVar4 + 0x14) != 0) break;" if (parenthesized_expression "(*(int *)(iVar4 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x14) != 0" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_0006f6ac(iVar4);" (call_expression "FUN_0006f6ac(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) })) (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x7124" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + 0x6d3c" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0x7270" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_activate(void *state,char *server_verstring)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  ssh_sharing_connstate *cs;\n  char *pcVar4;\n  \n  puVar1 = PTR_DAT_000ad2c8;\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(server_verstring,PTR_DAT_000ad2c8 + 0x6244);\n  pcVar4 = server_verstring + iVar2;\n  if (*pcVar4 != '\0') {\n    pcVar4 = pcVar4 + 1;\n  }\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar4,puVar1 + 0x6244);\n  pcVar4 = pcVar4 + iVar2;\n  if (*pcVar4 != '\0') {\n    pcVar4 = pcVar4 + 1;\n  }\n  iVar2 = 0;\n  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar4);\n  *(undefined4 *)((int)state + 0x18) = uVar3;\n  while( true ) {\n    cs = (ssh_sharing_connstate *)index234(*(tree234 **)((int)state + 0xc),iVar2);\n    if (cs == (ssh_sharing_connstate *)0x0) {\n      return;\n    }\n    if (cs->sent_verstring != 0) break;\n    share_send_verstring(cs);\n    iVar2 = iVar2 + 1;\n  }\n  (*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);\n  return;\n}\n\n" comment (function_definition "void share_activate(void *state,char *server_verstring)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  ssh_sharing_connstate *cs;\n  char *pcVar4;\n  \n  puVar1 = PTR_DAT_000ad2c8;\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(server_verstring,PTR_DAT_000ad2c8 + 0x6244);\n  pcVar4 = server_verstring + iVar2;\n  if (*pcVar4 != '\0') {\n    pcVar4 = pcVar4 + 1;\n  }\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar4,puVar1 + 0x6244);\n  pcVar4 = pcVar4 + iVar2;\n  if (*pcVar4 != '\0') {\n    pcVar4 = pcVar4 + 1;\n  }\n  iVar2 = 0;\n  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar4);\n  *(undefined4 *)((int)state + 0x18) = uVar3;\n  while( true ) {\n    cs = (ssh_sharing_connstate *)index234(*(tree234 **)((int)state + 0xc),iVar2);\n    if (cs == (ssh_sharing_connstate *)0x0) {\n      return;\n    }\n    if (cs->sent_verstring != 0) break;\n    share_send_verstring(cs);\n    iVar2 = iVar2 + 1;\n  }\n  (*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);\n  return;\n}" primitive_type (function_declarator "share_activate(void *state,char *server_verstring)" identifier (parameter_list "(void *state,char *server_verstring)" ( (parameter_declaration "void *state" primitive_type (pointer_declarator "*state" * identifier)) , (parameter_declaration "char *server_verstring" primitive_type (pointer_declarator "*server_verstring" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  ssh_sharing_connstate *cs;\n  char *pcVar4;\n  \n  puVar1 = PTR_DAT_000ad2c8;\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(server_verstring,PTR_DAT_000ad2c8 + 0x6244);\n  pcVar4 = server_verstring + iVar2;\n  if (*pcVar4 != '\0') {\n    pcVar4 = pcVar4 + 1;\n  }\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar4,puVar1 + 0x6244);\n  pcVar4 = pcVar4 + iVar2;\n  if (*pcVar4 != '\0') {\n    pcVar4 = pcVar4 + 1;\n  }\n  iVar2 = 0;\n  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar4);\n  *(undefined4 *)((int)state + 0x18) = uVar3;\n  while( true ) {\n    cs = (ssh_sharing_connstate *)index234(*(tree234 **)((int)state + 0xc),iVar2);\n    if (cs == (ssh_sharing_connstate *)0x0) {\n      return;\n    }\n    if (cs->sent_verstring != 0) break;\n    share_send_verstring(cs);\n    iVar2 = iVar2 + 1;\n  }\n  (*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "ssh_sharing_connstate *cs;" type_identifier (pointer_declarator "*cs" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "puVar1 = PTR_DAT_000ad2c8;" (assignment_expression "puVar1 = PTR_DAT_000ad2c8" identifier = identifier) ;) (expression_statement "iVar2 = (*(code *)PTR_strcspn_000adcf8)(server_verstring,PTR_DAT_000ad2c8 + 0x6244);" (assignment_expression "iVar2 = (*(code *)PTR_strcspn_000adcf8)(server_verstring,PTR_DAT_000ad2c8 + 0x6244)" identifier = (call_expression "(*(code *)PTR_strcspn_000adcf8)(server_verstring,PTR_DAT_000ad2c8 + 0x6244)" (parenthesized_expression "(*(code *)PTR_strcspn_000adcf8)" ( (pointer_expression "*(code *)PTR_strcspn_000adcf8" * (cast_expression "(code *)PTR_strcspn_000adcf8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(server_verstring,PTR_DAT_000ad2c8 + 0x6244)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + 0x6244" identifier + number_literal) )))) ;) (expression_statement "pcVar4 = server_verstring + iVar2;" (assignment_expression "pcVar4 = server_verstring + iVar2" identifier = (binary_expression "server_verstring + iVar2" identifier + identifier)) ;) (if_statement "if (*pcVar4 != '\0') {\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "(*pcVar4 != '\0')" ( (binary_expression "*pcVar4 != '\0'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar4,puVar1 + 0x6244);" (assignment_expression "iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar4,puVar1 + 0x6244)" identifier = (call_expression "(*(code *)PTR_strcspn_000adcf8)(pcVar4,puVar1 + 0x6244)" (parenthesized_expression "(*(code *)PTR_strcspn_000adcf8)" ( (pointer_expression "*(code *)PTR_strcspn_000adcf8" * (cast_expression "(code *)PTR_strcspn_000adcf8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,puVar1 + 0x6244)" ( identifier , (binary_expression "puVar1 + 0x6244" identifier + number_literal) )))) ;) (expression_statement "pcVar4 = pcVar4 + iVar2;" (assignment_expression "pcVar4 = pcVar4 + iVar2" identifier = (binary_expression "pcVar4 + iVar2" identifier + identifier)) ;) (if_statement "if (*pcVar4 != '\0') {\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "(*pcVar4 != '\0')" ( (binary_expression "*pcVar4 != '\0'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar4);" (assignment_expression "uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar4)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(pcVar4)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "*(undefined4 *)((int)state + 0x18) = uVar3;" (assignment_expression "*(undefined4 *)((int)state + 0x18) = uVar3" (pointer_expression "*(undefined4 *)((int)state + 0x18)" * (cast_expression "(undefined4 *)((int)state + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)state + 0x18)" ( (binary_expression "(int)state + 0x18" (cast_expression "(int)state" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (while_statement "while( true ) {\n    cs = (ssh_sharing_connstate *)index234(*(tree234 **)((int)state + 0xc),iVar2);\n    if (cs == (ssh_sharing_connstate *)0x0) {\n      return;\n    }\n    if (cs->sent_verstring != 0) break;\n    share_send_verstring(cs);\n    iVar2 = iVar2 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    cs = (ssh_sharing_connstate *)index234(*(tree234 **)((int)state + 0xc),iVar2);\n    if (cs == (ssh_sharing_connstate *)0x0) {\n      return;\n    }\n    if (cs->sent_verstring != 0) break;\n    share_send_verstring(cs);\n    iVar2 = iVar2 + 1;\n  }" { (expression_statement "cs = (ssh_sharing_connstate *)index234(*(tree234 **)((int)state + 0xc),iVar2);" (assignment_expression "cs = (ssh_sharing_connstate *)index234(*(tree234 **)((int)state + 0xc),iVar2)" identifier = (cast_expression "(ssh_sharing_connstate *)index234(*(tree234 **)((int)state + 0xc),iVar2)" ( (type_descriptor "ssh_sharing_connstate *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "index234(*(tree234 **)((int)state + 0xc),iVar2)" identifier (argument_list "(*(tree234 **)((int)state + 0xc),iVar2)" ( (pointer_expression "*(tree234 **)((int)state + 0xc)" * (cast_expression "(tree234 **)((int)state + 0xc)" ( (type_descriptor "tree234 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)state + 0xc)" ( (binary_expression "(int)state + 0xc" (cast_expression "(int)state" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier ))))) ;) (if_statement "if (cs == (ssh_sharing_connstate *)0x0) {\n      return;\n    }" if (parenthesized_expression "(cs == (ssh_sharing_connstate *)0x0)" ( (binary_expression "cs == (ssh_sharing_connstate *)0x0" identifier == (cast_expression "(ssh_sharing_connstate *)0x0" ( (type_descriptor "ssh_sharing_connstate *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if (cs->sent_verstring != 0) break;" if (parenthesized_expression "(cs->sent_verstring != 0)" ( (binary_expression "cs->sent_verstring != 0" (field_expression "cs->sent_verstring" identifier -> field_identifier) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "share_send_verstring(cs);" (call_expression "share_send_verstring(cs)" identifier (argument_list "(cs)" ( identifier ))) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) })) (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x7124" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + 0x6d3c" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0x7270" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void share_activate(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR_DAT_000ad2c8;\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);\n  pcVar5 = (char *)(param_2 + iVar2);\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);\n  pcVar5 = pcVar5 + iVar2;\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = 0;\n  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  while( true ) {\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }\n  (*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);\n  return;\n}\n\n" (function_definition "void share_activate(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR_DAT_000ad2c8;\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);\n  pcVar5 = (char *)(param_2 + iVar2);\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);\n  pcVar5 = pcVar5 + iVar2;\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = 0;\n  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  while( true ) {\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }\n  (*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);\n  return;\n}" primitive_type (function_declarator "share_activate(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  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR_DAT_000ad2c8;\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);\n  pcVar5 = (char *)(param_2 + iVar2);\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);\n  pcVar5 = pcVar5 + iVar2;\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = 0;\n  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  while( true ) {\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }\n  (*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "puVar1 = PTR_DAT_000ad2c8;" (assignment_expression "puVar1 = PTR_DAT_000ad2c8" identifier = identifier) ;) (expression_statement "iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);" (assignment_expression "iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244)" identifier = (call_expression "(*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244)" (parenthesized_expression "(*(code *)PTR_strcspn_000adcf8)" ( (pointer_expression "*(code *)PTR_strcspn_000adcf8" * (cast_expression "(code *)PTR_strcspn_000adcf8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_DAT_000ad2c8 + 0x6244)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + 0x6244" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (char *)(param_2 + iVar2);" (assignment_expression "pcVar5 = (char *)(param_2 + iVar2)" identifier = (cast_expression "(char *)(param_2 + iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar2)" ( (binary_expression "param_2 + iVar2" identifier + identifier) )))) ;) (if_statement "if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }" if (parenthesized_expression "(*pcVar5 != '\0')" ( (binary_expression "*pcVar5 != '\0'" (pointer_expression "*pcVar5" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar5 = pcVar5 + 1;\n  }" { (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);" (assignment_expression "iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244)" identifier = (call_expression "(*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244)" (parenthesized_expression "(*(code *)PTR_strcspn_000adcf8)" ( (pointer_expression "*(code *)PTR_strcspn_000adcf8" * (cast_expression "(code *)PTR_strcspn_000adcf8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5,puVar1 + 0x6244)" ( identifier , (binary_expression "puVar1 + 0x6244" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = pcVar5 + iVar2;" (assignment_expression "pcVar5 = pcVar5 + iVar2" identifier = (binary_expression "pcVar5 + iVar2" identifier + identifier)) ;) (if_statement "if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }" if (parenthesized_expression "(*pcVar5 != '\0')" ( (binary_expression "*pcVar5 != '\0'" (pointer_expression "*pcVar5" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar5 = pcVar5 + 1;\n  }" { (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);" (assignment_expression "uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5)" identifier = (call_expression "(*(code *)PTR_dupstr_000ad2dc)(pcVar5)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" ( (pointer_expression "*(code *)PTR_dupstr_000ad2dc" * (cast_expression "(code *)PTR_dupstr_000ad2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x18) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = identifier) ;) (while_statement "while( true ) {\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }" { (expression_statement "iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);" (assignment_expression "iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2)" identifier = (call_expression "index234(*(undefined4 *)(param_1 + 0xc),iVar2)" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc),iVar2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar4 == 0) {\n      return;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if (*(int *)(iVar4 + 0x14) != 0) break;" if (parenthesized_expression "(*(int *)(iVar4 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x14) != 0" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_0006f6ac(iVar4);" (call_expression "FUN_0006f6ac(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) })) (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270)" ( (binary_expression "PTR_DAT_000ad2c8 + 0x7124" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + 0x6d3c" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0x7270" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void share_activate(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR_DAT_000ad2c8;\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);\n  pcVar5 = (char *)(param_2 + iVar2);\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);\n  pcVar5 = pcVar5 + iVar2;\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = 0;\n  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  while( true ) {\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }\n  (*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);\n  return;\n}" (primitive_type "void") (function_declarator "share_activate(int param_1,int param_2)" (identifier "share_activate") (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  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR_DAT_000ad2c8;\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);\n  pcVar5 = (char *)(param_2 + iVar2);\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);\n  pcVar5 = pcVar5 + iVar2;\n  if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }\n  iVar2 = 0;\n  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);\n  *(undefined4 *)(param_1 + 0x18) = uVar3;\n  while( true ) {\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }\n  (*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (expression_statement "puVar1 = PTR_DAT_000ad2c8;" (assignment_expression "puVar1 = PTR_DAT_000ad2c8" (identifier "puVar1") (= "=") (identifier "PTR_DAT_000ad2c8")) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);" (assignment_expression "iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244)" (parenthesized_expression "(*(code *)PTR_strcspn_000adcf8)" (( "(") (pointer_expression "*(code *)PTR_strcspn_000adcf8" (* "*") (cast_expression "(code *)PTR_strcspn_000adcf8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcspn_000adcf8"))) () ")")) (argument_list "(param_2,PTR_DAT_000ad2c8 + 0x6244)" (( "(") (identifier "param_2") (, ",") (binary_expression "PTR_DAT_000ad2c8 + 0x6244" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x6244")) () ")")))) (; ";")) (expression_statement "pcVar5 = (char *)(param_2 + iVar2);" (assignment_expression "pcVar5 = (char *)(param_2 + iVar2)" (identifier "pcVar5") (= "=") (cast_expression "(char *)(param_2 + iVar2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar2)" (( "(") (binary_expression "param_2 + iVar2" (identifier "param_2") (+ "+") (identifier "iVar2")) () ")")))) (; ";")) (if_statement "if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }" (if "if") (parenthesized_expression "(*pcVar5 != '\0')" (( "(") (binary_expression "*pcVar5 != '\0'" (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    pcVar5 = pcVar5 + 1;\n  }" ({ "{") (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);" (assignment_expression "iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244)" (parenthesized_expression "(*(code *)PTR_strcspn_000adcf8)" (( "(") (pointer_expression "*(code *)PTR_strcspn_000adcf8" (* "*") (cast_expression "(code *)PTR_strcspn_000adcf8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcspn_000adcf8"))) () ")")) (argument_list "(pcVar5,puVar1 + 0x6244)" (( "(") (identifier "pcVar5") (, ",") (binary_expression "puVar1 + 0x6244" (identifier "puVar1") (+ "+") (number_literal "0x6244")) () ")")))) (; ";")) (expression_statement "pcVar5 = pcVar5 + iVar2;" (assignment_expression "pcVar5 = pcVar5 + iVar2" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + iVar2" (identifier "pcVar5") (+ "+") (identifier "iVar2"))) (; ";")) (if_statement "if (*pcVar5 != '\0') {\n    pcVar5 = pcVar5 + 1;\n  }" (if "if") (parenthesized_expression "(*pcVar5 != '\0')" (( "(") (binary_expression "*pcVar5 != '\0'" (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    pcVar5 = pcVar5 + 1;\n  }" ({ "{") (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);" (assignment_expression "uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dupstr_000ad2dc)(pcVar5)" (parenthesized_expression "(*(code *)PTR_dupstr_000ad2dc)" (( "(") (pointer_expression "*(code *)PTR_dupstr_000ad2dc" (* "*") (cast_expression "(code *)PTR_dupstr_000ad2dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupstr_000ad2dc"))) () ")")) (argument_list "(pcVar5)" (( "(") (identifier "pcVar5") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x18) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (while_statement "while( true ) {\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);\n    if (iVar4 == 0) {\n      return;\n    }\n    if (*(int *)(iVar4 + 0x14) != 0) break;\n    FUN_0006f6ac(iVar4);\n    iVar2 = iVar2 + 1;\n  }" ({ "{") (expression_statement "iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);" (assignment_expression "iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2)" (identifier "iVar4") (= "=") (call_expression "index234(*(undefined4 *)(param_1 + 0xc),iVar2)" (identifier "index234") (argument_list "(*(undefined4 *)(param_1 + 0xc),iVar2)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "iVar2") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar4 + 0x14) != 0) break;" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x14) != 0" (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "FUN_0006f6ac(iVar4);" (call_expression "FUN_0006f6ac(iVar4)" (identifier "FUN_0006f6ac") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000adb00" (* "*") (cast_expression "(code *)PTR___assert_fail_000adb00" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000adb00"))) () ")")) (argument_list "(PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + 0x7124" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x7124")) (, ",") (binary_expression "PTR_DAT_000ad2c8 + 0x6d3c" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x6d3c")) (, ",") (number_literal "0x789") (, ",") (binary_expression "PTR_DAT_000ad2c8 + 0x7270" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0x7270")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void *state,char *var_2)

{
  type_1 *var_5;
  int var_3;
  type_2 uVar3;
  type_3 *var_7;
  char *var_4;
  
  var_5 = var_1;
  var_3 = (*(type_4 *)PTR_strcspn_000adcf8)(var_2,var_1 + 0x6244);
  var_4 = var_2 + var_3;
  if (*var_4 != '\0') {
    var_4 = var_4 + 1;
  }
  var_3 = (*(type_4 *)PTR_strcspn_000adcf8)(var_4,var_5 + 0x6244);
  var_4 = var_4 + var_3;
  if (*var_4 != '\0') {
    var_4 = var_4 + 1;
  }
  var_3 = 0;
  uVar3 = (*(type_4 *)PTR_dupstr_000ad2dc)(var_4);
  *(type_2 *)((int)state + 0x18) = uVar3;
  while( true ) {
    var_7 = (type_3 *)var_6(*(type_5 **)((int)state + 0xc),var_3);
    if (var_7 == (type_3 *)0x0) {
      return;
    }
    if (var_7->sent_verstring != 0) break;
    var_8(var_7);
    var_3 = var_3 + 1;
  }
  (*(type_4 *)PTR___assert_fail_000adb00)
            (var_1 + 0x7124,var_1 + 0x6d3c,0x789,var_1 + 0x7270);
  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 (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (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: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_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: (number_literal))) consequence: (break_statement)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

void MASKED(int param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  char *pcVar5;
  
  puVar1 = PTR_DAT_000ad2c8;
  iVar2 = (*(code *)PTR_strcspn_000adcf8)(param_2,PTR_DAT_000ad2c8 + 0x6244);
  pcVar5 = (char *)(param_2 + iVar2);
  if (*pcVar5 != '\0') {
    pcVar5 = pcVar5 + 1;
  }
  iVar2 = (*(code *)PTR_strcspn_000adcf8)(pcVar5,puVar1 + 0x6244);
  pcVar5 = pcVar5 + iVar2;
  if (*pcVar5 != '\0') {
    pcVar5 = pcVar5 + 1;
  }
  iVar2 = 0;
  uVar3 = (*(code *)PTR_dupstr_000ad2dc)(pcVar5);
  *(undefined4 *)(param_1 + 0x18) = uVar3;
  while( true ) {
    iVar4 = index234(*(undefined4 *)(param_1 + 0xc),iVar2);
    if (iVar4 == 0) {
      return;
    }
    if (*(int *)(iVar4 + 0x14) != 0) break;
    FUN_0006f6ac(iVar4);
    iVar2 = iVar2 + 1;
  }
  (*(code *)PTR___assert_fail_000adb00)
            (PTR_DAT_000ad2c8 + 0x7124,PTR_DAT_000ad2c8 + 0x6d3c,0x789,PTR_DAT_000ad2c8 + 0x7270);
  return;
}

