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

char * __regparm3 dlang_parse_real(string *decl,char *mangled)

{
  byte bVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  byte *pbVar5;
  byte *pbVar6;
  bool bVar7;
  bool bVar8;
  bool bVar9;
  string *in_stack_ffffffd4;
  char *in_stack_ffffffd8;
  int in_stack_ffffffdc;
  
  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;
  bVar9 = &stack0x00000000 == (undefined1 *)0x2c;
  iVar4 = 3;
  pbVar6 = (byte *)mangled;
  pbVar5 = &DAT_004a15da;
  do {
    if (iVar4 == 0) break;
    iVar4 = iVar4 + -1;
    bVar7 = *pbVar6 < *pbVar5;
    bVar9 = *pbVar6 == *pbVar5;
    pbVar6 = pbVar6 + 1;
    pbVar5 = pbVar5 + 1;
  } while (bVar9);
  bVar8 = false;
  bVar7 = (!bVar7 && !bVar9) == bVar7;
  if (bVar7) {
    string_append(in_stack_ffffffd4,in_stack_ffffffd8);
    return mangled + 3;
  }
  iVar4 = 3;
  pbVar6 = (byte *)mangled;
  pbVar5 = &DAT_004a15e3;
  do {
    if (iVar4 == 0) break;
    iVar4 = iVar4 + -1;
    bVar8 = *pbVar6 < *pbVar5;
    bVar7 = *pbVar6 == *pbVar5;
    pbVar6 = pbVar6 + 1;
    pbVar5 = pbVar5 + 1;
  } while (bVar7);
  bVar9 = false;
  bVar7 = (!bVar8 && !bVar7) == bVar8;
  if (bVar7) {
    string_append(in_stack_ffffffd4,in_stack_ffffffd8);
    return mangled + 3;
  }
  iVar4 = 4;
  pbVar6 = (byte *)mangled;
  pbVar5 = &DAT_004a15e2;
  do {
    if (iVar4 == 0) break;
    iVar4 = iVar4 + -1;
    bVar9 = *pbVar6 < *pbVar5;
    bVar7 = *pbVar6 == *pbVar5;
    pbVar6 = pbVar6 + 1;
    pbVar5 = pbVar5 + 1;
  } while (bVar7);
  if ((!bVar9 && !bVar7) == bVar9) {
    string_append(in_stack_ffffffd4,in_stack_ffffffd8);
    return mangled + 4;
  }
  bVar1 = *mangled;
  if (bVar1 == 0x4e) {
    mangled = mangled + 1;
    string_append(in_stack_ffffffd4,in_stack_ffffffd8);
    bVar1 = *mangled;
  }
  if ((*(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1) & 1) != 0) {
    string_append(in_stack_ffffffd4,in_stack_ffffffd8);
    string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);
    pbVar6 = (byte *)mangled + 1;
    string_append(in_stack_ffffffd4,in_stack_ffffffd8);
    bVar1 = ((byte *)mangled)[1];
    bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);
    while ((bVar2 & 1) != 0) {
      pbVar6 = pbVar6 + 1;
      string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);
      bVar1 = *pbVar6;
      bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);
    }
    if (bVar1 == 0x50) {
      pbVar5 = pbVar6 + 1;
      string_append(in_stack_ffffffd4,in_stack_ffffffd8);
      uVar3 = (uint)pbVar6[1];
      if (pbVar6[1] == 0x4e) {
        pbVar5 = pbVar6 + 2;
        string_append(in_stack_ffffffd4,in_stack_ffffffd8);
        uVar3 = (uint)pbVar6[2];
      }
      while ((_sch_istable[uVar3] & 4) != 0) {
        pbVar5 = pbVar5 + 1;
        string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);
        uVar3 = (uint)*pbVar5;
      }
      return (char *)pbVar5;
    }
  }
  return (char *)0x0;
}



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

byte * __regparm3 FUN_003a97f0(undefined4 param_1,byte *param_2)

{
  byte bVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  byte *pbVar5;
  byte *pbVar6;
  bool bVar7;
  bool bVar8;
  bool bVar9;
  
  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;
  bVar9 = &stack0x00000000 == (undefined1 *)0x2c;
  iVar4 = 3;
  pbVar6 = param_2;
  pbVar5 = &DAT_004a15da;
  do {
    if (iVar4 == 0) break;
    iVar4 = iVar4 + -1;
    bVar7 = *pbVar6 < *pbVar5;
    bVar9 = *pbVar6 == *pbVar5;
    pbVar6 = pbVar6 + 1;
    pbVar5 = pbVar5 + 1;
  } while (bVar9);
  bVar8 = false;
  bVar7 = (!bVar7 && !bVar9) == bVar7;
  if (bVar7) {
    FUN_003a9130();
    return param_2 + 3;
  }
  iVar4 = 3;
  pbVar6 = param_2;
  pbVar5 = &DAT_004a15e3;
  do {
    if (iVar4 == 0) break;
    iVar4 = iVar4 + -1;
    bVar8 = *pbVar6 < *pbVar5;
    bVar7 = *pbVar6 == *pbVar5;
    pbVar6 = pbVar6 + 1;
    pbVar5 = pbVar5 + 1;
  } while (bVar7);
  bVar9 = false;
  bVar7 = (!bVar8 && !bVar7) == bVar8;
  if (bVar7) {
    FUN_003a9130();
    return param_2 + 3;
  }
  iVar4 = 4;
  pbVar6 = param_2;
  pbVar5 = &DAT_004a15e2;
  do {
    if (iVar4 == 0) break;
    iVar4 = iVar4 + -1;
    bVar9 = *pbVar6 < *pbVar5;
    bVar7 = *pbVar6 == *pbVar5;
    pbVar6 = pbVar6 + 1;
    pbVar5 = pbVar5 + 1;
  } while (bVar7);
  if ((!bVar9 && !bVar7) == bVar9) {
    FUN_003a9130();
    return param_2 + 4;
  }
  bVar1 = *param_2;
  if (bVar1 == 0x4e) {
    param_2 = param_2 + 1;
    FUN_003a9130();
    bVar1 = *param_2;
  }
  if (((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0) {
    FUN_003a9130();
    FUN_003a94b0();
    pbVar6 = param_2 + 1;
    FUN_003a9130();
    bVar1 = param_2[1];
    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];
    while ((bVar2 & 1) != 0) {
      pbVar6 = pbVar6 + 1;
      FUN_003a94b0();
      bVar1 = *pbVar6;
      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];
    }
    if (bVar1 == 0x50) {
      pbVar5 = pbVar6 + 1;
      FUN_003a9130();
      uVar3 = (uint)pbVar6[1];
      if (pbVar6[1] == 0x4e) {
        pbVar5 = pbVar6 + 2;
        FUN_003a9130();
        uVar3 = (uint)pbVar6[2];
      }
      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {
        pbVar5 = pbVar5 + 1;
        FUN_003a94b0();
        uVar3 = (uint)*pbVar5;
      }
      return pbVar5;
    }
  }
  return (byte *)0x0;
}


