
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void lang_clear_os_map(void)

{
  wildcard_list **ppwVar1;
  asection *paVar2;
  lang_statement_union *plVar3;
  
  if (map_head_is_link_order == 0) {
    plVar3 = lang_output_section_statement.head;
    if (lang_output_section_statement.head != (lang_statement_union *)0x0) {
      do {
        if ((-1 < (plVar3->output_section_statement).constraint) &&
           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)) {
          (paVar2->map_head).link_order = (bfd_link_order *)0x0;
          (paVar2->map_tail).link_order = (bfd_link_order *)0x0;
        }
        ppwVar1 = &(plVar3->wild_statement).section_list;
        plVar3 = (lang_statement_union *)*ppwVar1;
      } while ((lang_statement_union *)*ppwVar1 != (lang_statement_union *)0x0);
    }
    map_head_is_link_order = 1;
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void FUN_00024f40(void)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  
  if (DAT_00084824 == 0) {
    iVar3 = DAT_00084b80;
    if (DAT_00084b80 != 0) {
      do {
        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {
          *(undefined4 *)(iVar2 + 0xb8) = 0;
          *(undefined4 *)(iVar2 + 0xbc) = 0;
        }
        piVar1 = (int *)(iVar3 + 0x10);
        iVar3 = *piVar1;
      } while (*piVar1 != 0);
    }
    DAT_00084824 = 1;
  }
  return;
}


