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

void listing_prev_line(void)

{
  list_info_struct *plVar1;
  fragS *fragP;
  list_info_struct *plVar2;
  frag *pfVar3;
  list_info_struct *plVar4;
  
  if ((head != (list_info_struct *)0x0) && (head != listing_tail)) {
    frag_wane(frag_now);
    frag_new(0);
    plVar2 = listing_tail;
    plVar1 = head;
    do {
      plVar4 = plVar1;
      plVar1 = plVar4->next;
    } while (plVar1 != listing_tail);
    fragP = frag_now;
    for (pfVar3 = frchain_now->frch_root; frag_now = fragP, pfVar3 != (frag *)0x0;
        pfVar3 = pfVar3->fr_next) {
      while (plVar2 != pfVar3->line) {
        pfVar3 = pfVar3->fr_next;
        if (pfVar3 == (frag *)0x0) goto LAB_000276e6;
      }
      pfVar3->line = plVar4;
      fragP = frag_now;
    }
LAB_000276e6:
    plVar2->frag = fragP;
    frag_wane(fragP);
    frag_new(0);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_00027660(void)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  int iVar4;
  undefined4 *puVar5;
  
  if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {
    FUN_00024bf0(DAT_00077e24);
    FUN_00024830(0);
    puVar3 = DAT_00077eb8;
    puVar1 = DAT_000779c8;
    do {
      puVar5 = puVar1;
      puVar1 = (undefined4 *)puVar5[4];
    } while (puVar1 != DAT_00077eb8);
    uVar2 = DAT_00077e24;
    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {
      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {
        iVar4 = *(int *)(iVar4 + 0x30);
        if (iVar4 == 0) goto LAB_000276e6;
      }
      *(undefined4 **)(iVar4 + 0x3c) = puVar5;
      uVar2 = DAT_00077e24;
    }
LAB_000276e6:
    *puVar3 = uVar2;
    FUN_00024bf0(uVar2);
    FUN_00024830(0);
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016090
ADD EBX,0x47998
MOV EAX,dword ptr [EBX + 0x89c8]
TEST EAX,EAX
JZ 0x00027702
LEA EDI,[EBX + 0x8eb8]
CMP EAX,dword ptr [EDI]
JZ 0x00027702
LEA ESI,[EBX + 0x8e24]
SUB ESP,0xc
PUSH dword ptr [ESI]
CALL 0x00024bf0
MOV dword ptr [ESP],0x0
CALL 0x00024830
MOV EDX,dword ptr [EBX + 0x89c8]
MOV ECX,dword ptr [EDI]
ADD ESP,0x10
JMP 0x000276b2
MOV EDX,EAX
MOV EAX,dword ptr [EDX + 0x10]
CMP EAX,ECX
JNZ 0x000276b0
LEA EAX,[EBX + 0x8f88]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JNZ 0x000276d7
JMP 0x000276e6
MOV EAX,dword ptr [EAX + 0x30]
TEST EAX,EAX
JZ 0x000276e6
CMP ECX,dword ptr [EAX + 0x3c]
JNZ 0x000276d0
MOV dword ptr [EAX + 0x3c],EDX
MOV EAX,dword ptr [EAX + 0x30]
TEST EAX,EAX
JNZ 0x000276d7
MOV EAX,dword ptr [ESI]
SUB ESP,0xc
MOV dword ptr [ECX],EAX
PUSH EAX
CALL 0x00024bf0
MOV dword ptr [ESP],0x0
CALL 0x00024830
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00027660(void)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00027660(void)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00027660(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }" if (parenthesized_expression "((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8))" ( (binary_expression "(DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)" (parenthesized_expression "(DAT_000779c8 != (undefined4 *)0x0)" ( (binary_expression "DAT_000779c8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(DAT_000779c8 != DAT_00077eb8)" ( (binary_expression "DAT_000779c8 != DAT_00077eb8" identifier != identifier) ))) )) (compound_statement "{\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }" { (expression_statement "FUN_00024bf0(DAT_00077e24);" (call_expression "FUN_00024bf0(DAT_00077e24)" identifier (argument_list "(DAT_00077e24)" ( identifier ))) ;) (expression_statement "FUN_00024830(0);" (call_expression "FUN_00024830(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "puVar3 = DAT_00077eb8;" (assignment_expression "puVar3 = DAT_00077eb8" identifier = identifier) ;) (expression_statement "puVar1 = DAT_000779c8;" (assignment_expression "puVar1 = DAT_000779c8" identifier = identifier) ;) (do_statement "do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);" do (compound_statement "{\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    }" { (expression_statement "puVar5 = puVar1;" (assignment_expression "puVar5 = puVar1" identifier = identifier) ;) (expression_statement "puVar1 = (undefined4 *)puVar5[4];" (assignment_expression "puVar1 = (undefined4 *)puVar5[4]" identifier = (cast_expression "(undefined4 *)puVar5[4]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[4]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(puVar1 != DAT_00077eb8)" ( (binary_expression "puVar1 != DAT_00077eb8" identifier != identifier) )) ;) (expression_statement "uVar2 = DAT_00077e24;" (assignment_expression "uVar2 = DAT_00077e24" identifier = identifier) ;) (for_statement "for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }" for ( (assignment_expression "iVar4 = *DAT_00077f88" identifier = (pointer_expression "*DAT_00077f88" * identifier)) ; (comma_expression "DAT_00077e24 = uVar2, iVar4 != 0" (assignment_expression "DAT_00077e24 = uVar2" identifier = identifier) , (binary_expression "iVar4 != 0" identifier != number_literal)) ; (assignment_expression "iVar4 = *(int *)(iVar4 + 0x30)" identifier = (pointer_expression "*(int *)(iVar4 + 0x30)" * (cast_expression "(int *)(iVar4 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) ) (compound_statement "{\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }" { (while_statement "while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }" while (parenthesized_expression "(puVar3 != *(undefined4 **)(iVar4 + 0x3c))" ( (binary_expression "puVar3 != *(undefined4 **)(iVar4 + 0x3c)" identifier != (pointer_expression "*(undefined4 **)(iVar4 + 0x3c)" * (cast_expression "(undefined4 **)(iVar4 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) ))))) )) (compound_statement "{\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }" { (expression_statement "iVar4 = *(int *)(iVar4 + 0x30);" (assignment_expression "iVar4 = *(int *)(iVar4 + 0x30)" identifier = (pointer_expression "*(int *)(iVar4 + 0x30)" * (cast_expression "(int *)(iVar4 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 == 0) goto LAB_000276e6;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000276e6;" goto statement_identifier ;)) })) (expression_statement "*(undefined4 **)(iVar4 + 0x3c) = puVar5;" (assignment_expression "*(undefined4 **)(iVar4 + 0x3c) = puVar5" (pointer_expression "*(undefined4 **)(iVar4 + 0x3c)" * (cast_expression "(undefined4 **)(iVar4 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = DAT_00077e24;" (assignment_expression "uVar2 = DAT_00077e24" identifier = identifier) ;) })) (labeled_statement "LAB_000276e6:\n    *puVar3 = uVar2;" statement_identifier : (expression_statement "*puVar3 = uVar2;" (assignment_expression "*puVar3 = uVar2" (pointer_expression "*puVar3" * identifier) = identifier) ;)) (expression_statement "FUN_00024bf0(uVar2);" (call_expression "FUN_00024bf0(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_00024830(0);" (call_expression "FUN_00024830(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid listing_prev_line(void)\n\n{\n  list_info_struct *plVar1;\n  fragS *fragP;\n  list_info_struct *plVar2;\n  frag *pfVar3;\n  list_info_struct *plVar4;\n  \n  if ((head != (list_info_struct *)0x0) && (head != listing_tail)) {\n    frag_wane(frag_now);\n    frag_new(0);\n    plVar2 = listing_tail;\n    plVar1 = head;\n    do {\n      plVar4 = plVar1;\n      plVar1 = plVar4->next;\n    } while (plVar1 != listing_tail);\n    fragP = frag_now;\n    for (pfVar3 = frchain_now->frch_root; frag_now = fragP, pfVar3 != (frag *)0x0;\n        pfVar3 = pfVar3->fr_next) {\n      while (plVar2 != pfVar3->line) {\n        pfVar3 = pfVar3->fr_next;\n        if (pfVar3 == (frag *)0x0) goto LAB_000276e6;\n      }\n      pfVar3->line = plVar4;\n      fragP = frag_now;\n    }\nLAB_000276e6:\n    plVar2->frag = fragP;\n    frag_wane(fragP);\n    frag_new(0);\n  }\n  return;\n}\n\n" comment comment (function_definition "void listing_prev_line(void)\n\n{\n  list_info_struct *plVar1;\n  fragS *fragP;\n  list_info_struct *plVar2;\n  frag *pfVar3;\n  list_info_struct *plVar4;\n  \n  if ((head != (list_info_struct *)0x0) && (head != listing_tail)) {\n    frag_wane(frag_now);\n    frag_new(0);\n    plVar2 = listing_tail;\n    plVar1 = head;\n    do {\n      plVar4 = plVar1;\n      plVar1 = plVar4->next;\n    } while (plVar1 != listing_tail);\n    fragP = frag_now;\n    for (pfVar3 = frchain_now->frch_root; frag_now = fragP, pfVar3 != (frag *)0x0;\n        pfVar3 = pfVar3->fr_next) {\n      while (plVar2 != pfVar3->line) {\n        pfVar3 = pfVar3->fr_next;\n        if (pfVar3 == (frag *)0x0) goto LAB_000276e6;\n      }\n      pfVar3->line = plVar4;\n      fragP = frag_now;\n    }\nLAB_000276e6:\n    plVar2->frag = fragP;\n    frag_wane(fragP);\n    frag_new(0);\n  }\n  return;\n}" primitive_type (function_declarator "listing_prev_line(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  list_info_struct *plVar1;\n  fragS *fragP;\n  list_info_struct *plVar2;\n  frag *pfVar3;\n  list_info_struct *plVar4;\n  \n  if ((head != (list_info_struct *)0x0) && (head != listing_tail)) {\n    frag_wane(frag_now);\n    frag_new(0);\n    plVar2 = listing_tail;\n    plVar1 = head;\n    do {\n      plVar4 = plVar1;\n      plVar1 = plVar4->next;\n    } while (plVar1 != listing_tail);\n    fragP = frag_now;\n    for (pfVar3 = frchain_now->frch_root; frag_now = fragP, pfVar3 != (frag *)0x0;\n        pfVar3 = pfVar3->fr_next) {\n      while (plVar2 != pfVar3->line) {\n        pfVar3 = pfVar3->fr_next;\n        if (pfVar3 == (frag *)0x0) goto LAB_000276e6;\n      }\n      pfVar3->line = plVar4;\n      fragP = frag_now;\n    }\nLAB_000276e6:\n    plVar2->frag = fragP;\n    frag_wane(fragP);\n    frag_new(0);\n  }\n  return;\n}" { (declaration "list_info_struct *plVar1;" type_identifier (pointer_declarator "*plVar1" * identifier) ;) (declaration "fragS *fragP;" type_identifier (pointer_declarator "*fragP" * identifier) ;) (declaration "list_info_struct *plVar2;" type_identifier (pointer_declarator "*plVar2" * identifier) ;) (declaration "frag *pfVar3;" type_identifier (pointer_declarator "*pfVar3" * identifier) ;) (declaration "list_info_struct *plVar4;" type_identifier (pointer_declarator "*plVar4" * identifier) ;) (if_statement "if ((head != (list_info_struct *)0x0) && (head != listing_tail)) {\n    frag_wane(frag_now);\n    frag_new(0);\n    plVar2 = listing_tail;\n    plVar1 = head;\n    do {\n      plVar4 = plVar1;\n      plVar1 = plVar4->next;\n    } while (plVar1 != listing_tail);\n    fragP = frag_now;\n    for (pfVar3 = frchain_now->frch_root; frag_now = fragP, pfVar3 != (frag *)0x0;\n        pfVar3 = pfVar3->fr_next) {\n      while (plVar2 != pfVar3->line) {\n        pfVar3 = pfVar3->fr_next;\n        if (pfVar3 == (frag *)0x0) goto LAB_000276e6;\n      }\n      pfVar3->line = plVar4;\n      fragP = frag_now;\n    }\nLAB_000276e6:\n    plVar2->frag = fragP;\n    frag_wane(fragP);\n    frag_new(0);\n  }" if (parenthesized_expression "((head != (list_info_struct *)0x0) && (head != listing_tail))" ( (binary_expression "(head != (list_info_struct *)0x0) && (head != listing_tail)" (parenthesized_expression "(head != (list_info_struct *)0x0)" ( (binary_expression "head != (list_info_struct *)0x0" identifier != (cast_expression "(list_info_struct *)0x0" ( (type_descriptor "list_info_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(head != listing_tail)" ( (binary_expression "head != listing_tail" identifier != identifier) ))) )) (compound_statement "{\n    frag_wane(frag_now);\n    frag_new(0);\n    plVar2 = listing_tail;\n    plVar1 = head;\n    do {\n      plVar4 = plVar1;\n      plVar1 = plVar4->next;\n    } while (plVar1 != listing_tail);\n    fragP = frag_now;\n    for (pfVar3 = frchain_now->frch_root; frag_now = fragP, pfVar3 != (frag *)0x0;\n        pfVar3 = pfVar3->fr_next) {\n      while (plVar2 != pfVar3->line) {\n        pfVar3 = pfVar3->fr_next;\n        if (pfVar3 == (frag *)0x0) goto LAB_000276e6;\n      }\n      pfVar3->line = plVar4;\n      fragP = frag_now;\n    }\nLAB_000276e6:\n    plVar2->frag = fragP;\n    frag_wane(fragP);\n    frag_new(0);\n  }" { (expression_statement "frag_wane(frag_now);" (call_expression "frag_wane(frag_now)" identifier (argument_list "(frag_now)" ( identifier ))) ;) (expression_statement "frag_new(0);" (call_expression "frag_new(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "plVar2 = listing_tail;" (assignment_expression "plVar2 = listing_tail" identifier = identifier) ;) (expression_statement "plVar1 = head;" (assignment_expression "plVar1 = head" identifier = identifier) ;) (do_statement "do {\n      plVar4 = plVar1;\n      plVar1 = plVar4->next;\n    } while (plVar1 != listing_tail);" do (compound_statement "{\n      plVar4 = plVar1;\n      plVar1 = plVar4->next;\n    }" { (expression_statement "plVar4 = plVar1;" (assignment_expression "plVar4 = plVar1" identifier = identifier) ;) (expression_statement "plVar1 = plVar4->next;" (assignment_expression "plVar1 = plVar4->next" identifier = (field_expression "plVar4->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(plVar1 != listing_tail)" ( (binary_expression "plVar1 != listing_tail" identifier != identifier) )) ;) (expression_statement "fragP = frag_now;" (assignment_expression "fragP = frag_now" identifier = identifier) ;) (for_statement "for (pfVar3 = frchain_now->frch_root; frag_now = fragP, pfVar3 != (frag *)0x0;\n        pfVar3 = pfVar3->fr_next) {\n      while (plVar2 != pfVar3->line) {\n        pfVar3 = pfVar3->fr_next;\n        if (pfVar3 == (frag *)0x0) goto LAB_000276e6;\n      }\n      pfVar3->line = plVar4;\n      fragP = frag_now;\n    }" for ( (assignment_expression "pfVar3 = frchain_now->frch_root" identifier = (field_expression "frchain_now->frch_root" identifier -> field_identifier)) ; (comma_expression "frag_now = fragP, pfVar3 != (frag *)0x0" (assignment_expression "frag_now = fragP" identifier = identifier) , (binary_expression "pfVar3 != (frag *)0x0" identifier != (cast_expression "(frag *)0x0" ( (type_descriptor "frag *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ; (assignment_expression "pfVar3 = pfVar3->fr_next" identifier = (field_expression "pfVar3->fr_next" identifier -> field_identifier)) ) (compound_statement "{\n      while (plVar2 != pfVar3->line) {\n        pfVar3 = pfVar3->fr_next;\n        if (pfVar3 == (frag *)0x0) goto LAB_000276e6;\n      }\n      pfVar3->line = plVar4;\n      fragP = frag_now;\n    }" { (while_statement "while (plVar2 != pfVar3->line) {\n        pfVar3 = pfVar3->fr_next;\n        if (pfVar3 == (frag *)0x0) goto LAB_000276e6;\n      }" while (parenthesized_expression "(plVar2 != pfVar3->line)" ( (binary_expression "plVar2 != pfVar3->line" identifier != (field_expression "pfVar3->line" identifier -> field_identifier)) )) (compound_statement "{\n        pfVar3 = pfVar3->fr_next;\n        if (pfVar3 == (frag *)0x0) goto LAB_000276e6;\n      }" { (expression_statement "pfVar3 = pfVar3->fr_next;" (assignment_expression "pfVar3 = pfVar3->fr_next" identifier = (field_expression "pfVar3->fr_next" identifier -> field_identifier)) ;) (if_statement "if (pfVar3 == (frag *)0x0) goto LAB_000276e6;" if (parenthesized_expression "(pfVar3 == (frag *)0x0)" ( (binary_expression "pfVar3 == (frag *)0x0" identifier == (cast_expression "(frag *)0x0" ( (type_descriptor "frag *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000276e6;" goto statement_identifier ;)) })) (expression_statement "pfVar3->line = plVar4;" (assignment_expression "pfVar3->line = plVar4" (field_expression "pfVar3->line" identifier -> field_identifier) = identifier) ;) (expression_statement "fragP = frag_now;" (assignment_expression "fragP = frag_now" identifier = identifier) ;) })) (labeled_statement "LAB_000276e6:\n    plVar2->frag = fragP;" statement_identifier : (expression_statement "plVar2->frag = fragP;" (assignment_expression "plVar2->frag = fragP" (field_expression "plVar2->frag" identifier -> field_identifier) = identifier) ;)) (expression_statement "frag_wane(fragP);" (call_expression "frag_wane(fragP)" identifier (argument_list "(fragP)" ( identifier ))) ;) (expression_statement "frag_new(0);" (call_expression "frag_new(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00027660(void)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00027660(void)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00027660(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (if_statement "if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }" if (parenthesized_expression "((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8))" ( (binary_expression "(DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)" (parenthesized_expression "(DAT_000779c8 != (undefined4 *)0x0)" ( (binary_expression "DAT_000779c8 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(DAT_000779c8 != DAT_00077eb8)" ( (binary_expression "DAT_000779c8 != DAT_00077eb8" identifier != identifier) ))) )) (compound_statement "{\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }" { (expression_statement "FUN_00024bf0(DAT_00077e24);" (call_expression "FUN_00024bf0(DAT_00077e24)" identifier (argument_list "(DAT_00077e24)" ( identifier ))) ;) (expression_statement "FUN_00024830(0);" (call_expression "FUN_00024830(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "puVar3 = DAT_00077eb8;" (assignment_expression "puVar3 = DAT_00077eb8" identifier = identifier) ;) (expression_statement "puVar1 = DAT_000779c8;" (assignment_expression "puVar1 = DAT_000779c8" identifier = identifier) ;) (do_statement "do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);" do (compound_statement "{\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    }" { (expression_statement "puVar5 = puVar1;" (assignment_expression "puVar5 = puVar1" identifier = identifier) ;) (expression_statement "puVar1 = (undefined4 *)puVar5[4];" (assignment_expression "puVar1 = (undefined4 *)puVar5[4]" identifier = (cast_expression "(undefined4 *)puVar5[4]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[4]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(puVar1 != DAT_00077eb8)" ( (binary_expression "puVar1 != DAT_00077eb8" identifier != identifier) )) ;) (expression_statement "uVar2 = DAT_00077e24;" (assignment_expression "uVar2 = DAT_00077e24" identifier = identifier) ;) (for_statement "for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }" for ( (assignment_expression "iVar4 = *DAT_00077f88" identifier = (pointer_expression "*DAT_00077f88" * identifier)) ; (comma_expression "DAT_00077e24 = uVar2, iVar4 != 0" (assignment_expression "DAT_00077e24 = uVar2" identifier = identifier) , (binary_expression "iVar4 != 0" identifier != number_literal)) ; (assignment_expression "iVar4 = *(int *)(iVar4 + 0x30)" identifier = (pointer_expression "*(int *)(iVar4 + 0x30)" * (cast_expression "(int *)(iVar4 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) ) (compound_statement "{\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }" { (while_statement "while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }" while (parenthesized_expression "(puVar3 != *(undefined4 **)(iVar4 + 0x3c))" ( (binary_expression "puVar3 != *(undefined4 **)(iVar4 + 0x3c)" identifier != (pointer_expression "*(undefined4 **)(iVar4 + 0x3c)" * (cast_expression "(undefined4 **)(iVar4 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) ))))) )) (compound_statement "{\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }" { (expression_statement "iVar4 = *(int *)(iVar4 + 0x30);" (assignment_expression "iVar4 = *(int *)(iVar4 + 0x30)" identifier = (pointer_expression "*(int *)(iVar4 + 0x30)" * (cast_expression "(int *)(iVar4 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 == 0) goto LAB_000276e6;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000276e6;" goto statement_identifier ;)) })) (expression_statement "*(undefined4 **)(iVar4 + 0x3c) = puVar5;" (assignment_expression "*(undefined4 **)(iVar4 + 0x3c) = puVar5" (pointer_expression "*(undefined4 **)(iVar4 + 0x3c)" * (cast_expression "(undefined4 **)(iVar4 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = DAT_00077e24;" (assignment_expression "uVar2 = DAT_00077e24" identifier = identifier) ;) })) (labeled_statement "LAB_000276e6:\n    *puVar3 = uVar2;" statement_identifier : (expression_statement "*puVar3 = uVar2;" (assignment_expression "*puVar3 = uVar2" (pointer_expression "*puVar3" * identifier) = identifier) ;)) (expression_statement "FUN_00024bf0(uVar2);" (call_expression "FUN_00024bf0(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_00024830(0);" (call_expression "FUN_00024830(0)" identifier (argument_list "(0)" ( 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = (pointer_expression * IDENT)) ; (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ; (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ) (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00027660(void)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00027660(void)" (identifier "FUN_00027660") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  \n  if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (if_statement "if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }" (if "if") (parenthesized_expression "((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8))" (( "(") (binary_expression "(DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)" (parenthesized_expression "(DAT_000779c8 != (undefined4 *)0x0)" (( "(") (binary_expression "DAT_000779c8 != (undefined4 *)0x0" (identifier "DAT_000779c8") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(DAT_000779c8 != DAT_00077eb8)" (( "(") (binary_expression "DAT_000779c8 != DAT_00077eb8" (identifier "DAT_000779c8") (!= "!=") (identifier "DAT_00077eb8")) () ")"))) () ")")) (compound_statement "{\n    FUN_00024bf0(DAT_00077e24);\n    FUN_00024830(0);\n    puVar3 = DAT_00077eb8;\n    puVar1 = DAT_000779c8;\n    do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);\n    uVar2 = DAT_00077e24;\n    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }\nLAB_000276e6:\n    *puVar3 = uVar2;\n    FUN_00024bf0(uVar2);\n    FUN_00024830(0);\n  }" ({ "{") (expression_statement "FUN_00024bf0(DAT_00077e24);" (call_expression "FUN_00024bf0(DAT_00077e24)" (identifier "FUN_00024bf0") (argument_list "(DAT_00077e24)" (( "(") (identifier "DAT_00077e24") () ")"))) (; ";")) (expression_statement "FUN_00024830(0);" (call_expression "FUN_00024830(0)" (identifier "FUN_00024830") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (expression_statement "puVar3 = DAT_00077eb8;" (assignment_expression "puVar3 = DAT_00077eb8" (identifier "puVar3") (= "=") (identifier "DAT_00077eb8")) (; ";")) (expression_statement "puVar1 = DAT_000779c8;" (assignment_expression "puVar1 = DAT_000779c8" (identifier "puVar1") (= "=") (identifier "DAT_000779c8")) (; ";")) (do_statement "do {\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    } while (puVar1 != DAT_00077eb8);" (do "do") (compound_statement "{\n      puVar5 = puVar1;\n      puVar1 = (undefined4 *)puVar5[4];\n    }" ({ "{") (expression_statement "puVar5 = puVar1;" (assignment_expression "puVar5 = puVar1" (identifier "puVar5") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = (undefined4 *)puVar5[4];" (assignment_expression "puVar1 = (undefined4 *)puVar5[4]" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)puVar5[4]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar1 != DAT_00077eb8)" (( "(") (binary_expression "puVar1 != DAT_00077eb8" (identifier "puVar1") (!= "!=") (identifier "DAT_00077eb8")) () ")")) (; ";")) (expression_statement "uVar2 = DAT_00077e24;" (assignment_expression "uVar2 = DAT_00077e24" (identifier "uVar2") (= "=") (identifier "DAT_00077e24")) (; ";")) (for_statement "for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }" (for "for") (( "(") (assignment_expression "iVar4 = *DAT_00077f88" (identifier "iVar4") (= "=") (pointer_expression "*DAT_00077f88" (* "*") (identifier "DAT_00077f88"))) (; ";") (comma_expression "DAT_00077e24 = uVar2, iVar4 != 0" (assignment_expression "DAT_00077e24 = uVar2" (identifier "DAT_00077e24") (= "=") (identifier "uVar2")) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0"))) (; ";") (assignment_expression "iVar4 = *(int *)(iVar4 + 0x30)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar4 + 0x30)" (* "*") (cast_expression "(int *)(iVar4 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x30)" (( "(") (binary_expression "iVar4 + 0x30" (identifier "iVar4") (+ "+") (number_literal "0x30")) () ")"))))) () ")") (compound_statement "{\n      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }\n      *(undefined4 **)(iVar4 + 0x3c) = puVar5;\n      uVar2 = DAT_00077e24;\n    }" ({ "{") (while_statement "while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }" (while "while") (parenthesized_expression "(puVar3 != *(undefined4 **)(iVar4 + 0x3c))" (( "(") (binary_expression "puVar3 != *(undefined4 **)(iVar4 + 0x3c)" (identifier "puVar3") (!= "!=") (pointer_expression "*(undefined4 **)(iVar4 + 0x3c)" (* "*") (cast_expression "(undefined4 **)(iVar4 + 0x3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x3c)" (( "(") (binary_expression "iVar4 + 0x3c" (identifier "iVar4") (+ "+") (number_literal "0x3c")) () ")"))))) () ")")) (compound_statement "{\n        iVar4 = *(int *)(iVar4 + 0x30);\n        if (iVar4 == 0) goto LAB_000276e6;\n      }" ({ "{") (expression_statement "iVar4 = *(int *)(iVar4 + 0x30);" (assignment_expression "iVar4 = *(int *)(iVar4 + 0x30)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar4 + 0x30)" (* "*") (cast_expression "(int *)(iVar4 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x30)" (( "(") (binary_expression "iVar4 + 0x30" (identifier "iVar4") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if (iVar4 == 0) goto LAB_000276e6;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000276e6;" (goto "goto") (statement_identifier "LAB_000276e6") (; ";"))) (} "}"))) (expression_statement "*(undefined4 **)(iVar4 + 0x3c) = puVar5;" (assignment_expression "*(undefined4 **)(iVar4 + 0x3c) = puVar5" (pointer_expression "*(undefined4 **)(iVar4 + 0x3c)" (* "*") (cast_expression "(undefined4 **)(iVar4 + 0x3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x3c)" (( "(") (binary_expression "iVar4 + 0x3c" (identifier "iVar4") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (identifier "puVar5")) (; ";")) (expression_statement "uVar2 = DAT_00077e24;" (assignment_expression "uVar2 = DAT_00077e24" (identifier "uVar2") (= "=") (identifier "DAT_00077e24")) (; ";")) (} "}"))) (labeled_statement "LAB_000276e6:\n    *puVar3 = uVar2;" (statement_identifier "LAB_000276e6") (: ":") (expression_statement "*puVar3 = uVar2;" (assignment_expression "*puVar3 = uVar2" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (identifier "uVar2")) (; ";"))) (expression_statement "FUN_00024bf0(uVar2);" (call_expression "FUN_00024bf0(uVar2)" (identifier "FUN_00024bf0") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "FUN_00024830(0);" (call_expression "FUN_00024830(0)" (identifier "FUN_00024830") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
  type_1 *var_5;
  type_2 *fragP;
  type_1 *var_7;
  type_3 *var_6;
  type_1 *plVar4;
  
  if ((var_1 != (type_1 *)0x0) && (var_1 != var_2)) {
    var_3(frag_now);
    var_4(0);
    var_7 = var_2;
    var_5 = var_1;
    do {
      plVar4 = var_5;
      var_5 = plVar4->next;
    } while (var_5 != var_2);
    fragP = frag_now;
    for (var_6 = frchain_now->frch_root; frag_now = fragP, var_6 != (type_3 *)0x0;
        var_6 = var_6->fr_next) {
      while (var_7 != var_6->line) {
        var_6 = var_6->fr_next;
        if (var_6 == (type_3 *)0x0) goto LAB_000276e6;
      }
      var_6->line = plVar4;
      fragP = frag_now;
    }
LAB_000276e6:
    var_7->type_3 = fragP;
    var_3(fragP);
    var_4(0);
  }
  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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (for_statement initializer: (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))) condition: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))) update: (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)))))) body: (compound_statement (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) body: (compound_statement (expression_statement (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(void)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  int iVar4;
  undefined4 *puVar5;
  
  if ((DAT_000779c8 != (undefined4 *)0x0) && (DAT_000779c8 != DAT_00077eb8)) {
    FUN_00024bf0(DAT_00077e24);
    FUN_00024830(0);
    puVar3 = DAT_00077eb8;
    puVar1 = DAT_000779c8;
    do {
      puVar5 = puVar1;
      puVar1 = (undefined4 *)puVar5[4];
    } while (puVar1 != DAT_00077eb8);
    uVar2 = DAT_00077e24;
    for (iVar4 = *DAT_00077f88; DAT_00077e24 = uVar2, iVar4 != 0; iVar4 = *(int *)(iVar4 + 0x30)) {
      while (puVar3 != *(undefined4 **)(iVar4 + 0x3c)) {
        iVar4 = *(int *)(iVar4 + 0x30);
        if (iVar4 == 0) goto LAB_000276e6;
      }
      *(undefined4 **)(iVar4 + 0x3c) = puVar5;
      uVar2 = DAT_00077e24;
    }
LAB_000276e6:
    *puVar3 = uVar2;
    FUN_00024bf0(uVar2);
    FUN_00024830(0);
  }
  return;
}

