
demangle_component * d_source_name(d_info *di)

{
  char *pcVar1;
  char cVar2;
  demangle_component *pdVar3;
  int iVar4;
  int iVar5;
  demangle_component *pdVar6;
  int iVar7;
  int unaff_EDI;
  int local_18;
  
  iVar4 = __x86_get_pc_thunk_di();
  iVar5 = d_number((d_info *)(iVar4 + 0xc));
  if (iVar5 < 1) {
    return (demangle_component *)0x0;
  }
  pdVar3 = *(demangle_component **)(iVar4 + 0xc);
  if (*(int *)(iVar4 + 4) - (int)pdVar3 < iVar5) goto LAB_001d494e;
  pcVar1 = (char *)((int)&pdVar3->type + iVar5);
  *(char **)(iVar4 + 0xc) = pcVar1;
  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {
    local_18 = *(int *)(iVar4 + 0x18);
    iVar7 = *(int *)(iVar4 + 0x14);
    if (iVar5 < 10) goto LAB_001d4930;
LAB_001d48e9:
    if ((((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)) &&
        ((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&
       (*(char *)((int)&pdVar3->u + 1) == 'N')) {
      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;
      if (iVar7 < local_18) {
        pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));
        *(int *)(iVar4 + 0x14) = iVar7 + 1;
        pdVar6->d_printing = 0;
        pdVar6->type = DEMANGLE_COMPONENT_NAME;
        (pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149);
        (pdVar6->u).s_name.len = 0x15;
        goto LAB_001d4922;
      }
    }
    else if (iVar7 < local_18) {
      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));
      pdVar6->d_printing = 0;
      *(int *)(iVar4 + 0x14) = iVar7 + 1;
LAB_001d490f:
      pdVar6->d_printing = 0;
      pdVar6->type = DEMANGLE_COMPONENT_NAME;
      (pdVar6->u).s_fixed.length = pdVar3;
      (pdVar6->u).s_name.len = iVar5;
      goto LAB_001d4922;
    }
  }
  else {
    iVar7 = *(int *)(iVar4 + 0x14);
    *(char **)(iVar4 + 0xc) = pcVar1 + 1;
    local_18 = *(int *)(iVar4 + 0x18);
    if (9 < iVar5) goto LAB_001d48e9;
LAB_001d4930:
    if (iVar7 < local_18) {
      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));
      pdVar6->d_printing = 0;
      *(int *)(iVar4 + 0x14) = iVar7 + 1;
      if (pdVar3 == (demangle_component *)0x0) goto LAB_001d494e;
      goto LAB_001d490f;
    }
  }
LAB_001d494e:
  pdVar6 = (demangle_component *)0x0;
LAB_001d4922:
  *(demangle_component **)(iVar4 + 0x28) = pdVar6;
  return pdVar6;
}



undefined4 * FUN_001d4890(void)

{
  char *pcVar1;
  char cVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  undefined4 *puVar6;
  int iVar7;
  int unaff_EDI;
  int local_18;
  
  iVar4 = FUN_000559ee();
  iVar5 = FUN_001d46e0();
  if (iVar5 < 1) {
    return (undefined4 *)0x0;
  }
  piVar3 = *(int **)(iVar4 + 0xc);
  if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;
  pcVar1 = (char *)((int)piVar3 + iVar5);
  *(char **)(iVar4 + 0xc) = pcVar1;
  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {
    local_18 = *(int *)(iVar4 + 0x18);
    iVar7 = *(int *)(iVar4 + 0x14);
    if (iVar5 < 10) goto LAB_001d4930;
LAB_001d48e9:
    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&
        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&
       (*(char *)((int)piVar3 + 9) == 'N')) {
      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;
      if (iVar7 < local_18) {
        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));
        *(int *)(iVar4 + 0x14) = iVar7 + 1;
        puVar6[1] = 0;
        *puVar6 = 0;
        puVar6[2] = unaff_EDI + 0xcb149;
        puVar6[3] = 0x15;
        goto LAB_001d4922;
      }
    }
    else if (iVar7 < local_18) {
      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));
      puVar6[1] = 0;
      *(int *)(iVar4 + 0x14) = iVar7 + 1;
LAB_001d490f:
      puVar6[1] = 0;
      *puVar6 = 0;
      puVar6[2] = piVar3;
      puVar6[3] = iVar5;
      goto LAB_001d4922;
    }
  }
  else {
    iVar7 = *(int *)(iVar4 + 0x14);
    *(char **)(iVar4 + 0xc) = pcVar1 + 1;
    local_18 = *(int *)(iVar4 + 0x18);
    if (9 < iVar5) goto LAB_001d48e9;
LAB_001d4930:
    if (iVar7 < local_18) {
      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));
      puVar6[1] = 0;
      *(int *)(iVar4 + 0x14) = iVar7 + 1;
      if (piVar3 == (int *)0x0) goto LAB_001d494e;
      goto LAB_001d490f;
    }
  }
LAB_001d494e:
  puVar6 = (undefined4 *)0x0;
LAB_001d4922:
  *(undefined4 **)(iVar4 + 0x28) = puVar6;
  return puVar6;
}


