
int it_init_hostnames(ITEMLIST *itp)

{
  STRINGLIST *pSVar1;
  char **ppcVar2;
  int iVar3;
  uint uVar4;
  
  pSVar1 = (STRINGLIST *)(*(code *)PTR_strlist_create_00145778)(0);
  ppcVar2 = get_hostname_list();
  pSVar1->list = ppcVar2;
  if (ppcVar2 != (char **)0x0) {
    iVar3 = (*(code *)PTR_strvec_len_00144cc8)(ppcVar2);
    uVar4 = itp->flags;
    pSVar1->list_len = iVar3;
    pSVar1->list_size = iVar3;
    itp->slist = pSVar1;
    itp->flags = uVar4 | 0x30;
    return 0;
  }
  uVar4 = itp->flags;
  pSVar1->list_len = 0;
  pSVar1->list_size = 0;
  itp->slist = pSVar1;
  itp->flags = uVar4 | 0x30;
  return 0;
}



undefined4 FUN_000a9434(uint *param_1)

{
  int *piVar1;
  int iVar2;
  uint uVar3;
  
  piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);
  iVar2 = get_hostname_list();
  *piVar1 = iVar2;
  if (iVar2 != 0) {
    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);
    uVar3 = *param_1;
    piVar1[2] = iVar2;
    piVar1[1] = iVar2;
    param_1[2] = (uint)piVar1;
    *param_1 = uVar3 | 0x30;
    return 0;
  }
  uVar3 = *param_1;
  piVar1[2] = 0;
  piVar1[1] = 0;
  param_1[2] = (uint)piVar1;
  *param_1 = uVar3 | 0x30;
  return 0;
}