CALL 0x00074f06
ADD ECX,0x24080b
PUSH EBP
MOV EBP,EAX
PUSH EDI
PUSH ESI
MOV ESI,EDX
PUSH EBX
MOV EBX,EDX
SUB ESP,0x1c
MOV EDI,ECX
MOV dword ptr [ESP + 0xc],ECX
LEA EDI,[EDI + 0xffeb75da]
MOV ECX,0x3
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x003a9948
MOV EAX,dword ptr [ESP + 0xc]
MOV ECX,0x3
MOV ESI,EDX
LEA EDI,[EAX + 0xffeb75e3]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x003a9990
MOV EAX,dword ptr [ESP + 0xc]
MOV ECX,0x4
MOV ESI,EDX
LEA EDI,[EAX + 0xffeb75e2]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x003a99b0
MOVZX EAX,byte ptr [EDX]
CMP AL,0x4e
JZ 0x003a9970
MOV ECX,dword ptr [ESP + 0xc]
LEA EDI,[ECX + 0xffeb80a0]
TEST byte ptr [EDI + EAX*0x2 + 0x1],0x1
JZ 0x003a9938
MOV ESI,dword ptr [ESP + 0xc]
MOV EAX,EBP
LEA EDX,[ESI + 0xffea0260]
CALL 0x003a9130
MOV ECX,0x1
MOV EDX,EBX
MOV EAX,EBP
CALL 0x003a94b0
LEA EDX,[ESI + 0xffea35db]
MOV EAX,EBP
LEA ESI,[EBX + 0x1]
CALL 0x003a9130
MOVZX EDX,byte ptr [EBX + 0x1]
MOV EAX,EDX
TEST byte ptr [EDI + EDX*0x2 + 0x1],0x1
JZ 0x003a98e5
LEA ESI,[ESI]
MOV EDX,ESI
MOV EAX,EBP
MOV ECX,0x1
ADD ESI,0x1
CALL 0x003a94b0
MOVZX EDX,byte ptr [ESI]
MOV EAX,EDX
TEST byte ptr [EDI + EDX*0x2 + 0x1],0x1
JNZ 0x003a98c8
CMP AL,0x50
JNZ 0x003a9938
MOV EAX,dword ptr [ESP + 0xc]
LEA EBX,[ESI + 0x1]
LEA EDX,[EAX + 0xffea3c0c]
MOV EAX,EBP
CALL 0x003a9130
MOVZX EAX,byte ptr [ESI + 0x1]
CMP AL,0x4e
JNZ 0x003a9924
JMP 0x003a99d0
MOV EDX,EBX
MOV EAX,EBP
MOV ECX,0x1
ADD EBX,0x1
CALL 0x003a94b0
MOVZX EAX,byte ptr [EBX]
TEST byte ptr [EDI + EAX*0x2],0x4
JNZ 0x003a9910
ADD ESP,0x1c
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0x1c
XOR EBX,EBX
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0xc]
ADD EBX,0x3
LEA EDX,[EAX + 0xffeb75de]
MOV EAX,EBP
CALL 0x003a9130
ADD ESP,0x1c
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0xc]
ADD EBX,0x1
LEA EDX,[EAX + 0xffea30d8]
MOV EAX,EBP
CALL 0x003a9130
MOVZX EAX,byte ptr [EBX]
JMP 0x003a9873
MOV EAX,dword ptr [ESP + 0xc]
ADD EBX,0x3
LEA EDX,[EAX + 0xffeb75e8]
MOV EAX,EBP
CALL 0x003a9130
ADD ESP,0x1c
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0xc]
ADD EBX,0x4
LEA EDX,[EAX + 0xffeb75e7]
MOV EAX,EBP
CALL 0x003a9130
ADD ESP,0x1c
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0xc]
LEA EBX,[ESI + 0x2]
LEA EDX,[EAX + 0xffea30d8]
MOV EAX,EBP
CALL 0x003a9130
MOVZX EAX,byte ptr [ESI + 0x2]
JMP 0x003a9924
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nbyte * __regparm3 FUN_003a97f0(undefined4 param_1,byte *param_2)\n\n{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  \n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar9 = &stack0x00000000 == (undefined1 *)0x2c;\n  iVar4 = 3;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15da;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar9);\n  bVar8 = false;\n  bVar7 = (!bVar7 && !bVar9) == bVar7;\n  if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }\n  iVar4 = 3;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15e3;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  bVar9 = false;\n  bVar7 = (!bVar8 && !bVar7) == bVar8;\n  if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }\n  iVar4 = 4;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15e2;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if ((!bVar9 && !bVar7) == bVar9) {\n    FUN_003a9130();\n    return param_2 + 4;\n  }\n  bVar1 = *param_2;\n  if (bVar1 == 0x4e) {\n    param_2 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = *param_2;\n  }\n  if (((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0) {\n    FUN_003a9130();\n    FUN_003a94b0();\n    pbVar6 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = param_2[1];\n    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }\n  }\n  return (byte *)0x0;\n}\n\n" comment (ERROR "byte * __regparm3 FUN_003a97f0(undefined4 param_1,byte *param_2)" (binary_expression "byte * __regparm3 FUN_003a97f0(undefined4 param_1,byte *param_2)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_003a97f0(undefined4 param_1,byte *param_2)" identifier (argument_list "(undefined4 param_1,byte *param_2)" ( identifier (ERROR "param_1" identifier) , (binary_expression "byte *param_2" identifier * identifier) ))))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  \n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar9 = &stack0x00000000 == (undefined1 *)0x2c;\n  iVar4 = 3;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15da;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar9);\n  bVar8 = false;\n  bVar7 = (!bVar7 && !bVar9) == bVar7;\n  if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }\n  iVar4 = 3;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15e3;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  bVar9 = false;\n  bVar7 = (!bVar8 && !bVar7) == bVar8;\n  if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }\n  iVar4 = 4;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15e2;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if ((!bVar9 && !bVar7) == bVar9) {\n    FUN_003a9130();\n    return param_2 + 4;\n  }\n  bVar1 = *param_2;\n  if (bVar1 == 0x4e) {\n    param_2 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = *param_2;\n  }\n  if (((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0) {\n    FUN_003a9130();\n    FUN_003a94b0();\n    pbVar6 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = param_2[1];\n    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }\n  }\n  return (byte *)0x0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (expression_statement "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;" (assignment_expression "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0x1c" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0x1c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar9 = &stack0x00000000 == (undefined1 *)0x2c;" (assignment_expression "bVar9 = &stack0x00000000 == (undefined1 *)0x2c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x2c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x2c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (expression_statement "pbVar6 = param_2;" (assignment_expression "pbVar6 = param_2" identifier = identifier) ;) (expression_statement "pbVar5 = &DAT_004a15da;" (assignment_expression "pbVar5 = &DAT_004a15da" identifier = (pointer_expression "&DAT_004a15da" & identifier)) ;) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar9);" do (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar6 < *pbVar5;" (assignment_expression "bVar7 = *pbVar6 < *pbVar5" identifier = (binary_expression "*pbVar6 < *pbVar5" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar9 = *pbVar6 == *pbVar5;" (assignment_expression "bVar9 = *pbVar6 == *pbVar5" identifier = (binary_expression "*pbVar6 == *pbVar5" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "bVar7 = (!bVar7 && !bVar9) == bVar7;" (assignment_expression "bVar7 = (!bVar7 && !bVar9) == bVar7" identifier = (binary_expression "(!bVar7 && !bVar9) == bVar7" (parenthesized_expression "(!bVar7 && !bVar9)" ( (binary_expression "!bVar7 && !bVar9" (unary_expression "!bVar7" ! identifier) && (unary_expression "!bVar9" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n    FUN_003a9130();\n    return param_2 + 3;\n  }" { (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_2 + 3;" return (binary_expression "param_2 + 3" identifier + number_literal) ;) })) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (expression_statement "pbVar6 = param_2;" (assignment_expression "pbVar6 = param_2" identifier = identifier) ;) (expression_statement "pbVar5 = &DAT_004a15e3;" (assignment_expression "pbVar5 = &DAT_004a15e3" identifier = (pointer_expression "&DAT_004a15e3" & identifier)) ;) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);" do (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar8 = *pbVar6 < *pbVar5;" (assignment_expression "bVar8 = *pbVar6 < *pbVar5" identifier = (binary_expression "*pbVar6 < *pbVar5" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar7 = *pbVar6 == *pbVar5;" (assignment_expression "bVar7 = *pbVar6 == *pbVar5" identifier = (binary_expression "*pbVar6 == *pbVar5" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (expression_statement "bVar7 = (!bVar8 && !bVar7) == bVar8;" (assignment_expression "bVar7 = (!bVar8 && !bVar7) == bVar8" identifier = (binary_expression "(!bVar8 && !bVar7) == bVar8" (parenthesized_expression "(!bVar8 && !bVar7)" ( (binary_expression "!bVar8 && !bVar7" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n    FUN_003a9130();\n    return param_2 + 3;\n  }" { (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_2 + 3;" return (binary_expression "param_2 + 3" identifier + number_literal) ;) })) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (expression_statement "pbVar6 = param_2;" (assignment_expression "pbVar6 = param_2" identifier = identifier) ;) (expression_statement "pbVar5 = &DAT_004a15e2;" (assignment_expression "pbVar5 = &DAT_004a15e2" identifier = (pointer_expression "&DAT_004a15e2" & identifier)) ;) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);" do (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar9 = *pbVar6 < *pbVar5;" (assignment_expression "bVar9 = *pbVar6 < *pbVar5" identifier = (binary_expression "*pbVar6 < *pbVar5" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar7 = *pbVar6 == *pbVar5;" (assignment_expression "bVar7 = *pbVar6 == *pbVar5" identifier = (binary_expression "*pbVar6 == *pbVar5" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (if_statement "if ((!bVar9 && !bVar7) == bVar9) {\n    FUN_003a9130();\n    return param_2 + 4;\n  }" if (parenthesized_expression "((!bVar9 && !bVar7) == bVar9)" ( (binary_expression "(!bVar9 && !bVar7) == bVar9" (parenthesized_expression "(!bVar9 && !bVar7)" ( (binary_expression "!bVar9 && !bVar7" (unary_expression "!bVar9" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier) )) (compound_statement "{\n    FUN_003a9130();\n    return param_2 + 4;\n  }" { (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_2 + 4;" return (binary_expression "param_2 + 4" identifier + number_literal) ;) })) (expression_statement "bVar1 = *param_2;" (assignment_expression "bVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (bVar1 == 0x4e) {\n    param_2 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = *param_2;\n  }" if (parenthesized_expression "(bVar1 == 0x4e)" ( (binary_expression "bVar1 == 0x4e" identifier == number_literal) )) (compound_statement "{\n    param_2 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = *param_2;\n  }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar1 = *param_2;" (assignment_expression "bVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) })) (if_statement "if (((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0) {\n    FUN_003a9130();\n    FUN_003a94b0();\n    pbVar6 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = param_2[1];\n    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }\n  }" if (parenthesized_expression "(((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0)" ( (binary_expression "((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0" (parenthesized_expression "((&DAT_004a20a1)[(uint)bVar1 * 2] & 1)" ( (binary_expression "(&DAT_004a20a1)[(uint)bVar1 * 2] & 1" (subscript_expression "(&DAT_004a20a1)[(uint)bVar1 * 2]" (parenthesized_expression "(&DAT_004a20a1)" ( (pointer_expression "&DAT_004a20a1" & identifier) )) [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_003a9130();\n    FUN_003a94b0();\n    pbVar6 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = param_2[1];\n    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }\n  }" { (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_003a94b0();" (call_expression "FUN_003a94b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "pbVar6 = param_2 + 1;" (assignment_expression "pbVar6 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar1 = param_2[1];" (assignment_expression "bVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];" (assignment_expression "bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2]" identifier = (subscript_expression "(&DAT_004a20a1)[(uint)bVar1 * 2]" (parenthesized_expression "(&DAT_004a20a1)" ( (pointer_expression "&DAT_004a20a1" & identifier) )) [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ])) ;) (while_statement "while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }" while (parenthesized_expression "((bVar2 & 1) != 0)" ( (binary_expression "(bVar2 & 1) != 0" (parenthesized_expression "(bVar2 & 1)" ( (binary_expression "bVar2 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }" { (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "FUN_003a94b0();" (call_expression "FUN_003a94b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) (expression_statement "bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];" (assignment_expression "bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2]" identifier = (subscript_expression "(&DAT_004a20a1)[(uint)bVar1 * 2]" (parenthesized_expression "(&DAT_004a20a1)" ( (pointer_expression "&DAT_004a20a1" & identifier) )) [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ])) ;) })) (if_statement "if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }" if (parenthesized_expression "(bVar1 == 0x50)" ( (binary_expression "bVar1 == 0x50" identifier == number_literal) )) (compound_statement "{\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }" { (expression_statement "pbVar5 = pbVar6 + 1;" (assignment_expression "pbVar5 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = (uint)pbVar6[1];" (assignment_expression "uVar3 = (uint)pbVar6[1]" identifier = (cast_expression "(uint)pbVar6[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[1]" identifier [ number_literal ]))) ;) (if_statement "if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }" if (parenthesized_expression "(pbVar6[1] == 0x4e)" ( (binary_expression "pbVar6[1] == 0x4e" (subscript_expression "pbVar6[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }" { (expression_statement "pbVar5 = pbVar6 + 2;" (assignment_expression "pbVar5 = pbVar6 + 2" identifier = (binary_expression "pbVar6 + 2" identifier + number_literal)) ;) (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = (uint)pbVar6[2];" (assignment_expression "uVar3 = (uint)pbVar6[2]" identifier = (cast_expression "(uint)pbVar6[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[2]" identifier [ number_literal ]))) ;) })) (while_statement "while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }" while (parenthesized_expression "(((&DAT_004a20a0)[uVar3 * 2] & 4) != 0)" ( (binary_expression "((&DAT_004a20a0)[uVar3 * 2] & 4) != 0" (parenthesized_expression "((&DAT_004a20a0)[uVar3 * 2] & 4)" ( (binary_expression "(&DAT_004a20a0)[uVar3 * 2] & 4" (subscript_expression "(&DAT_004a20a0)[uVar3 * 2]" (parenthesized_expression "(&DAT_004a20a0)" ( (pointer_expression "&DAT_004a20a0" & identifier) )) [ (binary_expression "uVar3 * 2" identifier * number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }" { (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "FUN_003a94b0();" (call_expression "FUN_003a94b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = (uint)*pbVar5;" (assignment_expression "uVar3 = (uint)*pbVar5" identifier = (binary_expression "(uint)*pbVar5" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) })) (return_statement "return pbVar5;" return identifier ;) })) })) (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nchar * __regparm3 dlang_parse_real(string *decl,char *mangled)\n\n{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  string *in_stack_ffffffd4;\n  char *in_stack_ffffffd8;\n  int in_stack_ffffffdc;\n  \n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar9 = &stack0x00000000 == (undefined1 *)0x2c;\n  iVar4 = 3;\n  pbVar6 = (byte *)mangled;\n  pbVar5 = &DAT_004a15da;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar9);\n  bVar8 = false;\n  bVar7 = (!bVar7 && !bVar9) == bVar7;\n  if (bVar7) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 3;\n  }\n  iVar4 = 3;\n  pbVar6 = (byte *)mangled;\n  pbVar5 = &DAT_004a15e3;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  bVar9 = false;\n  bVar7 = (!bVar8 && !bVar7) == bVar8;\n  if (bVar7) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 3;\n  }\n  iVar4 = 4;\n  pbVar6 = (byte *)mangled;\n  pbVar5 = &DAT_004a15e2;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if ((!bVar9 && !bVar7) == bVar9) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 4;\n  }\n  bVar1 = *mangled;\n  if (bVar1 == 0x4e) {\n    mangled = mangled + 1;\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    bVar1 = *mangled;\n  }\n  if ((*(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1) & 1) != 0) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    pbVar6 = (byte *)mangled + 1;\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    bVar1 = ((byte *)mangled)[1];\n    bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n      bVar1 = *pbVar6;\n      bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n        uVar3 = (uint)pbVar6[2];\n      }\n      while ((_sch_istable[uVar3] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n        uVar3 = (uint)*pbVar5;\n      }\n      return (char *)pbVar5;\n    }\n  }\n  return (char *)0x0;\n}\n\n" comment (function_definition "char * __regparm3 dlang_parse_real(string *decl,char *mangled)\n\n{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  string *in_stack_ffffffd4;\n  char *in_stack_ffffffd8;\n  int in_stack_ffffffdc;\n  \n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar9 = &stack0x00000000 == (undefined1 *)0x2c;\n  iVar4 = 3;\n  pbVar6 = (byte *)mangled;\n  pbVar5 = &DAT_004a15da;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar9);\n  bVar8 = false;\n  bVar7 = (!bVar7 && !bVar9) == bVar7;\n  if (bVar7) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 3;\n  }\n  iVar4 = 3;\n  pbVar6 = (byte *)mangled;\n  pbVar5 = &DAT_004a15e3;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  bVar9 = false;\n  bVar7 = (!bVar8 && !bVar7) == bVar8;\n  if (bVar7) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 3;\n  }\n  iVar4 = 4;\n  pbVar6 = (byte *)mangled;\n  pbVar5 = &DAT_004a15e2;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if ((!bVar9 && !bVar7) == bVar9) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 4;\n  }\n  bVar1 = *mangled;\n  if (bVar1 == 0x4e) {\n    mangled = mangled + 1;\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    bVar1 = *mangled;\n  }\n  if ((*(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1) & 1) != 0) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    pbVar6 = (byte *)mangled + 1;\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    bVar1 = ((byte *)mangled)[1];\n    bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n      bVar1 = *pbVar6;\n      bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n        uVar3 = (uint)pbVar6[2];\n      }\n      while ((_sch_istable[uVar3] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n        uVar3 = (uint)*pbVar5;\n      }\n      return (char *)pbVar5;\n    }\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* __regparm3 dlang_parse_real(string *decl,char *mangled)" * (ERROR "__regparm3" identifier) (function_declarator "dlang_parse_real(string *decl,char *mangled)" identifier (parameter_list "(string *decl,char *mangled)" ( (parameter_declaration "string *decl" type_identifier (pointer_declarator "*decl" * identifier)) , (parameter_declaration "char *mangled" primitive_type (pointer_declarator "*mangled" * identifier)) )))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  string *in_stack_ffffffd4;\n  char *in_stack_ffffffd8;\n  int in_stack_ffffffdc;\n  \n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar9 = &stack0x00000000 == (undefined1 *)0x2c;\n  iVar4 = 3;\n  pbVar6 = (byte *)mangled;\n  pbVar5 = &DAT_004a15da;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar9);\n  bVar8 = false;\n  bVar7 = (!bVar7 && !bVar9) == bVar7;\n  if (bVar7) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 3;\n  }\n  iVar4 = 3;\n  pbVar6 = (byte *)mangled;\n  pbVar5 = &DAT_004a15e3;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  bVar9 = false;\n  bVar7 = (!bVar8 && !bVar7) == bVar8;\n  if (bVar7) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 3;\n  }\n  iVar4 = 4;\n  pbVar6 = (byte *)mangled;\n  pbVar5 = &DAT_004a15e2;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if ((!bVar9 && !bVar7) == bVar9) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 4;\n  }\n  bVar1 = *mangled;\n  if (bVar1 == 0x4e) {\n    mangled = mangled + 1;\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    bVar1 = *mangled;\n  }\n  if ((*(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1) & 1) != 0) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    pbVar6 = (byte *)mangled + 1;\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    bVar1 = ((byte *)mangled)[1];\n    bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n      bVar1 = *pbVar6;\n      bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n        uVar3 = (uint)pbVar6[2];\n      }\n      while ((_sch_istable[uVar3] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n        uVar3 = (uint)*pbVar5;\n      }\n      return (char *)pbVar5;\n    }\n  }\n  return (char *)0x0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "string *in_stack_ffffffd4;" type_identifier (pointer_declarator "*in_stack_ffffffd4" * identifier) ;) (declaration "char *in_stack_ffffffd8;" primitive_type (pointer_declarator "*in_stack_ffffffd8" * identifier) ;) (declaration "int in_stack_ffffffdc;" primitive_type identifier ;) (expression_statement "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;" (assignment_expression "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0x1c" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0x1c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar9 = &stack0x00000000 == (undefined1 *)0x2c;" (assignment_expression "bVar9 = &stack0x00000000 == (undefined1 *)0x2c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x2c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x2c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (expression_statement "pbVar6 = (byte *)mangled;" (assignment_expression "pbVar6 = (byte *)mangled" identifier = (cast_expression "(byte *)mangled" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar5 = &DAT_004a15da;" (assignment_expression "pbVar5 = &DAT_004a15da" identifier = (pointer_expression "&DAT_004a15da" & identifier)) ;) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar9);" do (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar6 < *pbVar5;" (assignment_expression "bVar7 = *pbVar6 < *pbVar5" identifier = (binary_expression "*pbVar6 < *pbVar5" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar9 = *pbVar6 == *pbVar5;" (assignment_expression "bVar9 = *pbVar6 == *pbVar5" identifier = (binary_expression "*pbVar6 == *pbVar5" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "bVar7 = (!bVar7 && !bVar9) == bVar7;" (assignment_expression "bVar7 = (!bVar7 && !bVar9) == bVar7" identifier = (binary_expression "(!bVar7 && !bVar9) == bVar7" (parenthesized_expression "(!bVar7 && !bVar9)" ( (binary_expression "!bVar7 && !bVar9" (unary_expression "!bVar7" ! identifier) && (unary_expression "!bVar9" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar7) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 3;\n  }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 3;\n  }" { (expression_statement "string_append(in_stack_ffffffd4,in_stack_ffffffd8);" (call_expression "string_append(in_stack_ffffffd4,in_stack_ffffffd8)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8)" ( identifier , identifier ))) ;) (return_statement "return mangled + 3;" return (binary_expression "mangled + 3" identifier + number_literal) ;) })) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (expression_statement "pbVar6 = (byte *)mangled;" (assignment_expression "pbVar6 = (byte *)mangled" identifier = (cast_expression "(byte *)mangled" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar5 = &DAT_004a15e3;" (assignment_expression "pbVar5 = &DAT_004a15e3" identifier = (pointer_expression "&DAT_004a15e3" & identifier)) ;) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);" do (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar8 = *pbVar6 < *pbVar5;" (assignment_expression "bVar8 = *pbVar6 < *pbVar5" identifier = (binary_expression "*pbVar6 < *pbVar5" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar7 = *pbVar6 == *pbVar5;" (assignment_expression "bVar7 = *pbVar6 == *pbVar5" identifier = (binary_expression "*pbVar6 == *pbVar5" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (expression_statement "bVar7 = (!bVar8 && !bVar7) == bVar8;" (assignment_expression "bVar7 = (!bVar8 && !bVar7) == bVar8" identifier = (binary_expression "(!bVar8 && !bVar7) == bVar8" (parenthesized_expression "(!bVar8 && !bVar7)" ( (binary_expression "!bVar8 && !bVar7" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar7) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 3;\n  }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 3;\n  }" { (expression_statement "string_append(in_stack_ffffffd4,in_stack_ffffffd8);" (call_expression "string_append(in_stack_ffffffd4,in_stack_ffffffd8)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8)" ( identifier , identifier ))) ;) (return_statement "return mangled + 3;" return (binary_expression "mangled + 3" identifier + number_literal) ;) })) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (expression_statement "pbVar6 = (byte *)mangled;" (assignment_expression "pbVar6 = (byte *)mangled" identifier = (cast_expression "(byte *)mangled" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar5 = &DAT_004a15e2;" (assignment_expression "pbVar5 = &DAT_004a15e2" identifier = (pointer_expression "&DAT_004a15e2" & identifier)) ;) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);" do (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar9 = *pbVar6 < *pbVar5;" (assignment_expression "bVar9 = *pbVar6 < *pbVar5" identifier = (binary_expression "*pbVar6 < *pbVar5" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar7 = *pbVar6 == *pbVar5;" (assignment_expression "bVar7 = *pbVar6 == *pbVar5" identifier = (binary_expression "*pbVar6 == *pbVar5" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (if_statement "if ((!bVar9 && !bVar7) == bVar9) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 4;\n  }" if (parenthesized_expression "((!bVar9 && !bVar7) == bVar9)" ( (binary_expression "(!bVar9 && !bVar7) == bVar9" (parenthesized_expression "(!bVar9 && !bVar7)" ( (binary_expression "!bVar9 && !bVar7" (unary_expression "!bVar9" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier) )) (compound_statement "{\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    return mangled + 4;\n  }" { (expression_statement "string_append(in_stack_ffffffd4,in_stack_ffffffd8);" (call_expression "string_append(in_stack_ffffffd4,in_stack_ffffffd8)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8)" ( identifier , identifier ))) ;) (return_statement "return mangled + 4;" return (binary_expression "mangled + 4" identifier + number_literal) ;) })) (expression_statement "bVar1 = *mangled;" (assignment_expression "bVar1 = *mangled" identifier = (pointer_expression "*mangled" * identifier)) ;) (if_statement "if (bVar1 == 0x4e) {\n    mangled = mangled + 1;\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    bVar1 = *mangled;\n  }" if (parenthesized_expression "(bVar1 == 0x4e)" ( (binary_expression "bVar1 == 0x4e" identifier == number_literal) )) (compound_statement "{\n    mangled = mangled + 1;\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    bVar1 = *mangled;\n  }" { (expression_statement "mangled = mangled + 1;" (assignment_expression "mangled = mangled + 1" identifier = (binary_expression "mangled + 1" identifier + number_literal)) ;) (expression_statement "string_append(in_stack_ffffffd4,in_stack_ffffffd8);" (call_expression "string_append(in_stack_ffffffd4,in_stack_ffffffd8)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8)" ( identifier , identifier ))) ;) (expression_statement "bVar1 = *mangled;" (assignment_expression "bVar1 = *mangled" identifier = (pointer_expression "*mangled" * identifier)) ;) })) (if_statement "if ((*(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1) & 1) != 0) {\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    pbVar6 = (byte *)mangled + 1;\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    bVar1 = ((byte *)mangled)[1];\n    bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n      bVar1 = *pbVar6;\n      bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n        uVar3 = (uint)pbVar6[2];\n      }\n      while ((_sch_istable[uVar3] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n        uVar3 = (uint)*pbVar5;\n      }\n      return (char *)pbVar5;\n    }\n  }" if (parenthesized_expression "((*(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1) & 1" (pointer_expression "*(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1)" * (cast_expression "(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)_sch_istable + (uint)bVar1 * 2 + 1)" ( (binary_expression "(int)_sch_istable + (uint)bVar1 * 2 + 1" (binary_expression "(int)_sch_istable + (uint)bVar1 * 2" (cast_expression "(int)_sch_istable" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n    pbVar6 = (byte *)mangled + 1;\n    string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n    bVar1 = ((byte *)mangled)[1];\n    bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n      bVar1 = *pbVar6;\n      bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n        uVar3 = (uint)pbVar6[2];\n      }\n      while ((_sch_istable[uVar3] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n        uVar3 = (uint)*pbVar5;\n      }\n      return (char *)pbVar5;\n    }\n  }" { (expression_statement "string_append(in_stack_ffffffd4,in_stack_ffffffd8);" (call_expression "string_append(in_stack_ffffffd4,in_stack_ffffffd8)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8)" ( identifier , identifier ))) ;) (expression_statement "string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);" (call_expression "string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc)" ( identifier , identifier , identifier ))) ;) (expression_statement "pbVar6 = (byte *)mangled + 1;" (assignment_expression "pbVar6 = (byte *)mangled + 1" identifier = (binary_expression "(byte *)mangled + 1" (cast_expression "(byte *)mangled" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal)) ;) (expression_statement "string_append(in_stack_ffffffd4,in_stack_ffffffd8);" (call_expression "string_append(in_stack_ffffffd4,in_stack_ffffffd8)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8)" ( identifier , identifier ))) ;) (expression_statement "bVar1 = ((byte *)mangled)[1];" (assignment_expression "bVar1 = ((byte *)mangled)[1]" identifier = (subscript_expression "((byte *)mangled)[1]" (parenthesized_expression "((byte *)mangled)" ( (cast_expression "(byte *)mangled" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) [ number_literal ])) ;) (expression_statement "bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);" (assignment_expression "bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1)" identifier = (pointer_expression "*(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1)" * (cast_expression "(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)_sch_istable + (uint)bVar1 * 2 + 1)" ( (binary_expression "(int)_sch_istable + (uint)bVar1 * 2 + 1" (binary_expression "(int)_sch_istable + (uint)bVar1 * 2" (cast_expression "(int)_sch_istable" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) ;) (while_statement "while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n      bVar1 = *pbVar6;\n      bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);\n    }" while (parenthesized_expression "((bVar2 & 1) != 0)" ( (binary_expression "(bVar2 & 1) != 0" (parenthesized_expression "(bVar2 & 1)" ( (binary_expression "bVar2 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pbVar6 = pbVar6 + 1;\n      string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n      bVar1 = *pbVar6;\n      bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);\n    }" { (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);" (call_expression "string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc)" ( identifier , identifier , identifier ))) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) (expression_statement "bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1);" (assignment_expression "bVar2 = *(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1)" identifier = (pointer_expression "*(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1)" * (cast_expression "(byte *)((int)_sch_istable + (uint)bVar1 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)_sch_istable + (uint)bVar1 * 2 + 1)" ( (binary_expression "(int)_sch_istable + (uint)bVar1 * 2 + 1" (binary_expression "(int)_sch_istable + (uint)bVar1 * 2" (cast_expression "(int)_sch_istable" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) ;) })) (if_statement "if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n        uVar3 = (uint)pbVar6[2];\n      }\n      while ((_sch_istable[uVar3] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n        uVar3 = (uint)*pbVar5;\n      }\n      return (char *)pbVar5;\n    }" if (parenthesized_expression "(bVar1 == 0x50)" ( (binary_expression "bVar1 == 0x50" identifier == number_literal) )) (compound_statement "{\n      pbVar5 = pbVar6 + 1;\n      string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n        uVar3 = (uint)pbVar6[2];\n      }\n      while ((_sch_istable[uVar3] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n        uVar3 = (uint)*pbVar5;\n      }\n      return (char *)pbVar5;\n    }" { (expression_statement "pbVar5 = pbVar6 + 1;" (assignment_expression "pbVar5 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "string_append(in_stack_ffffffd4,in_stack_ffffffd8);" (call_expression "string_append(in_stack_ffffffd4,in_stack_ffffffd8)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8)" ( identifier , identifier ))) ;) (expression_statement "uVar3 = (uint)pbVar6[1];" (assignment_expression "uVar3 = (uint)pbVar6[1]" identifier = (cast_expression "(uint)pbVar6[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[1]" identifier [ number_literal ]))) ;) (if_statement "if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n        uVar3 = (uint)pbVar6[2];\n      }" if (parenthesized_expression "(pbVar6[1] == 0x4e)" ( (binary_expression "pbVar6[1] == 0x4e" (subscript_expression "pbVar6[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        pbVar5 = pbVar6 + 2;\n        string_append(in_stack_ffffffd4,in_stack_ffffffd8);\n        uVar3 = (uint)pbVar6[2];\n      }" { (expression_statement "pbVar5 = pbVar6 + 2;" (assignment_expression "pbVar5 = pbVar6 + 2" identifier = (binary_expression "pbVar6 + 2" identifier + number_literal)) ;) (expression_statement "string_append(in_stack_ffffffd4,in_stack_ffffffd8);" (call_expression "string_append(in_stack_ffffffd4,in_stack_ffffffd8)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8)" ( identifier , identifier ))) ;) (expression_statement "uVar3 = (uint)pbVar6[2];" (assignment_expression "uVar3 = (uint)pbVar6[2]" identifier = (cast_expression "(uint)pbVar6[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[2]" identifier [ number_literal ]))) ;) })) (while_statement "while ((_sch_istable[uVar3] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n        uVar3 = (uint)*pbVar5;\n      }" while (parenthesized_expression "((_sch_istable[uVar3] & 4) != 0)" ( (binary_expression "(_sch_istable[uVar3] & 4) != 0" (parenthesized_expression "(_sch_istable[uVar3] & 4)" ( (binary_expression "_sch_istable[uVar3] & 4" (subscript_expression "_sch_istable[uVar3]" identifier [ identifier ]) & number_literal) )) != number_literal) )) (compound_statement "{\n        pbVar5 = pbVar5 + 1;\n        string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);\n        uVar3 = (uint)*pbVar5;\n      }" { (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);" (call_expression "string_appendn(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc)" ( identifier , identifier , identifier ))) ;) (expression_statement "uVar3 = (uint)*pbVar5;" (assignment_expression "uVar3 = (uint)*pbVar5" identifier = (binary_expression "(uint)*pbVar5" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) })) (return_statement "return (char *)pbVar5;" return (cast_expression "(char *)pbVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "byte * __regparm3 FUN_003a97f0(undefined4 param_1,byte *param_2)\n\n{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  \n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar9 = &stack0x00000000 == (undefined1 *)0x2c;\n  iVar4 = 3;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15da;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar9);\n  bVar8 = false;\n  bVar7 = (!bVar7 && !bVar9) == bVar7;\n  if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }\n  iVar4 = 3;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15e3;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  bVar9 = false;\n  bVar7 = (!bVar8 && !bVar7) == bVar8;\n  if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }\n  iVar4 = 4;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15e2;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if ((!bVar9 && !bVar7) == bVar9) {\n    FUN_003a9130();\n    return param_2 + 4;\n  }\n  bVar1 = *param_2;\n  if (bVar1 == 0x4e) {\n    param_2 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = *param_2;\n  }\n  if (((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0) {\n    FUN_003a9130();\n    FUN_003a94b0();\n    pbVar6 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = param_2[1];\n    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }\n  }\n  return (byte *)0x0;\n}\n\n" (ERROR "byte * __regparm3 FUN_003a97f0(undefined4 param_1,byte *param_2)" (binary_expression "byte * __regparm3 FUN_003a97f0(undefined4 param_1,byte *param_2)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_003a97f0(undefined4 param_1,byte *param_2)" identifier (argument_list "(undefined4 param_1,byte *param_2)" ( identifier (ERROR "param_1" identifier) , (binary_expression "byte *param_2" identifier * identifier) ))))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  \n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar9 = &stack0x00000000 == (undefined1 *)0x2c;\n  iVar4 = 3;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15da;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar9);\n  bVar8 = false;\n  bVar7 = (!bVar7 && !bVar9) == bVar7;\n  if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }\n  iVar4 = 3;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15e3;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  bVar9 = false;\n  bVar7 = (!bVar8 && !bVar7) == bVar8;\n  if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }\n  iVar4 = 4;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15e2;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if ((!bVar9 && !bVar7) == bVar9) {\n    FUN_003a9130();\n    return param_2 + 4;\n  }\n  bVar1 = *param_2;\n  if (bVar1 == 0x4e) {\n    param_2 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = *param_2;\n  }\n  if (((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0) {\n    FUN_003a9130();\n    FUN_003a94b0();\n    pbVar6 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = param_2[1];\n    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }\n  }\n  return (byte *)0x0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (expression_statement "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;" (assignment_expression "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0x1c" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0x1c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar9 = &stack0x00000000 == (undefined1 *)0x2c;" (assignment_expression "bVar9 = &stack0x00000000 == (undefined1 *)0x2c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x2c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x2c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (expression_statement "pbVar6 = param_2;" (assignment_expression "pbVar6 = param_2" identifier = identifier) ;) (expression_statement "pbVar5 = &DAT_004a15da;" (assignment_expression "pbVar5 = &DAT_004a15da" identifier = (pointer_expression "&DAT_004a15da" & identifier)) ;) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar9);" do (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar6 < *pbVar5;" (assignment_expression "bVar7 = *pbVar6 < *pbVar5" identifier = (binary_expression "*pbVar6 < *pbVar5" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar9 = *pbVar6 == *pbVar5;" (assignment_expression "bVar9 = *pbVar6 == *pbVar5" identifier = (binary_expression "*pbVar6 == *pbVar5" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "bVar7 = (!bVar7 && !bVar9) == bVar7;" (assignment_expression "bVar7 = (!bVar7 && !bVar9) == bVar7" identifier = (binary_expression "(!bVar7 && !bVar9) == bVar7" (parenthesized_expression "(!bVar7 && !bVar9)" ( (binary_expression "!bVar7 && !bVar9" (unary_expression "!bVar7" ! identifier) && (unary_expression "!bVar9" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n    FUN_003a9130();\n    return param_2 + 3;\n  }" { (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_2 + 3;" return (binary_expression "param_2 + 3" identifier + number_literal) ;) })) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (expression_statement "pbVar6 = param_2;" (assignment_expression "pbVar6 = param_2" identifier = identifier) ;) (expression_statement "pbVar5 = &DAT_004a15e3;" (assignment_expression "pbVar5 = &DAT_004a15e3" identifier = (pointer_expression "&DAT_004a15e3" & identifier)) ;) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);" do (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar8 = *pbVar6 < *pbVar5;" (assignment_expression "bVar8 = *pbVar6 < *pbVar5" identifier = (binary_expression "*pbVar6 < *pbVar5" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar7 = *pbVar6 == *pbVar5;" (assignment_expression "bVar7 = *pbVar6 == *pbVar5" identifier = (binary_expression "*pbVar6 == *pbVar5" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (expression_statement "bVar7 = (!bVar8 && !bVar7) == bVar8;" (assignment_expression "bVar7 = (!bVar8 && !bVar7) == bVar8" identifier = (binary_expression "(!bVar8 && !bVar7) == bVar8" (parenthesized_expression "(!bVar8 && !bVar7)" ( (binary_expression "!bVar8 && !bVar7" (unary_expression "!bVar8" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier)) ;) (if_statement "if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n    FUN_003a9130();\n    return param_2 + 3;\n  }" { (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_2 + 3;" return (binary_expression "param_2 + 3" identifier + number_literal) ;) })) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (expression_statement "pbVar6 = param_2;" (assignment_expression "pbVar6 = param_2" identifier = identifier) ;) (expression_statement "pbVar5 = &DAT_004a15e2;" (assignment_expression "pbVar5 = &DAT_004a15e2" identifier = (pointer_expression "&DAT_004a15e2" & identifier)) ;) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);" do (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar9 = *pbVar6 < *pbVar5;" (assignment_expression "bVar9 = *pbVar6 < *pbVar5" identifier = (binary_expression "*pbVar6 < *pbVar5" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "bVar7 = *pbVar6 == *pbVar5;" (assignment_expression "bVar7 = *pbVar6 == *pbVar5" identifier = (binary_expression "*pbVar6 == *pbVar5" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar5" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (if_statement "if ((!bVar9 && !bVar7) == bVar9) {\n    FUN_003a9130();\n    return param_2 + 4;\n  }" if (parenthesized_expression "((!bVar9 && !bVar7) == bVar9)" ( (binary_expression "(!bVar9 && !bVar7) == bVar9" (parenthesized_expression "(!bVar9 && !bVar7)" ( (binary_expression "!bVar9 && !bVar7" (unary_expression "!bVar9" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier) )) (compound_statement "{\n    FUN_003a9130();\n    return param_2 + 4;\n  }" { (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_2 + 4;" return (binary_expression "param_2 + 4" identifier + number_literal) ;) })) (expression_statement "bVar1 = *param_2;" (assignment_expression "bVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (bVar1 == 0x4e) {\n    param_2 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = *param_2;\n  }" if (parenthesized_expression "(bVar1 == 0x4e)" ( (binary_expression "bVar1 == 0x4e" identifier == number_literal) )) (compound_statement "{\n    param_2 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = *param_2;\n  }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar1 = *param_2;" (assignment_expression "bVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) })) (if_statement "if (((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0) {\n    FUN_003a9130();\n    FUN_003a94b0();\n    pbVar6 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = param_2[1];\n    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }\n  }" if (parenthesized_expression "(((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0)" ( (binary_expression "((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0" (parenthesized_expression "((&DAT_004a20a1)[(uint)bVar1 * 2] & 1)" ( (binary_expression "(&DAT_004a20a1)[(uint)bVar1 * 2] & 1" (subscript_expression "(&DAT_004a20a1)[(uint)bVar1 * 2]" (parenthesized_expression "(&DAT_004a20a1)" ( (pointer_expression "&DAT_004a20a1" & identifier) )) [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_003a9130();\n    FUN_003a94b0();\n    pbVar6 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = param_2[1];\n    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }\n  }" { (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_003a94b0();" (call_expression "FUN_003a94b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "pbVar6 = param_2 + 1;" (assignment_expression "pbVar6 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar1 = param_2[1];" (assignment_expression "bVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];" (assignment_expression "bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2]" identifier = (subscript_expression "(&DAT_004a20a1)[(uint)bVar1 * 2]" (parenthesized_expression "(&DAT_004a20a1)" ( (pointer_expression "&DAT_004a20a1" & identifier) )) [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ])) ;) (while_statement "while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }" while (parenthesized_expression "((bVar2 & 1) != 0)" ( (binary_expression "(bVar2 & 1) != 0" (parenthesized_expression "(bVar2 & 1)" ( (binary_expression "bVar2 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }" { (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "FUN_003a94b0();" (call_expression "FUN_003a94b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) (expression_statement "bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];" (assignment_expression "bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2]" identifier = (subscript_expression "(&DAT_004a20a1)[(uint)bVar1 * 2]" (parenthesized_expression "(&DAT_004a20a1)" ( (pointer_expression "&DAT_004a20a1" & identifier) )) [ (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ])) ;) })) (if_statement "if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }" if (parenthesized_expression "(bVar1 == 0x50)" ( (binary_expression "bVar1 == 0x50" identifier == number_literal) )) (compound_statement "{\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }" { (expression_statement "pbVar5 = pbVar6 + 1;" (assignment_expression "pbVar5 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = (uint)pbVar6[1];" (assignment_expression "uVar3 = (uint)pbVar6[1]" identifier = (cast_expression "(uint)pbVar6[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[1]" identifier [ number_literal ]))) ;) (if_statement "if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }" if (parenthesized_expression "(pbVar6[1] == 0x4e)" ( (binary_expression "pbVar6[1] == 0x4e" (subscript_expression "pbVar6[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }" { (expression_statement "pbVar5 = pbVar6 + 2;" (assignment_expression "pbVar5 = pbVar6 + 2" identifier = (binary_expression "pbVar6 + 2" identifier + number_literal)) ;) (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = (uint)pbVar6[2];" (assignment_expression "uVar3 = (uint)pbVar6[2]" identifier = (cast_expression "(uint)pbVar6[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar6[2]" identifier [ number_literal ]))) ;) })) (while_statement "while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }" while (parenthesized_expression "(((&DAT_004a20a0)[uVar3 * 2] & 4) != 0)" ( (binary_expression "((&DAT_004a20a0)[uVar3 * 2] & 4) != 0" (parenthesized_expression "((&DAT_004a20a0)[uVar3 * 2] & 4)" ( (binary_expression "(&DAT_004a20a0)[uVar3 * 2] & 4" (subscript_expression "(&DAT_004a20a0)[uVar3 * 2]" (parenthesized_expression "(&DAT_004a20a0)" ( (pointer_expression "&DAT_004a20a0" & identifier) )) [ (binary_expression "uVar3 * 2" identifier * number_literal) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }" { (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "FUN_003a94b0();" (call_expression "FUN_003a94b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = (uint)*pbVar5;" (assignment_expression "uVar3 = (uint)*pbVar5" identifier = (binary_expression "(uint)*pbVar5" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) })) (return_statement "return pbVar5;" return identifier ;) })) })) (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit (ERROR (binary_expression IDENT * (ERROR IDENT) (call_expression IDENT (argument_list ( IDENT (ERROR IDENT) , (binary_expression IDENT * IDENT) ))))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return (binary_expression IDENT + LIT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return (binary_expression IDENT + LIT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return (binary_expression IDENT + LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ]) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ])) ;) (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) })) (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ]) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) })) (return_statement return IDENT ;) })) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) }))
(ERROR "byte * __regparm3 FUN_003a97f0(undefined4 param_1,byte *param_2)" (binary_expression "byte * __regparm3 FUN_003a97f0(undefined4 param_1,byte *param_2)" (identifier "byte") (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (call_expression "FUN_003a97f0(undefined4 param_1,byte *param_2)" (identifier "FUN_003a97f0") (argument_list "(undefined4 param_1,byte *param_2)" (( "(") (identifier "undefined4") (ERROR "param_1" (identifier "param_1")) (, ",") (binary_expression "byte *param_2" (identifier "byte") (* "*") (identifier "param_2")) () ")"))))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  \n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar9 = &stack0x00000000 == (undefined1 *)0x2c;\n  iVar4 = 3;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15da;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar9);\n  bVar8 = false;\n  bVar7 = (!bVar7 && !bVar9) == bVar7;\n  if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }\n  iVar4 = 3;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15e3;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  bVar9 = false;\n  bVar7 = (!bVar8 && !bVar7) == bVar8;\n  if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }\n  iVar4 = 4;\n  pbVar6 = param_2;\n  pbVar5 = &DAT_004a15e2;\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);\n  if ((!bVar9 && !bVar7) == bVar9) {\n    FUN_003a9130();\n    return param_2 + 4;\n  }\n  bVar1 = *param_2;\n  if (bVar1 == 0x4e) {\n    param_2 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = *param_2;\n  }\n  if (((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0) {\n    FUN_003a9130();\n    FUN_003a94b0();\n    pbVar6 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = param_2[1];\n    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }\n  }\n  return (byte *)0x0;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (declaration "bool bVar9;" (primitive_type "bool") (identifier "bVar9") (; ";")) (expression_statement "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;" (assignment_expression "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c" (identifier "bVar7") (= "=") (binary_expression "&stack0xfffffff0 < (undefined1 *)0x1c" (pointer_expression "&stack0xfffffff0" (& "&") (identifier "stack0xfffffff0")) (< "<") (cast_expression "(undefined1 *)0x1c" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1c")))) (; ";")) (expression_statement "bVar9 = &stack0x00000000 == (undefined1 *)0x2c;" (assignment_expression "bVar9 = &stack0x00000000 == (undefined1 *)0x2c" (identifier "bVar9") (= "=") (binary_expression "&stack0x00000000 == (undefined1 *)0x2c" (pointer_expression "&stack0x00000000" (& "&") (identifier "stack0x00000000")) (== "==") (cast_expression "(undefined1 *)0x2c" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x2c")))) (; ";")) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" (identifier "iVar4") (= "=") (number_literal "3")) (; ";")) (expression_statement "pbVar6 = param_2;" (assignment_expression "pbVar6 = param_2" (identifier "pbVar6") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pbVar5 = &DAT_004a15da;" (assignment_expression "pbVar5 = &DAT_004a15da" (identifier "pbVar5") (= "=") (pointer_expression "&DAT_004a15da" (& "&") (identifier "DAT_004a15da"))) (; ";")) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar9);" (do "do") (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar6 < *pbVar5;\n    bVar9 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" ({ "{") (if_statement "if (iVar4 == 0) break;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar7 = *pbVar6 < *pbVar5;" (assignment_expression "bVar7 = *pbVar6 < *pbVar5" (identifier "bVar7") (= "=") (binary_expression "*pbVar6 < *pbVar5" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (< "<") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")))) (; ";")) (expression_statement "bVar9 = *pbVar6 == *pbVar5;" (assignment_expression "bVar9 = *pbVar6 == *pbVar5" (identifier "bVar9") (= "=") (binary_expression "*pbVar6 == *pbVar5" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (== "==") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")))) (; ";")) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar9)" (( "(") (identifier "bVar9") () ")")) (; ";")) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" (identifier "bVar8") (= "=") (false "false")) (; ";")) (expression_statement "bVar7 = (!bVar7 && !bVar9) == bVar7;" (assignment_expression "bVar7 = (!bVar7 && !bVar9) == bVar7" (identifier "bVar7") (= "=") (binary_expression "(!bVar7 && !bVar9) == bVar7" (parenthesized_expression "(!bVar7 && !bVar9)" (( "(") (binary_expression "!bVar7 && !bVar9" (unary_expression "!bVar7" (! "!") (identifier "bVar7")) (&& "&&") (unary_expression "!bVar9" (! "!") (identifier "bVar9"))) () ")")) (== "==") (identifier "bVar7"))) (; ";")) (if_statement "if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }" (if "if") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (compound_statement "{\n    FUN_003a9130();\n    return param_2 + 3;\n  }" ({ "{") (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" (identifier "FUN_003a9130") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return param_2 + 3;" (return "return") (binary_expression "param_2 + 3" (identifier "param_2") (+ "+") (number_literal "3")) (; ";")) (} "}"))) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" (identifier "iVar4") (= "=") (number_literal "3")) (; ";")) (expression_statement "pbVar6 = param_2;" (assignment_expression "pbVar6 = param_2" (identifier "pbVar6") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pbVar5 = &DAT_004a15e3;" (assignment_expression "pbVar5 = &DAT_004a15e3" (identifier "pbVar5") (= "=") (pointer_expression "&DAT_004a15e3" (& "&") (identifier "DAT_004a15e3"))) (; ";")) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);" (do "do") (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar8 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" ({ "{") (if_statement "if (iVar4 == 0) break;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar8 = *pbVar6 < *pbVar5;" (assignment_expression "bVar8 = *pbVar6 < *pbVar5" (identifier "bVar8") (= "=") (binary_expression "*pbVar6 < *pbVar5" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (< "<") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")))) (; ";")) (expression_statement "bVar7 = *pbVar6 == *pbVar5;" (assignment_expression "bVar7 = *pbVar6 == *pbVar5" (identifier "bVar7") (= "=") (binary_expression "*pbVar6 == *pbVar5" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (== "==") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")))) (; ";")) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (; ";")) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" (identifier "bVar9") (= "=") (false "false")) (; ";")) (expression_statement "bVar7 = (!bVar8 && !bVar7) == bVar8;" (assignment_expression "bVar7 = (!bVar8 && !bVar7) == bVar8" (identifier "bVar7") (= "=") (binary_expression "(!bVar8 && !bVar7) == bVar8" (parenthesized_expression "(!bVar8 && !bVar7)" (( "(") (binary_expression "!bVar8 && !bVar7" (unary_expression "!bVar8" (! "!") (identifier "bVar8")) (&& "&&") (unary_expression "!bVar7" (! "!") (identifier "bVar7"))) () ")")) (== "==") (identifier "bVar8"))) (; ";")) (if_statement "if (bVar7) {\n    FUN_003a9130();\n    return param_2 + 3;\n  }" (if "if") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (compound_statement "{\n    FUN_003a9130();\n    return param_2 + 3;\n  }" ({ "{") (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" (identifier "FUN_003a9130") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return param_2 + 3;" (return "return") (binary_expression "param_2 + 3" (identifier "param_2") (+ "+") (number_literal "3")) (; ";")) (} "}"))) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" (identifier "iVar4") (= "=") (number_literal "4")) (; ";")) (expression_statement "pbVar6 = param_2;" (assignment_expression "pbVar6 = param_2" (identifier "pbVar6") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pbVar5 = &DAT_004a15e2;" (assignment_expression "pbVar5 = &DAT_004a15e2" (identifier "pbVar5") (= "=") (pointer_expression "&DAT_004a15e2" (& "&") (identifier "DAT_004a15e2"))) (; ";")) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  } while (bVar7);" (do "do") (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar9 = *pbVar6 < *pbVar5;\n    bVar7 = *pbVar6 == *pbVar5;\n    pbVar6 = pbVar6 + 1;\n    pbVar5 = pbVar5 + 1;\n  }" ({ "{") (if_statement "if (iVar4 == 0) break;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar9 = *pbVar6 < *pbVar5;" (assignment_expression "bVar9 = *pbVar6 < *pbVar5" (identifier "bVar9") (= "=") (binary_expression "*pbVar6 < *pbVar5" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (< "<") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")))) (; ";")) (expression_statement "bVar7 = *pbVar6 == *pbVar5;" (assignment_expression "bVar7 = *pbVar6 == *pbVar5" (identifier "bVar7") (= "=") (binary_expression "*pbVar6 == *pbVar5" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (== "==") (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")))) (; ";")) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (; ";")) (if_statement "if ((!bVar9 && !bVar7) == bVar9) {\n    FUN_003a9130();\n    return param_2 + 4;\n  }" (if "if") (parenthesized_expression "((!bVar9 && !bVar7) == bVar9)" (( "(") (binary_expression "(!bVar9 && !bVar7) == bVar9" (parenthesized_expression "(!bVar9 && !bVar7)" (( "(") (binary_expression "!bVar9 && !bVar7" (unary_expression "!bVar9" (! "!") (identifier "bVar9")) (&& "&&") (unary_expression "!bVar7" (! "!") (identifier "bVar7"))) () ")")) (== "==") (identifier "bVar9")) () ")")) (compound_statement "{\n    FUN_003a9130();\n    return param_2 + 4;\n  }" ({ "{") (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" (identifier "FUN_003a9130") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return param_2 + 4;" (return "return") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) (; ";")) (} "}"))) (expression_statement "bVar1 = *param_2;" (assignment_expression "bVar1 = *param_2" (identifier "bVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (bVar1 == 0x4e) {\n    param_2 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = *param_2;\n  }" (if "if") (parenthesized_expression "(bVar1 == 0x4e)" (( "(") (binary_expression "bVar1 == 0x4e" (identifier "bVar1") (== "==") (number_literal "0x4e")) () ")")) (compound_statement "{\n    param_2 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = *param_2;\n  }" ({ "{") (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" (identifier "FUN_003a9130") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "bVar1 = *param_2;" (assignment_expression "bVar1 = *param_2" (identifier "bVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (} "}"))) (if_statement "if (((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0) {\n    FUN_003a9130();\n    FUN_003a94b0();\n    pbVar6 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = param_2[1];\n    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }\n  }" (if "if") (parenthesized_expression "(((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0)" (( "(") (binary_expression "((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0" (parenthesized_expression "((&DAT_004a20a1)[(uint)bVar1 * 2] & 1)" (( "(") (binary_expression "(&DAT_004a20a1)[(uint)bVar1 * 2] & 1" (subscript_expression "(&DAT_004a20a1)[(uint)bVar1 * 2]" (parenthesized_expression "(&DAT_004a20a1)" (( "(") (pointer_expression "&DAT_004a20a1" (& "&") (identifier "DAT_004a20a1")) () ")")) ([ "[") (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_003a9130();\n    FUN_003a94b0();\n    pbVar6 = param_2 + 1;\n    FUN_003a9130();\n    bVar1 = param_2[1];\n    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }\n    if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }\n  }" ({ "{") (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" (identifier "FUN_003a9130") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_003a94b0();" (call_expression "FUN_003a94b0()" (identifier "FUN_003a94b0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pbVar6 = param_2 + 1;" (assignment_expression "pbVar6 = param_2 + 1" (identifier "pbVar6") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" (identifier "FUN_003a9130") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "bVar1 = param_2[1];" (assignment_expression "bVar1 = param_2[1]" (identifier "bVar1") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];" (assignment_expression "bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2]" (identifier "bVar2") (= "=") (subscript_expression "(&DAT_004a20a1)[(uint)bVar1 * 2]" (parenthesized_expression "(&DAT_004a20a1)" (( "(") (pointer_expression "&DAT_004a20a1" (& "&") (identifier "DAT_004a20a1")) () ")")) ([ "[") (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "2")) (] "]"))) (; ";")) (while_statement "while ((bVar2 & 1) != 0) {\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }" (while "while") (parenthesized_expression "((bVar2 & 1) != 0)" (( "(") (binary_expression "(bVar2 & 1) != 0" (parenthesized_expression "(bVar2 & 1)" (( "(") (binary_expression "bVar2 & 1" (identifier "bVar2") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pbVar6 = pbVar6 + 1;\n      FUN_003a94b0();\n      bVar1 = *pbVar6;\n      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];\n    }" ({ "{") (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_003a94b0();" (call_expression "FUN_003a94b0()" (identifier "FUN_003a94b0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" (identifier "bVar1") (= "=") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6"))) (; ";")) (expression_statement "bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];" (assignment_expression "bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2]" (identifier "bVar2") (= "=") (subscript_expression "(&DAT_004a20a1)[(uint)bVar1 * 2]" (parenthesized_expression "(&DAT_004a20a1)" (( "(") (pointer_expression "&DAT_004a20a1" (& "&") (identifier "DAT_004a20a1")) () ")")) ([ "[") (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "2")) (] "]"))) (; ";")) (} "}"))) (if_statement "if (bVar1 == 0x50) {\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }" (if "if") (parenthesized_expression "(bVar1 == 0x50)" (( "(") (binary_expression "bVar1 == 0x50" (identifier "bVar1") (== "==") (number_literal "0x50")) () ")")) (compound_statement "{\n      pbVar5 = pbVar6 + 1;\n      FUN_003a9130();\n      uVar3 = (uint)pbVar6[1];\n      if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }\n      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }\n      return pbVar5;\n    }" ({ "{") (expression_statement "pbVar5 = pbVar6 + 1;" (assignment_expression "pbVar5 = pbVar6 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" (identifier "FUN_003a9130") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar3 = (uint)pbVar6[1];" (assignment_expression "uVar3 = (uint)pbVar6[1]" (identifier "uVar3") (= "=") (cast_expression "(uint)pbVar6[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar6[1]" (identifier "pbVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (pbVar6[1] == 0x4e) {\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }" (if "if") (parenthesized_expression "(pbVar6[1] == 0x4e)" (( "(") (binary_expression "pbVar6[1] == 0x4e" (subscript_expression "pbVar6[1]" (identifier "pbVar6") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x4e")) () ")")) (compound_statement "{\n        pbVar5 = pbVar6 + 2;\n        FUN_003a9130();\n        uVar3 = (uint)pbVar6[2];\n      }" ({ "{") (expression_statement "pbVar5 = pbVar6 + 2;" (assignment_expression "pbVar5 = pbVar6 + 2" (identifier "pbVar5") (= "=") (binary_expression "pbVar6 + 2" (identifier "pbVar6") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "FUN_003a9130();" (call_expression "FUN_003a9130()" (identifier "FUN_003a9130") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar3 = (uint)pbVar6[2];" (assignment_expression "uVar3 = (uint)pbVar6[2]" (identifier "uVar3") (= "=") (cast_expression "(uint)pbVar6[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar6[2]" (identifier "pbVar6") ([ "[") (number_literal "2") (] "]")))) (; ";")) (} "}"))) (while_statement "while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }" (while "while") (parenthesized_expression "(((&DAT_004a20a0)[uVar3 * 2] & 4) != 0)" (( "(") (binary_expression "((&DAT_004a20a0)[uVar3 * 2] & 4) != 0" (parenthesized_expression "((&DAT_004a20a0)[uVar3 * 2] & 4)" (( "(") (binary_expression "(&DAT_004a20a0)[uVar3 * 2] & 4" (subscript_expression "(&DAT_004a20a0)[uVar3 * 2]" (parenthesized_expression "(&DAT_004a20a0)" (( "(") (pointer_expression "&DAT_004a20a0" (& "&") (identifier "DAT_004a20a0")) () ")")) ([ "[") (binary_expression "uVar3 * 2" (identifier "uVar3") (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        pbVar5 = pbVar5 + 1;\n        FUN_003a94b0();\n        uVar3 = (uint)*pbVar5;\n      }" ({ "{") (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_003a94b0();" (call_expression "FUN_003a94b0()" (identifier "FUN_003a94b0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar3 = (uint)*pbVar5;" (assignment_expression "uVar3 = (uint)*pbVar5" (identifier "uVar3") (= "=") (binary_expression "(uint)*pbVar5" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar5"))) (; ";")) (} "}"))) (return_statement "return pbVar5;" (return "return") (identifier "pbVar5") (; ";")) (} "}"))) (} "}"))) (return_statement "return (byte *)0x0;" (return "return") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))

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

char * __regparm3 function_1(type_1 *decl,char *var_6)

{
  type_2 var_9;
  type_2 var_11;
  type_3 uVar3;
  int var_1;
  type_2 *var_3;
  type_2 *var_2;
  bool var_4;
  bool var_7;
  bool var_8;
  type_1 *in_stack_ffffffd4;
  char *in_stack_ffffffd8;
  int in_stack_ffffffdc;
  
  var_4 = &stack0xfffffff0 < (type_4 *)0x1c;
  var_8 = &stack0x00000000 == (type_4 *)0x2c;
  var_1 = 3;
  var_2 = (type_2 *)var_6;
  var_3 = &DAT_004a15da;
  do {
    if (var_1 == 0) break;
    var_1 = var_1 + -1;
    var_4 = *var_2 < *var_3;
    var_8 = *var_2 == *var_3;
    var_2 = var_2 + 1;
    var_3 = var_3 + 1;
  } while (var_8);
  var_7 = false;
  var_4 = (!var_4 && !var_8) == var_4;
  if (var_4) {
    var_5(in_stack_ffffffd4,in_stack_ffffffd8);
    return var_6 + 3;
  }
  var_1 = 3;
  var_2 = (type_2 *)var_6;
  var_3 = &DAT_004a15e3;
  do {
    if (var_1 == 0) break;
    var_1 = var_1 + -1;
    var_7 = *var_2 < *var_3;
    var_4 = *var_2 == *var_3;
    var_2 = var_2 + 1;
    var_3 = var_3 + 1;
  } while (var_4);
  var_8 = false;
  var_4 = (!var_7 && !var_4) == var_7;
  if (var_4) {
    var_5(in_stack_ffffffd4,in_stack_ffffffd8);
    return var_6 + 3;
  }
  var_1 = 4;
  var_2 = (type_2 *)var_6;
  var_3 = &DAT_004a15e2;
  do {
    if (var_1 == 0) break;
    var_1 = var_1 + -1;
    var_8 = *var_2 < *var_3;
    var_4 = *var_2 == *var_3;
    var_2 = var_2 + 1;
    var_3 = var_3 + 1;
  } while (var_4);
  if ((!var_8 && !var_4) == var_8) {
    var_5(in_stack_ffffffd4,in_stack_ffffffd8);
    return var_6 + 4;
  }
  var_9 = *var_6;
  if (var_9 == 0x4e) {
    var_6 = var_6 + 1;
    var_5(in_stack_ffffffd4,in_stack_ffffffd8);
    var_9 = *var_6;
  }
  if ((*(type_2 *)((int)_sch_istable + (type_3)var_9 * 2 + 1) & 1) != 0) {
    var_5(in_stack_ffffffd4,in_stack_ffffffd8);
    var_10(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);
    var_2 = (type_2 *)var_6 + 1;
    var_5(in_stack_ffffffd4,in_stack_ffffffd8);
    var_9 = ((type_2 *)var_6)[1];
    var_11 = *(type_2 *)((int)_sch_istable + (type_3)var_9 * 2 + 1);
    while ((var_11 & 1) != 0) {
      var_2 = var_2 + 1;
      var_10(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);
      var_9 = *var_2;
      var_11 = *(type_2 *)((int)_sch_istable + (type_3)var_9 * 2 + 1);
    }
    if (var_9 == 0x50) {
      var_3 = var_2 + 1;
      var_5(in_stack_ffffffd4,in_stack_ffffffd8);
      uVar3 = (type_3)var_2[1];
      if (var_2[1] == 0x4e) {
        var_3 = var_2 + 2;
        var_5(in_stack_ffffffd4,in_stack_ffffffd8);
        uVar3 = (type_3)var_2[2];
      }
      while ((_sch_istable[uVar3] & 4) != 0) {
        var_3 = var_3 + 1;
        var_10(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffdc);
        uVar3 = (type_3)*var_3;
      }
      return (char *)var_3;
    }
  }
  return (char *)0x0;
}


(translation_unit (ERROR (binary_expression left: (identifier) (ERROR (identifier)) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (ERROR (identifier)) (binary_expression left: (identifier) right: (identifier)))))) (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (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: (binary_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) (while_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (while_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))))) (return_statement (identifier)))))) (return_statement (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))))

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

byte * __regparm3 MASKED(undefined4 param_1,byte *param_2)

{
  byte bVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  byte *pbVar5;
  byte *pbVar6;
  bool bVar7;
  bool bVar8;
  bool bVar9;
  
  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;
  bVar9 = &stack0x00000000 == (undefined1 *)0x2c;
  iVar4 = 3;
  pbVar6 = param_2;
  pbVar5 = &DAT_004a15da;
  do {
    if (iVar4 == 0) break;
    iVar4 = iVar4 + -1;
    bVar7 = *pbVar6 < *pbVar5;
    bVar9 = *pbVar6 == *pbVar5;
    pbVar6 = pbVar6 + 1;
    pbVar5 = pbVar5 + 1;
  } while (bVar9);
  bVar8 = false;
  bVar7 = (!bVar7 && !bVar9) == bVar7;
  if (bVar7) {
    FUN_003a9130();
    return param_2 + 3;
  }
  iVar4 = 3;
  pbVar6 = param_2;
  pbVar5 = &DAT_004a15e3;
  do {
    if (iVar4 == 0) break;
    iVar4 = iVar4 + -1;
    bVar8 = *pbVar6 < *pbVar5;
    bVar7 = *pbVar6 == *pbVar5;
    pbVar6 = pbVar6 + 1;
    pbVar5 = pbVar5 + 1;
  } while (bVar7);
  bVar9 = false;
  bVar7 = (!bVar8 && !bVar7) == bVar8;
  if (bVar7) {
    FUN_003a9130();
    return param_2 + 3;
  }
  iVar4 = 4;
  pbVar6 = param_2;
  pbVar5 = &DAT_004a15e2;
  do {
    if (iVar4 == 0) break;
    iVar4 = iVar4 + -1;
    bVar9 = *pbVar6 < *pbVar5;
    bVar7 = *pbVar6 == *pbVar5;
    pbVar6 = pbVar6 + 1;
    pbVar5 = pbVar5 + 1;
  } while (bVar7);
  if ((!bVar9 && !bVar7) == bVar9) {
    FUN_003a9130();
    return param_2 + 4;
  }
  bVar1 = *param_2;
  if (bVar1 == 0x4e) {
    param_2 = param_2 + 1;
    FUN_003a9130();
    bVar1 = *param_2;
  }
  if (((&DAT_004a20a1)[(uint)bVar1 * 2] & 1) != 0) {
    FUN_003a9130();
    FUN_003a94b0();
    pbVar6 = param_2 + 1;
    FUN_003a9130();
    bVar1 = param_2[1];
    bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];
    while ((bVar2 & 1) != 0) {
      pbVar6 = pbVar6 + 1;
      FUN_003a94b0();
      bVar1 = *pbVar6;
      bVar2 = (&DAT_004a20a1)[(uint)bVar1 * 2];
    }
    if (bVar1 == 0x50) {
      pbVar5 = pbVar6 + 1;
      FUN_003a9130();
      uVar3 = (uint)pbVar6[1];
      if (pbVar6[1] == 0x4e) {
        pbVar5 = pbVar6 + 2;
        FUN_003a9130();
        uVar3 = (uint)pbVar6[2];
      }
      while (((&DAT_004a20a0)[uVar3 * 2] & 4) != 0) {
        pbVar5 = pbVar5 + 1;
        FUN_003a94b0();
        uVar3 = (uint)*pbVar5;
      }
      return pbVar5;
    }
  }
  return (byte *)0x0;
}