PUSH EBP
PUSH EDI
CALL 0x000559ee
ADD EDI,0x1ba769
PUSH ESI
PUSH EBX
MOV EBX,EAX
ADD EAX,0xc
SUB ESP,0x8
CALL 0x001d46e0
TEST EAX,EAX
JLE 0x001d4958
MOV EDX,EAX
MOV ESI,dword ptr [EBX + 0xc]
MOV EAX,dword ptr [EBX + 0x4]
SUB EAX,ESI
CMP EDX,EAX
JG 0x001d494e
LEA EAX,[ESI + EDX*0x1]
MOV dword ptr [EBX + 0xc],EAX
TEST byte ptr [EBX + 0x8],0x4
JZ 0x001d48db
CMP byte ptr [EAX],0x24
JZ 0x001d4968
MOV EAX,dword ptr [EBX + 0x18]
MOV ECX,dword ptr [EBX + 0x14]
MOV dword ptr [ESP],EAX
CMP EDX,0x9
JLE 0x001d4930
CMP dword ptr [ESI],0x4f4c475f
JZ 0x001d4988
CMP ECX,dword ptr [ESP]
JGE 0x001d494e
MOV EAX,ECX
ADD ECX,0x1
SHL EAX,0x4
ADD EAX,dword ptr [EBX + 0x10]
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EBX + 0x14],ECX
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x8],ESI
MOV dword ptr [EAX + 0xc],EDX
MOV dword ptr [EBX + 0x28],EAX
ADD ESP,0x8
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP ECX,dword ptr [ESP]
JGE 0x001d494e
MOV EAX,ECX
ADD ECX,0x1
SHL EAX,0x4
ADD EAX,dword ptr [EBX + 0x10]
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EBX + 0x14],ECX
TEST ESI,ESI
JNZ 0x001d490f
XOR EAX,EAX
JMP 0x001d4922
ADD ESP,0x8
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EAX,0x1
MOV ECX,dword ptr [EBX + 0x14]
MOV dword ptr [EBX + 0xc],EAX
MOV EAX,dword ptr [EBX + 0x18]
MOV dword ptr [ESP],EAX
CMP EDX,0x9
JLE 0x001d4930
JMP 0x001d48e9
CMP dword ptr [ESI + 0x4],0x5f4c4142
JNZ 0x001d48f5
MOVZX EBP,byte ptr [ESI + 0x8]
MOV EAX,EBP
CMP AL,0x2e
SETZ byte ptr [ESP + 0x6]
CMP AL,0x5f
MOVZX EAX,byte ptr [ESP + 0x6]
SETZ byte ptr [ESP + 0x7]
OR AL,byte ptr [ESP + 0x7]
JNZ 0x001d49be
MOV EAX,EBP
CMP AL,0x24
JNZ 0x001d48f5
CMP byte ptr [ESI + 0x9],0x4e
JNZ 0x001d48f5
MOV EAX,dword ptr [EBX + 0x2c]
LEA ESI,[EAX + 0x16]
SUB ESI,EDX
MOV dword ptr [EBX + 0x2c],ESI
CMP ECX,dword ptr [ESP]
JGE 0x001d494e
MOV EAX,ECX
LEA EDX,[EDI + 0xfff109e0]
ADD ECX,0x1
SHL EAX,0x4
ADD EAX,dword ptr [EBX + 0x10]
MOV dword ptr [EBX + 0x14],ECX
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x8],EDX
MOV dword ptr [EAX + 0xc],0x15
JMP 0x001d4922
(translation_unit "undefined4 * FUN_001d4890(void)\n\n{\n  char *pcVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int unaff_EDI;\n  int local_18;\n  \n  iVar4 = FUN_000559ee();\n  iVar5 = FUN_001d46e0();\n  if (iVar5 < 1) {\n    return (undefined4 *)0x0;\n  }\n  piVar3 = *(int **)(iVar4 + 0xc);\n  if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;\n  pcVar1 = (char *)((int)piVar3 + iVar5);\n  *(char **)(iVar4 + 0xc) = pcVar1;\n  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }\nLAB_001d494e:\n  puVar6 = (undefined4 *)0x0;\nLAB_001d4922:\n  *(undefined4 **)(iVar4 + 0x28) = puVar6;\n  return puVar6;\n}\n\n" (function_definition "undefined4 * FUN_001d4890(void)\n\n{\n  char *pcVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int unaff_EDI;\n  int local_18;\n  \n  iVar4 = FUN_000559ee();\n  iVar5 = FUN_001d46e0();\n  if (iVar5 < 1) {\n    return (undefined4 *)0x0;\n  }\n  piVar3 = *(int **)(iVar4 + 0xc);\n  if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;\n  pcVar1 = (char *)((int)piVar3 + iVar5);\n  *(char **)(iVar4 + 0xc) = pcVar1;\n  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }\nLAB_001d494e:\n  puVar6 = (undefined4 *)0x0;\nLAB_001d4922:\n  *(undefined4 **)(iVar4 + 0x28) = puVar6;\n  return puVar6;\n}" type_identifier (pointer_declarator "* FUN_001d4890(void)" * (function_declarator "FUN_001d4890(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char *pcVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int unaff_EDI;\n  int local_18;\n  \n  iVar4 = FUN_000559ee();\n  iVar5 = FUN_001d46e0();\n  if (iVar5 < 1) {\n    return (undefined4 *)0x0;\n  }\n  piVar3 = *(int **)(iVar4 + 0xc);\n  if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;\n  pcVar1 = (char *)((int)piVar3 + iVar5);\n  *(char **)(iVar4 + 0xc) = pcVar1;\n  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }\nLAB_001d494e:\n  puVar6 = (undefined4 *)0x0;\nLAB_001d4922:\n  *(undefined4 **)(iVar4 + 0x28) = puVar6;\n  return puVar6;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (expression_statement "iVar4 = FUN_000559ee();" (assignment_expression "iVar4 = FUN_000559ee()" identifier = (call_expression "FUN_000559ee()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = FUN_001d46e0();" (assignment_expression "iVar5 = FUN_001d46e0()" identifier = (call_expression "FUN_001d46e0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 < 1) {\n    return (undefined4 *)0x0;\n  }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n    return (undefined4 *)0x0;\n  }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "piVar3 = *(int **)(iVar4 + 0xc);" (assignment_expression "piVar3 = *(int **)(iVar4 + 0xc)" identifier = (pointer_expression "*(int **)(iVar4 + 0xc)" * (cast_expression "(int **)(iVar4 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;" if (parenthesized_expression "(*(int *)(iVar4 + 4) - (int)piVar3 < iVar5)" ( (binary_expression "*(int *)(iVar4 + 4) - (int)piVar3 < iVar5" (binary_expression "*(int *)(iVar4 + 4) - (int)piVar3" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) - (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) < identifier) )) (goto_statement "goto LAB_001d494e;" goto statement_identifier ;)) (expression_statement "pcVar1 = (char *)((int)piVar3 + iVar5);" (assignment_expression "pcVar1 = (char *)((int)piVar3 + iVar5)" identifier = (cast_expression "(char *)((int)piVar3 + iVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + iVar5)" ( (binary_expression "(int)piVar3 + iVar5" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "*(char **)(iVar4 + 0xc) = pcVar1;" (assignment_expression "*(char **)(iVar4 + 0xc) = pcVar1" (pointer_expression "*(char **)(iVar4 + 0xc)" * (cast_expression "(char **)(iVar4 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }" if (parenthesized_expression "(((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$'))" ( (binary_expression "((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')" (parenthesized_expression "((*(byte *)(iVar4 + 8) & 4) == 0)" ( (binary_expression "(*(byte *)(iVar4 + 8) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 8) & 4)" ( (binary_expression "*(byte *)(iVar4 + 8) & 4" (pointer_expression "*(byte *)(iVar4 + 8)" * (cast_expression "(byte *)(iVar4 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*pcVar1 != '$')" ( (binary_expression "*pcVar1 != '$'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'$'" ' character ')) ))) )) (compound_statement "{\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }" { (expression_statement "local_18 = *(int *)(iVar4 + 0x18);" (assignment_expression "local_18 = *(int *)(iVar4 + 0x18)" identifier = (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(iVar4 + 0x14);" (assignment_expression "iVar7 = *(int *)(iVar4 + 0x14)" identifier = (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 < 10) goto LAB_001d4930;" if (parenthesized_expression "(iVar5 < 10)" ( (binary_expression "iVar5 < 10" identifier < number_literal) )) (goto_statement "goto LAB_001d4930;" goto statement_identifier ;)) (labeled_statement "LAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" statement_identifier : (if_statement "if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" if (parenthesized_expression "((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N'))" ( (binary_expression "(((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')" (parenthesized_expression "(((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$'))))" ( (binary_expression "((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))" (parenthesized_expression "((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142))" ( (binary_expression "(*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)" (parenthesized_expression "(*piVar3 == 0x4f4c475f)" ( (binary_expression "*piVar3 == 0x4f4c475f" (pointer_expression "*piVar3" * identifier) == number_literal) )) && (parenthesized_expression "(piVar3[1] == 0x5f4c4142)" ( (binary_expression "piVar3[1] == 0x5f4c4142" (subscript_expression "piVar3[1]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))" ( (parenthesized_expression "(cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$'))" ( (comma_expression "cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')" (assignment_expression "cVar2 = (char)piVar3[2]" identifier = (cast_expression "(char)piVar3[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) , (binary_expression "cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')" (binary_expression "cVar2 == '.' || cVar2 == '_'" (binary_expression "cVar2 == '.'" identifier == (char_literal "'.'" ' character ')) || (binary_expression "cVar2 == '_'" identifier == (char_literal "'_'" ' character '))) || (parenthesized_expression "(cVar2 == '$')" ( (binary_expression "cVar2 == '$'" identifier == (char_literal "'$'" ' character ')) )))) )) ))) )) && (parenthesized_expression "(*(char *)((int)piVar3 + 9) == 'N')" ( (binary_expression "*(char *)((int)piVar3 + 9) == 'N'" (pointer_expression "*(char *)((int)piVar3 + 9)" * (cast_expression "(char *)((int)piVar3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 9)" ( (binary_expression "(int)piVar3 + 9" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'N'" ' character ')) ))) )) (compound_statement "{\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }" { (expression_statement "*(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;" (assignment_expression "*(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5" (pointer_expression "*(int *)(iVar4 + 0x2c)" * (cast_expression "(int *)(iVar4 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) = (binary_expression "(*(int *)(iVar4 + 0x2c) + 0x16) - iVar5" (parenthesized_expression "(*(int *)(iVar4 + 0x2c) + 0x16)" ( (binary_expression "*(int *)(iVar4 + 0x2c) + 0x16" (pointer_expression "*(int *)(iVar4 + 0x2c)" * (cast_expression "(int *)(iVar4 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) + number_literal) )) - identifier)) ;) (if_statement "if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }" if (parenthesized_expression "(iVar7 < local_18)" ( (binary_expression "iVar7 < local_18" identifier < identifier) )) (compound_statement "{\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }" { (expression_statement "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));" (assignment_expression "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (binary_expression "iVar7 * 0x10 + *(int *)(iVar4 + 0x10)" (binary_expression "iVar7 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "*(int *)(iVar4 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6[2] = unaff_EDI + 0xcb149;" (assignment_expression "puVar6[2] = unaff_EDI + 0xcb149" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0xcb149" identifier + number_literal)) ;) (expression_statement "puVar6[3] = 0x15;" (assignment_expression "puVar6[3] = 0x15" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_001d4922;" goto statement_identifier ;) })) }) (else_clause "else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" else (if_statement "if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" if (parenthesized_expression "(iVar7 < local_18)" ( (binary_expression "iVar7 < local_18" identifier < identifier) )) (compound_statement "{\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" { (expression_statement "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));" (assignment_expression "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (binary_expression "iVar7 * 0x10 + *(int *)(iVar4 + 0x10)" (binary_expression "iVar7 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(iVar4 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_001d490f:\n      puVar6[1] = 0;" statement_identifier : (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6[2] = piVar3;" (assignment_expression "puVar6[2] = piVar3" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[3] = iVar5;" (assignment_expression "puVar6[3] = iVar5" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_001d4922;" goto statement_identifier ;) }))))) }) (else_clause "else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }" else (compound_statement "{\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }" { (expression_statement "iVar7 = *(int *)(iVar4 + 0x14);" (assignment_expression "iVar7 = *(int *)(iVar4 + 0x14)" identifier = (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*(char **)(iVar4 + 0xc) = pcVar1 + 1;" (assignment_expression "*(char **)(iVar4 + 0xc) = pcVar1 + 1" (pointer_expression "*(char **)(iVar4 + 0xc)" * (cast_expression "(char **)(iVar4 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "local_18 = *(int *)(iVar4 + 0x18);" (assignment_expression "local_18 = *(int *)(iVar4 + 0x18)" identifier = (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (9 < iVar5) goto LAB_001d48e9;" if (parenthesized_expression "(9 < iVar5)" ( (binary_expression "9 < iVar5" number_literal < identifier) )) (goto_statement "goto LAB_001d48e9;" goto statement_identifier ;)) (labeled_statement "LAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }" statement_identifier : (if_statement "if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }" if (parenthesized_expression "(iVar7 < local_18)" ( (binary_expression "iVar7 < local_18" identifier < identifier) )) (compound_statement "{\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }" { (expression_statement "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));" (assignment_expression "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (binary_expression "iVar7 * 0x10 + *(int *)(iVar4 + 0x10)" (binary_expression "iVar7 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(iVar4 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (piVar3 == (int *)0x0) goto LAB_001d494e;" if (parenthesized_expression "(piVar3 == (int *)0x0)" ( (binary_expression "piVar3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001d494e;" goto statement_identifier ;)) (goto_statement "goto LAB_001d490f;" goto statement_identifier ;) }))) }))) (labeled_statement "LAB_001d494e:\n  puVar6 = (undefined4 *)0x0;" statement_identifier : (expression_statement "puVar6 = (undefined4 *)0x0;" (assignment_expression "puVar6 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (labeled_statement "LAB_001d4922:\n  *(undefined4 **)(iVar4 + 0x28) = puVar6;" statement_identifier : (expression_statement "*(undefined4 **)(iVar4 + 0x28) = puVar6;" (assignment_expression "*(undefined4 **)(iVar4 + 0x28) = puVar6" (pointer_expression "*(undefined4 **)(iVar4 + 0x28)" * (cast_expression "(undefined4 **)(iVar4 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) )))) = identifier) ;)) (return_statement "return puVar6;" return identifier ;) })))
(translation_unit "demangle_component * d_source_name(d_info *di)\n\n{\n  char *pcVar1;\n  char cVar2;\n  demangle_component *pdVar3;\n  int iVar4;\n  int iVar5;\n  demangle_component *pdVar6;\n  int iVar7;\n  int unaff_EDI;\n  int local_18;\n  \n  iVar4 = __x86_get_pc_thunk_di();\n  iVar5 = d_number((d_info *)(iVar4 + 0xc));\n  if (iVar5 < 1) {\n    return (demangle_component *)0x0;\n  }\n  pdVar3 = *(demangle_component **)(iVar4 + 0xc);\n  if (*(int *)(iVar4 + 4) - (int)pdVar3 < iVar5) goto LAB_001d494e;\n  pcVar1 = (char *)((int)&pdVar3->type + iVar5);\n  *(char **)(iVar4 + 0xc) = pcVar1;\n  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)) &&\n        ((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)&pdVar3->u + 1) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        pdVar6->d_printing = 0;\n        pdVar6->type = DEMANGLE_COMPONENT_NAME;\n        (pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149);\n        (pdVar6->u).s_name.len = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      pdVar6->d_printing = 0;\n      pdVar6->type = DEMANGLE_COMPONENT_NAME;\n      (pdVar6->u).s_fixed.length = pdVar3;\n      (pdVar6->u).s_name.len = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (pdVar3 == (demangle_component *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }\nLAB_001d494e:\n  pdVar6 = (demangle_component *)0x0;\nLAB_001d4922:\n  *(demangle_component **)(iVar4 + 0x28) = pdVar6;\n  return pdVar6;\n}\n\n" (function_definition "demangle_component * d_source_name(d_info *di)\n\n{\n  char *pcVar1;\n  char cVar2;\n  demangle_component *pdVar3;\n  int iVar4;\n  int iVar5;\n  demangle_component *pdVar6;\n  int iVar7;\n  int unaff_EDI;\n  int local_18;\n  \n  iVar4 = __x86_get_pc_thunk_di();\n  iVar5 = d_number((d_info *)(iVar4 + 0xc));\n  if (iVar5 < 1) {\n    return (demangle_component *)0x0;\n  }\n  pdVar3 = *(demangle_component **)(iVar4 + 0xc);\n  if (*(int *)(iVar4 + 4) - (int)pdVar3 < iVar5) goto LAB_001d494e;\n  pcVar1 = (char *)((int)&pdVar3->type + iVar5);\n  *(char **)(iVar4 + 0xc) = pcVar1;\n  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)) &&\n        ((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)&pdVar3->u + 1) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        pdVar6->d_printing = 0;\n        pdVar6->type = DEMANGLE_COMPONENT_NAME;\n        (pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149);\n        (pdVar6->u).s_name.len = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      pdVar6->d_printing = 0;\n      pdVar6->type = DEMANGLE_COMPONENT_NAME;\n      (pdVar6->u).s_fixed.length = pdVar3;\n      (pdVar6->u).s_name.len = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (pdVar3 == (demangle_component *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }\nLAB_001d494e:\n  pdVar6 = (demangle_component *)0x0;\nLAB_001d4922:\n  *(demangle_component **)(iVar4 + 0x28) = pdVar6;\n  return pdVar6;\n}" type_identifier (pointer_declarator "* d_source_name(d_info *di)" * (function_declarator "d_source_name(d_info *di)" identifier (parameter_list "(d_info *di)" ( (parameter_declaration "d_info *di" type_identifier (pointer_declarator "*di" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  char cVar2;\n  demangle_component *pdVar3;\n  int iVar4;\n  int iVar5;\n  demangle_component *pdVar6;\n  int iVar7;\n  int unaff_EDI;\n  int local_18;\n  \n  iVar4 = __x86_get_pc_thunk_di();\n  iVar5 = d_number((d_info *)(iVar4 + 0xc));\n  if (iVar5 < 1) {\n    return (demangle_component *)0x0;\n  }\n  pdVar3 = *(demangle_component **)(iVar4 + 0xc);\n  if (*(int *)(iVar4 + 4) - (int)pdVar3 < iVar5) goto LAB_001d494e;\n  pcVar1 = (char *)((int)&pdVar3->type + iVar5);\n  *(char **)(iVar4 + 0xc) = pcVar1;\n  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)) &&\n        ((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)&pdVar3->u + 1) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        pdVar6->d_printing = 0;\n        pdVar6->type = DEMANGLE_COMPONENT_NAME;\n        (pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149);\n        (pdVar6->u).s_name.len = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      pdVar6->d_printing = 0;\n      pdVar6->type = DEMANGLE_COMPONENT_NAME;\n      (pdVar6->u).s_fixed.length = pdVar3;\n      (pdVar6->u).s_name.len = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (pdVar3 == (demangle_component *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }\nLAB_001d494e:\n  pdVar6 = (demangle_component *)0x0;\nLAB_001d4922:\n  *(demangle_component **)(iVar4 + 0x28) = pdVar6;\n  return pdVar6;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "demangle_component *pdVar3;" type_identifier (pointer_declarator "*pdVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "demangle_component *pdVar6;" type_identifier (pointer_declarator "*pdVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (expression_statement "iVar4 = __x86_get_pc_thunk_di();" (assignment_expression "iVar4 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = d_number((d_info *)(iVar4 + 0xc));" (assignment_expression "iVar5 = d_number((d_info *)(iVar4 + 0xc))" identifier = (call_expression "d_number((d_info *)(iVar4 + 0xc))" identifier (argument_list "((d_info *)(iVar4 + 0xc))" ( (cast_expression "(d_info *)(iVar4 + 0xc)" ( (type_descriptor "d_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))) )))) ;) (if_statement "if (iVar5 < 1) {\n    return (demangle_component *)0x0;\n  }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n    return (demangle_component *)0x0;\n  }" { (return_statement "return (demangle_component *)0x0;" return (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pdVar3 = *(demangle_component **)(iVar4 + 0xc);" (assignment_expression "pdVar3 = *(demangle_component **)(iVar4 + 0xc)" identifier = (pointer_expression "*(demangle_component **)(iVar4 + 0xc)" * (cast_expression "(demangle_component **)(iVar4 + 0xc)" ( (type_descriptor "demangle_component **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar4 + 4) - (int)pdVar3 < iVar5) goto LAB_001d494e;" if (parenthesized_expression "(*(int *)(iVar4 + 4) - (int)pdVar3 < iVar5)" ( (binary_expression "*(int *)(iVar4 + 4) - (int)pdVar3 < iVar5" (binary_expression "*(int *)(iVar4 + 4) - (int)pdVar3" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) - (cast_expression "(int)pdVar3" ( (type_descriptor "int" primitive_type) ) identifier)) < identifier) )) (goto_statement "goto LAB_001d494e;" goto statement_identifier ;)) (expression_statement "pcVar1 = (char *)((int)&pdVar3->type + iVar5);" (assignment_expression "pcVar1 = (char *)((int)&pdVar3->type + iVar5)" identifier = (cast_expression "(char *)((int)&pdVar3->type + iVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pdVar3->type + iVar5)" ( (binary_expression "(int)&pdVar3->type + iVar5" (cast_expression "(int)&pdVar3->type" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pdVar3->type" & (field_expression "pdVar3->type" identifier -> field_identifier))) + identifier) )))) ;) (expression_statement "*(char **)(iVar4 + 0xc) = pcVar1;" (assignment_expression "*(char **)(iVar4 + 0xc) = pcVar1" (pointer_expression "*(char **)(iVar4 + 0xc)" * (cast_expression "(char **)(iVar4 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)) &&\n        ((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)&pdVar3->u + 1) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        pdVar6->d_printing = 0;\n        pdVar6->type = DEMANGLE_COMPONENT_NAME;\n        (pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149);\n        (pdVar6->u).s_name.len = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      pdVar6->d_printing = 0;\n      pdVar6->type = DEMANGLE_COMPONENT_NAME;\n      (pdVar6->u).s_fixed.length = pdVar3;\n      (pdVar6->u).s_name.len = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (pdVar3 == (demangle_component *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }" if (parenthesized_expression "(((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$'))" ( (binary_expression "((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')" (parenthesized_expression "((*(byte *)(iVar4 + 8) & 4) == 0)" ( (binary_expression "(*(byte *)(iVar4 + 8) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 8) & 4)" ( (binary_expression "*(byte *)(iVar4 + 8) & 4" (pointer_expression "*(byte *)(iVar4 + 8)" * (cast_expression "(byte *)(iVar4 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*pcVar1 != '$')" ( (binary_expression "*pcVar1 != '$'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'$'" ' character ')) ))) )) (compound_statement "{\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)) &&\n        ((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)&pdVar3->u + 1) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        pdVar6->d_printing = 0;\n        pdVar6->type = DEMANGLE_COMPONENT_NAME;\n        (pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149);\n        (pdVar6->u).s_name.len = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      pdVar6->d_printing = 0;\n      pdVar6->type = DEMANGLE_COMPONENT_NAME;\n      (pdVar6->u).s_fixed.length = pdVar3;\n      (pdVar6->u).s_name.len = iVar5;\n      goto LAB_001d4922;\n    }\n  }" { (expression_statement "local_18 = *(int *)(iVar4 + 0x18);" (assignment_expression "local_18 = *(int *)(iVar4 + 0x18)" identifier = (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(iVar4 + 0x14);" (assignment_expression "iVar7 = *(int *)(iVar4 + 0x14)" identifier = (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 < 10) goto LAB_001d4930;" if (parenthesized_expression "(iVar5 < 10)" ( (binary_expression "iVar5 < 10" identifier < number_literal) )) (goto_statement "goto LAB_001d4930;" goto statement_identifier ;)) (labeled_statement "LAB_001d48e9:\n    if ((((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)) &&\n        ((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)&pdVar3->u + 1) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        pdVar6->d_printing = 0;\n        pdVar6->type = DEMANGLE_COMPONENT_NAME;\n        (pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149);\n        (pdVar6->u).s_name.len = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      pdVar6->d_printing = 0;\n      pdVar6->type = DEMANGLE_COMPONENT_NAME;\n      (pdVar6->u).s_fixed.length = pdVar3;\n      (pdVar6->u).s_name.len = iVar5;\n      goto LAB_001d4922;\n    }" statement_identifier : (if_statement "if ((((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)) &&\n        ((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)&pdVar3->u + 1) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        pdVar6->d_printing = 0;\n        pdVar6->type = DEMANGLE_COMPONENT_NAME;\n        (pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149);\n        (pdVar6->u).s_name.len = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      pdVar6->d_printing = 0;\n      pdVar6->type = DEMANGLE_COMPONENT_NAME;\n      (pdVar6->u).s_fixed.length = pdVar3;\n      (pdVar6->u).s_name.len = iVar5;\n      goto LAB_001d4922;\n    }" if (parenthesized_expression "((((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)) &&\n        ((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)&pdVar3->u + 1) == 'N'))" ( (binary_expression "(((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)) &&\n        ((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)&pdVar3->u + 1) == 'N')" (parenthesized_expression "(((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)) &&\n        ((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$'))))" ( (binary_expression "((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)) &&\n        ((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))" (parenthesized_expression "((pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142))" ( (binary_expression "(pdVar3->type == 0x4f4c475f) && (pdVar3->d_printing == 0x5f4c4142)" (parenthesized_expression "(pdVar3->type == 0x4f4c475f)" ( (binary_expression "pdVar3->type == 0x4f4c475f" (field_expression "pdVar3->type" identifier -> field_identifier) == number_literal) )) && (parenthesized_expression "(pdVar3->d_printing == 0x5f4c4142)" ( (binary_expression "pdVar3->d_printing == 0x5f4c4142" (field_expression "pdVar3->d_printing" identifier -> field_identifier) == number_literal) ))) )) && (parenthesized_expression "((cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))" ( (parenthesized_expression "(cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$'))" ( (comma_expression "cVar2 = *(char *)&pdVar3->u, cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')" (assignment_expression "cVar2 = *(char *)&pdVar3->u" identifier = (pointer_expression "*(char *)&pdVar3->u" * (cast_expression "(char *)&pdVar3->u" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pdVar3->u" & (field_expression "pdVar3->u" identifier -> field_identifier))))) , (binary_expression "cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')" (binary_expression "cVar2 == '.' || cVar2 == '_'" (binary_expression "cVar2 == '.'" identifier == (char_literal "'.'" ' character ')) || (binary_expression "cVar2 == '_'" identifier == (char_literal "'_'" ' character '))) || (parenthesized_expression "(cVar2 == '$')" ( (binary_expression "cVar2 == '$'" identifier == (char_literal "'$'" ' character ')) )))) )) ))) )) && (parenthesized_expression "(*(char *)((int)&pdVar3->u + 1) == 'N')" ( (binary_expression "*(char *)((int)&pdVar3->u + 1) == 'N'" (pointer_expression "*(char *)((int)&pdVar3->u + 1)" * (cast_expression "(char *)((int)&pdVar3->u + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pdVar3->u + 1)" ( (binary_expression "(int)&pdVar3->u + 1" (cast_expression "(int)&pdVar3->u" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pdVar3->u" & (field_expression "pdVar3->u" identifier -> field_identifier))) + number_literal) )))) == (char_literal "'N'" ' character ')) ))) )) (compound_statement "{\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        pdVar6->d_printing = 0;\n        pdVar6->type = DEMANGLE_COMPONENT_NAME;\n        (pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149);\n        (pdVar6->u).s_name.len = 0x15;\n        goto LAB_001d4922;\n      }\n    }" { (expression_statement "*(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;" (assignment_expression "*(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5" (pointer_expression "*(int *)(iVar4 + 0x2c)" * (cast_expression "(int *)(iVar4 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) = (binary_expression "(*(int *)(iVar4 + 0x2c) + 0x16) - iVar5" (parenthesized_expression "(*(int *)(iVar4 + 0x2c) + 0x16)" ( (binary_expression "*(int *)(iVar4 + 0x2c) + 0x16" (pointer_expression "*(int *)(iVar4 + 0x2c)" * (cast_expression "(int *)(iVar4 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) + number_literal) )) - identifier)) ;) (if_statement "if (iVar7 < local_18) {\n        pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        pdVar6->d_printing = 0;\n        pdVar6->type = DEMANGLE_COMPONENT_NAME;\n        (pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149);\n        (pdVar6->u).s_name.len = 0x15;\n        goto LAB_001d4922;\n      }" if (parenthesized_expression "(iVar7 < local_18)" ( (binary_expression "iVar7 < local_18" identifier < identifier) )) (compound_statement "{\n        pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        pdVar6->d_printing = 0;\n        pdVar6->type = DEMANGLE_COMPONENT_NAME;\n        (pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149);\n        (pdVar6->u).s_name.len = 0x15;\n        goto LAB_001d4922;\n      }" { (expression_statement "pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));" (assignment_expression "pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" identifier = (cast_expression "(demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (binary_expression "iVar7 * 0x10 + *(int *)(iVar4 + 0x10)" (binary_expression "iVar7 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "*(int *)(iVar4 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "pdVar6->d_printing = 0;" (assignment_expression "pdVar6->d_printing = 0" (field_expression "pdVar6->d_printing" identifier -> field_identifier) = number_literal) ;) (expression_statement "pdVar6->type = DEMANGLE_COMPONENT_NAME;" (assignment_expression "pdVar6->type = DEMANGLE_COMPONENT_NAME" (field_expression "pdVar6->type" identifier -> field_identifier) = identifier) ;) (expression_statement "(pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149);" (assignment_expression "(pdVar6->u).s_name.s = (char *)(unaff_EDI + 0xcb149)" (field_expression "(pdVar6->u).s_name.s" (field_expression "(pdVar6->u).s_name" (parenthesized_expression "(pdVar6->u)" ( (field_expression "pdVar6->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(char *)(unaff_EDI + 0xcb149)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xcb149)" ( (binary_expression "unaff_EDI + 0xcb149" identifier + number_literal) )))) ;) (expression_statement "(pdVar6->u).s_name.len = 0x15;" (assignment_expression "(pdVar6->u).s_name.len = 0x15" (field_expression "(pdVar6->u).s_name.len" (field_expression "(pdVar6->u).s_name" (parenthesized_expression "(pdVar6->u)" ( (field_expression "pdVar6->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (goto_statement "goto LAB_001d4922;" goto statement_identifier ;) })) }) (else_clause "else if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      pdVar6->d_printing = 0;\n      pdVar6->type = DEMANGLE_COMPONENT_NAME;\n      (pdVar6->u).s_fixed.length = pdVar3;\n      (pdVar6->u).s_name.len = iVar5;\n      goto LAB_001d4922;\n    }" else (if_statement "if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      pdVar6->d_printing = 0;\n      pdVar6->type = DEMANGLE_COMPONENT_NAME;\n      (pdVar6->u).s_fixed.length = pdVar3;\n      (pdVar6->u).s_name.len = iVar5;\n      goto LAB_001d4922;\n    }" if (parenthesized_expression "(iVar7 < local_18)" ( (binary_expression "iVar7 < local_18" identifier < identifier) )) (compound_statement "{\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      pdVar6->d_printing = 0;\n      pdVar6->type = DEMANGLE_COMPONENT_NAME;\n      (pdVar6->u).s_fixed.length = pdVar3;\n      (pdVar6->u).s_name.len = iVar5;\n      goto LAB_001d4922;\n    }" { (expression_statement "pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));" (assignment_expression "pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" identifier = (cast_expression "(demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (binary_expression "iVar7 * 0x10 + *(int *)(iVar4 + 0x10)" (binary_expression "iVar7 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "pdVar6->d_printing = 0;" (assignment_expression "pdVar6->d_printing = 0" (field_expression "pdVar6->d_printing" identifier -> field_identifier) = number_literal) ;) (expression_statement "*(int *)(iVar4 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_001d490f:\n      pdVar6->d_printing = 0;" statement_identifier : (expression_statement "pdVar6->d_printing = 0;" (assignment_expression "pdVar6->d_printing = 0" (field_expression "pdVar6->d_printing" identifier -> field_identifier) = number_literal) ;)) (expression_statement "pdVar6->type = DEMANGLE_COMPONENT_NAME;" (assignment_expression "pdVar6->type = DEMANGLE_COMPONENT_NAME" (field_expression "pdVar6->type" identifier -> field_identifier) = identifier) ;) (expression_statement "(pdVar6->u).s_fixed.length = pdVar3;" (assignment_expression "(pdVar6->u).s_fixed.length = pdVar3" (field_expression "(pdVar6->u).s_fixed.length" (field_expression "(pdVar6->u).s_fixed" (parenthesized_expression "(pdVar6->u)" ( (field_expression "pdVar6->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(pdVar6->u).s_name.len = iVar5;" (assignment_expression "(pdVar6->u).s_name.len = iVar5" (field_expression "(pdVar6->u).s_name.len" (field_expression "(pdVar6->u).s_name" (parenthesized_expression "(pdVar6->u)" ( (field_expression "pdVar6->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (goto_statement "goto LAB_001d4922;" goto statement_identifier ;) }))))) }) (else_clause "else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (pdVar3 == (demangle_component *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }" else (compound_statement "{\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (pdVar3 == (demangle_component *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }" { (expression_statement "iVar7 = *(int *)(iVar4 + 0x14);" (assignment_expression "iVar7 = *(int *)(iVar4 + 0x14)" identifier = (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*(char **)(iVar4 + 0xc) = pcVar1 + 1;" (assignment_expression "*(char **)(iVar4 + 0xc) = pcVar1 + 1" (pointer_expression "*(char **)(iVar4 + 0xc)" * (cast_expression "(char **)(iVar4 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "local_18 = *(int *)(iVar4 + 0x18);" (assignment_expression "local_18 = *(int *)(iVar4 + 0x18)" identifier = (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (9 < iVar5) goto LAB_001d48e9;" if (parenthesized_expression "(9 < iVar5)" ( (binary_expression "9 < iVar5" number_literal < identifier) )) (goto_statement "goto LAB_001d48e9;" goto statement_identifier ;)) (labeled_statement "LAB_001d4930:\n    if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (pdVar3 == (demangle_component *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }" statement_identifier : (if_statement "if (iVar7 < local_18) {\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (pdVar3 == (demangle_component *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }" if (parenthesized_expression "(iVar7 < local_18)" ( (binary_expression "iVar7 < local_18" identifier < identifier) )) (compound_statement "{\n      pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      pdVar6->d_printing = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (pdVar3 == (demangle_component *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }" { (expression_statement "pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));" (assignment_expression "pdVar6 = (demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" identifier = (cast_expression "(demangle_component *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (binary_expression "iVar7 * 0x10 + *(int *)(iVar4 + 0x10)" (binary_expression "iVar7 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "pdVar6->d_printing = 0;" (assignment_expression "pdVar6->d_printing = 0" (field_expression "pdVar6->d_printing" identifier -> field_identifier) = number_literal) ;) (expression_statement "*(int *)(iVar4 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (pdVar3 == (demangle_component *)0x0) goto LAB_001d494e;" if (parenthesized_expression "(pdVar3 == (demangle_component *)0x0)" ( (binary_expression "pdVar3 == (demangle_component *)0x0" identifier == (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001d494e;" goto statement_identifier ;)) (goto_statement "goto LAB_001d490f;" goto statement_identifier ;) }))) }))) (labeled_statement "LAB_001d494e:\n  pdVar6 = (demangle_component *)0x0;" statement_identifier : (expression_statement "pdVar6 = (demangle_component *)0x0;" (assignment_expression "pdVar6 = (demangle_component *)0x0" identifier = (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (labeled_statement "LAB_001d4922:\n  *(demangle_component **)(iVar4 + 0x28) = pdVar6;" statement_identifier : (expression_statement "*(demangle_component **)(iVar4 + 0x28) = pdVar6;" (assignment_expression "*(demangle_component **)(iVar4 + 0x28) = pdVar6" (pointer_expression "*(demangle_component **)(iVar4 + 0x28)" * (cast_expression "(demangle_component **)(iVar4 + 0x28)" ( (type_descriptor "demangle_component **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) )))) = identifier) ;)) (return_statement "return pdVar6;" return identifier ;) })))
(translation_unit "undefined4 * FUN_001d4890(void)\n\n{\n  char *pcVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int unaff_EDI;\n  int local_18;\n  \n  iVar4 = FUN_000559ee();\n  iVar5 = FUN_001d46e0();\n  if (iVar5 < 1) {\n    return (undefined4 *)0x0;\n  }\n  piVar3 = *(int **)(iVar4 + 0xc);\n  if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;\n  pcVar1 = (char *)((int)piVar3 + iVar5);\n  *(char **)(iVar4 + 0xc) = pcVar1;\n  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }\nLAB_001d494e:\n  puVar6 = (undefined4 *)0x0;\nLAB_001d4922:\n  *(undefined4 **)(iVar4 + 0x28) = puVar6;\n  return puVar6;\n}\n\n" (function_definition "undefined4 * FUN_001d4890(void)\n\n{\n  char *pcVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int unaff_EDI;\n  int local_18;\n  \n  iVar4 = FUN_000559ee();\n  iVar5 = FUN_001d46e0();\n  if (iVar5 < 1) {\n    return (undefined4 *)0x0;\n  }\n  piVar3 = *(int **)(iVar4 + 0xc);\n  if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;\n  pcVar1 = (char *)((int)piVar3 + iVar5);\n  *(char **)(iVar4 + 0xc) = pcVar1;\n  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }\nLAB_001d494e:\n  puVar6 = (undefined4 *)0x0;\nLAB_001d4922:\n  *(undefined4 **)(iVar4 + 0x28) = puVar6;\n  return puVar6;\n}" type_identifier (pointer_declarator "* FUN_001d4890(void)" * (function_declarator "FUN_001d4890(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char *pcVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int unaff_EDI;\n  int local_18;\n  \n  iVar4 = FUN_000559ee();\n  iVar5 = FUN_001d46e0();\n  if (iVar5 < 1) {\n    return (undefined4 *)0x0;\n  }\n  piVar3 = *(int **)(iVar4 + 0xc);\n  if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;\n  pcVar1 = (char *)((int)piVar3 + iVar5);\n  *(char **)(iVar4 + 0xc) = pcVar1;\n  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }\nLAB_001d494e:\n  puVar6 = (undefined4 *)0x0;\nLAB_001d4922:\n  *(undefined4 **)(iVar4 + 0x28) = puVar6;\n  return puVar6;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (expression_statement "iVar4 = FUN_000559ee();" (assignment_expression "iVar4 = FUN_000559ee()" identifier = (call_expression "FUN_000559ee()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = FUN_001d46e0();" (assignment_expression "iVar5 = FUN_001d46e0()" identifier = (call_expression "FUN_001d46e0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 < 1) {\n    return (undefined4 *)0x0;\n  }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n    return (undefined4 *)0x0;\n  }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "piVar3 = *(int **)(iVar4 + 0xc);" (assignment_expression "piVar3 = *(int **)(iVar4 + 0xc)" identifier = (pointer_expression "*(int **)(iVar4 + 0xc)" * (cast_expression "(int **)(iVar4 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;" if (parenthesized_expression "(*(int *)(iVar4 + 4) - (int)piVar3 < iVar5)" ( (binary_expression "*(int *)(iVar4 + 4) - (int)piVar3 < iVar5" (binary_expression "*(int *)(iVar4 + 4) - (int)piVar3" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) - (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) < identifier) )) (goto_statement "goto LAB_001d494e;" goto statement_identifier ;)) (expression_statement "pcVar1 = (char *)((int)piVar3 + iVar5);" (assignment_expression "pcVar1 = (char *)((int)piVar3 + iVar5)" identifier = (cast_expression "(char *)((int)piVar3 + iVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + iVar5)" ( (binary_expression "(int)piVar3 + iVar5" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "*(char **)(iVar4 + 0xc) = pcVar1;" (assignment_expression "*(char **)(iVar4 + 0xc) = pcVar1" (pointer_expression "*(char **)(iVar4 + 0xc)" * (cast_expression "(char **)(iVar4 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }" if (parenthesized_expression "(((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$'))" ( (binary_expression "((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')" (parenthesized_expression "((*(byte *)(iVar4 + 8) & 4) == 0)" ( (binary_expression "(*(byte *)(iVar4 + 8) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 8) & 4)" ( (binary_expression "*(byte *)(iVar4 + 8) & 4" (pointer_expression "*(byte *)(iVar4 + 8)" * (cast_expression "(byte *)(iVar4 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*pcVar1 != '$')" ( (binary_expression "*pcVar1 != '$'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'$'" ' character ')) ))) )) (compound_statement "{\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }" { (expression_statement "local_18 = *(int *)(iVar4 + 0x18);" (assignment_expression "local_18 = *(int *)(iVar4 + 0x18)" identifier = (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(iVar4 + 0x14);" (assignment_expression "iVar7 = *(int *)(iVar4 + 0x14)" identifier = (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 < 10) goto LAB_001d4930;" if (parenthesized_expression "(iVar5 < 10)" ( (binary_expression "iVar5 < 10" identifier < number_literal) )) (goto_statement "goto LAB_001d4930;" goto statement_identifier ;)) (labeled_statement "LAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" statement_identifier : (if_statement "if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" if (parenthesized_expression "((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N'))" ( (binary_expression "(((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')" (parenthesized_expression "(((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$'))))" ( (binary_expression "((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))" (parenthesized_expression "((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142))" ( (binary_expression "(*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)" (parenthesized_expression "(*piVar3 == 0x4f4c475f)" ( (binary_expression "*piVar3 == 0x4f4c475f" (pointer_expression "*piVar3" * identifier) == number_literal) )) && (parenthesized_expression "(piVar3[1] == 0x5f4c4142)" ( (binary_expression "piVar3[1] == 0x5f4c4142" (subscript_expression "piVar3[1]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))" ( (parenthesized_expression "(cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$'))" ( (comma_expression "cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')" (assignment_expression "cVar2 = (char)piVar3[2]" identifier = (cast_expression "(char)piVar3[2]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) , (binary_expression "cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')" (binary_expression "cVar2 == '.' || cVar2 == '_'" (binary_expression "cVar2 == '.'" identifier == (char_literal "'.'" ' character ')) || (binary_expression "cVar2 == '_'" identifier == (char_literal "'_'" ' character '))) || (parenthesized_expression "(cVar2 == '$')" ( (binary_expression "cVar2 == '$'" identifier == (char_literal "'$'" ' character ')) )))) )) ))) )) && (parenthesized_expression "(*(char *)((int)piVar3 + 9) == 'N')" ( (binary_expression "*(char *)((int)piVar3 + 9) == 'N'" (pointer_expression "*(char *)((int)piVar3 + 9)" * (cast_expression "(char *)((int)piVar3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 9)" ( (binary_expression "(int)piVar3 + 9" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'N'" ' character ')) ))) )) (compound_statement "{\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }" { (expression_statement "*(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;" (assignment_expression "*(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5" (pointer_expression "*(int *)(iVar4 + 0x2c)" * (cast_expression "(int *)(iVar4 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) = (binary_expression "(*(int *)(iVar4 + 0x2c) + 0x16) - iVar5" (parenthesized_expression "(*(int *)(iVar4 + 0x2c) + 0x16)" ( (binary_expression "*(int *)(iVar4 + 0x2c) + 0x16" (pointer_expression "*(int *)(iVar4 + 0x2c)" * (cast_expression "(int *)(iVar4 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) )))) + number_literal) )) - identifier)) ;) (if_statement "if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }" if (parenthesized_expression "(iVar7 < local_18)" ( (binary_expression "iVar7 < local_18" identifier < identifier) )) (compound_statement "{\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }" { (expression_statement "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));" (assignment_expression "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (binary_expression "iVar7 * 0x10 + *(int *)(iVar4 + 0x10)" (binary_expression "iVar7 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "*(int *)(iVar4 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6[2] = unaff_EDI + 0xcb149;" (assignment_expression "puVar6[2] = unaff_EDI + 0xcb149" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0xcb149" identifier + number_literal)) ;) (expression_statement "puVar6[3] = 0x15;" (assignment_expression "puVar6[3] = 0x15" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_001d4922;" goto statement_identifier ;) })) }) (else_clause "else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" else (if_statement "if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" if (parenthesized_expression "(iVar7 < local_18)" ( (binary_expression "iVar7 < local_18" identifier < identifier) )) (compound_statement "{\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" { (expression_statement "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));" (assignment_expression "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (binary_expression "iVar7 * 0x10 + *(int *)(iVar4 + 0x10)" (binary_expression "iVar7 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(iVar4 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_001d490f:\n      puVar6[1] = 0;" statement_identifier : (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "puVar6[2] = piVar3;" (assignment_expression "puVar6[2] = piVar3" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[3] = iVar5;" (assignment_expression "puVar6[3] = iVar5" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_001d4922;" goto statement_identifier ;) }))))) }) (else_clause "else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }" else (compound_statement "{\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }" { (expression_statement "iVar7 = *(int *)(iVar4 + 0x14);" (assignment_expression "iVar7 = *(int *)(iVar4 + 0x14)" identifier = (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*(char **)(iVar4 + 0xc) = pcVar1 + 1;" (assignment_expression "*(char **)(iVar4 + 0xc) = pcVar1 + 1" (pointer_expression "*(char **)(iVar4 + 0xc)" * (cast_expression "(char **)(iVar4 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "local_18 = *(int *)(iVar4 + 0x18);" (assignment_expression "local_18 = *(int *)(iVar4 + 0x18)" identifier = (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (9 < iVar5) goto LAB_001d48e9;" if (parenthesized_expression "(9 < iVar5)" ( (binary_expression "9 < iVar5" number_literal < identifier) )) (goto_statement "goto LAB_001d48e9;" goto statement_identifier ;)) (labeled_statement "LAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }" statement_identifier : (if_statement "if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }" if (parenthesized_expression "(iVar7 < local_18)" ( (binary_expression "iVar7 < local_18" identifier < identifier) )) (compound_statement "{\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }" { (expression_statement "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));" (assignment_expression "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" identifier = (cast_expression "(undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" ( (binary_expression "iVar7 * 0x10 + *(int *)(iVar4 + 0x10)" (binary_expression "iVar7 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) )))) ;) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(iVar4 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (piVar3 == (int *)0x0) goto LAB_001d494e;" if (parenthesized_expression "(piVar3 == (int *)0x0)" ( (binary_expression "piVar3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001d494e;" goto statement_identifier ;)) (goto_statement "goto LAB_001d490f;" goto statement_identifier ;) }))) }))) (labeled_statement "LAB_001d494e:\n  puVar6 = (undefined4 *)0x0;" statement_identifier : (expression_statement "puVar6 = (undefined4 *)0x0;" (assignment_expression "puVar6 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (labeled_statement "LAB_001d4922:\n  *(undefined4 **)(iVar4 + 0x28) = puVar6;" statement_identifier : (expression_statement "*(undefined4 **)(iVar4 + 0x28) = puVar6;" (assignment_expression "*(undefined4 **)(iVar4 + 0x28) = puVar6" (pointer_expression "*(undefined4 **)(iVar4 + 0x28)" * (cast_expression "(undefined4 **)(iVar4 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) )))) = identifier) ;)) (return_statement "return puVar6;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) , (binary_expression (binary_expression (binary_expression IDENT == (char_literal ' character ')) || (binary_expression IDENT == (char_literal ' character '))) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )))) )) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' character ')) ))) )) (compound_statement { (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )) - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) }))))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) }))) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_001d4890(void)\n\n{\n  char *pcVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int unaff_EDI;\n  int local_18;\n  \n  iVar4 = FUN_000559ee();\n  iVar5 = FUN_001d46e0();\n  if (iVar5 < 1) {\n    return (undefined4 *)0x0;\n  }\n  piVar3 = *(int **)(iVar4 + 0xc);\n  if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;\n  pcVar1 = (char *)((int)piVar3 + iVar5);\n  *(char **)(iVar4 + 0xc) = pcVar1;\n  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }\nLAB_001d494e:\n  puVar6 = (undefined4 *)0x0;\nLAB_001d4922:\n  *(undefined4 **)(iVar4 + 0x28) = puVar6;\n  return puVar6;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_001d4890(void)" (* "*") (function_declarator "FUN_001d4890(void)" (identifier "FUN_001d4890") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  char *pcVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int unaff_EDI;\n  int local_18;\n  \n  iVar4 = FUN_000559ee();\n  iVar5 = FUN_001d46e0();\n  if (iVar5 < 1) {\n    return (undefined4 *)0x0;\n  }\n  piVar3 = *(int **)(iVar4 + 0xc);\n  if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;\n  pcVar1 = (char *)((int)piVar3 + iVar5);\n  *(char **)(iVar4 + 0xc) = pcVar1;\n  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }\nLAB_001d494e:\n  puVar6 = (undefined4 *)0x0;\nLAB_001d4922:\n  *(undefined4 **)(iVar4 + 0x28) = puVar6;\n  return puVar6;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (expression_statement "iVar4 = FUN_000559ee();" (assignment_expression "iVar4 = FUN_000559ee()" (identifier "iVar4") (= "=") (call_expression "FUN_000559ee()" (identifier "FUN_000559ee") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar5 = FUN_001d46e0();" (assignment_expression "iVar5 = FUN_001d46e0()" (identifier "iVar5") (= "=") (call_expression "FUN_001d46e0()" (identifier "FUN_001d46e0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 < 1) {\n    return (undefined4 *)0x0;\n  }" (if "if") (parenthesized_expression "(iVar5 < 1)" (( "(") (binary_expression "iVar5 < 1" (identifier "iVar5") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    return (undefined4 *)0x0;\n  }" ({ "{") (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "piVar3 = *(int **)(iVar4 + 0xc);" (assignment_expression "piVar3 = *(int **)(iVar4 + 0xc)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(iVar4 + 0xc)" (* "*") (cast_expression "(int **)(iVar4 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 4) - (int)piVar3 < iVar5)" (( "(") (binary_expression "*(int *)(iVar4 + 4) - (int)piVar3 < iVar5" (binary_expression "*(int *)(iVar4 + 4) - (int)piVar3" (pointer_expression "*(int *)(iVar4 + 4)" (* "*") (cast_expression "(int *)(iVar4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) (- "-") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (< "<") (identifier "iVar5")) () ")")) (goto_statement "goto LAB_001d494e;" (goto "goto") (statement_identifier "LAB_001d494e") (; ";"))) (expression_statement "pcVar1 = (char *)((int)piVar3 + iVar5);" (assignment_expression "pcVar1 = (char *)((int)piVar3 + iVar5)" (identifier "pcVar1") (= "=") (cast_expression "(char *)((int)piVar3 + iVar5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar3 + iVar5)" (( "(") (binary_expression "(int)piVar3 + iVar5" (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3")) (+ "+") (identifier "iVar5")) () ")")))) (; ";")) (expression_statement "*(char **)(iVar4 + 0xc) = pcVar1;" (assignment_expression "*(char **)(iVar4 + 0xc) = pcVar1" (pointer_expression "*(char **)(iVar4 + 0xc)" (* "*") (cast_expression "(char **)(iVar4 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "pcVar1")) (; ";")) (if_statement "if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }\n  else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }" (if "if") (parenthesized_expression "(((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$'))" (( "(") (binary_expression "((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')" (parenthesized_expression "((*(byte *)(iVar4 + 8) & 4) == 0)" (( "(") (binary_expression "(*(byte *)(iVar4 + 8) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 8) & 4)" (( "(") (binary_expression "*(byte *)(iVar4 + 8) & 4" (pointer_expression "*(byte *)(iVar4 + 8)" (* "*") (cast_expression "(byte *)(iVar4 + 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*pcVar1 != '$')" (( "(") (binary_expression "*pcVar1 != '$'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (!= "!=") (char_literal "'$'" (' "'") (character "$") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    local_18 = *(int *)(iVar4 + 0x18);\n    iVar7 = *(int *)(iVar4 + 0x14);\n    if (iVar5 < 10) goto LAB_001d4930;\nLAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }\n  }" ({ "{") (expression_statement "local_18 = *(int *)(iVar4 + 0x18);" (assignment_expression "local_18 = *(int *)(iVar4 + 0x18)" (identifier "local_18") (= "=") (pointer_expression "*(int *)(iVar4 + 0x18)" (* "*") (cast_expression "(int *)(iVar4 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar7 = *(int *)(iVar4 + 0x14);" (assignment_expression "iVar7 = *(int *)(iVar4 + 0x14)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (iVar5 < 10) goto LAB_001d4930;" (if "if") (parenthesized_expression "(iVar5 < 10)" (( "(") (binary_expression "iVar5 < 10" (identifier "iVar5") (< "<") (number_literal "10")) () ")")) (goto_statement "goto LAB_001d4930;" (goto "goto") (statement_identifier "LAB_001d4930") (; ";"))) (labeled_statement "LAB_001d48e9:\n    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" (statement_identifier "LAB_001d48e9") (: ":") (if_statement "if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')) {\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }\n    else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" (if "if") (parenthesized_expression "((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N'))" (( "(") (binary_expression "(((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&\n       (*(char *)((int)piVar3 + 9) == 'N')" (parenthesized_expression "(((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$'))))" (( "(") (binary_expression "((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&\n        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))" (parenthesized_expression "((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142))" (( "(") (binary_expression "(*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)" (parenthesized_expression "(*piVar3 == 0x4f4c475f)" (( "(") (binary_expression "*piVar3 == 0x4f4c475f" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (== "==") (number_literal "0x4f4c475f")) () ")")) (&& "&&") (parenthesized_expression "(piVar3[1] == 0x5f4c4142)" (( "(") (binary_expression "piVar3[1] == 0x5f4c4142" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x5f4c4142")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))" (( "(") (parenthesized_expression "(cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$'))" (( "(") (comma_expression "cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')" (assignment_expression "cVar2 = (char)piVar3[2]" (identifier "cVar2") (= "=") (cast_expression "(char)piVar3[2]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")))) (, ",") (binary_expression "cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')" (binary_expression "cVar2 == '.' || cVar2 == '_'" (binary_expression "cVar2 == '.'" (identifier "cVar2") (== "==") (char_literal "'.'" (' "'") (character ".") (' "'"))) (|| "||") (binary_expression "cVar2 == '_'" (identifier "cVar2") (== "==") (char_literal "'_'" (' "'") (character "_") (' "'")))) (|| "||") (parenthesized_expression "(cVar2 == '$')" (( "(") (binary_expression "cVar2 == '$'" (identifier "cVar2") (== "==") (char_literal "'$'" (' "'") (character "$") (' "'"))) () ")")))) () ")")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)((int)piVar3 + 9) == 'N')" (( "(") (binary_expression "*(char *)((int)piVar3 + 9) == 'N'" (pointer_expression "*(char *)((int)piVar3 + 9)" (* "*") (cast_expression "(char *)((int)piVar3 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar3 + 9)" (( "(") (binary_expression "(int)piVar3 + 9" (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3")) (+ "+") (number_literal "9")) () ")")))) (== "==") (char_literal "'N'" (' "'") (character "N") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;\n      if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }\n    }" ({ "{") (expression_statement "*(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;" (assignment_expression "*(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5" (pointer_expression "*(int *)(iVar4 + 0x2c)" (* "*") (cast_expression "(int *)(iVar4 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2c)" (( "(") (binary_expression "iVar4 + 0x2c" (identifier "iVar4") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "(*(int *)(iVar4 + 0x2c) + 0x16) - iVar5" (parenthesized_expression "(*(int *)(iVar4 + 0x2c) + 0x16)" (( "(") (binary_expression "*(int *)(iVar4 + 0x2c) + 0x16" (pointer_expression "*(int *)(iVar4 + 0x2c)" (* "*") (cast_expression "(int *)(iVar4 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2c)" (( "(") (binary_expression "iVar4 + 0x2c" (identifier "iVar4") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "0x16")) () ")")) (- "-") (identifier "iVar5"))) (; ";")) (if_statement "if (iVar7 < local_18) {\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }" (if "if") (parenthesized_expression "(iVar7 < local_18)" (( "(") (binary_expression "iVar7 < local_18" (identifier "iVar7") (< "<") (identifier "local_18")) () ")")) (compound_statement "{\n        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n        *(int *)(iVar4 + 0x14) = iVar7 + 1;\n        puVar6[1] = 0;\n        *puVar6 = 0;\n        puVar6[2] = unaff_EDI + 0xcb149;\n        puVar6[3] = 0x15;\n        goto LAB_001d4922;\n      }" ({ "{") (expression_statement "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));" (assignment_expression "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" (( "(") (binary_expression "iVar7 * 0x10 + *(int *)(iVar4 + 0x10)" (binary_expression "iVar7 * 0x10" (identifier "iVar7") (* "*") (number_literal "0x10")) (+ "+") (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) () ")")))) (; ";")) (expression_statement "*(int *)(iVar4 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[2] = unaff_EDI + 0xcb149;" (assignment_expression "puVar6[2] = unaff_EDI + 0xcb149" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "unaff_EDI + 0xcb149" (identifier "unaff_EDI") (+ "+") (number_literal "0xcb149"))) (; ";")) (expression_statement "puVar6[3] = 0x15;" (assignment_expression "puVar6[3] = 0x15" (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0x15")) (; ";")) (goto_statement "goto LAB_001d4922;" (goto "goto") (statement_identifier "LAB_001d4922") (; ";")) (} "}"))) (} "}")) (else_clause "else if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" (else "else") (if_statement "if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" (if "if") (parenthesized_expression "(iVar7 < local_18)" (( "(") (binary_expression "iVar7 < local_18" (identifier "iVar7") (< "<") (identifier "local_18")) () ")")) (compound_statement "{\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\nLAB_001d490f:\n      puVar6[1] = 0;\n      *puVar6 = 0;\n      puVar6[2] = piVar3;\n      puVar6[3] = iVar5;\n      goto LAB_001d4922;\n    }" ({ "{") (expression_statement "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));" (assignment_expression "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" (( "(") (binary_expression "iVar7 * 0x10 + *(int *)(iVar4 + 0x10)" (binary_expression "iVar7 * 0x10" (identifier "iVar7") (* "*") (number_literal "0x10")) (+ "+") (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) () ")")))) (; ";")) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(iVar4 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (labeled_statement "LAB_001d490f:\n      puVar6[1] = 0;" (statement_identifier "LAB_001d490f") (: ":") (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6[2] = piVar3;" (assignment_expression "puVar6[2] = piVar3" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "piVar3")) (; ";")) (expression_statement "puVar6[3] = iVar5;" (assignment_expression "puVar6[3] = iVar5" (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (goto_statement "goto LAB_001d4922;" (goto "goto") (statement_identifier "LAB_001d4922") (; ";")) (} "}")))))) (} "}")) (else_clause "else {\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }" (else "else") (compound_statement "{\n    iVar7 = *(int *)(iVar4 + 0x14);\n    *(char **)(iVar4 + 0xc) = pcVar1 + 1;\n    local_18 = *(int *)(iVar4 + 0x18);\n    if (9 < iVar5) goto LAB_001d48e9;\nLAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }\n  }" ({ "{") (expression_statement "iVar7 = *(int *)(iVar4 + 0x14);" (assignment_expression "iVar7 = *(int *)(iVar4 + 0x14)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "*(char **)(iVar4 + 0xc) = pcVar1 + 1;" (assignment_expression "*(char **)(iVar4 + 0xc) = pcVar1 + 1" (pointer_expression "*(char **)(iVar4 + 0xc)" (* "*") (cast_expression "(char **)(iVar4 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_18 = *(int *)(iVar4 + 0x18);" (assignment_expression "local_18 = *(int *)(iVar4 + 0x18)" (identifier "local_18") (= "=") (pointer_expression "*(int *)(iVar4 + 0x18)" (* "*") (cast_expression "(int *)(iVar4 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (9 < iVar5) goto LAB_001d48e9;" (if "if") (parenthesized_expression "(9 < iVar5)" (( "(") (binary_expression "9 < iVar5" (number_literal "9") (< "<") (identifier "iVar5")) () ")")) (goto_statement "goto LAB_001d48e9;" (goto "goto") (statement_identifier "LAB_001d48e9") (; ";"))) (labeled_statement "LAB_001d4930:\n    if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }" (statement_identifier "LAB_001d4930") (: ":") (if_statement "if (iVar7 < local_18) {\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }" (if "if") (parenthesized_expression "(iVar7 < local_18)" (( "(") (binary_expression "iVar7 < local_18" (identifier "iVar7") (< "<") (identifier "local_18")) () ")")) (compound_statement "{\n      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));\n      puVar6[1] = 0;\n      *(int *)(iVar4 + 0x14) = iVar7 + 1;\n      if (piVar3 == (int *)0x0) goto LAB_001d494e;\n      goto LAB_001d490f;\n    }" ({ "{") (expression_statement "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));" (assignment_expression "puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 * 0x10 + *(int *)(iVar4 + 0x10))" (( "(") (binary_expression "iVar7 * 0x10 + *(int *)(iVar4 + 0x10)" (binary_expression "iVar7 * 0x10" (identifier "iVar7") (* "*") (number_literal "0x10")) (+ "+") (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) () ")")))) (; ";")) (expression_statement "puVar6[1] = 0;" (assignment_expression "puVar6[1] = 0" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(iVar4 + 0x14) = iVar7 + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = iVar7 + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (piVar3 == (int *)0x0) goto LAB_001d494e;" (if "if") (parenthesized_expression "(piVar3 == (int *)0x0)" (( "(") (binary_expression "piVar3 == (int *)0x0" (identifier "piVar3") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_001d494e;" (goto "goto") (statement_identifier "LAB_001d494e") (; ";"))) (goto_statement "goto LAB_001d490f;" (goto "goto") (statement_identifier "LAB_001d490f") (; ";")) (} "}")))) (} "}")))) (labeled_statement "LAB_001d494e:\n  puVar6 = (undefined4 *)0x0;" (statement_identifier "LAB_001d494e") (: ":") (expression_statement "puVar6 = (undefined4 *)0x0;" (assignment_expression "puVar6 = (undefined4 *)0x0" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (labeled_statement "LAB_001d4922:\n  *(undefined4 **)(iVar4 + 0x28) = puVar6;" (statement_identifier "LAB_001d4922") (: ":") (expression_statement "*(undefined4 **)(iVar4 + 0x28) = puVar6;" (assignment_expression "*(undefined4 **)(iVar4 + 0x28) = puVar6" (pointer_expression "*(undefined4 **)(iVar4 + 0x28)" (* "*") (cast_expression "(undefined4 **)(iVar4 + 0x28)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x28)" (( "(") (binary_expression "iVar4 + 0x28" (identifier "iVar4") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "puVar6")) (; ";"))) (return_statement "return puVar6;" (return "return") (identifier "puVar6") (; ";")) (} "}")))

type_1 * function_1(type_2 *di)

{
  char *var_9;
  char var_5;
  type_1 *var_10;
  int var_3;
  int var_4;
  type_1 *pdVar6;
  int var_6;
  int var_8;
  int var_7;
  
  var_3 = var_1();
  var_4 = var_2((type_2 *)(var_3 + 0xc));
  if (var_4 < 1) {
    return (type_1 *)0x0;
  }
  var_10 = *(type_1 **)(var_3 + 0xc);
  if (*(int *)(var_3 + 4) - (int)var_10 < var_4) goto LAB_001d494e;
  var_9 = (char *)((int)&var_10->type + var_4);
  *(char **)(var_3 + 0xc) = var_9;
  if (((*(type_3 *)(var_3 + 8) & 4) == 0) || (*var_9 != '$')) {
    var_7 = *(int *)(var_3 + 0x18);
    var_6 = *(int *)(var_3 + 0x14);
    if (var_4 < 10) goto LAB_001d4930;
LAB_001d48e9:
    if ((((var_10->type == 0x4f4c475f) && (var_10->d_printing == 0x5f4c4142)) &&
        ((var_5 = *(char *)&var_10->u, var_5 == '.' || var_5 == '_' || (var_5 == '$')))) &&
       (*(char *)((int)&var_10->u + 1) == 'N')) {
      *(int *)(var_3 + 0x2c) = (*(int *)(var_3 + 0x2c) + 0x16) - var_4;
      if (var_6 < var_7) {
        pdVar6 = (type_1 *)(var_6 * 0x10 + *(int *)(var_3 + 0x10));
        *(int *)(var_3 + 0x14) = var_6 + 1;
        pdVar6->d_printing = 0;
        pdVar6->type = DEMANGLE_COMPONENT_NAME;
        (pdVar6->u).s_name.s = (char *)(var_8 + 0xcb149);
        (pdVar6->u).s_name.len = 0x15;
        goto LAB_001d4922;
      }
    }
    else if (var_6 < var_7) {
      pdVar6 = (type_1 *)(var_6 * 0x10 + *(int *)(var_3 + 0x10));
      pdVar6->d_printing = 0;
      *(int *)(var_3 + 0x14) = var_6 + 1;
LAB_001d490f:
      pdVar6->d_printing = 0;
      pdVar6->type = DEMANGLE_COMPONENT_NAME;
      (pdVar6->u).s_fixed.length = var_10;
      (pdVar6->u).s_name.len = var_4;
      goto LAB_001d4922;
    }
  }
  else {
    var_6 = *(int *)(var_3 + 0x14);
    *(char **)(var_3 + 0xc) = var_9 + 1;
    var_7 = *(int *)(var_3 + 0x18);
    if (9 < var_4) goto LAB_001d48e9;
LAB_001d4930:
    if (var_6 < var_7) {
      pdVar6 = (type_1 *)(var_6 * 0x10 + *(int *)(var_3 + 0x10));
      pdVar6->d_printing = 0;
      *(int *)(var_3 + 0x14) = var_6 + 1;
      if (var_10 == (type_1 *)0x0) goto LAB_001d494e;
      goto LAB_001d490f;
    }
  }
LAB_001d494e:
  pdVar6 = (type_1 *)0x0;
LAB_001d4922:
  *(type_1 **)(var_3 + 0x28) = pdVar6;
  return pdVar6;
}


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

undefined4 * MASKED(void)

{
  char *pcVar1;
  char cVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  undefined4 *puVar6;
  int iVar7;
  int unaff_EDI;
  int local_18;
  
  iVar4 = FUN_000559ee();
  iVar5 = FUN_001d46e0();
  if (iVar5 < 1) {
    return (undefined4 *)0x0;
  }
  piVar3 = *(int **)(iVar4 + 0xc);
  if (*(int *)(iVar4 + 4) - (int)piVar3 < iVar5) goto LAB_001d494e;
  pcVar1 = (char *)((int)piVar3 + iVar5);
  *(char **)(iVar4 + 0xc) = pcVar1;
  if (((*(byte *)(iVar4 + 8) & 4) == 0) || (*pcVar1 != '$')) {
    local_18 = *(int *)(iVar4 + 0x18);
    iVar7 = *(int *)(iVar4 + 0x14);
    if (iVar5 < 10) goto LAB_001d4930;
LAB_001d48e9:
    if ((((*piVar3 == 0x4f4c475f) && (piVar3[1] == 0x5f4c4142)) &&
        ((cVar2 = (char)piVar3[2], cVar2 == '.' || cVar2 == '_' || (cVar2 == '$')))) &&
       (*(char *)((int)piVar3 + 9) == 'N')) {
      *(int *)(iVar4 + 0x2c) = (*(int *)(iVar4 + 0x2c) + 0x16) - iVar5;
      if (iVar7 < local_18) {
        puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));
        *(int *)(iVar4 + 0x14) = iVar7 + 1;
        puVar6[1] = 0;
        *puVar6 = 0;
        puVar6[2] = unaff_EDI + 0xcb149;
        puVar6[3] = 0x15;
        goto LAB_001d4922;
      }
    }
    else if (iVar7 < local_18) {
      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));
      puVar6[1] = 0;
      *(int *)(iVar4 + 0x14) = iVar7 + 1;
LAB_001d490f:
      puVar6[1] = 0;
      *puVar6 = 0;
      puVar6[2] = piVar3;
      puVar6[3] = iVar5;
      goto LAB_001d4922;
    }
  }
  else {
    iVar7 = *(int *)(iVar4 + 0x14);
    *(char **)(iVar4 + 0xc) = pcVar1 + 1;
    local_18 = *(int *)(iVar4 + 0x18);
    if (9 < iVar5) goto LAB_001d48e9;
LAB_001d4930:
    if (iVar7 < local_18) {
      puVar6 = (undefined4 *)(iVar7 * 0x10 + *(int *)(iVar4 + 0x10));
      puVar6[1] = 0;
      *(int *)(iVar4 + 0x14) = iVar7 + 1;
      if (piVar3 == (int *)0x0) goto LAB_001d494e;
      goto LAB_001d490f;
    }
  }
LAB_001d494e:
  puVar6 = (undefined4 *)0x0;
LAB_001d4922:
  *(undefined4 **)(iVar4 + 0x28) = puVar6;
  return puVar6;
}

