
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void listing_title(int depth)

{
  byte *pbVar1;
  byte bVar2;
  list_info_struct *plVar3;
  void *__dest;
  char *pcVar4;
  size_t __n;
  bool bVar5;
  
  bVar2 = *input_line_pointer;
  if (bVar2 == 0x20) {
    bVar2 = input_line_pointer[1];
    input_line_pointer = input_line_pointer + 1;
  }
  bVar5 = bVar2 == 0x22;
  pbVar1 = (byte *)input_line_pointer;
  if (bVar5) {
    pbVar1 = (byte *)(input_line_pointer + 1);
    bVar2 = input_line_pointer[1];
    input_line_pointer = (char *)pbVar1;
  }
  do {
    pcVar4 = input_line_pointer;
    if (bVar2 == 0) {
      input_line_pointer = (char *)pbVar1;
      return;
    }
    if (bVar5) {
      if (bVar2 == 0x22) goto LAB_00028a54;
    }
    else if (is_end_of_line[bVar2] != '\0') {
LAB_00028a54:
      if (listing != 0) {
        __n = (int)pbVar1 - (int)input_line_pointer;
        input_line_pointer = (char *)pbVar1;
        __dest = (void *)xmalloc(__n + 1);
        *(undefined1 *)((int)__dest + __n) = 0;
        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);
        plVar3 = listing_tail;
        listing_tail->edict = (depth == 0) + EDICT_SBTTL;
        plVar3->edict_arg = pcVar4;
        pbVar1 = (byte *)input_line_pointer;
      }
      input_line_pointer = (char *)pbVar1;
      if (bVar5) {
        input_line_pointer = input_line_pointer + 1;
      }
      demand_empty_rest_of_line();
      return;
    }
    if (bVar2 == 10) {
      input_line_pointer = (char *)pbVar1;
      pcVar4 = (char *)dcgettext(0,"new line in title",5);
      as_bad(pcVar4);
      demand_empty_rest_of_line();
      return;
    }
    bVar2 = pbVar1[1];
    pbVar1 = pbVar1 + 1;
  } while( true );
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void FUN_000289c0(int param_1)

