
void lang_append_dynamic_list(bfd_elf_version_expr *dynamic)

{
  bfd_elf_version_expr *pbVar1;
  bfd_elf_dynamic_list *pbVar2;
  bfd_elf_version_expr *pbVar3;
  
  pbVar2 = link_info.dynamic_list;
  pbVar1 = dynamic;
  if (link_info.dynamic_list == (bfd_elf_dynamic_list *)0x0) {
    link_info.dynamic_list = (bfd_elf_dynamic_list *)xcalloc(1,0x28);
    ((link_info.dynamic_list)->head).list = dynamic;
    (link_info.dynamic_list)->match = lang_vers_match;
    return;
  }
  do {
    pbVar3 = pbVar1;
    pbVar1 = pbVar3->next;
  } while (pbVar1 != (bfd_elf_version_expr *)0x0);
  pbVar3->next = ((link_info.dynamic_list)->head).list;
  (pbVar2->head).list = dynamic;
  return;
}



void FUN_0011eea0(long *param_1)

{
  long *plVar1;
  long *plVar2;
  long *plVar3;
  
  plVar2 = DAT_00225c58;
  plVar1 = param_1;
  if (DAT_00225c58 == (long *)0x0) {
    DAT_00225c58 = (long *)xcalloc(1,0x28);
    *DAT_00225c58 = (long)param_1;
    DAT_00225c58[4] = (long)FUN_00113f60;
    return;
  }
  do {
    plVar3 = plVar1;
    plVar1 = (long *)*plVar3;
  } while (plVar1 != (long *)0x0);
  *plVar3 = *DAT_00225c58;
  *plVar2 = (long)param_1;
  return;
}