CALL 0x0002afad
ADD ECX,0x5f0bb
MOV EAX,dword ptr [ECX + 0x824]
TEST EAX,EAX
JNZ 0x00024f9b
LEA EAX,[ECX + 0xb80]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x00024f91
LEA ESI,[ESI]
MOV EDX,dword ptr [EAX + 0x48]
TEST EDX,EDX
JS 0x00024f8a
MOV EDX,dword ptr [EAX + 0x1c]
TEST EDX,EDX
JZ 0x00024f8a
MOV dword ptr [EDX + 0xb8],0x0
MOV dword ptr [EDX + 0xbc],0x0
MOV EAX,dword ptr [EAX + 0x10]
TEST EAX,EAX
JNZ 0x00024f68
MOV dword ptr [ECX + 0x824],0x1
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid FUN_00024f40(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (DAT_00084824 == 0) {\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00024f40(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (DAT_00084824 == 0) {\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00024f40(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (DAT_00084824 == 0) {\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (DAT_00084824 == 0) {\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }" if (parenthesized_expression "(DAT_00084824 == 0)" ( (binary_expression "DAT_00084824 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }" { (expression_statement "iVar3 = DAT_00084b80;" (assignment_expression "iVar3 = DAT_00084b80" identifier = identifier) ;) (if_statement "if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }" if (parenthesized_expression "(DAT_00084b80 != 0)" ( (binary_expression "DAT_00084b80 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }" { (do_statement "do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);" do (compound_statement "{\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      }" { (if_statement "if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }" if (parenthesized_expression "((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0))" ( (binary_expression "(-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)" (parenthesized_expression "(-1 < *(int *)(iVar3 + 0x48))" ( (binary_expression "-1 < *(int *)(iVar3 + 0x48)" number_literal < (pointer_expression "*(int *)(iVar3 + 0x48)" * (cast_expression "(int *)(iVar3 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x48)" ( (binary_expression "iVar3 + 0x48" identifier + number_literal) ))))) )) && (parenthesized_expression "(iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar3 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar3 + 0x1c)" * (cast_expression "(int *)(iVar3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }" { (expression_statement "*(undefined4 *)(iVar2 + 0xb8) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0xb8) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0xb8)" * (cast_expression "(undefined4 *)(iVar2 + 0xb8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb8)" ( (binary_expression "iVar2 + 0xb8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0xbc) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0xbc) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0xbc)" * (cast_expression "(undefined4 *)(iVar2 + 0xbc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xbc)" ( (binary_expression "iVar2 + 0xbc" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "piVar1 = (int *)(iVar3 + 0x10);" (assignment_expression "piVar1 = (int *)(iVar3 + 0x10)" identifier = (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) ;) (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) }) while (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) ;) })) (expression_statement "DAT_00084824 = 1;" (assignment_expression "DAT_00084824 = 1" identifier = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid lang_clear_os_map(void)\n\n{\n  wildcard_list **ppwVar1;\n  asection *paVar2;\n  lang_statement_union *plVar3;\n  \n  if (map_head_is_link_order == 0) {\n    plVar3 = lang_output_section_statement.head;\n    if (lang_output_section_statement.head != (lang_statement_union *)0x0) {\n      do {\n        if ((-1 < (plVar3->output_section_statement).constraint) &&\n           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)) {\n          (paVar2->map_head).link_order = (bfd_link_order *)0x0;\n          (paVar2->map_tail).link_order = (bfd_link_order *)0x0;\n        }\n        ppwVar1 = &(plVar3->wild_statement).section_list;\n        plVar3 = (lang_statement_union *)*ppwVar1;\n      } while ((lang_statement_union *)*ppwVar1 != (lang_statement_union *)0x0);\n    }\n    map_head_is_link_order = 1;\n  }\n  return;\n}\n\n" comment comment (function_definition "void lang_clear_os_map(void)\n\n{\n  wildcard_list **ppwVar1;\n  asection *paVar2;\n  lang_statement_union *plVar3;\n  \n  if (map_head_is_link_order == 0) {\n    plVar3 = lang_output_section_statement.head;\n    if (lang_output_section_statement.head != (lang_statement_union *)0x0) {\n      do {\n        if ((-1 < (plVar3->output_section_statement).constraint) &&\n           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)) {\n          (paVar2->map_head).link_order = (bfd_link_order *)0x0;\n          (paVar2->map_tail).link_order = (bfd_link_order *)0x0;\n        }\n        ppwVar1 = &(plVar3->wild_statement).section_list;\n        plVar3 = (lang_statement_union *)*ppwVar1;\n      } while ((lang_statement_union *)*ppwVar1 != (lang_statement_union *)0x0);\n    }\n    map_head_is_link_order = 1;\n  }\n  return;\n}" primitive_type (function_declarator "lang_clear_os_map(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  wildcard_list **ppwVar1;\n  asection *paVar2;\n  lang_statement_union *plVar3;\n  \n  if (map_head_is_link_order == 0) {\n    plVar3 = lang_output_section_statement.head;\n    if (lang_output_section_statement.head != (lang_statement_union *)0x0) {\n      do {\n        if ((-1 < (plVar3->output_section_statement).constraint) &&\n           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)) {\n          (paVar2->map_head).link_order = (bfd_link_order *)0x0;\n          (paVar2->map_tail).link_order = (bfd_link_order *)0x0;\n        }\n        ppwVar1 = &(plVar3->wild_statement).section_list;\n        plVar3 = (lang_statement_union *)*ppwVar1;\n      } while ((lang_statement_union *)*ppwVar1 != (lang_statement_union *)0x0);\n    }\n    map_head_is_link_order = 1;\n  }\n  return;\n}" { (declaration "wildcard_list **ppwVar1;" type_identifier (pointer_declarator "**ppwVar1" * (pointer_declarator "*ppwVar1" * identifier)) ;) (declaration "asection *paVar2;" type_identifier (pointer_declarator "*paVar2" * identifier) ;) (declaration "lang_statement_union *plVar3;" type_identifier (pointer_declarator "*plVar3" * identifier) ;) (if_statement "if (map_head_is_link_order == 0) {\n    plVar3 = lang_output_section_statement.head;\n    if (lang_output_section_statement.head != (lang_statement_union *)0x0) {\n      do {\n        if ((-1 < (plVar3->output_section_statement).constraint) &&\n           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)) {\n          (paVar2->map_head).link_order = (bfd_link_order *)0x0;\n          (paVar2->map_tail).link_order = (bfd_link_order *)0x0;\n        }\n        ppwVar1 = &(plVar3->wild_statement).section_list;\n        plVar3 = (lang_statement_union *)*ppwVar1;\n      } while ((lang_statement_union *)*ppwVar1 != (lang_statement_union *)0x0);\n    }\n    map_head_is_link_order = 1;\n  }" if (parenthesized_expression "(map_head_is_link_order == 0)" ( (binary_expression "map_head_is_link_order == 0" identifier == number_literal) )) (compound_statement "{\n    plVar3 = lang_output_section_statement.head;\n    if (lang_output_section_statement.head != (lang_statement_union *)0x0) {\n      do {\n        if ((-1 < (plVar3->output_section_statement).constraint) &&\n           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)) {\n          (paVar2->map_head).link_order = (bfd_link_order *)0x0;\n          (paVar2->map_tail).link_order = (bfd_link_order *)0x0;\n        }\n        ppwVar1 = &(plVar3->wild_statement).section_list;\n        plVar3 = (lang_statement_union *)*ppwVar1;\n      } while ((lang_statement_union *)*ppwVar1 != (lang_statement_union *)0x0);\n    }\n    map_head_is_link_order = 1;\n  }" { (expression_statement "plVar3 = lang_output_section_statement.head;" (assignment_expression "plVar3 = lang_output_section_statement.head" identifier = (field_expression "lang_output_section_statement.head" identifier . field_identifier)) ;) (if_statement "if (lang_output_section_statement.head != (lang_statement_union *)0x0) {\n      do {\n        if ((-1 < (plVar3->output_section_statement).constraint) &&\n           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)) {\n          (paVar2->map_head).link_order = (bfd_link_order *)0x0;\n          (paVar2->map_tail).link_order = (bfd_link_order *)0x0;\n        }\n        ppwVar1 = &(plVar3->wild_statement).section_list;\n        plVar3 = (lang_statement_union *)*ppwVar1;\n      } while ((lang_statement_union *)*ppwVar1 != (lang_statement_union *)0x0);\n    }" if (parenthesized_expression "(lang_output_section_statement.head != (lang_statement_union *)0x0)" ( (binary_expression "lang_output_section_statement.head != (lang_statement_union *)0x0" (field_expression "lang_output_section_statement.head" identifier . field_identifier) != (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        if ((-1 < (plVar3->output_section_statement).constraint) &&\n           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)) {\n          (paVar2->map_head).link_order = (bfd_link_order *)0x0;\n          (paVar2->map_tail).link_order = (bfd_link_order *)0x0;\n        }\n        ppwVar1 = &(plVar3->wild_statement).section_list;\n        plVar3 = (lang_statement_union *)*ppwVar1;\n      } while ((lang_statement_union *)*ppwVar1 != (lang_statement_union *)0x0);\n    }" { (do_statement "do {\n        if ((-1 < (plVar3->output_section_statement).constraint) &&\n           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)) {\n          (paVar2->map_head).link_order = (bfd_link_order *)0x0;\n          (paVar2->map_tail).link_order = (bfd_link_order *)0x0;\n        }\n        ppwVar1 = &(plVar3->wild_statement).section_list;\n        plVar3 = (lang_statement_union *)*ppwVar1;\n      } while ((lang_statement_union *)*ppwVar1 != (lang_statement_union *)0x0);" do (compound_statement "{\n        if ((-1 < (plVar3->output_section_statement).constraint) &&\n           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)) {\n          (paVar2->map_head).link_order = (bfd_link_order *)0x0;\n          (paVar2->map_tail).link_order = (bfd_link_order *)0x0;\n        }\n        ppwVar1 = &(plVar3->wild_statement).section_list;\n        plVar3 = (lang_statement_union *)*ppwVar1;\n      }" { (if_statement "if ((-1 < (plVar3->output_section_statement).constraint) &&\n           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)) {\n          (paVar2->map_head).link_order = (bfd_link_order *)0x0;\n          (paVar2->map_tail).link_order = (bfd_link_order *)0x0;\n        }" if (parenthesized_expression "((-1 < (plVar3->output_section_statement).constraint) &&\n           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0))" ( (binary_expression "(-1 < (plVar3->output_section_statement).constraint) &&\n           (paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)" (parenthesized_expression "(-1 < (plVar3->output_section_statement).constraint)" ( (binary_expression "-1 < (plVar3->output_section_statement).constraint" number_literal < (field_expression "(plVar3->output_section_statement).constraint" (parenthesized_expression "(plVar3->output_section_statement)" ( (field_expression "plVar3->output_section_statement" identifier -> field_identifier) )) . field_identifier)) )) && (parenthesized_expression "(paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0)" ( (comma_expression "paVar2 = (plVar3->output_section_statement).bfd_section, paVar2 != (asection *)0x0" (assignment_expression "paVar2 = (plVar3->output_section_statement).bfd_section" identifier = (field_expression "(plVar3->output_section_statement).bfd_section" (parenthesized_expression "(plVar3->output_section_statement)" ( (field_expression "plVar3->output_section_statement" identifier -> field_identifier) )) . field_identifier)) , (binary_expression "paVar2 != (asection *)0x0" identifier != (cast_expression "(asection *)0x0" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n          (paVar2->map_head).link_order = (bfd_link_order *)0x0;\n          (paVar2->map_tail).link_order = (bfd_link_order *)0x0;\n        }" { (expression_statement "(paVar2->map_head).link_order = (bfd_link_order *)0x0;" (assignment_expression "(paVar2->map_head).link_order = (bfd_link_order *)0x0" (field_expression "(paVar2->map_head).link_order" (parenthesized_expression "(paVar2->map_head)" ( (field_expression "paVar2->map_head" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(bfd_link_order *)0x0" ( (type_descriptor "bfd_link_order *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(paVar2->map_tail).link_order = (bfd_link_order *)0x0;" (assignment_expression "(paVar2->map_tail).link_order = (bfd_link_order *)0x0" (field_expression "(paVar2->map_tail).link_order" (parenthesized_expression "(paVar2->map_tail)" ( (field_expression "paVar2->map_tail" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(bfd_link_order *)0x0" ( (type_descriptor "bfd_link_order *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "ppwVar1 = &(plVar3->wild_statement).section_list;" (assignment_expression "ppwVar1 = &(plVar3->wild_statement).section_list" identifier = (pointer_expression "&(plVar3->wild_statement).section_list" & (field_expression "(plVar3->wild_statement).section_list" (parenthesized_expression "(plVar3->wild_statement)" ( (field_expression "plVar3->wild_statement" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "plVar3 = (lang_statement_union *)*ppwVar1;" (assignment_expression "plVar3 = (lang_statement_union *)*ppwVar1" identifier = (cast_expression "(lang_statement_union *)*ppwVar1" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppwVar1" * identifier))) ;) }) while (parenthesized_expression "((lang_statement_union *)*ppwVar1 != (lang_statement_union *)0x0)" ( (binary_expression "(lang_statement_union *)*ppwVar1 != (lang_statement_union *)0x0" (cast_expression "(lang_statement_union *)*ppwVar1" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppwVar1" * identifier)) != (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "map_head_is_link_order = 1;" (assignment_expression "map_head_is_link_order = 1" identifier = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00024f40(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (DAT_00084824 == 0) {\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00024f40(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (DAT_00084824 == 0) {\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00024f40(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (DAT_00084824 == 0) {\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (DAT_00084824 == 0) {\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }" if (parenthesized_expression "(DAT_00084824 == 0)" ( (binary_expression "DAT_00084824 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }" { (expression_statement "iVar3 = DAT_00084b80;" (assignment_expression "iVar3 = DAT_00084b80" identifier = identifier) ;) (if_statement "if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }" if (parenthesized_expression "(DAT_00084b80 != 0)" ( (binary_expression "DAT_00084b80 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }" { (do_statement "do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);" do (compound_statement "{\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      }" { (if_statement "if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }" if (parenthesized_expression "((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0))" ( (binary_expression "(-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)" (parenthesized_expression "(-1 < *(int *)(iVar3 + 0x48))" ( (binary_expression "-1 < *(int *)(iVar3 + 0x48)" number_literal < (pointer_expression "*(int *)(iVar3 + 0x48)" * (cast_expression "(int *)(iVar3 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x48)" ( (binary_expression "iVar3 + 0x48" identifier + number_literal) ))))) )) && (parenthesized_expression "(iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar3 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar3 + 0x1c)" * (cast_expression "(int *)(iVar3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }" { (expression_statement "*(undefined4 *)(iVar2 + 0xb8) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0xb8) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0xb8)" * (cast_expression "(undefined4 *)(iVar2 + 0xb8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb8)" ( (binary_expression "iVar2 + 0xb8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0xbc) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0xbc) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0xbc)" * (cast_expression "(undefined4 *)(iVar2 + 0xbc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xbc)" ( (binary_expression "iVar2 + 0xbc" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "piVar1 = (int *)(iVar3 + 0x10);" (assignment_expression "piVar1 = (int *)(iVar3 + 0x10)" identifier = (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) ;) (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) }) while (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) ;) })) (expression_statement "DAT_00084824 = 1;" (assignment_expression "DAT_00084824 = 1" identifier = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00024f40(void)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (DAT_00084824 == 0) {\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00024f40(void)" (identifier "FUN_00024f40") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  if (DAT_00084824 == 0) {\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if (DAT_00084824 == 0) {\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }" (if "if") (parenthesized_expression "(DAT_00084824 == 0)" (( "(") (binary_expression "DAT_00084824 == 0" (identifier "DAT_00084824") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = DAT_00084b80;\n    if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }\n    DAT_00084824 = 1;\n  }" ({ "{") (expression_statement "iVar3 = DAT_00084b80;" (assignment_expression "iVar3 = DAT_00084b80" (identifier "iVar3") (= "=") (identifier "DAT_00084b80")) (; ";")) (if_statement "if (DAT_00084b80 != 0) {\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }" (if "if") (parenthesized_expression "(DAT_00084b80 != 0)" (( "(") (binary_expression "DAT_00084b80 != 0" (identifier "DAT_00084b80") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);\n    }" ({ "{") (do_statement "do {\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      } while (*piVar1 != 0);" (do "do") (compound_statement "{\n        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }\n        piVar1 = (int *)(iVar3 + 0x10);\n        iVar3 = *piVar1;\n      }" ({ "{") (if_statement "if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }" (if "if") (parenthesized_expression "((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0))" (( "(") (binary_expression "(-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)" (parenthesized_expression "(-1 < *(int *)(iVar3 + 0x48))" (( "(") (binary_expression "-1 < *(int *)(iVar3 + 0x48)" (number_literal "-1") (< "<") (pointer_expression "*(int *)(iVar3 + 0x48)" (* "*") (cast_expression "(int *)(iVar3 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x48)" (( "(") (binary_expression "iVar3 + 0x48" (identifier "iVar3") (+ "+") (number_literal "0x48")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)" (( "(") (comma_expression "iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar3 + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar3 + 0x1c)" (* "*") (cast_expression "(int *)(iVar3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1c)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) () ")"))))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n          *(undefined4 *)(iVar2 + 0xb8) = 0;\n          *(undefined4 *)(iVar2 + 0xbc) = 0;\n        }" ({ "{") (expression_statement "*(undefined4 *)(iVar2 + 0xb8) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0xb8) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0xb8)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0xb8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xb8)" (( "(") (binary_expression "iVar2 + 0xb8" (identifier "iVar2") (+ "+") (number_literal "0xb8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0xbc) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0xbc) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0xbc)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0xbc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xbc)" (( "(") (binary_expression "iVar2 + 0xbc" (identifier "iVar2") (+ "+") (number_literal "0xbc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "piVar1 = (int *)(iVar3 + 0x10);" (assignment_expression "piVar1 = (int *)(iVar3 + 0x10)" (identifier "piVar1") (= "=") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" (identifier "iVar3") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar1 != 0)" (( "(") (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "DAT_00084824 = 1;" (assignment_expression "DAT_00084824 = 1" (identifier "DAT_00084824") (= "=") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 **ppwVar1;
  type_2 *var_2;
  type_3 *plVar3;
  
  if (var_1 == 0) {
    plVar3 = lang_output_section_statement.head;
    if (lang_output_section_statement.head != (type_3 *)0x0) {
      do {
        if ((-1 < (plVar3->output_section_statement).constraint) &&
           (var_2 = (plVar3->output_section_statement).bfd_section, var_2 != (type_2 *)0x0)) {
          (var_2->map_head).link_order = (type_4 *)0x0;
          (var_2->map_tail).link_order = (type_4 *)0x0;
        }
        ppwVar1 = &(plVar3->wild_statement).section_list;
        plVar3 = (type_3 *)*ppwVar1;
      } while ((type_3 *)*ppwVar1 != (type_3 *)0x0);
    }
    var_1 = 1;
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void MASKED(void)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  
  if (DAT_00084824 == 0) {
    iVar3 = DAT_00084b80;
    if (DAT_00084b80 != 0) {
      do {
        if ((-1 < *(int *)(iVar3 + 0x48)) && (iVar2 = *(int *)(iVar3 + 0x1c), iVar2 != 0)) {
          *(undefined4 *)(iVar2 + 0xb8) = 0;
          *(undefined4 *)(iVar2 + 0xbc) = 0;
        }
        piVar1 = (int *)(iVar3 + 0x10);
        iVar3 = *piVar1;
      } while (*piVar1 != 0);
    }
    DAT_00084824 = 1;
  }
  return;
}