{
  byte *pbVar1;
  byte bVar2;
  int iVar3;
  byte *__src;
  undefined4 uVar4;
  void *pvVar5;
  size_t __n;
  bool bVar6;
  
  bVar2 = *DAT_00089978;
  if (bVar2 == 0x20) {
    bVar2 = DAT_00089978[1];
    DAT_00089978 = DAT_00089978 + 1;
  }
  bVar6 = bVar2 == 0x22;
  pbVar1 = DAT_00089978;
  if (bVar6) {
    pbVar1 = DAT_00089978 + 1;
    bVar2 = DAT_00089978[1];
    DAT_00089978 = pbVar1;
  }
  do {
    __src = DAT_00089978;
    if (bVar2 == 0) {
      DAT_00089978 = pbVar1;
      return;
    }
    if (bVar6) {
      if (bVar2 == 0x22) goto LAB_00028a54;
    }
    else if ((&DAT_000802c0)[bVar2] != '\0') {
LAB_00028a54:
      if (_DAT_000897fc != 0) {
        __n = (int)pbVar1 - (int)DAT_00089978;
        DAT_00089978 = pbVar1;
        pvVar5 = (void *)xmalloc(__n + 1);
        *(undefined1 *)((int)pvVar5 + __n) = 0;
        pvVar5 = memcpy(pvVar5,__src,__n);
        iVar3 = DAT_00089938;
        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;
        *(void **)(iVar3 + 0x28) = pvVar5;
        pbVar1 = DAT_00089978;
      }
      DAT_00089978 = pbVar1;
      if (bVar6) {
        DAT_00089978 = DAT_00089978 + 1;
      }
      FUN_0002e4e0();
      return;
    }
    if (bVar2 == 10) {
      DAT_00089978 = pbVar1;
      uVar4 = dcgettext(0,"new line in title",5);
      FUN_0002bd60(uVar4);
      FUN_0002e4e0();
      return;
    }
    bVar2 = pbVar1[1];
    pbVar1 = pbVar1 + 1;
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016000
ADD EBX,0x57637
SUB ESP,0x1c
LEA ESI,[EBX + 0x9978]
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP + 0xc],EAX
MOVZX EAX,byte ptr [EAX]
CMP AL,0x20
JNZ 0x000289f6
MOV EAX,dword ptr [ESP + 0xc]
LEA EDX,[EAX + 0x1]
MOV dword ptr [ESP + 0xc],EDX
MOV dword ptr [ESI],EDX
MOVZX EAX,byte ptr [EAX + 0x1]
XOR EDI,EDI
CMP AL,0x22
JNZ 0x00028a12
MOV EAX,dword ptr [ESP + 0xc]
MOV EDI,0x1
LEA EDX,[EAX + 0x1]
MOV dword ptr [ESP + 0xc],EDX
MOV dword ptr [ESI],EDX
MOVZX EAX,byte ptr [EAX + 0x1]
MOV EDX,dword ptr [ESP + 0xc]
LEA EBP,[EBX + 0x2c0]
TEST AL,AL
JNZ 0x00028a41
JMP 0x00028a6c
CMP AL,0x22
SETZ CL
TEST CL,CL
JNZ 0x00028a54
CMP AL,0xa
JZ 0x00028a78
ADD EDX,0x1
MOV dword ptr [ESI],EDX
MOVZX EAX,byte ptr [EDX]
TEST AL,AL
JZ 0x00028a6c
TEST EDI,EDI
JNZ 0x00028a28
MOVZX ECX,AL
CMP byte ptr [EBP + ECX*0x1],0x0
SETNZ CL
TEST CL,CL
JZ 0x00028a31
LEA EAX,[EBX + 0x97fc]
MOV EBP,dword ptr [EAX]
TEST EBP,EBP
JNZ 0x00028aa8
TEST EDI,EDI
JZ 0x00028a67
ADD dword ptr [ESI],0x1
CALL 0x0002e4e0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdedf2]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
MOV dword ptr [ESP],EAX
CALL 0x0002bd60
CALL 0x0002e4e0
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB EDX,dword ptr [ESP + 0xc]
SUB ESP,0xc
LEA EAX,[EDX + 0x1]
MOV EBP,EDX
PUSH EAX
CALL 0x00014790
ADD ESP,0xc
MOV byte ptr [EAX + EBP*0x1],0x0
PUSH EBP
PUSH dword ptr [ESP + 0x14]
PUSH EAX
CALL 0x000140f0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x30]
XOR EDX,EDX
TEST ECX,ECX
LEA ECX,[EBX + 0x9938]
SETZ DL
MOV ECX,dword ptr [ECX]
ADD EDX,0x1
MOV dword ptr [ECX + 0x24],EDX
MOV dword ptr [ECX + 0x28],EAX
JMP 0x00028a60
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_000289c0(int param_1)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  int iVar3;\n  byte *__src;\n  undefined4 uVar4;\n  void *pvVar5;\n  size_t __n;\n  bool bVar6;\n  \n  bVar2 = *DAT_00089978;\n  if (bVar2 == 0x20) {\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  bVar6 = bVar2 == 0x22;\n  pbVar1 = DAT_00089978;\n  if (bVar6) {\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }\n  do {\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );\n}\n\n" comment comment (function_definition "void FUN_000289c0(int param_1)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  int iVar3;\n  byte *__src;\n  undefined4 uVar4;\n  void *pvVar5;\n  size_t __n;\n  bool bVar6;\n  \n  bVar2 = *DAT_00089978;\n  if (bVar2 == 0x20) {\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  bVar6 = bVar2 == 0x22;\n  pbVar1 = DAT_00089978;\n  if (bVar6) {\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }\n  do {\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );\n}" primitive_type (function_declarator "FUN_000289c0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  int iVar3;\n  byte *__src;\n  undefined4 uVar4;\n  void *pvVar5;\n  size_t __n;\n  bool bVar6;\n  \n  bVar2 = *DAT_00089978;\n  if (bVar2 == 0x20) {\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  bVar6 = bVar2 == 0x22;\n  pbVar1 = DAT_00089978;\n  if (bVar6) {\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }\n  do {\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte *__src;" type_identifier (pointer_declarator "*__src" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (expression_statement "bVar2 = *DAT_00089978;" (assignment_expression "bVar2 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) ;) (if_statement "if (bVar2 == 0x20) {\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }" if (parenthesized_expression "(bVar2 == 0x20)" ( (binary_expression "bVar2 == 0x20" identifier == number_literal) )) (compound_statement "{\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }" { (expression_statement "bVar2 = DAT_00089978[1];" (assignment_expression "bVar2 = DAT_00089978[1]" identifier = (subscript_expression "DAT_00089978[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) })) (expression_statement "bVar6 = bVar2 == 0x22;" (assignment_expression "bVar6 = bVar2 == 0x22" identifier = (binary_expression "bVar2 == 0x22" identifier == number_literal)) ;) (expression_statement "pbVar1 = DAT_00089978;" (assignment_expression "pbVar1 = DAT_00089978" identifier = identifier) ;) (if_statement "if (bVar6) {\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }" if (parenthesized_expression "(bVar6)" ( identifier )) (compound_statement "{\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }" { (expression_statement "pbVar1 = DAT_00089978 + 1;" (assignment_expression "pbVar1 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) (expression_statement "bVar2 = DAT_00089978[1];" (assignment_expression "bVar2 = DAT_00089978[1]" identifier = (subscript_expression "DAT_00089978[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" identifier = identifier) ;) })) (do_statement "do {\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );" do (compound_statement "{\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  }" { (expression_statement "__src = DAT_00089978;" (assignment_expression "__src = DAT_00089978" identifier = identifier) ;) (if_statement "if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }" if (parenthesized_expression "(bVar2 == 0)" ( (binary_expression "bVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      DAT_00089978 = pbVar1;\n      return;\n    }" { (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" identifier = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }" if (parenthesized_expression "(bVar6)" ( identifier )) (compound_statement "{\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }" { (if_statement "if (bVar2 == 0x22) goto LAB_00028a54;" if (parenthesized_expression "(bVar2 == 0x22)" ( (binary_expression "bVar2 == 0x22" identifier == number_literal) )) (goto_statement "goto LAB_00028a54;" goto statement_identifier ;)) }) (else_clause "else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }" else (if_statement "if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }" if (parenthesized_expression "((&DAT_000802c0)[bVar2] != '\0')" ( (binary_expression "(&DAT_000802c0)[bVar2] != '\0'" (subscript_expression "(&DAT_000802c0)[bVar2]" (parenthesized_expression "(&DAT_000802c0)" ( (pointer_expression "&DAT_000802c0" & identifier) )) [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }" { (labeled_statement "LAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }" statement_identifier : (if_statement "if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }" if (parenthesized_expression "(_DAT_000897fc != 0)" ( (binary_expression "_DAT_000897fc != 0" identifier != number_literal) )) (compound_statement "{\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }" { (expression_statement "__n = (int)pbVar1 - (int)DAT_00089978;" (assignment_expression "__n = (int)pbVar1 - (int)DAT_00089978" identifier = (binary_expression "(int)pbVar1 - (int)DAT_00089978" (cast_expression "(int)pbVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)DAT_00089978" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" identifier = identifier) ;) (expression_statement "pvVar5 = (void *)xmalloc(__n + 1);" (assignment_expression "pvVar5 = (void *)xmalloc(__n + 1)" identifier = (cast_expression "(void *)xmalloc(__n + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(__n + 1)" identifier (argument_list "(__n + 1)" ( (binary_expression "__n + 1" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)pvVar5 + __n) = 0;" (assignment_expression "*(undefined1 *)((int)pvVar5 + __n) = 0" (pointer_expression "*(undefined1 *)((int)pvVar5 + __n)" * (cast_expression "(undefined1 *)((int)pvVar5 + __n)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar5 + __n)" ( (binary_expression "(int)pvVar5 + __n" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "pvVar5 = memcpy(pvVar5,__src,__n);" (assignment_expression "pvVar5 = memcpy(pvVar5,__src,__n)" identifier = (call_expression "memcpy(pvVar5,__src,__n)" identifier (argument_list "(pvVar5,__src,__n)" ( identifier , identifier , identifier )))) ;) (expression_statement "iVar3 = DAT_00089938;" (assignment_expression "iVar3 = DAT_00089938" identifier = identifier) ;) (expression_statement "*(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;" (assignment_expression "*(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1" (pointer_expression "*(uint *)(DAT_00089938 + 0x24)" * (cast_expression "(uint *)(DAT_00089938 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00089938 + 0x24)" ( (binary_expression "DAT_00089938 + 0x24" identifier + number_literal) )))) = (binary_expression "(param_1 == 0) + 1" (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) + number_literal)) ;) (expression_statement "*(void **)(iVar3 + 0x28) = pvVar5;" (assignment_expression "*(void **)(iVar3 + 0x28) = pvVar5" (pointer_expression "*(void **)(iVar3 + 0x28)" * (cast_expression "(void **)(iVar3 + 0x28)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar1 = DAT_00089978;" (assignment_expression "pbVar1 = DAT_00089978" identifier = identifier) ;) }))) (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" identifier = identifier) ;) (if_statement "if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }" if (parenthesized_expression "(bVar6)" ( identifier )) (compound_statement "{\n        DAT_00089978 = DAT_00089978 + 1;\n      }" { (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) })) (expression_statement "FUN_0002e4e0();" (call_expression "FUN_0002e4e0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))) (if_statement "if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }" if (parenthesized_expression "(bVar2 == 10)" ( (binary_expression "bVar2 == 10" identifier == number_literal) )) (compound_statement "{\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }" { (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" identifier = identifier) ;) (expression_statement "uVar4 = dcgettext(0,"new line in title",5);" (assignment_expression "uVar4 = dcgettext(0,"new line in title",5)" identifier = (call_expression "dcgettext(0,"new line in title",5)" identifier (argument_list "(0,"new line in title",5)" ( number_literal , (string_literal ""new line in title"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bd60(uVar4);" (call_expression "FUN_0002bd60(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "FUN_0002e4e0();" (call_expression "FUN_0002e4e0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "bVar2 = pbVar1[1];" (assignment_expression "bVar2 = pbVar1[1]" identifier = (subscript_expression "pbVar1[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar1 = pbVar1 + 1;" (assignment_expression "pbVar1 = pbVar1 + 1" identifier = (binary_expression "pbVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid listing_title(int depth)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  list_info_struct *plVar3;\n  void *__dest;\n  char *pcVar4;\n  size_t __n;\n  bool bVar5;\n  \n  bVar2 = *input_line_pointer;\n  if (bVar2 == 0x20) {\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  bVar5 = bVar2 == 0x22;\n  pbVar1 = (byte *)input_line_pointer;\n  if (bVar5) {\n    pbVar1 = (byte *)(input_line_pointer + 1);\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = (char *)pbVar1;\n  }\n  do {\n    pcVar4 = input_line_pointer;\n    if (bVar2 == 0) {\n      input_line_pointer = (char *)pbVar1;\n      return;\n    }\n    if (bVar5) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if (is_end_of_line[bVar2] != '\0') {\nLAB_00028a54:\n      if (listing != 0) {\n        __n = (int)pbVar1 - (int)input_line_pointer;\n        input_line_pointer = (char *)pbVar1;\n        __dest = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)__dest + __n) = 0;\n        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);\n        plVar3 = listing_tail;\n        listing_tail->edict = (depth == 0) + EDICT_SBTTL;\n        plVar3->edict_arg = pcVar4;\n        pbVar1 = (byte *)input_line_pointer;\n      }\n      input_line_pointer = (char *)pbVar1;\n      if (bVar5) {\n        input_line_pointer = input_line_pointer + 1;\n      }\n      demand_empty_rest_of_line();\n      return;\n    }\n    if (bVar2 == 10) {\n      input_line_pointer = (char *)pbVar1;\n      pcVar4 = (char *)dcgettext(0,"new line in title",5);\n      as_bad(pcVar4);\n      demand_empty_rest_of_line();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );\n}\n\n" comment comment (function_definition "void listing_title(int depth)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  list_info_struct *plVar3;\n  void *__dest;\n  char *pcVar4;\n  size_t __n;\n  bool bVar5;\n  \n  bVar2 = *input_line_pointer;\n  if (bVar2 == 0x20) {\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  bVar5 = bVar2 == 0x22;\n  pbVar1 = (byte *)input_line_pointer;\n  if (bVar5) {\n    pbVar1 = (byte *)(input_line_pointer + 1);\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = (char *)pbVar1;\n  }\n  do {\n    pcVar4 = input_line_pointer;\n    if (bVar2 == 0) {\n      input_line_pointer = (char *)pbVar1;\n      return;\n    }\n    if (bVar5) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if (is_end_of_line[bVar2] != '\0') {\nLAB_00028a54:\n      if (listing != 0) {\n        __n = (int)pbVar1 - (int)input_line_pointer;\n        input_line_pointer = (char *)pbVar1;\n        __dest = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)__dest + __n) = 0;\n        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);\n        plVar3 = listing_tail;\n        listing_tail->edict = (depth == 0) + EDICT_SBTTL;\n        plVar3->edict_arg = pcVar4;\n        pbVar1 = (byte *)input_line_pointer;\n      }\n      input_line_pointer = (char *)pbVar1;\n      if (bVar5) {\n        input_line_pointer = input_line_pointer + 1;\n      }\n      demand_empty_rest_of_line();\n      return;\n    }\n    if (bVar2 == 10) {\n      input_line_pointer = (char *)pbVar1;\n      pcVar4 = (char *)dcgettext(0,"new line in title",5);\n      as_bad(pcVar4);\n      demand_empty_rest_of_line();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );\n}" primitive_type (function_declarator "listing_title(int depth)" identifier (parameter_list "(int depth)" ( (parameter_declaration "int depth" primitive_type identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  list_info_struct *plVar3;\n  void *__dest;\n  char *pcVar4;\n  size_t __n;\n  bool bVar5;\n  \n  bVar2 = *input_line_pointer;\n  if (bVar2 == 0x20) {\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  bVar5 = bVar2 == 0x22;\n  pbVar1 = (byte *)input_line_pointer;\n  if (bVar5) {\n    pbVar1 = (byte *)(input_line_pointer + 1);\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = (char *)pbVar1;\n  }\n  do {\n    pcVar4 = input_line_pointer;\n    if (bVar2 == 0) {\n      input_line_pointer = (char *)pbVar1;\n      return;\n    }\n    if (bVar5) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if (is_end_of_line[bVar2] != '\0') {\nLAB_00028a54:\n      if (listing != 0) {\n        __n = (int)pbVar1 - (int)input_line_pointer;\n        input_line_pointer = (char *)pbVar1;\n        __dest = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)__dest + __n) = 0;\n        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);\n        plVar3 = listing_tail;\n        listing_tail->edict = (depth == 0) + EDICT_SBTTL;\n        plVar3->edict_arg = pcVar4;\n        pbVar1 = (byte *)input_line_pointer;\n      }\n      input_line_pointer = (char *)pbVar1;\n      if (bVar5) {\n        input_line_pointer = input_line_pointer + 1;\n      }\n      demand_empty_rest_of_line();\n      return;\n    }\n    if (bVar2 == 10) {\n      input_line_pointer = (char *)pbVar1;\n      pcVar4 = (char *)dcgettext(0,"new line in title",5);\n      as_bad(pcVar4);\n      demand_empty_rest_of_line();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "list_info_struct *plVar3;" type_identifier (pointer_declarator "*plVar3" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (expression_statement "bVar2 = *input_line_pointer;" (assignment_expression "bVar2 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) ;) (if_statement "if (bVar2 == 0x20) {\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }" if (parenthesized_expression "(bVar2 == 0x20)" ( (binary_expression "bVar2 == 0x20" identifier == number_literal) )) (compound_statement "{\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }" { (expression_statement "bVar2 = input_line_pointer[1];" (assignment_expression "bVar2 = input_line_pointer[1]" identifier = (subscript_expression "input_line_pointer[1]" identifier [ number_literal ])) ;) (expression_statement "input_line_pointer = input_line_pointer + 1;" (assignment_expression "input_line_pointer = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) })) (expression_statement "bVar5 = bVar2 == 0x22;" (assignment_expression "bVar5 = bVar2 == 0x22" identifier = (binary_expression "bVar2 == 0x22" identifier == number_literal)) ;) (expression_statement "pbVar1 = (byte *)input_line_pointer;" (assignment_expression "pbVar1 = (byte *)input_line_pointer" identifier = (cast_expression "(byte *)input_line_pointer" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (bVar5) {\n    pbVar1 = (byte *)(input_line_pointer + 1);\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = (char *)pbVar1;\n  }" if (parenthesized_expression "(bVar5)" ( identifier )) (compound_statement "{\n    pbVar1 = (byte *)(input_line_pointer + 1);\n    bVar2 = input_line_pointer[1];\n    input_line_pointer = (char *)pbVar1;\n  }" { (expression_statement "pbVar1 = (byte *)(input_line_pointer + 1);" (assignment_expression "pbVar1 = (byte *)(input_line_pointer + 1)" identifier = (cast_expression "(byte *)(input_line_pointer + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(input_line_pointer + 1)" ( (binary_expression "input_line_pointer + 1" identifier + number_literal) )))) ;) (expression_statement "bVar2 = input_line_pointer[1];" (assignment_expression "bVar2 = input_line_pointer[1]" identifier = (subscript_expression "input_line_pointer[1]" identifier [ number_literal ])) ;) (expression_statement "input_line_pointer = (char *)pbVar1;" (assignment_expression "input_line_pointer = (char *)pbVar1" identifier = (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (do_statement "do {\n    pcVar4 = input_line_pointer;\n    if (bVar2 == 0) {\n      input_line_pointer = (char *)pbVar1;\n      return;\n    }\n    if (bVar5) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if (is_end_of_line[bVar2] != '\0') {\nLAB_00028a54:\n      if (listing != 0) {\n        __n = (int)pbVar1 - (int)input_line_pointer;\n        input_line_pointer = (char *)pbVar1;\n        __dest = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)__dest + __n) = 0;\n        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);\n        plVar3 = listing_tail;\n        listing_tail->edict = (depth == 0) + EDICT_SBTTL;\n        plVar3->edict_arg = pcVar4;\n        pbVar1 = (byte *)input_line_pointer;\n      }\n      input_line_pointer = (char *)pbVar1;\n      if (bVar5) {\n        input_line_pointer = input_line_pointer + 1;\n      }\n      demand_empty_rest_of_line();\n      return;\n    }\n    if (bVar2 == 10) {\n      input_line_pointer = (char *)pbVar1;\n      pcVar4 = (char *)dcgettext(0,"new line in title",5);\n      as_bad(pcVar4);\n      demand_empty_rest_of_line();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );" do (compound_statement "{\n    pcVar4 = input_line_pointer;\n    if (bVar2 == 0) {\n      input_line_pointer = (char *)pbVar1;\n      return;\n    }\n    if (bVar5) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if (is_end_of_line[bVar2] != '\0') {\nLAB_00028a54:\n      if (listing != 0) {\n        __n = (int)pbVar1 - (int)input_line_pointer;\n        input_line_pointer = (char *)pbVar1;\n        __dest = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)__dest + __n) = 0;\n        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);\n        plVar3 = listing_tail;\n        listing_tail->edict = (depth == 0) + EDICT_SBTTL;\n        plVar3->edict_arg = pcVar4;\n        pbVar1 = (byte *)input_line_pointer;\n      }\n      input_line_pointer = (char *)pbVar1;\n      if (bVar5) {\n        input_line_pointer = input_line_pointer + 1;\n      }\n      demand_empty_rest_of_line();\n      return;\n    }\n    if (bVar2 == 10) {\n      input_line_pointer = (char *)pbVar1;\n      pcVar4 = (char *)dcgettext(0,"new line in title",5);\n      as_bad(pcVar4);\n      demand_empty_rest_of_line();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  }" { (expression_statement "pcVar4 = input_line_pointer;" (assignment_expression "pcVar4 = input_line_pointer" identifier = identifier) ;) (if_statement "if (bVar2 == 0) {\n      input_line_pointer = (char *)pbVar1;\n      return;\n    }" if (parenthesized_expression "(bVar2 == 0)" ( (binary_expression "bVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      input_line_pointer = (char *)pbVar1;\n      return;\n    }" { (expression_statement "input_line_pointer = (char *)pbVar1;" (assignment_expression "input_line_pointer = (char *)pbVar1" identifier = (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (return_statement "return;" return ;) })) (if_statement "if (bVar5) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if (is_end_of_line[bVar2] != '\0') {\nLAB_00028a54:\n      if (listing != 0) {\n        __n = (int)pbVar1 - (int)input_line_pointer;\n        input_line_pointer = (char *)pbVar1;\n        __dest = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)__dest + __n) = 0;\n        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);\n        plVar3 = listing_tail;\n        listing_tail->edict = (depth == 0) + EDICT_SBTTL;\n        plVar3->edict_arg = pcVar4;\n        pbVar1 = (byte *)input_line_pointer;\n      }\n      input_line_pointer = (char *)pbVar1;\n      if (bVar5) {\n        input_line_pointer = input_line_pointer + 1;\n      }\n      demand_empty_rest_of_line();\n      return;\n    }" if (parenthesized_expression "(bVar5)" ( identifier )) (compound_statement "{\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }" { (if_statement "if (bVar2 == 0x22) goto LAB_00028a54;" if (parenthesized_expression "(bVar2 == 0x22)" ( (binary_expression "bVar2 == 0x22" identifier == number_literal) )) (goto_statement "goto LAB_00028a54;" goto statement_identifier ;)) }) (else_clause "else if (is_end_of_line[bVar2] != '\0') {\nLAB_00028a54:\n      if (listing != 0) {\n        __n = (int)pbVar1 - (int)input_line_pointer;\n        input_line_pointer = (char *)pbVar1;\n        __dest = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)__dest + __n) = 0;\n        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);\n        plVar3 = listing_tail;\n        listing_tail->edict = (depth == 0) + EDICT_SBTTL;\n        plVar3->edict_arg = pcVar4;\n        pbVar1 = (byte *)input_line_pointer;\n      }\n      input_line_pointer = (char *)pbVar1;\n      if (bVar5) {\n        input_line_pointer = input_line_pointer + 1;\n      }\n      demand_empty_rest_of_line();\n      return;\n    }" else (if_statement "if (is_end_of_line[bVar2] != '\0') {\nLAB_00028a54:\n      if (listing != 0) {\n        __n = (int)pbVar1 - (int)input_line_pointer;\n        input_line_pointer = (char *)pbVar1;\n        __dest = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)__dest + __n) = 0;\n        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);\n        plVar3 = listing_tail;\n        listing_tail->edict = (depth == 0) + EDICT_SBTTL;\n        plVar3->edict_arg = pcVar4;\n        pbVar1 = (byte *)input_line_pointer;\n      }\n      input_line_pointer = (char *)pbVar1;\n      if (bVar5) {\n        input_line_pointer = input_line_pointer + 1;\n      }\n      demand_empty_rest_of_line();\n      return;\n    }" if (parenthesized_expression "(is_end_of_line[bVar2] != '\0')" ( (binary_expression "is_end_of_line[bVar2] != '\0'" (subscript_expression "is_end_of_line[bVar2]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00028a54:\n      if (listing != 0) {\n        __n = (int)pbVar1 - (int)input_line_pointer;\n        input_line_pointer = (char *)pbVar1;\n        __dest = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)__dest + __n) = 0;\n        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);\n        plVar3 = listing_tail;\n        listing_tail->edict = (depth == 0) + EDICT_SBTTL;\n        plVar3->edict_arg = pcVar4;\n        pbVar1 = (byte *)input_line_pointer;\n      }\n      input_line_pointer = (char *)pbVar1;\n      if (bVar5) {\n        input_line_pointer = input_line_pointer + 1;\n      }\n      demand_empty_rest_of_line();\n      return;\n    }" { (labeled_statement "LAB_00028a54:\n      if (listing != 0) {\n        __n = (int)pbVar1 - (int)input_line_pointer;\n        input_line_pointer = (char *)pbVar1;\n        __dest = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)__dest + __n) = 0;\n        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);\n        plVar3 = listing_tail;\n        listing_tail->edict = (depth == 0) + EDICT_SBTTL;\n        plVar3->edict_arg = pcVar4;\n        pbVar1 = (byte *)input_line_pointer;\n      }" statement_identifier : (if_statement "if (listing != 0) {\n        __n = (int)pbVar1 - (int)input_line_pointer;\n        input_line_pointer = (char *)pbVar1;\n        __dest = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)__dest + __n) = 0;\n        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);\n        plVar3 = listing_tail;\n        listing_tail->edict = (depth == 0) + EDICT_SBTTL;\n        plVar3->edict_arg = pcVar4;\n        pbVar1 = (byte *)input_line_pointer;\n      }" if (parenthesized_expression "(listing != 0)" ( (binary_expression "listing != 0" identifier != number_literal) )) (compound_statement "{\n        __n = (int)pbVar1 - (int)input_line_pointer;\n        input_line_pointer = (char *)pbVar1;\n        __dest = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)__dest + __n) = 0;\n        pcVar4 = (char *)memcpy(__dest,pcVar4,__n);\n        plVar3 = listing_tail;\n        listing_tail->edict = (depth == 0) + EDICT_SBTTL;\n        plVar3->edict_arg = pcVar4;\n        pbVar1 = (byte *)input_line_pointer;\n      }" { (expression_statement "__n = (int)pbVar1 - (int)input_line_pointer;" (assignment_expression "__n = (int)pbVar1 - (int)input_line_pointer" identifier = (binary_expression "(int)pbVar1 - (int)input_line_pointer" (cast_expression "(int)pbVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)input_line_pointer" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "input_line_pointer = (char *)pbVar1;" (assignment_expression "input_line_pointer = (char *)pbVar1" identifier = (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "__dest = (void *)xmalloc(__n + 1);" (assignment_expression "__dest = (void *)xmalloc(__n + 1)" identifier = (cast_expression "(void *)xmalloc(__n + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(__n + 1)" identifier (argument_list "(__n + 1)" ( (binary_expression "__n + 1" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)__dest + __n) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + __n) = 0" (pointer_expression "*(undefined1 *)((int)__dest + __n)" * (cast_expression "(undefined1 *)((int)__dest + __n)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + __n)" ( (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "pcVar4 = (char *)memcpy(__dest,pcVar4,__n);" (assignment_expression "pcVar4 = (char *)memcpy(__dest,pcVar4,__n)" identifier = (cast_expression "(char *)memcpy(__dest,pcVar4,__n)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "memcpy(__dest,pcVar4,__n)" identifier (argument_list "(__dest,pcVar4,__n)" ( identifier , identifier , identifier ))))) ;) (expression_statement "plVar3 = listing_tail;" (assignment_expression "plVar3 = listing_tail" identifier = identifier) ;) (expression_statement "listing_tail->edict = (depth == 0) + EDICT_SBTTL;" (assignment_expression "listing_tail->edict = (depth == 0) + EDICT_SBTTL" (field_expression "listing_tail->edict" identifier -> field_identifier) = (binary_expression "(depth == 0) + EDICT_SBTTL" (parenthesized_expression "(depth == 0)" ( (binary_expression "depth == 0" identifier == number_literal) )) + identifier)) ;) (expression_statement "plVar3->edict_arg = pcVar4;" (assignment_expression "plVar3->edict_arg = pcVar4" (field_expression "plVar3->edict_arg" identifier -> field_identifier) = identifier) ;) (expression_statement "pbVar1 = (byte *)input_line_pointer;" (assignment_expression "pbVar1 = (byte *)input_line_pointer" identifier = (cast_expression "(byte *)input_line_pointer" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (expression_statement "input_line_pointer = (char *)pbVar1;" (assignment_expression "input_line_pointer = (char *)pbVar1" identifier = (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (bVar5) {\n        input_line_pointer = input_line_pointer + 1;\n      }" if (parenthesized_expression "(bVar5)" ( identifier )) (compound_statement "{\n        input_line_pointer = input_line_pointer + 1;\n      }" { (expression_statement "input_line_pointer = input_line_pointer + 1;" (assignment_expression "input_line_pointer = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) })) (expression_statement "demand_empty_rest_of_line();" (call_expression "demand_empty_rest_of_line()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))) (if_statement "if (bVar2 == 10) {\n      input_line_pointer = (char *)pbVar1;\n      pcVar4 = (char *)dcgettext(0,"new line in title",5);\n      as_bad(pcVar4);\n      demand_empty_rest_of_line();\n      return;\n    }" if (parenthesized_expression "(bVar2 == 10)" ( (binary_expression "bVar2 == 10" identifier == number_literal) )) (compound_statement "{\n      input_line_pointer = (char *)pbVar1;\n      pcVar4 = (char *)dcgettext(0,"new line in title",5);\n      as_bad(pcVar4);\n      demand_empty_rest_of_line();\n      return;\n    }" { (expression_statement "input_line_pointer = (char *)pbVar1;" (assignment_expression "input_line_pointer = (char *)pbVar1" identifier = (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pcVar4 = (char *)dcgettext(0,"new line in title",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"new line in title",5)" identifier = (cast_expression "(char *)dcgettext(0,"new line in title",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"new line in title",5)" identifier (argument_list "(0,"new line in title",5)" ( number_literal , (string_literal ""new line in title"" " string_content ") , number_literal ))))) ;) (expression_statement "as_bad(pcVar4);" (call_expression "as_bad(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "demand_empty_rest_of_line();" (call_expression "demand_empty_rest_of_line()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "bVar2 = pbVar1[1];" (assignment_expression "bVar2 = pbVar1[1]" identifier = (subscript_expression "pbVar1[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar1 = pbVar1 + 1;" (assignment_expression "pbVar1 = pbVar1 + 1" identifier = (binary_expression "pbVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_000289c0(int param_1)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  int iVar3;\n  byte *__src;\n  undefined4 uVar4;\n  void *pvVar5;\n  size_t __n;\n  bool bVar6;\n  \n  bVar2 = *DAT_00089978;\n  if (bVar2 == 0x20) {\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  bVar6 = bVar2 == 0x22;\n  pbVar1 = DAT_00089978;\n  if (bVar6) {\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }\n  do {\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );\n}\n\n" (function_definition "void FUN_000289c0(int param_1)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  int iVar3;\n  byte *__src;\n  undefined4 uVar4;\n  void *pvVar5;\n  size_t __n;\n  bool bVar6;\n  \n  bVar2 = *DAT_00089978;\n  if (bVar2 == 0x20) {\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  bVar6 = bVar2 == 0x22;\n  pbVar1 = DAT_00089978;\n  if (bVar6) {\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }\n  do {\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );\n}" primitive_type (function_declarator "FUN_000289c0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  int iVar3;\n  byte *__src;\n  undefined4 uVar4;\n  void *pvVar5;\n  size_t __n;\n  bool bVar6;\n  \n  bVar2 = *DAT_00089978;\n  if (bVar2 == 0x20) {\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  bVar6 = bVar2 == 0x22;\n  pbVar1 = DAT_00089978;\n  if (bVar6) {\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }\n  do {\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "byte *__src;" type_identifier (pointer_declarator "*__src" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (expression_statement "bVar2 = *DAT_00089978;" (assignment_expression "bVar2 = *DAT_00089978" identifier = (pointer_expression "*DAT_00089978" * identifier)) ;) (if_statement "if (bVar2 == 0x20) {\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }" if (parenthesized_expression "(bVar2 == 0x20)" ( (binary_expression "bVar2 == 0x20" identifier == number_literal) )) (compound_statement "{\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }" { (expression_statement "bVar2 = DAT_00089978[1];" (assignment_expression "bVar2 = DAT_00089978[1]" identifier = (subscript_expression "DAT_00089978[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) })) (expression_statement "bVar6 = bVar2 == 0x22;" (assignment_expression "bVar6 = bVar2 == 0x22" identifier = (binary_expression "bVar2 == 0x22" identifier == number_literal)) ;) (expression_statement "pbVar1 = DAT_00089978;" (assignment_expression "pbVar1 = DAT_00089978" identifier = identifier) ;) (if_statement "if (bVar6) {\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }" if (parenthesized_expression "(bVar6)" ( identifier )) (compound_statement "{\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }" { (expression_statement "pbVar1 = DAT_00089978 + 1;" (assignment_expression "pbVar1 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) (expression_statement "bVar2 = DAT_00089978[1];" (assignment_expression "bVar2 = DAT_00089978[1]" identifier = (subscript_expression "DAT_00089978[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" identifier = identifier) ;) })) (do_statement "do {\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );" do (compound_statement "{\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  }" { (expression_statement "__src = DAT_00089978;" (assignment_expression "__src = DAT_00089978" identifier = identifier) ;) (if_statement "if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }" if (parenthesized_expression "(bVar2 == 0)" ( (binary_expression "bVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      DAT_00089978 = pbVar1;\n      return;\n    }" { (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" identifier = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }" if (parenthesized_expression "(bVar6)" ( identifier )) (compound_statement "{\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }" { (if_statement "if (bVar2 == 0x22) goto LAB_00028a54;" if (parenthesized_expression "(bVar2 == 0x22)" ( (binary_expression "bVar2 == 0x22" identifier == number_literal) )) (goto_statement "goto LAB_00028a54;" goto statement_identifier ;)) }) (else_clause "else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }" else (if_statement "if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }" if (parenthesized_expression "((&DAT_000802c0)[bVar2] != '\0')" ( (binary_expression "(&DAT_000802c0)[bVar2] != '\0'" (subscript_expression "(&DAT_000802c0)[bVar2]" (parenthesized_expression "(&DAT_000802c0)" ( (pointer_expression "&DAT_000802c0" & identifier) )) [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }" { (labeled_statement "LAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }" statement_identifier : (if_statement "if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }" if (parenthesized_expression "(_DAT_000897fc != 0)" ( (binary_expression "_DAT_000897fc != 0" identifier != number_literal) )) (compound_statement "{\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }" { (expression_statement "__n = (int)pbVar1 - (int)DAT_00089978;" (assignment_expression "__n = (int)pbVar1 - (int)DAT_00089978" identifier = (binary_expression "(int)pbVar1 - (int)DAT_00089978" (cast_expression "(int)pbVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)DAT_00089978" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" identifier = identifier) ;) (expression_statement "pvVar5 = (void *)xmalloc(__n + 1);" (assignment_expression "pvVar5 = (void *)xmalloc(__n + 1)" identifier = (cast_expression "(void *)xmalloc(__n + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(__n + 1)" identifier (argument_list "(__n + 1)" ( (binary_expression "__n + 1" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)pvVar5 + __n) = 0;" (assignment_expression "*(undefined1 *)((int)pvVar5 + __n) = 0" (pointer_expression "*(undefined1 *)((int)pvVar5 + __n)" * (cast_expression "(undefined1 *)((int)pvVar5 + __n)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar5 + __n)" ( (binary_expression "(int)pvVar5 + __n" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "pvVar5 = memcpy(pvVar5,__src,__n);" (assignment_expression "pvVar5 = memcpy(pvVar5,__src,__n)" identifier = (call_expression "memcpy(pvVar5,__src,__n)" identifier (argument_list "(pvVar5,__src,__n)" ( identifier , identifier , identifier )))) ;) (expression_statement "iVar3 = DAT_00089938;" (assignment_expression "iVar3 = DAT_00089938" identifier = identifier) ;) (expression_statement "*(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;" (assignment_expression "*(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1" (pointer_expression "*(uint *)(DAT_00089938 + 0x24)" * (cast_expression "(uint *)(DAT_00089938 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00089938 + 0x24)" ( (binary_expression "DAT_00089938 + 0x24" identifier + number_literal) )))) = (binary_expression "(param_1 == 0) + 1" (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) + number_literal)) ;) (expression_statement "*(void **)(iVar3 + 0x28) = pvVar5;" (assignment_expression "*(void **)(iVar3 + 0x28) = pvVar5" (pointer_expression "*(void **)(iVar3 + 0x28)" * (cast_expression "(void **)(iVar3 + 0x28)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar1 = DAT_00089978;" (assignment_expression "pbVar1 = DAT_00089978" identifier = identifier) ;) }))) (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" identifier = identifier) ;) (if_statement "if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }" if (parenthesized_expression "(bVar6)" ( identifier )) (compound_statement "{\n        DAT_00089978 = DAT_00089978 + 1;\n      }" { (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" identifier = (binary_expression "DAT_00089978 + 1" identifier + number_literal)) ;) })) (expression_statement "FUN_0002e4e0();" (call_expression "FUN_0002e4e0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))) (if_statement "if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }" if (parenthesized_expression "(bVar2 == 10)" ( (binary_expression "bVar2 == 10" identifier == number_literal) )) (compound_statement "{\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }" { (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" identifier = identifier) ;) (expression_statement "uVar4 = dcgettext(0,"new line in title",5);" (assignment_expression "uVar4 = dcgettext(0,"new line in title",5)" identifier = (call_expression "dcgettext(0,"new line in title",5)" identifier (argument_list "(0,"new line in title",5)" ( number_literal , (string_literal ""new line in title"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bd60(uVar4);" (call_expression "FUN_0002bd60(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "FUN_0002e4e0();" (call_expression "FUN_0002e4e0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "bVar2 = pbVar1[1];" (assignment_expression "bVar2 = pbVar1[1]" identifier = (subscript_expression "pbVar1[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar1 = pbVar1 + 1;" (assignment_expression "pbVar1 = pbVar1 + 1" identifier = (binary_expression "pbVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) + LIT)) ;) (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) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_000289c0(int param_1)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  int iVar3;\n  byte *__src;\n  undefined4 uVar4;\n  void *pvVar5;\n  size_t __n;\n  bool bVar6;\n  \n  bVar2 = *DAT_00089978;\n  if (bVar2 == 0x20) {\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  bVar6 = bVar2 == 0x22;\n  pbVar1 = DAT_00089978;\n  if (bVar6) {\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }\n  do {\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_000289c0(int param_1)" (identifier "FUN_000289c0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  int iVar3;\n  byte *__src;\n  undefined4 uVar4;\n  void *pvVar5;\n  size_t __n;\n  bool bVar6;\n  \n  bVar2 = *DAT_00089978;\n  if (bVar2 == 0x20) {\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }\n  bVar6 = bVar2 == 0x22;\n  pbVar1 = DAT_00089978;\n  if (bVar6) {\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }\n  do {\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "byte *__src;" (type_identifier "byte") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "void *pvVar5;" (primitive_type "void") (pointer_declarator "*pvVar5" (* "*") (identifier "pvVar5")) (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (expression_statement "bVar2 = *DAT_00089978;" (assignment_expression "bVar2 = *DAT_00089978" (identifier "bVar2") (= "=") (pointer_expression "*DAT_00089978" (* "*") (identifier "DAT_00089978"))) (; ";")) (if_statement "if (bVar2 == 0x20) {\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }" (if "if") (parenthesized_expression "(bVar2 == 0x20)" (( "(") (binary_expression "bVar2 == 0x20" (identifier "bVar2") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = DAT_00089978 + 1;\n  }" ({ "{") (expression_statement "bVar2 = DAT_00089978[1];" (assignment_expression "bVar2 = DAT_00089978[1]" (identifier "bVar2") (= "=") (subscript_expression "DAT_00089978[1]" (identifier "DAT_00089978") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" (identifier "DAT_00089978") (= "=") (binary_expression "DAT_00089978 + 1" (identifier "DAT_00089978") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "bVar6 = bVar2 == 0x22;" (assignment_expression "bVar6 = bVar2 == 0x22" (identifier "bVar6") (= "=") (binary_expression "bVar2 == 0x22" (identifier "bVar2") (== "==") (number_literal "0x22"))) (; ";")) (expression_statement "pbVar1 = DAT_00089978;" (assignment_expression "pbVar1 = DAT_00089978" (identifier "pbVar1") (= "=") (identifier "DAT_00089978")) (; ";")) (if_statement "if (bVar6) {\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }" (if "if") (parenthesized_expression "(bVar6)" (( "(") (identifier "bVar6") () ")")) (compound_statement "{\n    pbVar1 = DAT_00089978 + 1;\n    bVar2 = DAT_00089978[1];\n    DAT_00089978 = pbVar1;\n  }" ({ "{") (expression_statement "pbVar1 = DAT_00089978 + 1;" (assignment_expression "pbVar1 = DAT_00089978 + 1" (identifier "pbVar1") (= "=") (binary_expression "DAT_00089978 + 1" (identifier "DAT_00089978") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar2 = DAT_00089978[1];" (assignment_expression "bVar2 = DAT_00089978[1]" (identifier "bVar2") (= "=") (subscript_expression "DAT_00089978[1]" (identifier "DAT_00089978") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" (identifier "DAT_00089978") (= "=") (identifier "pbVar1")) (; ";")) (} "}"))) (do_statement "do {\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  } while( true );" (do "do") (compound_statement "{\n    __src = DAT_00089978;\n    if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }\n    if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }\n    if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }\n    bVar2 = pbVar1[1];\n    pbVar1 = pbVar1 + 1;\n  }" ({ "{") (expression_statement "__src = DAT_00089978;" (assignment_expression "__src = DAT_00089978" (identifier "__src") (= "=") (identifier "DAT_00089978")) (; ";")) (if_statement "if (bVar2 == 0) {\n      DAT_00089978 = pbVar1;\n      return;\n    }" (if "if") (parenthesized_expression "(bVar2 == 0)" (( "(") (binary_expression "bVar2 == 0" (identifier "bVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      DAT_00089978 = pbVar1;\n      return;\n    }" ({ "{") (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" (identifier "DAT_00089978") (= "=") (identifier "pbVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (bVar6) {\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }\n    else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }" (if "if") (parenthesized_expression "(bVar6)" (( "(") (identifier "bVar6") () ")")) (compound_statement "{\n      if (bVar2 == 0x22) goto LAB_00028a54;\n    }" ({ "{") (if_statement "if (bVar2 == 0x22) goto LAB_00028a54;" (if "if") (parenthesized_expression "(bVar2 == 0x22)" (( "(") (binary_expression "bVar2 == 0x22" (identifier "bVar2") (== "==") (number_literal "0x22")) () ")")) (goto_statement "goto LAB_00028a54;" (goto "goto") (statement_identifier "LAB_00028a54") (; ";"))) (} "}")) (else_clause "else if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }" (else "else") (if_statement "if ((&DAT_000802c0)[bVar2] != '\0') {\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }" (if "if") (parenthesized_expression "((&DAT_000802c0)[bVar2] != '\0')" (( "(") (binary_expression "(&DAT_000802c0)[bVar2] != '\0'" (subscript_expression "(&DAT_000802c0)[bVar2]" (parenthesized_expression "(&DAT_000802c0)" (( "(") (pointer_expression "&DAT_000802c0" (& "&") (identifier "DAT_000802c0")) () ")")) ([ "[") (identifier "bVar2") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }\n      DAT_00089978 = pbVar1;\n      if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }\n      FUN_0002e4e0();\n      return;\n    }" ({ "{") (labeled_statement "LAB_00028a54:\n      if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }" (statement_identifier "LAB_00028a54") (: ":") (if_statement "if (_DAT_000897fc != 0) {\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }" (if "if") (parenthesized_expression "(_DAT_000897fc != 0)" (( "(") (binary_expression "_DAT_000897fc != 0" (identifier "_DAT_000897fc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        __n = (int)pbVar1 - (int)DAT_00089978;\n        DAT_00089978 = pbVar1;\n        pvVar5 = (void *)xmalloc(__n + 1);\n        *(undefined1 *)((int)pvVar5 + __n) = 0;\n        pvVar5 = memcpy(pvVar5,__src,__n);\n        iVar3 = DAT_00089938;\n        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;\n        *(void **)(iVar3 + 0x28) = pvVar5;\n        pbVar1 = DAT_00089978;\n      }" ({ "{") (expression_statement "__n = (int)pbVar1 - (int)DAT_00089978;" (assignment_expression "__n = (int)pbVar1 - (int)DAT_00089978" (identifier "__n") (= "=") (binary_expression "(int)pbVar1 - (int)DAT_00089978" (cast_expression "(int)pbVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar1")) (- "-") (cast_expression "(int)DAT_00089978" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_00089978")))) (; ";")) (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" (identifier "DAT_00089978") (= "=") (identifier "pbVar1")) (; ";")) (expression_statement "pvVar5 = (void *)xmalloc(__n + 1);" (assignment_expression "pvVar5 = (void *)xmalloc(__n + 1)" (identifier "pvVar5") (= "=") (cast_expression "(void *)xmalloc(__n + 1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(__n + 1)" (identifier "xmalloc") (argument_list "(__n + 1)" (( "(") (binary_expression "__n + 1" (identifier "__n") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)((int)pvVar5 + __n) = 0;" (assignment_expression "*(undefined1 *)((int)pvVar5 + __n) = 0" (pointer_expression "*(undefined1 *)((int)pvVar5 + __n)" (* "*") (cast_expression "(undefined1 *)((int)pvVar5 + __n)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar5 + __n)" (( "(") (binary_expression "(int)pvVar5 + __n" (cast_expression "(int)pvVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar5")) (+ "+") (identifier "__n")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "pvVar5 = memcpy(pvVar5,__src,__n);" (assignment_expression "pvVar5 = memcpy(pvVar5,__src,__n)" (identifier "pvVar5") (= "=") (call_expression "memcpy(pvVar5,__src,__n)" (identifier "memcpy") (argument_list "(pvVar5,__src,__n)" (( "(") (identifier "pvVar5") (, ",") (identifier "__src") (, ",") (identifier "__n") () ")")))) (; ";")) (expression_statement "iVar3 = DAT_00089938;" (assignment_expression "iVar3 = DAT_00089938" (identifier "iVar3") (= "=") (identifier "DAT_00089938")) (; ";")) (expression_statement "*(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;" (assignment_expression "*(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1" (pointer_expression "*(uint *)(DAT_00089938 + 0x24)" (* "*") (cast_expression "(uint *)(DAT_00089938 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00089938 + 0x24)" (( "(") (binary_expression "DAT_00089938 + 0x24" (identifier "DAT_00089938") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "(param_1 == 0) + 1" (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(void **)(iVar3 + 0x28) = pvVar5;" (assignment_expression "*(void **)(iVar3 + 0x28) = pvVar5" (pointer_expression "*(void **)(iVar3 + 0x28)" (* "*") (cast_expression "(void **)(iVar3 + 0x28)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x28)" (( "(") (binary_expression "iVar3 + 0x28" (identifier "iVar3") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "pvVar5")) (; ";")) (expression_statement "pbVar1 = DAT_00089978;" (assignment_expression "pbVar1 = DAT_00089978" (identifier "pbVar1") (= "=") (identifier "DAT_00089978")) (; ";")) (} "}")))) (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" (identifier "DAT_00089978") (= "=") (identifier "pbVar1")) (; ";")) (if_statement "if (bVar6) {\n        DAT_00089978 = DAT_00089978 + 1;\n      }" (if "if") (parenthesized_expression "(bVar6)" (( "(") (identifier "bVar6") () ")")) (compound_statement "{\n        DAT_00089978 = DAT_00089978 + 1;\n      }" ({ "{") (expression_statement "DAT_00089978 = DAT_00089978 + 1;" (assignment_expression "DAT_00089978 = DAT_00089978 + 1" (identifier "DAT_00089978") (= "=") (binary_expression "DAT_00089978 + 1" (identifier "DAT_00089978") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "FUN_0002e4e0();" (call_expression "FUN_0002e4e0()" (identifier "FUN_0002e4e0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))))) (if_statement "if (bVar2 == 10) {\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }" (if "if") (parenthesized_expression "(bVar2 == 10)" (( "(") (binary_expression "bVar2 == 10" (identifier "bVar2") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n      DAT_00089978 = pbVar1;\n      uVar4 = dcgettext(0,"new line in title",5);\n      FUN_0002bd60(uVar4);\n      FUN_0002e4e0();\n      return;\n    }" ({ "{") (expression_statement "DAT_00089978 = pbVar1;" (assignment_expression "DAT_00089978 = pbVar1" (identifier "DAT_00089978") (= "=") (identifier "pbVar1")) (; ";")) (expression_statement "uVar4 = dcgettext(0,"new line in title",5);" (assignment_expression "uVar4 = dcgettext(0,"new line in title",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"new line in title",5)" (identifier "dcgettext") (argument_list "(0,"new line in title",5)" (( "(") (number_literal "0") (, ",") (string_literal ""new line in title"" (" """) (string_content "new line in title") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002bd60(uVar4);" (call_expression "FUN_0002bd60(uVar4)" (identifier "FUN_0002bd60") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "FUN_0002e4e0();" (call_expression "FUN_0002e4e0()" (identifier "FUN_0002e4e0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "bVar2 = pbVar1[1];" (assignment_expression "bVar2 = pbVar1[1]" (identifier "bVar2") (= "=") (subscript_expression "pbVar1[1]" (identifier "pbVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "pbVar1 = pbVar1 + 1;" (assignment_expression "pbVar1 = pbVar1 + 1" (identifier "pbVar1") (= "=") (binary_expression "pbVar1 + 1" (identifier "pbVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(int var_7)

{
  type_1 *var_12;
  type_1 var_1;
  type_2 *plVar3;
  void *__dest;
  char *pcVar4;
  size_t var_5;
  bool bVar5;
  
  var_1 = *var_2;
  if (var_1 == 0x20) {
    var_1 = var_2[1];
    var_2 = var_2 + 1;
  }
  bVar5 = var_1 == 0x22;
  var_12 = (type_1 *)var_2;
  if (bVar5) {
    var_12 = (type_1 *)(var_2 + 1);
    var_1 = var_2[1];
    var_2 = (char *)var_12;
  }
  do {
    pcVar4 = var_2;
    if (var_1 == 0) {
      var_2 = (char *)var_12;
      return;
    }
    if (bVar5) {
      if (var_1 == 0x22) goto LAB_00028a54;
    }
    else if (is_end_of_line[var_1] != '\0') {
LAB_00028a54:
      if (var_3 != 0) {
        var_5 = (int)var_12 - (int)var_2;
        var_2 = (char *)var_12;
        __dest = (void *)var_4(var_5 + 1);
        *(type_3 *)((int)__dest + var_5) = 0;
        pcVar4 = (char *)var_6(__dest,pcVar4,var_5);
        plVar3 = listing_tail;
        listing_tail->edict = (var_7 == 0) + var_8;
        plVar3->edict_arg = pcVar4;
        var_12 = (type_1 *)var_2;
      }
      var_2 = (char *)var_12;
      if (bVar5) {
        var_2 = var_2 + 1;
      }
      var_9();
      return;
    }
    if (var_1 == 10) {
      var_2 = (char *)var_12;
      pcVar4 = (char *)var_10(0,"new line in title",5);
      var_11(pcVar4);
      var_9();
      return;
    }
    var_1 = var_12[1];
    var_12 = var_12 + 1;
  } while( true );
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (do_statement body: (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 (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (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: (primitive_type) 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)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (true))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void MASKED(int param_1)

{
  byte *pbVar1;
  byte bVar2;
  int iVar3;
  byte *__src;
  undefined4 uVar4;
  void *pvVar5;
  size_t __n;
  bool bVar6;
  
  bVar2 = *DAT_00089978;
  if (bVar2 == 0x20) {
    bVar2 = DAT_00089978[1];
    DAT_00089978 = DAT_00089978 + 1;
  }
  bVar6 = bVar2 == 0x22;
  pbVar1 = DAT_00089978;
  if (bVar6) {
    pbVar1 = DAT_00089978 + 1;
    bVar2 = DAT_00089978[1];
    DAT_00089978 = pbVar1;
  }
  do {
    __src = DAT_00089978;
    if (bVar2 == 0) {
      DAT_00089978 = pbVar1;
      return;
    }
    if (bVar6) {
      if (bVar2 == 0x22) goto LAB_00028a54;
    }
    else if ((&DAT_000802c0)[bVar2] != '\0') {
LAB_00028a54:
      if (_DAT_000897fc != 0) {
        __n = (int)pbVar1 - (int)DAT_00089978;
        DAT_00089978 = pbVar1;
        pvVar5 = (void *)xmalloc(__n + 1);
        *(undefined1 *)((int)pvVar5 + __n) = 0;
        pvVar5 = memcpy(pvVar5,__src,__n);
        iVar3 = DAT_00089938;
        *(uint *)(DAT_00089938 + 0x24) = (param_1 == 0) + 1;
        *(void **)(iVar3 + 0x28) = pvVar5;
        pbVar1 = DAT_00089978;
      }
      DAT_00089978 = pbVar1;
      if (bVar6) {
        DAT_00089978 = DAT_00089978 + 1;
      }
      FUN_0002e4e0();
      return;
    }
    if (bVar2 == 10) {
      DAT_00089978 = pbVar1;
      uVar4 = dcgettext(0,"new line in title",5);
      FUN_0002bd60(uVar4);
      FUN_0002e4e0();
      return;
    }
    bVar2 = pbVar1[1];
    pbVar1 = pbVar1 + 1;
  } while( true );
}