MOV RCX,qword ptr [0x00225c58]
TEST RCX,RCX
JZ 0x0011eed0
MOV RDX,RDI
JMP 0x0011eebb
MOV RDX,RAX
MOV RAX,qword ptr [RDX]
TEST RAX,RAX
JNZ 0x0011eeb8
MOV RAX,qword ptr [RCX]
MOV qword ptr [RDX],RAX
MOV qword ptr [RCX],RDI
RET
PUSH RBX
MOV ESI,0x28
MOV RBX,RDI
MOV EDI,0x1
CALL 0x0010abb0
LEA RSI,[0x113f60]
MOV qword ptr [RAX],RBX
MOV qword ptr [RAX + 0x20],RSI
POP RBX
MOV qword ptr [0x00225c58],RAX
RET
(translation_unit "void FUN_0011eea0(long *param_1)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long *plVar3;\n  \n  plVar2 = DAT_00225c58;\n  plVar1 = param_1;\n  if (DAT_00225c58 == (long *)0x0) {\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }\n  do {\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  } while (plVar1 != (long *)0x0);\n  *plVar3 = *DAT_00225c58;\n  *plVar2 = (long)param_1;\n  return;\n}\n\n" (function_definition "void FUN_0011eea0(long *param_1)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long *plVar3;\n  \n  plVar2 = DAT_00225c58;\n  plVar1 = param_1;\n  if (DAT_00225c58 == (long *)0x0) {\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }\n  do {\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  } while (plVar1 != (long *)0x0);\n  *plVar3 = *DAT_00225c58;\n  *plVar2 = (long)param_1;\n  return;\n}" primitive_type (function_declarator "FUN_0011eea0(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  long *plVar3;\n  \n  plVar2 = DAT_00225c58;\n  plVar1 = param_1;\n  if (DAT_00225c58 == (long *)0x0) {\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }\n  do {\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  } while (plVar1 != (long *)0x0);\n  *plVar3 = *DAT_00225c58;\n  *plVar2 = (long)param_1;\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (expression_statement "plVar2 = DAT_00225c58;" (assignment_expression "plVar2 = DAT_00225c58" identifier = identifier) ;) (expression_statement "plVar1 = param_1;" (assignment_expression "plVar1 = param_1" identifier = identifier) ;) (if_statement "if (DAT_00225c58 == (long *)0x0) {\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }" if (parenthesized_expression "(DAT_00225c58 == (long *)0x0)" ( (binary_expression "DAT_00225c58 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }" { (expression_statement "DAT_00225c58 = (long *)xcalloc(1,0x28);" (assignment_expression "DAT_00225c58 = (long *)xcalloc(1,0x28)" identifier = (cast_expression "(long *)xcalloc(1,0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "xcalloc(1,0x28)" identifier (argument_list "(1,0x28)" ( number_literal , number_literal ))))) ;) (expression_statement "*DAT_00225c58 = (long)param_1;" (assignment_expression "*DAT_00225c58 = (long)param_1" (pointer_expression "*DAT_00225c58" * identifier) = (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "DAT_00225c58[4] = (long)FUN_00113f60;" (assignment_expression "DAT_00225c58[4] = (long)FUN_00113f60" (subscript_expression "DAT_00225c58[4]" identifier [ number_literal ]) = (cast_expression "(long)FUN_00113f60" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (return_statement "return;" return ;) })) (do_statement "do {\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  } while (plVar1 != (long *)0x0);" do (compound_statement "{\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  }" { (expression_statement "plVar3 = plVar1;" (assignment_expression "plVar3 = plVar1" identifier = identifier) ;) (expression_statement "plVar1 = (long *)*plVar3;" (assignment_expression "plVar1 = (long *)*plVar3" identifier = (cast_expression "(long *)*plVar3" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar3" * identifier))) ;) }) while (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "*plVar3 = *DAT_00225c58;" (assignment_expression "*plVar3 = *DAT_00225c58" (pointer_expression "*plVar3" * identifier) = (pointer_expression "*DAT_00225c58" * identifier)) ;) (expression_statement "*plVar2 = (long)param_1;" (assignment_expression "*plVar2 = (long)param_1" (pointer_expression "*plVar2" * identifier) = (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void lang_append_dynamic_list(bfd_elf_version_expr *dynamic)\n\n{\n  bfd_elf_version_expr *pbVar1;\n  bfd_elf_dynamic_list *pbVar2;\n  bfd_elf_version_expr *pbVar3;\n  \n  pbVar2 = link_info.dynamic_list;\n  pbVar1 = dynamic;\n  if (link_info.dynamic_list == (bfd_elf_dynamic_list *)0x0) {\n    link_info.dynamic_list = (bfd_elf_dynamic_list *)xcalloc(1,0x28);\n    ((link_info.dynamic_list)->head).list = dynamic;\n    (link_info.dynamic_list)->match = lang_vers_match;\n    return;\n  }\n  do {\n    pbVar3 = pbVar1;\n    pbVar1 = pbVar3->next;\n  } while (pbVar1 != (bfd_elf_version_expr *)0x0);\n  pbVar3->next = ((link_info.dynamic_list)->head).list;\n  (pbVar2->head).list = dynamic;\n  return;\n}\n\n" (function_definition "void lang_append_dynamic_list(bfd_elf_version_expr *dynamic)\n\n{\n  bfd_elf_version_expr *pbVar1;\n  bfd_elf_dynamic_list *pbVar2;\n  bfd_elf_version_expr *pbVar3;\n  \n  pbVar2 = link_info.dynamic_list;\n  pbVar1 = dynamic;\n  if (link_info.dynamic_list == (bfd_elf_dynamic_list *)0x0) {\n    link_info.dynamic_list = (bfd_elf_dynamic_list *)xcalloc(1,0x28);\n    ((link_info.dynamic_list)->head).list = dynamic;\n    (link_info.dynamic_list)->match = lang_vers_match;\n    return;\n  }\n  do {\n    pbVar3 = pbVar1;\n    pbVar1 = pbVar3->next;\n  } while (pbVar1 != (bfd_elf_version_expr *)0x0);\n  pbVar3->next = ((link_info.dynamic_list)->head).list;\n  (pbVar2->head).list = dynamic;\n  return;\n}" primitive_type (function_declarator "lang_append_dynamic_list(bfd_elf_version_expr *dynamic)" identifier (parameter_list "(bfd_elf_version_expr *dynamic)" ( (parameter_declaration "bfd_elf_version_expr *dynamic" type_identifier (pointer_declarator "*dynamic" * identifier)) ))) (compound_statement "{\n  bfd_elf_version_expr *pbVar1;\n  bfd_elf_dynamic_list *pbVar2;\n  bfd_elf_version_expr *pbVar3;\n  \n  pbVar2 = link_info.dynamic_list;\n  pbVar1 = dynamic;\n  if (link_info.dynamic_list == (bfd_elf_dynamic_list *)0x0) {\n    link_info.dynamic_list = (bfd_elf_dynamic_list *)xcalloc(1,0x28);\n    ((link_info.dynamic_list)->head).list = dynamic;\n    (link_info.dynamic_list)->match = lang_vers_match;\n    return;\n  }\n  do {\n    pbVar3 = pbVar1;\n    pbVar1 = pbVar3->next;\n  } while (pbVar1 != (bfd_elf_version_expr *)0x0);\n  pbVar3->next = ((link_info.dynamic_list)->head).list;\n  (pbVar2->head).list = dynamic;\n  return;\n}" { (declaration "bfd_elf_version_expr *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "bfd_elf_dynamic_list *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "bfd_elf_version_expr *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (expression_statement "pbVar2 = link_info.dynamic_list;" (assignment_expression "pbVar2 = link_info.dynamic_list" identifier = (field_expression "link_info.dynamic_list" identifier . field_identifier)) ;) (expression_statement "pbVar1 = dynamic;" (assignment_expression "pbVar1 = dynamic" identifier = identifier) ;) (if_statement "if (link_info.dynamic_list == (bfd_elf_dynamic_list *)0x0) {\n    link_info.dynamic_list = (bfd_elf_dynamic_list *)xcalloc(1,0x28);\n    ((link_info.dynamic_list)->head).list = dynamic;\n    (link_info.dynamic_list)->match = lang_vers_match;\n    return;\n  }" if (parenthesized_expression "(link_info.dynamic_list == (bfd_elf_dynamic_list *)0x0)" ( (binary_expression "link_info.dynamic_list == (bfd_elf_dynamic_list *)0x0" (field_expression "link_info.dynamic_list" identifier . field_identifier) == (cast_expression "(bfd_elf_dynamic_list *)0x0" ( (type_descriptor "bfd_elf_dynamic_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    link_info.dynamic_list = (bfd_elf_dynamic_list *)xcalloc(1,0x28);\n    ((link_info.dynamic_list)->head).list = dynamic;\n    (link_info.dynamic_list)->match = lang_vers_match;\n    return;\n  }" { (expression_statement "link_info.dynamic_list = (bfd_elf_dynamic_list *)xcalloc(1,0x28);" (assignment_expression "link_info.dynamic_list = (bfd_elf_dynamic_list *)xcalloc(1,0x28)" (field_expression "link_info.dynamic_list" identifier . field_identifier) = (cast_expression "(bfd_elf_dynamic_list *)xcalloc(1,0x28)" ( (type_descriptor "bfd_elf_dynamic_list *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xcalloc(1,0x28)" identifier (argument_list "(1,0x28)" ( number_literal , number_literal ))))) ;) (expression_statement "((link_info.dynamic_list)->head).list = dynamic;" (assignment_expression "((link_info.dynamic_list)->head).list = dynamic" (field_expression "((link_info.dynamic_list)->head).list" (parenthesized_expression "((link_info.dynamic_list)->head)" ( (field_expression "(link_info.dynamic_list)->head" (parenthesized_expression "(link_info.dynamic_list)" ( (field_expression "link_info.dynamic_list" identifier . field_identifier) )) -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(link_info.dynamic_list)->match = lang_vers_match;" (assignment_expression "(link_info.dynamic_list)->match = lang_vers_match" (field_expression "(link_info.dynamic_list)->match" (parenthesized_expression "(link_info.dynamic_list)" ( (field_expression "link_info.dynamic_list" identifier . field_identifier) )) -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (do_statement "do {\n    pbVar3 = pbVar1;\n    pbVar1 = pbVar3->next;\n  } while (pbVar1 != (bfd_elf_version_expr *)0x0);" do (compound_statement "{\n    pbVar3 = pbVar1;\n    pbVar1 = pbVar3->next;\n  }" { (expression_statement "pbVar3 = pbVar1;" (assignment_expression "pbVar3 = pbVar1" identifier = identifier) ;) (expression_statement "pbVar1 = pbVar3->next;" (assignment_expression "pbVar1 = pbVar3->next" identifier = (field_expression "pbVar3->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pbVar1 != (bfd_elf_version_expr *)0x0)" ( (binary_expression "pbVar1 != (bfd_elf_version_expr *)0x0" identifier != (cast_expression "(bfd_elf_version_expr *)0x0" ( (type_descriptor "bfd_elf_version_expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "pbVar3->next = ((link_info.dynamic_list)->head).list;" (assignment_expression "pbVar3->next = ((link_info.dynamic_list)->head).list" (field_expression "pbVar3->next" identifier -> field_identifier) = (field_expression "((link_info.dynamic_list)->head).list" (parenthesized_expression "((link_info.dynamic_list)->head)" ( (field_expression "(link_info.dynamic_list)->head" (parenthesized_expression "(link_info.dynamic_list)" ( (field_expression "link_info.dynamic_list" identifier . field_identifier) )) -> field_identifier) )) . field_identifier)) ;) (expression_statement "(pbVar2->head).list = dynamic;" (assignment_expression "(pbVar2->head).list = dynamic" (field_expression "(pbVar2->head).list" (parenthesized_expression "(pbVar2->head)" ( (field_expression "pbVar2->head" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0011eea0(long *param_1)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long *plVar3;\n  \n  plVar2 = DAT_00225c58;\n  plVar1 = param_1;\n  if (DAT_00225c58 == (long *)0x0) {\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }\n  do {\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  } while (plVar1 != (long *)0x0);\n  *plVar3 = *DAT_00225c58;\n  *plVar2 = (long)param_1;\n  return;\n}\n\n" (function_definition "void FUN_0011eea0(long *param_1)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long *plVar3;\n  \n  plVar2 = DAT_00225c58;\n  plVar1 = param_1;\n  if (DAT_00225c58 == (long *)0x0) {\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }\n  do {\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  } while (plVar1 != (long *)0x0);\n  *plVar3 = *DAT_00225c58;\n  *plVar2 = (long)param_1;\n  return;\n}" primitive_type (function_declarator "FUN_0011eea0(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  long *plVar3;\n  \n  plVar2 = DAT_00225c58;\n  plVar1 = param_1;\n  if (DAT_00225c58 == (long *)0x0) {\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }\n  do {\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  } while (plVar1 != (long *)0x0);\n  *plVar3 = *DAT_00225c58;\n  *plVar2 = (long)param_1;\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (expression_statement "plVar2 = DAT_00225c58;" (assignment_expression "plVar2 = DAT_00225c58" identifier = identifier) ;) (expression_statement "plVar1 = param_1;" (assignment_expression "plVar1 = param_1" identifier = identifier) ;) (if_statement "if (DAT_00225c58 == (long *)0x0) {\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }" if (parenthesized_expression "(DAT_00225c58 == (long *)0x0)" ( (binary_expression "DAT_00225c58 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }" { (expression_statement "DAT_00225c58 = (long *)xcalloc(1,0x28);" (assignment_expression "DAT_00225c58 = (long *)xcalloc(1,0x28)" identifier = (cast_expression "(long *)xcalloc(1,0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "xcalloc(1,0x28)" identifier (argument_list "(1,0x28)" ( number_literal , number_literal ))))) ;) (expression_statement "*DAT_00225c58 = (long)param_1;" (assignment_expression "*DAT_00225c58 = (long)param_1" (pointer_expression "*DAT_00225c58" * identifier) = (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "DAT_00225c58[4] = (long)FUN_00113f60;" (assignment_expression "DAT_00225c58[4] = (long)FUN_00113f60" (subscript_expression "DAT_00225c58[4]" identifier [ number_literal ]) = (cast_expression "(long)FUN_00113f60" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (return_statement "return;" return ;) })) (do_statement "do {\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  } while (plVar1 != (long *)0x0);" do (compound_statement "{\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  }" { (expression_statement "plVar3 = plVar1;" (assignment_expression "plVar3 = plVar1" identifier = identifier) ;) (expression_statement "plVar1 = (long *)*plVar3;" (assignment_expression "plVar1 = (long *)*plVar3" identifier = (cast_expression "(long *)*plVar3" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar3" * identifier))) ;) }) while (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "*plVar3 = *DAT_00225c58;" (assignment_expression "*plVar3 = *DAT_00225c58" (pointer_expression "*plVar3" * identifier) = (pointer_expression "*DAT_00225c58" * identifier)) ;) (expression_statement "*plVar2 = (long)param_1;" (assignment_expression "*plVar2 = (long)param_1" (pointer_expression "*plVar2" * identifier) = (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (return_statement return ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0011eea0(long *param_1)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long *plVar3;\n  \n  plVar2 = DAT_00225c58;\n  plVar1 = param_1;\n  if (DAT_00225c58 == (long *)0x0) {\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }\n  do {\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  } while (plVar1 != (long *)0x0);\n  *plVar3 = *DAT_00225c58;\n  *plVar2 = (long)param_1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0011eea0(long *param_1)" (identifier "FUN_0011eea0") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  long *plVar3;\n  \n  plVar2 = DAT_00225c58;\n  plVar1 = param_1;\n  if (DAT_00225c58 == (long *)0x0) {\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }\n  do {\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  } while (plVar1 != (long *)0x0);\n  *plVar3 = *DAT_00225c58;\n  *plVar2 = (long)param_1;\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "long *plVar3;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar3" (* "*") (identifier "plVar3")) (; ";")) (expression_statement "plVar2 = DAT_00225c58;" (assignment_expression "plVar2 = DAT_00225c58" (identifier "plVar2") (= "=") (identifier "DAT_00225c58")) (; ";")) (expression_statement "plVar1 = param_1;" (assignment_expression "plVar1 = param_1" (identifier "plVar1") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (DAT_00225c58 == (long *)0x0) {\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_00225c58 == (long *)0x0)" (( "(") (binary_expression "DAT_00225c58 == (long *)0x0" (identifier "DAT_00225c58") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    DAT_00225c58 = (long *)xcalloc(1,0x28);\n    *DAT_00225c58 = (long)param_1;\n    DAT_00225c58[4] = (long)FUN_00113f60;\n    return;\n  }" ({ "{") (expression_statement "DAT_00225c58 = (long *)xcalloc(1,0x28);" (assignment_expression "DAT_00225c58 = (long *)xcalloc(1,0x28)" (identifier "DAT_00225c58") (= "=") (cast_expression "(long *)xcalloc(1,0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xcalloc(1,0x28)" (identifier "xcalloc") (argument_list "(1,0x28)" (( "(") (number_literal "1") (, ",") (number_literal "0x28") () ")"))))) (; ";")) (expression_statement "*DAT_00225c58 = (long)param_1;" (assignment_expression "*DAT_00225c58 = (long)param_1" (pointer_expression "*DAT_00225c58" (* "*") (identifier "DAT_00225c58")) (= "=") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1"))) (; ";")) (expression_statement "DAT_00225c58[4] = (long)FUN_00113f60;" (assignment_expression "DAT_00225c58[4] = (long)FUN_00113f60" (subscript_expression "DAT_00225c58[4]" (identifier "DAT_00225c58") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(long)FUN_00113f60" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "FUN_00113f60"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  } while (plVar1 != (long *)0x0);" (do "do") (compound_statement "{\n    plVar3 = plVar1;\n    plVar1 = (long *)*plVar3;\n  }" ({ "{") (expression_statement "plVar3 = plVar1;" (assignment_expression "plVar3 = plVar1" (identifier "plVar3") (= "=") (identifier "plVar1")) (; ";")) (expression_statement "plVar1 = (long *)*plVar3;" (assignment_expression "plVar1 = (long *)*plVar3" (identifier "plVar1") (= "=") (cast_expression "(long *)*plVar3" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar3" (* "*") (identifier "plVar3")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(plVar1 != (long *)0x0)" (( "(") (binary_expression "plVar1 != (long *)0x0" (identifier "plVar1") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "*plVar3 = *DAT_00225c58;" (assignment_expression "*plVar3 = *DAT_00225c58" (pointer_expression "*plVar3" (* "*") (identifier "plVar3")) (= "=") (pointer_expression "*DAT_00225c58" (* "*") (identifier "DAT_00225c58"))) (; ";")) (expression_statement "*plVar2 = (long)param_1;" (assignment_expression "*plVar2 = (long)param_1" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (= "=") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *dynamic)

{
  type_1 *var_2;
  type_2 *pbVar2;
  type_1 *pbVar3;
  
  pbVar2 = link_info.dynamic_list;
  var_2 = dynamic;
  if (link_info.dynamic_list == (type_2 *)0x0) {
    link_info.dynamic_list = (type_2 *)var_1(1,0x28);
    ((link_info.dynamic_list)->head).list = dynamic;
    (link_info.dynamic_list)->match = lang_vers_match;
    return;
  }
  do {
    pbVar3 = var_2;
    var_2 = pbVar3->next;
  } while (var_2 != (type_1 *)0x0);
  pbVar3->next = ((link_info.dynamic_list)->head).list;
  (pbVar2->head).list = dynamic;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) (return_statement))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) (return_statement))))

void MASKED(long *param_1)

{
  long *plVar1;
  long *plVar2;
  long *plVar3;
  
  plVar2 = DAT_00225c58;
  plVar1 = param_1;
  if (DAT_00225c58 == (long *)0x0) {
    DAT_00225c58 = (long *)xcalloc(1,0x28);
    *DAT_00225c58 = (long)param_1;
    DAT_00225c58[4] = (long)FUN_00113f60;
    return;
  }
  do {
    plVar3 = plVar1;
    plVar1 = (long *)*plVar3;
  } while (plVar1 != (long *)0x0);
  *plVar3 = *DAT_00225c58;
  *plVar2 = (long)param_1;
  return;
}