lui gp,0xa
addiu gp,gp,0x310c
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x6dc8(gp)
sw s1,0x20(sp)
or s1,a0,zero
or a0,zero,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
jalr t9
_sw s0,0x1c(sp)
lw gp,0x10(sp)
lw t9,-0x6dc0(gp)
bal 0x000a1edc
_or s0,v0,zero
lw gp,0x10(sp)
beq v0,zero,0x000a94c0
_sw v0,0x0(s0)
lw t9,-0x7878(gp)
jalr t9
_or a0,v0,zero
lw v1,0x0(s1)
or a0,v0,zero
lw ra,0x24(sp)
or v0,zero,zero
sw a0,0x8(s0)
ori v1,v1,0x30
sw a0,0x4(s0)
sw s0,0x8(s1)
sw v1,0x0(s1)
lw s0,0x1c(sp)
lw s1,0x20(sp)
jr ra
_addiu sp,sp,0x28
lw v1,0x0(s1)
or a0,zero,zero
lw ra,0x24(sp)
or v0,zero,zero
sw a0,0x8(s0)
ori v1,v1,0x30
sw a0,0x4(s0)
sw s0,0x8(s1)
sw v1,0x0(s1)
lw s0,0x1c(sp)
lw s1,0x20(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 FUN_000a9434(uint *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  \n  piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);\n  iVar2 = get_hostname_list();\n  *piVar1 = iVar2;\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }\n  uVar3 = *param_1;\n  piVar1[2] = 0;\n  piVar1[1] = 0;\n  param_1[2] = (uint)piVar1;\n  *param_1 = uVar3 | 0x30;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000a9434(uint *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  \n  piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);\n  iVar2 = get_hostname_list();\n  *piVar1 = iVar2;\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }\n  uVar3 = *param_1;\n  piVar1[2] = 0;\n  piVar1[1] = 0;\n  param_1[2] = (uint)piVar1;\n  *param_1 = uVar3 | 0x30;\n  return 0;\n}" type_identifier (function_declarator "FUN_000a9434(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  \n  piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);\n  iVar2 = get_hostname_list();\n  *piVar1 = iVar2;\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }\n  uVar3 = *param_1;\n  piVar1[2] = 0;\n  piVar1[1] = 0;\n  param_1[2] = (uint)piVar1;\n  *param_1 = uVar3 | 0x30;\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0)" identifier = (cast_expression "(int *)(*(code *)PTR_strlist_create_00145778)(0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strlist_create_00145778)(0)" (parenthesized_expression "(*(code *)PTR_strlist_create_00145778)" ( (pointer_expression "*(code *)PTR_strlist_create_00145778" * (cast_expression "(code *)PTR_strlist_create_00145778" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal ))))) ;) (expression_statement "iVar2 = get_hostname_list();" (assignment_expression "iVar2 = get_hostname_list()" identifier = (call_expression "get_hostname_list()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar1 = iVar2;" (assignment_expression "*piVar1 = iVar2" (pointer_expression "*piVar1" * identifier) = identifier) ;) (if_statement "if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);" (assignment_expression "iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2)" identifier = (call_expression "(*(code *)PTR_strvec_len_00144cc8)(iVar2)" (parenthesized_expression "(*(code *)PTR_strvec_len_00144cc8)" ( (pointer_expression "*(code *)PTR_strvec_len_00144cc8" * (cast_expression "(code *)PTR_strvec_len_00144cc8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar1[2] = iVar2;" (assignment_expression "piVar1[2] = iVar2" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1[1] = iVar2;" (assignment_expression "piVar1[1] = iVar2" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = (uint)piVar1;" (assignment_expression "param_1[2] = (uint)piVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(uint)piVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*param_1 = uVar3 | 0x30;" (assignment_expression "*param_1 = uVar3 | 0x30" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar3 | 0x30" identifier | number_literal)) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar1[2] = 0;" (assignment_expression "piVar1[2] = 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = (uint)piVar1;" (assignment_expression "param_1[2] = (uint)piVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(uint)piVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*param_1 = uVar3 | 0x30;" (assignment_expression "*param_1 = uVar3 | 0x30" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar3 | 0x30" identifier | number_literal)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int it_init_hostnames(ITEMLIST *itp)\n\n{\n  STRINGLIST *pSVar1;\n  char **ppcVar2;\n  int iVar3;\n  uint uVar4;\n  \n  pSVar1 = (STRINGLIST *)(*(code *)PTR_strlist_create_00145778)(0);\n  ppcVar2 = get_hostname_list();\n  pSVar1->list = ppcVar2;\n  if (ppcVar2 != (char **)0x0) {\n    iVar3 = (*(code *)PTR_strvec_len_00144cc8)(ppcVar2);\n    uVar4 = itp->flags;\n    pSVar1->list_len = iVar3;\n    pSVar1->list_size = iVar3;\n    itp->slist = pSVar1;\n    itp->flags = uVar4 | 0x30;\n    return 0;\n  }\n  uVar4 = itp->flags;\n  pSVar1->list_len = 0;\n  pSVar1->list_size = 0;\n  itp->slist = pSVar1;\n  itp->flags = uVar4 | 0x30;\n  return 0;\n}\n\n" (function_definition "int it_init_hostnames(ITEMLIST *itp)\n\n{\n  STRINGLIST *pSVar1;\n  char **ppcVar2;\n  int iVar3;\n  uint uVar4;\n  \n  pSVar1 = (STRINGLIST *)(*(code *)PTR_strlist_create_00145778)(0);\n  ppcVar2 = get_hostname_list();\n  pSVar1->list = ppcVar2;\n  if (ppcVar2 != (char **)0x0) {\n    iVar3 = (*(code *)PTR_strvec_len_00144cc8)(ppcVar2);\n    uVar4 = itp->flags;\n    pSVar1->list_len = iVar3;\n    pSVar1->list_size = iVar3;\n    itp->slist = pSVar1;\n    itp->flags = uVar4 | 0x30;\n    return 0;\n  }\n  uVar4 = itp->flags;\n  pSVar1->list_len = 0;\n  pSVar1->list_size = 0;\n  itp->slist = pSVar1;\n  itp->flags = uVar4 | 0x30;\n  return 0;\n}" primitive_type (function_declarator "it_init_hostnames(ITEMLIST *itp)" identifier (parameter_list "(ITEMLIST *itp)" ( (parameter_declaration "ITEMLIST *itp" type_identifier (pointer_declarator "*itp" * identifier)) ))) (compound_statement "{\n  STRINGLIST *pSVar1;\n  char **ppcVar2;\n  int iVar3;\n  uint uVar4;\n  \n  pSVar1 = (STRINGLIST *)(*(code *)PTR_strlist_create_00145778)(0);\n  ppcVar2 = get_hostname_list();\n  pSVar1->list = ppcVar2;\n  if (ppcVar2 != (char **)0x0) {\n    iVar3 = (*(code *)PTR_strvec_len_00144cc8)(ppcVar2);\n    uVar4 = itp->flags;\n    pSVar1->list_len = iVar3;\n    pSVar1->list_size = iVar3;\n    itp->slist = pSVar1;\n    itp->flags = uVar4 | 0x30;\n    return 0;\n  }\n  uVar4 = itp->flags;\n  pSVar1->list_len = 0;\n  pSVar1->list_size = 0;\n  itp->slist = pSVar1;\n  itp->flags = uVar4 | 0x30;\n  return 0;\n}" { (declaration "STRINGLIST *pSVar1;" type_identifier (pointer_declarator "*pSVar1" * identifier) ;) (declaration "char **ppcVar2;" primitive_type (pointer_declarator "**ppcVar2" * (pointer_declarator "*ppcVar2" * identifier)) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "pSVar1 = (STRINGLIST *)(*(code *)PTR_strlist_create_00145778)(0);" (assignment_expression "pSVar1 = (STRINGLIST *)(*(code *)PTR_strlist_create_00145778)(0)" identifier = (cast_expression "(STRINGLIST *)(*(code *)PTR_strlist_create_00145778)(0)" ( (type_descriptor "STRINGLIST *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strlist_create_00145778)(0)" (parenthesized_expression "(*(code *)PTR_strlist_create_00145778)" ( (pointer_expression "*(code *)PTR_strlist_create_00145778" * (cast_expression "(code *)PTR_strlist_create_00145778" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal ))))) ;) (expression_statement "ppcVar2 = get_hostname_list();" (assignment_expression "ppcVar2 = get_hostname_list()" identifier = (call_expression "get_hostname_list()" identifier (argument_list "()" ( )))) ;) (expression_statement "pSVar1->list = ppcVar2;" (assignment_expression "pSVar1->list = ppcVar2" (field_expression "pSVar1->list" identifier -> field_identifier) = identifier) ;) (if_statement "if (ppcVar2 != (char **)0x0) {\n    iVar3 = (*(code *)PTR_strvec_len_00144cc8)(ppcVar2);\n    uVar4 = itp->flags;\n    pSVar1->list_len = iVar3;\n    pSVar1->list_size = iVar3;\n    itp->slist = pSVar1;\n    itp->flags = uVar4 | 0x30;\n    return 0;\n  }" if (parenthesized_expression "(ppcVar2 != (char **)0x0)" ( (binary_expression "ppcVar2 != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_strvec_len_00144cc8)(ppcVar2);\n    uVar4 = itp->flags;\n    pSVar1->list_len = iVar3;\n    pSVar1->list_size = iVar3;\n    itp->slist = pSVar1;\n    itp->flags = uVar4 | 0x30;\n    return 0;\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strvec_len_00144cc8)(ppcVar2);" (assignment_expression "iVar3 = (*(code *)PTR_strvec_len_00144cc8)(ppcVar2)" identifier = (call_expression "(*(code *)PTR_strvec_len_00144cc8)(ppcVar2)" (parenthesized_expression "(*(code *)PTR_strvec_len_00144cc8)" ( (pointer_expression "*(code *)PTR_strvec_len_00144cc8" * (cast_expression "(code *)PTR_strvec_len_00144cc8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ppcVar2)" ( identifier )))) ;) (expression_statement "uVar4 = itp->flags;" (assignment_expression "uVar4 = itp->flags" identifier = (field_expression "itp->flags" identifier -> field_identifier)) ;) (expression_statement "pSVar1->list_len = iVar3;" (assignment_expression "pSVar1->list_len = iVar3" (field_expression "pSVar1->list_len" identifier -> field_identifier) = identifier) ;) (expression_statement "pSVar1->list_size = iVar3;" (assignment_expression "pSVar1->list_size = iVar3" (field_expression "pSVar1->list_size" identifier -> field_identifier) = identifier) ;) (expression_statement "itp->slist = pSVar1;" (assignment_expression "itp->slist = pSVar1" (field_expression "itp->slist" identifier -> field_identifier) = identifier) ;) (expression_statement "itp->flags = uVar4 | 0x30;" (assignment_expression "itp->flags = uVar4 | 0x30" (field_expression "itp->flags" identifier -> field_identifier) = (binary_expression "uVar4 | 0x30" identifier | number_literal)) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar4 = itp->flags;" (assignment_expression "uVar4 = itp->flags" identifier = (field_expression "itp->flags" identifier -> field_identifier)) ;) (expression_statement "pSVar1->list_len = 0;" (assignment_expression "pSVar1->list_len = 0" (field_expression "pSVar1->list_len" identifier -> field_identifier) = number_literal) ;) (expression_statement "pSVar1->list_size = 0;" (assignment_expression "pSVar1->list_size = 0" (field_expression "pSVar1->list_size" identifier -> field_identifier) = number_literal) ;) (expression_statement "itp->slist = pSVar1;" (assignment_expression "itp->slist = pSVar1" (field_expression "itp->slist" identifier -> field_identifier) = identifier) ;) (expression_statement "itp->flags = uVar4 | 0x30;" (assignment_expression "itp->flags = uVar4 | 0x30" (field_expression "itp->flags" identifier -> field_identifier) = (binary_expression "uVar4 | 0x30" identifier | number_literal)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_000a9434(uint *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  \n  piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);\n  iVar2 = get_hostname_list();\n  *piVar1 = iVar2;\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }\n  uVar3 = *param_1;\n  piVar1[2] = 0;\n  piVar1[1] = 0;\n  param_1[2] = (uint)piVar1;\n  *param_1 = uVar3 | 0x30;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000a9434(uint *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  \n  piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);\n  iVar2 = get_hostname_list();\n  *piVar1 = iVar2;\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }\n  uVar3 = *param_1;\n  piVar1[2] = 0;\n  piVar1[1] = 0;\n  param_1[2] = (uint)piVar1;\n  *param_1 = uVar3 | 0x30;\n  return 0;\n}" type_identifier (function_declarator "FUN_000a9434(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  \n  piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);\n  iVar2 = get_hostname_list();\n  *piVar1 = iVar2;\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }\n  uVar3 = *param_1;\n  piVar1[2] = 0;\n  piVar1[1] = 0;\n  param_1[2] = (uint)piVar1;\n  *param_1 = uVar3 | 0x30;\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0)" identifier = (cast_expression "(int *)(*(code *)PTR_strlist_create_00145778)(0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strlist_create_00145778)(0)" (parenthesized_expression "(*(code *)PTR_strlist_create_00145778)" ( (pointer_expression "*(code *)PTR_strlist_create_00145778" * (cast_expression "(code *)PTR_strlist_create_00145778" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal ))))) ;) (expression_statement "iVar2 = get_hostname_list();" (assignment_expression "iVar2 = get_hostname_list()" identifier = (call_expression "get_hostname_list()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar1 = iVar2;" (assignment_expression "*piVar1 = iVar2" (pointer_expression "*piVar1" * identifier) = identifier) ;) (if_statement "if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);" (assignment_expression "iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2)" identifier = (call_expression "(*(code *)PTR_strvec_len_00144cc8)(iVar2)" (parenthesized_expression "(*(code *)PTR_strvec_len_00144cc8)" ( (pointer_expression "*(code *)PTR_strvec_len_00144cc8" * (cast_expression "(code *)PTR_strvec_len_00144cc8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar1[2] = iVar2;" (assignment_expression "piVar1[2] = iVar2" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1[1] = iVar2;" (assignment_expression "piVar1[1] = iVar2" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = (uint)piVar1;" (assignment_expression "param_1[2] = (uint)piVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(uint)piVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*param_1 = uVar3 | 0x30;" (assignment_expression "*param_1 = uVar3 | 0x30" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar3 | 0x30" identifier | number_literal)) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar1[2] = 0;" (assignment_expression "piVar1[2] = 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = (uint)piVar1;" (assignment_expression "param_1[2] = (uint)piVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(uint)piVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*param_1 = uVar3 | 0x30;" (assignment_expression "*param_1 = uVar3 | 0x30" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar3 | 0x30" identifier | number_literal)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT | LIT)) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT | LIT)) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000a9434(uint *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  \n  piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);\n  iVar2 = get_hostname_list();\n  *piVar1 = iVar2;\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }\n  uVar3 = *param_1;\n  piVar1[2] = 0;\n  piVar1[1] = 0;\n  param_1[2] = (uint)piVar1;\n  *param_1 = uVar3 | 0x30;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_000a9434(uint *param_1)" (identifier "FUN_000a9434") (parameter_list "(uint *param_1)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  uint uVar3;\n  \n  piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);\n  iVar2 = get_hostname_list();\n  *piVar1 = iVar2;\n  if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }\n  uVar3 = *param_1;\n  piVar1[2] = 0;\n  piVar1[1] = 0;\n  param_1[2] = (uint)piVar1;\n  *param_1 = uVar3 | 0x30;\n  return 0;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (expression_statement "piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0)" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(code *)PTR_strlist_create_00145778)(0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strlist_create_00145778)(0)" (parenthesized_expression "(*(code *)PTR_strlist_create_00145778)" (( "(") (pointer_expression "*(code *)PTR_strlist_create_00145778" (* "*") (cast_expression "(code *)PTR_strlist_create_00145778" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlist_create_00145778"))) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")"))))) (; ";")) (expression_statement "iVar2 = get_hostname_list();" (assignment_expression "iVar2 = get_hostname_list()" (identifier "iVar2") (= "=") (call_expression "get_hostname_list()" (identifier "get_hostname_list") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*piVar1 = iVar2;" (assignment_expression "*piVar1 = iVar2" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (iVar2 != 0) {\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);\n    uVar3 = *param_1;\n    piVar1[2] = iVar2;\n    piVar1[1] = iVar2;\n    param_1[2] = (uint)piVar1;\n    *param_1 = uVar3 | 0x30;\n    return 0;\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);" (assignment_expression "iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strvec_len_00144cc8)(iVar2)" (parenthesized_expression "(*(code *)PTR_strvec_len_00144cc8)" (( "(") (pointer_expression "*(code *)PTR_strvec_len_00144cc8" (* "*") (cast_expression "(code *)PTR_strvec_len_00144cc8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strvec_len_00144cc8"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "piVar1[2] = iVar2;" (assignment_expression "piVar1[2] = iVar2" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "piVar1[1] = iVar2;" (assignment_expression "piVar1[1] = iVar2" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "param_1[2] = (uint)piVar1;" (assignment_expression "param_1[2] = (uint)piVar1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(uint)piVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar1"))) (; ";")) (expression_statement "*param_1 = uVar3 | 0x30;" (assignment_expression "*param_1 = uVar3 | 0x30" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "uVar3 | 0x30" (identifier "uVar3") (| "|") (number_literal "0x30"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "piVar1[2] = 0;" (assignment_expression "piVar1[2] = 0" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[2] = (uint)piVar1;" (assignment_expression "param_1[2] = (uint)piVar1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(uint)piVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar1"))) (; ";")) (expression_statement "*param_1 = uVar3 | 0x30;" (assignment_expression "*param_1 = uVar3 | 0x30" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "uVar3 | 0x30" (identifier "uVar3") (| "|") (number_literal "0x30"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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 (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(uint *param_1)

{
  int *piVar1;
  int iVar2;
  uint uVar3;
  
  piVar1 = (int *)(*(code *)PTR_strlist_create_00145778)(0);
  iVar2 = get_hostname_list();
  *piVar1 = iVar2;
  if (iVar2 != 0) {
    iVar2 = (*(code *)PTR_strvec_len_00144cc8)(iVar2);
    uVar3 = *param_1;
    piVar1[2] = iVar2;
    piVar1[1] = iVar2;
    param_1[2] = (uint)piVar1;
    *param_1 = uVar3 | 0x30;
    return 0;
  }
  uVar3 = *param_1;
  piVar1[2] = 0;
  piVar1[1] = 0;
  param_1[2] = (uint)piVar1;
  *param_1 = uVar3 | 0x30;
  return 0;
}

