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

void do_home(void)

{
  filestruct *old_current;
  _Bool _Var1;
  size_t column;
  size_t sVar2;
  size_t sVar3;
  openfilestruct *poVar4;
  int in_GS_OFFSET;
  uint local_34;
  size_t leftedge;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x24de9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  old_current = openfile->current;
  column = xplustabs();
  leftedge = 0;
  if ((flags[1] & 2) == 0) {
    local_34 = 0;
    if ((flags[0] & 0x1000000) == 0) goto LAB_00024e3c;
LAB_00024e90:
    sVar2 = indent_length(openfile->current->data);
    poVar4 = openfile;
    if (openfile->current->data[sVar2] == '\0') goto LAB_00024eb5;
    sVar3 = openfile->current_x;
    if (sVar3 == sVar2) goto LAB_00024e3c;
    if (((flags[1] & 2) != 0) && (sVar2 < local_34)) goto LAB_00024ec2;
    openfile->current_x = sVar2;
LAB_00024e43:
    sVar2 = xplustabs();
    poVar4->placewewant = sVar2;
    if ((flags[1] & 2) != 0) {
      edit_redraw(old_current,FLOWING);
      goto LAB_00024e6e;
    }
    sVar2 = openfile->placewewant;
  }
  else {
    leftedge = leftedge_for(column,openfile->current);
    local_34 = proper_x(openfile->current,&leftedge,false,leftedge,(_Bool *)0x0);
    if ((flags[0] & 0x1000000) != 0) goto LAB_00024e90;
LAB_00024eb5:
    if ((flags[1] & 2) == 0) {
LAB_00024e3c:
      poVar4 = openfile;
      openfile->current_x = 0;
      goto LAB_00024e43;
    }
    sVar3 = openfile->current_x;
LAB_00024ec2:
    poVar4 = openfile;
    if (local_34 == sVar3) goto LAB_00024e3c;
    openfile->current_x = local_34;
    poVar4->placewewant = leftedge;
    sVar2 = leftedge;
  }
  _Var1 = line_needs_update(column,sVar2);
  if (_Var1) {
    update_line(openfile->current,openfile->current_x);
  }
LAB_00024e6e:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return;
}



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

void FUN_00024de0(void)

{
  char cVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  undefined4 uVar6;
  int iVar7;
  int in_GS_OFFSET;
  uint local_34;
  undefined4 local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x24de9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);
  uVar2 = FUN_00035980();
  local_24 = 0;
  if ((_DAT_0006b668 & 2) == 0) {
    local_34 = 0;
    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;
LAB_00024e90:
    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));
    iVar7 = DAT_0006b640;
    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;
    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);
    if (uVar5 == uVar4) goto LAB_00024e3c;
    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;
    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;
LAB_00024e43:
    uVar3 = FUN_00035980();
    *(undefined4 *)(iVar7 + 0x20) = uVar3;
    if ((_DAT_0006b668 & 2) != 0) {
      FUN_0003b9b0(uVar6,1);
      goto LAB_00024e6e;
    }
    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);
  }
  else {
    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));
    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);
    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;
LAB_00024eb5:
    if ((_DAT_0006b668 & 2) == 0) {
LAB_00024e3c:
      iVar7 = DAT_0006b640;
      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;
      goto LAB_00024e43;
    }
    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);
LAB_00024ec2:
    iVar7 = DAT_0006b640;
    if (local_34 == uVar5) goto LAB_00024e3c;
    *(uint *)(DAT_0006b640 + 0x1c) = local_34;
    *(undefined4 *)(iVar7 + 0x20) = local_24;
    uVar6 = local_24;
  }
  cVar1 = FUN_00039610(uVar2,uVar6);
  if (cVar1 != '\0') {
    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));
  }
LAB_00024e6e:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0004be20();
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014e20
ADD EBX,0x45de7
SUB ESP,0x2c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x1c],EAX
XOR EAX,EAX
LEA EDI,[EBX + 0xa70]
MOV EAX,dword ptr [EDI]
MOV EAX,dword ptr [EAX + 0x10]
MOV dword ptr [ESP + 0xc],EAX
CALL 0x00035980
LEA ESI,[EBX + 0xa94]
MOV dword ptr [ESP + 0x18],0x0
MOV EBP,EAX
MOV EAX,dword ptr [ESI + 0x4]
AND EAX,0x2
MOV dword ptr [ESP + 0x8],EAX
JNZ 0x00024f08
TEST dword ptr [ESI],0x1000000
JNZ 0x00024e90
MOV ECX,dword ptr [EDI]
MOV dword ptr [ECX + 0x1c],0x0
MOV dword ptr [ESP + 0x8],ECX
CALL 0x00035980
MOV ECX,dword ptr [ESP + 0x8]
MOV dword ptr [ECX + 0x20],EAX
TEST byte ptr [ESI + 0x4],0x2
JZ 0x00024f50
SUB ESP,0x8
PUSH 0x1
PUSH dword ptr [ESP + 0x18]
CALL 0x0003b9b0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x1c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00024f83
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EDI]
SUB ESP,0xc
MOV EAX,dword ptr [EAX + 0x10]
PUSH dword ptr [EAX]
CALL 0x00031760
MOV ECX,dword ptr [EDI]
ADD ESP,0x10
MOV EDX,EAX
MOV EAX,dword ptr [ECX + 0x10]
MOV EAX,dword ptr [EAX]
CMP byte ptr [EAX + EDX*0x1],0x0
JNZ 0x00024f60
TEST byte ptr [ESI + 0x4],0x2
JZ 0x00024e3a
MOV EAX,dword ptr [ECX + 0x1c]
CMP dword ptr [ESP + 0x8],EAX
JZ 0x00024e3c
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [ECX + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x18]
MOV dword ptr [ECX + 0x20],EAX
SUB ESP,0x8
PUSH EAX
PUSH EBP
CALL 0x00039610
ADD ESP,0x10
TEST AL,AL
JZ 0x00024e6e
MOV EAX,dword ptr [EDI]
SUB ESP,0x8
PUSH dword ptr [EAX + 0x1c]
PUSH dword ptr [EAX + 0x10]
CALL 0x0003b5b0
ADD ESP,0x10
JMP 0x00024e6e
MOV EAX,dword ptr [EDI]
SUB ESP,0x8
PUSH dword ptr [EAX + 0x10]
PUSH EBP
CALL 0x0003a990
MOV dword ptr [ESP],0x0
MOV dword ptr [ESP + 0x28],EAX
PUSH EAX
PUSH 0x0
LEA EAX,[ESP + 0x30]
PUSH EAX
MOV EAX,dword ptr [EDI]
PUSH dword ptr [EAX + 0x10]
CALL 0x000243f0
MOV dword ptr [ESP + 0x28],EAX
ADD ESP,0x20
TEST dword ptr [ESI],0x1000000
JNZ 0x00024e90
MOV ECX,dword ptr [EDI]
JMP 0x00024eb5
MOV EAX,dword ptr [EDI]
MOV EAX,dword ptr [EAX + 0x20]
JMP 0x00024eda
MOV EAX,dword ptr [ECX + 0x1c]
CMP EAX,EDX
JZ 0x00024e3c
TEST byte ptr [ESI + 0x4],0x2
JZ 0x00024f7b
CMP EDX,dword ptr [ESP + 0x8]
JC 0x00024ec2
MOV dword ptr [ECX + 0x1c],EDX
JMP 0x00024e43
CALL 0x0004be20
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_00024de0(void)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  uint local_34;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x24de9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);\n  uVar2 = FUN_00035980();\n  local_24 = 0;\n  if ((_DAT_0006b668 & 2) == 0) {\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }\n  else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }\n  cVar1 = FUN_00039610(uVar2,uVar6);\n  if (cVar1 != '\0') {\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }\nLAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004be20();\n  }\n  return;\n}\n\n" comment comment (function_definition "void FUN_00024de0(void)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  uint local_34;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x24de9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);\n  uVar2 = FUN_00035980();\n  local_24 = 0;\n  if ((_DAT_0006b668 & 2) == 0) {\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }\n  else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }\n  cVar1 = FUN_00039610(uVar2,uVar6);\n  if (cVar1 != '\0') {\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }\nLAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004be20();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00024de0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  uint local_34;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x24de9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);\n  uVar2 = FUN_00035980();\n  local_24 = 0;\n  if ((_DAT_0006b668 & 2) == 0) {\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }\n  else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }\n  cVar1 = FUN_00039610(uVar2,uVar6);\n  if (cVar1 != '\0') {\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }\nLAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004be20();\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x24de9;" (assignment_expression "uStack_14 = 0x24de9" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);" (assignment_expression "uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x10)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x10)" ( (binary_expression "DAT_0006b640 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = FUN_00035980();" (assignment_expression "uVar2 = FUN_00035980()" identifier = (call_expression "FUN_00035980()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (if_statement "if ((_DAT_0006b668 & 2) == 0) {\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }\n  else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }" if (parenthesized_expression "((_DAT_0006b668 & 2) == 0)" ( (binary_expression "(_DAT_0006b668 & 2) == 0" (parenthesized_expression "(_DAT_0006b668 & 2)" ( (binary_expression "_DAT_0006b668 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }" { (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (if_statement "if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;" if (parenthesized_expression "((DAT_0006b664 & 0x1000000) == 0)" ( (binary_expression "(DAT_0006b664 & 0x1000000) == 0" (parenthesized_expression "(DAT_0006b664 & 0x1000000)" ( (binary_expression "DAT_0006b664 & 0x1000000" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00024e3c;" goto statement_identifier ;)) (labeled_statement "LAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));" statement_identifier : (expression_statement "uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));" (assignment_expression "uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10))" identifier = (call_expression "FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10))" identifier (argument_list "(**(undefined4 **)(DAT_0006b640 + 0x10))" ( (pointer_expression "**(undefined4 **)(DAT_0006b640 + 0x10)" * (pointer_expression "*(undefined4 **)(DAT_0006b640 + 0x10)" * (cast_expression "(undefined4 **)(DAT_0006b640 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0006b640 + 0x10)" ( (binary_expression "DAT_0006b640 + 0x10" identifier + number_literal) ))))) )))) ;)) (expression_statement "iVar7 = DAT_0006b640;" (assignment_expression "iVar7 = DAT_0006b640" identifier = identifier) ;) (if_statement "if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;" if (parenthesized_expression "(*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0')" ( (binary_expression "*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0'" (pointer_expression "*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4)" * (cast_expression "(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(DAT_0006b640 + 0x10) + uVar4)" ( (binary_expression "**(int **)(DAT_0006b640 + 0x10) + uVar4" (pointer_expression "**(int **)(DAT_0006b640 + 0x10)" * (pointer_expression "*(int **)(DAT_0006b640 + 0x10)" * (cast_expression "(int **)(DAT_0006b640 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0006b640 + 0x10)" ( (binary_expression "DAT_0006b640 + 0x10" identifier + number_literal) ))))) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00024eb5;" goto statement_identifier ;)) (expression_statement "uVar5 = *(uint *)(DAT_0006b640 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(DAT_0006b640 + 0x1c)" identifier = (pointer_expression "*(uint *)(DAT_0006b640 + 0x1c)" * (cast_expression "(uint *)(DAT_0006b640 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x1c)" ( (binary_expression "DAT_0006b640 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (uVar5 == uVar4) goto LAB_00024e3c;" if (parenthesized_expression "(uVar5 == uVar4)" ( (binary_expression "uVar5 == uVar4" identifier == identifier) )) (goto_statement "goto LAB_00024e3c;" goto statement_identifier ;)) (if_statement "if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;" if (parenthesized_expression "(((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34))" ( (binary_expression "((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)" (parenthesized_expression "((_DAT_0006b668 & 2) != 0)" ( (binary_expression "(_DAT_0006b668 & 2) != 0" (parenthesized_expression "(_DAT_0006b668 & 2)" ( (binary_expression "_DAT_0006b668 & 2" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(uVar4 < local_34)" ( (binary_expression "uVar4 < local_34" identifier < identifier) ))) )) (goto_statement "goto LAB_00024ec2;" goto statement_identifier ;)) (expression_statement "*(uint *)(DAT_0006b640 + 0x1c) = uVar4;" (assignment_expression "*(uint *)(DAT_0006b640 + 0x1c) = uVar4" (pointer_expression "*(uint *)(DAT_0006b640 + 0x1c)" * (cast_expression "(uint *)(DAT_0006b640 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x1c)" ( (binary_expression "DAT_0006b640 + 0x1c" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_00024e43:\n    uVar3 = FUN_00035980();" statement_identifier : (expression_statement "uVar3 = FUN_00035980();" (assignment_expression "uVar3 = FUN_00035980()" identifier = (call_expression "FUN_00035980()" identifier (argument_list "()" ( )))) ;)) (expression_statement "*(undefined4 *)(iVar7 + 0x20) = uVar3;" (assignment_expression "*(undefined4 *)(iVar7 + 0x20) = uVar3" (pointer_expression "*(undefined4 *)(iVar7 + 0x20)" * (cast_expression "(undefined4 *)(iVar7 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x20)" ( (binary_expression "iVar7 + 0x20" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }" if (parenthesized_expression "((_DAT_0006b668 & 2) != 0)" ( (binary_expression "(_DAT_0006b668 & 2) != 0" (parenthesized_expression "(_DAT_0006b668 & 2)" ( (binary_expression "_DAT_0006b668 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }" { (expression_statement "FUN_0003b9b0(uVar6,1);" (call_expression "FUN_0003b9b0(uVar6,1)" identifier (argument_list "(uVar6,1)" ( identifier , number_literal ))) ;) (goto_statement "goto LAB_00024e6e;" goto statement_identifier ;) })) (expression_statement "uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);" (assignment_expression "uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x20)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x20)" ( (binary_expression "DAT_0006b640 + 0x20" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }" else (compound_statement "{\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }" { (expression_statement "local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));" (assignment_expression "local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10))" identifier = (call_expression "FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10))" identifier (argument_list "(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10))" ( identifier , (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x10)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x10)" ( (binary_expression "DAT_0006b640 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);" (assignment_expression "local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0)" identifier = (call_expression "FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0)" identifier (argument_list "(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0)" ( (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x10)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x10)" ( (binary_expression "DAT_0006b640 + 0x10" identifier + number_literal) )))) , (pointer_expression "&local_24" & identifier) , number_literal , identifier , number_literal )))) ;) (if_statement "if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;" if (parenthesized_expression "((DAT_0006b664 & 0x1000000) != 0)" ( (binary_expression "(DAT_0006b664 & 0x1000000) != 0" (parenthesized_expression "(DAT_0006b664 & 0x1000000)" ( (binary_expression "DAT_0006b664 & 0x1000000" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00024e90;" goto statement_identifier ;)) (labeled_statement "LAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }" statement_identifier : (if_statement "if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }" if (parenthesized_expression "((_DAT_0006b668 & 2) == 0)" ( (binary_expression "(_DAT_0006b668 & 2) == 0" (parenthesized_expression "(_DAT_0006b668 & 2)" ( (binary_expression "_DAT_0006b668 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }" { (labeled_statement "LAB_00024e3c:\n      iVar7 = DAT_0006b640;" statement_identifier : (expression_statement "iVar7 = DAT_0006b640;" (assignment_expression "iVar7 = DAT_0006b640" identifier = identifier) ;)) (expression_statement "*(undefined4 *)(DAT_0006b640 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(DAT_0006b640 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x1c)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x1c)" ( (binary_expression "DAT_0006b640 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00024e43;" goto statement_identifier ;) }))) (expression_statement "uVar5 = *(uint *)(DAT_0006b640 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(DAT_0006b640 + 0x1c)" identifier = (pointer_expression "*(uint *)(DAT_0006b640 + 0x1c)" * (cast_expression "(uint *)(DAT_0006b640 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x1c)" ( (binary_expression "DAT_0006b640 + 0x1c" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00024ec2:\n    iVar7 = DAT_0006b640;" statement_identifier : (expression_statement "iVar7 = DAT_0006b640;" (assignment_expression "iVar7 = DAT_0006b640" identifier = identifier) ;)) (if_statement "if (local_34 == uVar5) goto LAB_00024e3c;" if (parenthesized_expression "(local_34 == uVar5)" ( (binary_expression "local_34 == uVar5" identifier == identifier) )) (goto_statement "goto LAB_00024e3c;" goto statement_identifier ;)) (expression_statement "*(uint *)(DAT_0006b640 + 0x1c) = local_34;" (assignment_expression "*(uint *)(DAT_0006b640 + 0x1c) = local_34" (pointer_expression "*(uint *)(DAT_0006b640 + 0x1c)" * (cast_expression "(uint *)(DAT_0006b640 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x1c)" ( (binary_expression "DAT_0006b640 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x20) = local_24;" (assignment_expression "*(undefined4 *)(iVar7 + 0x20) = local_24" (pointer_expression "*(undefined4 *)(iVar7 + 0x20)" * (cast_expression "(undefined4 *)(iVar7 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x20)" ( (binary_expression "iVar7 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar6 = local_24;" (assignment_expression "uVar6 = local_24" identifier = identifier) ;) }))) (expression_statement "cVar1 = FUN_00039610(uVar2,uVar6);" (assignment_expression "cVar1 = FUN_00039610(uVar2,uVar6)" identifier = (call_expression "FUN_00039610(uVar2,uVar6)" identifier (argument_list "(uVar2,uVar6)" ( identifier , identifier )))) ;) (if_statement "if (cVar1 != '\0') {\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }" { (expression_statement "FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));" (call_expression "FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c))" identifier (argument_list "(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c))" ( (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x10)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x10)" ( (binary_expression "DAT_0006b640 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x1c)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x1c)" ( (binary_expression "DAT_0006b640 + 0x1c" identifier + number_literal) )))) ))) ;) })) (labeled_statement "LAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004be20();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004be20();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0004be20();\n  }" { comment (expression_statement "FUN_0004be20();" (call_expression "FUN_0004be20()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid do_home(void)\n\n{\n  filestruct *old_current;\n  _Bool _Var1;\n  size_t column;\n  size_t sVar2;\n  size_t sVar3;\n  openfilestruct *poVar4;\n  int in_GS_OFFSET;\n  uint local_34;\n  size_t leftedge;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x24de9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  old_current = openfile->current;\n  column = xplustabs();\n  leftedge = 0;\n  if ((flags[1] & 2) == 0) {\n    local_34 = 0;\n    if ((flags[0] & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    sVar2 = indent_length(openfile->current->data);\n    poVar4 = openfile;\n    if (openfile->current->data[sVar2] == '\0') goto LAB_00024eb5;\n    sVar3 = openfile->current_x;\n    if (sVar3 == sVar2) goto LAB_00024e3c;\n    if (((flags[1] & 2) != 0) && (sVar2 < local_34)) goto LAB_00024ec2;\n    openfile->current_x = sVar2;\nLAB_00024e43:\n    sVar2 = xplustabs();\n    poVar4->placewewant = sVar2;\n    if ((flags[1] & 2) != 0) {\n      edit_redraw(old_current,FLOWING);\n      goto LAB_00024e6e;\n    }\n    sVar2 = openfile->placewewant;\n  }\n  else {\n    leftedge = leftedge_for(column,openfile->current);\n    local_34 = proper_x(openfile->current,&leftedge,false,leftedge,(_Bool *)0x0);\n    if ((flags[0] & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((flags[1] & 2) == 0) {\nLAB_00024e3c:\n      poVar4 = openfile;\n      openfile->current_x = 0;\n      goto LAB_00024e43;\n    }\n    sVar3 = openfile->current_x;\nLAB_00024ec2:\n    poVar4 = openfile;\n    if (local_34 == sVar3) goto LAB_00024e3c;\n    openfile->current_x = local_34;\n    poVar4->placewewant = leftedge;\n    sVar2 = leftedge;\n  }\n  _Var1 = line_needs_update(column,sVar2);\n  if (_Var1) {\n    update_line(openfile->current,openfile->current_x);\n  }\nLAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}\n\n" comment comment (function_definition "void do_home(void)\n\n{\n  filestruct *old_current;\n  _Bool _Var1;\n  size_t column;\n  size_t sVar2;\n  size_t sVar3;\n  openfilestruct *poVar4;\n  int in_GS_OFFSET;\n  uint local_34;\n  size_t leftedge;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x24de9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  old_current = openfile->current;\n  column = xplustabs();\n  leftedge = 0;\n  if ((flags[1] & 2) == 0) {\n    local_34 = 0;\n    if ((flags[0] & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    sVar2 = indent_length(openfile->current->data);\n    poVar4 = openfile;\n    if (openfile->current->data[sVar2] == '\0') goto LAB_00024eb5;\n    sVar3 = openfile->current_x;\n    if (sVar3 == sVar2) goto LAB_00024e3c;\n    if (((flags[1] & 2) != 0) && (sVar2 < local_34)) goto LAB_00024ec2;\n    openfile->current_x = sVar2;\nLAB_00024e43:\n    sVar2 = xplustabs();\n    poVar4->placewewant = sVar2;\n    if ((flags[1] & 2) != 0) {\n      edit_redraw(old_current,FLOWING);\n      goto LAB_00024e6e;\n    }\n    sVar2 = openfile->placewewant;\n  }\n  else {\n    leftedge = leftedge_for(column,openfile->current);\n    local_34 = proper_x(openfile->current,&leftedge,false,leftedge,(_Bool *)0x0);\n    if ((flags[0] & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((flags[1] & 2) == 0) {\nLAB_00024e3c:\n      poVar4 = openfile;\n      openfile->current_x = 0;\n      goto LAB_00024e43;\n    }\n    sVar3 = openfile->current_x;\nLAB_00024ec2:\n    poVar4 = openfile;\n    if (local_34 == sVar3) goto LAB_00024e3c;\n    openfile->current_x = local_34;\n    poVar4->placewewant = leftedge;\n    sVar2 = leftedge;\n  }\n  _Var1 = line_needs_update(column,sVar2);\n  if (_Var1) {\n    update_line(openfile->current,openfile->current_x);\n  }\nLAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}" primitive_type (function_declarator "do_home(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  filestruct *old_current;\n  _Bool _Var1;\n  size_t column;\n  size_t sVar2;\n  size_t sVar3;\n  openfilestruct *poVar4;\n  int in_GS_OFFSET;\n  uint local_34;\n  size_t leftedge;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x24de9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  old_current = openfile->current;\n  column = xplustabs();\n  leftedge = 0;\n  if ((flags[1] & 2) == 0) {\n    local_34 = 0;\n    if ((flags[0] & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    sVar2 = indent_length(openfile->current->data);\n    poVar4 = openfile;\n    if (openfile->current->data[sVar2] == '\0') goto LAB_00024eb5;\n    sVar3 = openfile->current_x;\n    if (sVar3 == sVar2) goto LAB_00024e3c;\n    if (((flags[1] & 2) != 0) && (sVar2 < local_34)) goto LAB_00024ec2;\n    openfile->current_x = sVar2;\nLAB_00024e43:\n    sVar2 = xplustabs();\n    poVar4->placewewant = sVar2;\n    if ((flags[1] & 2) != 0) {\n      edit_redraw(old_current,FLOWING);\n      goto LAB_00024e6e;\n    }\n    sVar2 = openfile->placewewant;\n  }\n  else {\n    leftedge = leftedge_for(column,openfile->current);\n    local_34 = proper_x(openfile->current,&leftedge,false,leftedge,(_Bool *)0x0);\n    if ((flags[0] & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((flags[1] & 2) == 0) {\nLAB_00024e3c:\n      poVar4 = openfile;\n      openfile->current_x = 0;\n      goto LAB_00024e43;\n    }\n    sVar3 = openfile->current_x;\nLAB_00024ec2:\n    poVar4 = openfile;\n    if (local_34 == sVar3) goto LAB_00024e3c;\n    openfile->current_x = local_34;\n    poVar4->placewewant = leftedge;\n    sVar2 = leftedge;\n  }\n  _Var1 = line_needs_update(column,sVar2);\n  if (_Var1) {\n    update_line(openfile->current,openfile->current_x);\n  }\nLAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}" { (declaration "filestruct *old_current;" type_identifier (pointer_declarator "*old_current" * identifier) ;) (declaration "_Bool _Var1;" type_identifier identifier ;) (declaration "size_t column;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "openfilestruct *poVar4;" type_identifier (pointer_declarator "*poVar4" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "size_t leftedge;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x24de9;" (assignment_expression "uStack_14 = 0x24de9" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "old_current = openfile->current;" (assignment_expression "old_current = openfile->current" identifier = (field_expression "openfile->current" identifier -> field_identifier)) ;) (expression_statement "column = xplustabs();" (assignment_expression "column = xplustabs()" identifier = (call_expression "xplustabs()" identifier (argument_list "()" ( )))) ;) (expression_statement "leftedge = 0;" (assignment_expression "leftedge = 0" identifier = number_literal) ;) (if_statement "if ((flags[1] & 2) == 0) {\n    local_34 = 0;\n    if ((flags[0] & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    sVar2 = indent_length(openfile->current->data);\n    poVar4 = openfile;\n    if (openfile->current->data[sVar2] == '\0') goto LAB_00024eb5;\n    sVar3 = openfile->current_x;\n    if (sVar3 == sVar2) goto LAB_00024e3c;\n    if (((flags[1] & 2) != 0) && (sVar2 < local_34)) goto LAB_00024ec2;\n    openfile->current_x = sVar2;\nLAB_00024e43:\n    sVar2 = xplustabs();\n    poVar4->placewewant = sVar2;\n    if ((flags[1] & 2) != 0) {\n      edit_redraw(old_current,FLOWING);\n      goto LAB_00024e6e;\n    }\n    sVar2 = openfile->placewewant;\n  }\n  else {\n    leftedge = leftedge_for(column,openfile->current);\n    local_34 = proper_x(openfile->current,&leftedge,false,leftedge,(_Bool *)0x0);\n    if ((flags[0] & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((flags[1] & 2) == 0) {\nLAB_00024e3c:\n      poVar4 = openfile;\n      openfile->current_x = 0;\n      goto LAB_00024e43;\n    }\n    sVar3 = openfile->current_x;\nLAB_00024ec2:\n    poVar4 = openfile;\n    if (local_34 == sVar3) goto LAB_00024e3c;\n    openfile->current_x = local_34;\n    poVar4->placewewant = leftedge;\n    sVar2 = leftedge;\n  }" if (parenthesized_expression "((flags[1] & 2) == 0)" ( (binary_expression "(flags[1] & 2) == 0" (parenthesized_expression "(flags[1] & 2)" ( (binary_expression "flags[1] & 2" (subscript_expression "flags[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    local_34 = 0;\n    if ((flags[0] & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    sVar2 = indent_length(openfile->current->data);\n    poVar4 = openfile;\n    if (openfile->current->data[sVar2] == '\0') goto LAB_00024eb5;\n    sVar3 = openfile->current_x;\n    if (sVar3 == sVar2) goto LAB_00024e3c;\n    if (((flags[1] & 2) != 0) && (sVar2 < local_34)) goto LAB_00024ec2;\n    openfile->current_x = sVar2;\nLAB_00024e43:\n    sVar2 = xplustabs();\n    poVar4->placewewant = sVar2;\n    if ((flags[1] & 2) != 0) {\n      edit_redraw(old_current,FLOWING);\n      goto LAB_00024e6e;\n    }\n    sVar2 = openfile->placewewant;\n  }" { (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (if_statement "if ((flags[0] & 0x1000000) == 0) goto LAB_00024e3c;" if (parenthesized_expression "((flags[0] & 0x1000000) == 0)" ( (binary_expression "(flags[0] & 0x1000000) == 0" (parenthesized_expression "(flags[0] & 0x1000000)" ( (binary_expression "flags[0] & 0x1000000" (subscript_expression "flags[0]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00024e3c;" goto statement_identifier ;)) (labeled_statement "LAB_00024e90:\n    sVar2 = indent_length(openfile->current->data);" statement_identifier : (expression_statement "sVar2 = indent_length(openfile->current->data);" (assignment_expression "sVar2 = indent_length(openfile->current->data)" identifier = (call_expression "indent_length(openfile->current->data)" identifier (argument_list "(openfile->current->data)" ( (field_expression "openfile->current->data" (field_expression "openfile->current" identifier -> field_identifier) -> field_identifier) )))) ;)) (expression_statement "poVar4 = openfile;" (assignment_expression "poVar4 = openfile" identifier = identifier) ;) (if_statement "if (openfile->current->data[sVar2] == '\0') goto LAB_00024eb5;" if (parenthesized_expression "(openfile->current->data[sVar2] == '\0')" ( (binary_expression "openfile->current->data[sVar2] == '\0'" (subscript_expression "openfile->current->data[sVar2]" (field_expression "openfile->current->data" (field_expression "openfile->current" identifier -> field_identifier) -> field_identifier) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00024eb5;" goto statement_identifier ;)) (expression_statement "sVar3 = openfile->current_x;" (assignment_expression "sVar3 = openfile->current_x" identifier = (field_expression "openfile->current_x" identifier -> field_identifier)) ;) (if_statement "if (sVar3 == sVar2) goto LAB_00024e3c;" if (parenthesized_expression "(sVar3 == sVar2)" ( (binary_expression "sVar3 == sVar2" identifier == identifier) )) (goto_statement "goto LAB_00024e3c;" goto statement_identifier ;)) (if_statement "if (((flags[1] & 2) != 0) && (sVar2 < local_34)) goto LAB_00024ec2;" if (parenthesized_expression "(((flags[1] & 2) != 0) && (sVar2 < local_34))" ( (binary_expression "((flags[1] & 2) != 0) && (sVar2 < local_34)" (parenthesized_expression "((flags[1] & 2) != 0)" ( (binary_expression "(flags[1] & 2) != 0" (parenthesized_expression "(flags[1] & 2)" ( (binary_expression "flags[1] & 2" (subscript_expression "flags[1]" identifier [ number_literal ]) & number_literal) )) != number_literal) )) && (parenthesized_expression "(sVar2 < local_34)" ( (binary_expression "sVar2 < local_34" identifier < identifier) ))) )) (goto_statement "goto LAB_00024ec2;" goto statement_identifier ;)) (expression_statement "openfile->current_x = sVar2;" (assignment_expression "openfile->current_x = sVar2" (field_expression "openfile->current_x" identifier -> field_identifier) = identifier) ;) (labeled_statement "LAB_00024e43:\n    sVar2 = xplustabs();" statement_identifier : (expression_statement "sVar2 = xplustabs();" (assignment_expression "sVar2 = xplustabs()" identifier = (call_expression "xplustabs()" identifier (argument_list "()" ( )))) ;)) (expression_statement "poVar4->placewewant = sVar2;" (assignment_expression "poVar4->placewewant = sVar2" (field_expression "poVar4->placewewant" identifier -> field_identifier) = identifier) ;) (if_statement "if ((flags[1] & 2) != 0) {\n      edit_redraw(old_current,FLOWING);\n      goto LAB_00024e6e;\n    }" if (parenthesized_expression "((flags[1] & 2) != 0)" ( (binary_expression "(flags[1] & 2) != 0" (parenthesized_expression "(flags[1] & 2)" ( (binary_expression "flags[1] & 2" (subscript_expression "flags[1]" identifier [ number_literal ]) & number_literal) )) != number_literal) )) (compound_statement "{\n      edit_redraw(old_current,FLOWING);\n      goto LAB_00024e6e;\n    }" { (expression_statement "edit_redraw(old_current,FLOWING);" (call_expression "edit_redraw(old_current,FLOWING)" identifier (argument_list "(old_current,FLOWING)" ( identifier , identifier ))) ;) (goto_statement "goto LAB_00024e6e;" goto statement_identifier ;) })) (expression_statement "sVar2 = openfile->placewewant;" (assignment_expression "sVar2 = openfile->placewewant" identifier = (field_expression "openfile->placewewant" identifier -> field_identifier)) ;) }) (else_clause "else {\n    leftedge = leftedge_for(column,openfile->current);\n    local_34 = proper_x(openfile->current,&leftedge,false,leftedge,(_Bool *)0x0);\n    if ((flags[0] & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((flags[1] & 2) == 0) {\nLAB_00024e3c:\n      poVar4 = openfile;\n      openfile->current_x = 0;\n      goto LAB_00024e43;\n    }\n    sVar3 = openfile->current_x;\nLAB_00024ec2:\n    poVar4 = openfile;\n    if (local_34 == sVar3) goto LAB_00024e3c;\n    openfile->current_x = local_34;\n    poVar4->placewewant = leftedge;\n    sVar2 = leftedge;\n  }" else (compound_statement "{\n    leftedge = leftedge_for(column,openfile->current);\n    local_34 = proper_x(openfile->current,&leftedge,false,leftedge,(_Bool *)0x0);\n    if ((flags[0] & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((flags[1] & 2) == 0) {\nLAB_00024e3c:\n      poVar4 = openfile;\n      openfile->current_x = 0;\n      goto LAB_00024e43;\n    }\n    sVar3 = openfile->current_x;\nLAB_00024ec2:\n    poVar4 = openfile;\n    if (local_34 == sVar3) goto LAB_00024e3c;\n    openfile->current_x = local_34;\n    poVar4->placewewant = leftedge;\n    sVar2 = leftedge;\n  }" { (expression_statement "leftedge = leftedge_for(column,openfile->current);" (assignment_expression "leftedge = leftedge_for(column,openfile->current)" identifier = (call_expression "leftedge_for(column,openfile->current)" identifier (argument_list "(column,openfile->current)" ( identifier , (field_expression "openfile->current" identifier -> field_identifier) )))) ;) (expression_statement "local_34 = proper_x(openfile->current,&leftedge,false,leftedge,(_Bool *)0x0);" (assignment_expression "local_34 = proper_x(openfile->current,&leftedge,false,leftedge,(_Bool *)0x0)" identifier = (call_expression "proper_x(openfile->current,&leftedge,false,leftedge,(_Bool *)0x0)" identifier (argument_list "(openfile->current,&leftedge,false,leftedge,(_Bool *)0x0)" ( (field_expression "openfile->current" identifier -> field_identifier) , (pointer_expression "&leftedge" & identifier) , false , identifier , (cast_expression "(_Bool *)0x0" ( (type_descriptor "_Bool *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if ((flags[0] & 0x1000000) != 0) goto LAB_00024e90;" if (parenthesized_expression "((flags[0] & 0x1000000) != 0)" ( (binary_expression "(flags[0] & 0x1000000) != 0" (parenthesized_expression "(flags[0] & 0x1000000)" ( (binary_expression "flags[0] & 0x1000000" (subscript_expression "flags[0]" identifier [ number_literal ]) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00024e90;" goto statement_identifier ;)) (labeled_statement "LAB_00024eb5:\n    if ((flags[1] & 2) == 0) {\nLAB_00024e3c:\n      poVar4 = openfile;\n      openfile->current_x = 0;\n      goto LAB_00024e43;\n    }" statement_identifier : (if_statement "if ((flags[1] & 2) == 0) {\nLAB_00024e3c:\n      poVar4 = openfile;\n      openfile->current_x = 0;\n      goto LAB_00024e43;\n    }" if (parenthesized_expression "((flags[1] & 2) == 0)" ( (binary_expression "(flags[1] & 2) == 0" (parenthesized_expression "(flags[1] & 2)" ( (binary_expression "flags[1] & 2" (subscript_expression "flags[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_00024e3c:\n      poVar4 = openfile;\n      openfile->current_x = 0;\n      goto LAB_00024e43;\n    }" { (labeled_statement "LAB_00024e3c:\n      poVar4 = openfile;" statement_identifier : (expression_statement "poVar4 = openfile;" (assignment_expression "poVar4 = openfile" identifier = identifier) ;)) (expression_statement "openfile->current_x = 0;" (assignment_expression "openfile->current_x = 0" (field_expression "openfile->current_x" identifier -> field_identifier) = number_literal) ;) (goto_statement "goto LAB_00024e43;" goto statement_identifier ;) }))) (expression_statement "sVar3 = openfile->current_x;" (assignment_expression "sVar3 = openfile->current_x" identifier = (field_expression "openfile->current_x" identifier -> field_identifier)) ;) (labeled_statement "LAB_00024ec2:\n    poVar4 = openfile;" statement_identifier : (expression_statement "poVar4 = openfile;" (assignment_expression "poVar4 = openfile" identifier = identifier) ;)) (if_statement "if (local_34 == sVar3) goto LAB_00024e3c;" if (parenthesized_expression "(local_34 == sVar3)" ( (binary_expression "local_34 == sVar3" identifier == identifier) )) (goto_statement "goto LAB_00024e3c;" goto statement_identifier ;)) (expression_statement "openfile->current_x = local_34;" (assignment_expression "openfile->current_x = local_34" (field_expression "openfile->current_x" identifier -> field_identifier) = identifier) ;) (expression_statement "poVar4->placewewant = leftedge;" (assignment_expression "poVar4->placewewant = leftedge" (field_expression "poVar4->placewewant" identifier -> field_identifier) = identifier) ;) (expression_statement "sVar2 = leftedge;" (assignment_expression "sVar2 = leftedge" identifier = identifier) ;) }))) (expression_statement "_Var1 = line_needs_update(column,sVar2);" (assignment_expression "_Var1 = line_needs_update(column,sVar2)" identifier = (call_expression "line_needs_update(column,sVar2)" identifier (argument_list "(column,sVar2)" ( identifier , identifier )))) ;) (if_statement "if (_Var1) {\n    update_line(openfile->current,openfile->current_x);\n  }" if (parenthesized_expression "(_Var1)" ( identifier )) (compound_statement "{\n    update_line(openfile->current,openfile->current_x);\n  }" { (expression_statement "update_line(openfile->current,openfile->current_x);" (call_expression "update_line(openfile->current,openfile->current_x)" identifier (argument_list "(openfile->current,openfile->current_x)" ( (field_expression "openfile->current" identifier -> field_identifier) , (field_expression "openfile->current_x" identifier -> field_identifier) ))) ;) })) (labeled_statement "LAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00024de0(void)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  uint local_34;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x24de9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);\n  uVar2 = FUN_00035980();\n  local_24 = 0;\n  if ((_DAT_0006b668 & 2) == 0) {\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }\n  else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }\n  cVar1 = FUN_00039610(uVar2,uVar6);\n  if (cVar1 != '\0') {\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }\nLAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004be20();\n  }\n  return;\n}\n\n" (function_definition "void FUN_00024de0(void)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  uint local_34;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x24de9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);\n  uVar2 = FUN_00035980();\n  local_24 = 0;\n  if ((_DAT_0006b668 & 2) == 0) {\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }\n  else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }\n  cVar1 = FUN_00039610(uVar2,uVar6);\n  if (cVar1 != '\0') {\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }\nLAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004be20();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00024de0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  uint local_34;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x24de9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);\n  uVar2 = FUN_00035980();\n  local_24 = 0;\n  if ((_DAT_0006b668 & 2) == 0) {\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }\n  else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }\n  cVar1 = FUN_00039610(uVar2,uVar6);\n  if (cVar1 != '\0') {\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }\nLAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004be20();\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x24de9;" (assignment_expression "uStack_14 = 0x24de9" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);" (assignment_expression "uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x10)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x10)" ( (binary_expression "DAT_0006b640 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = FUN_00035980();" (assignment_expression "uVar2 = FUN_00035980()" identifier = (call_expression "FUN_00035980()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (if_statement "if ((_DAT_0006b668 & 2) == 0) {\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }\n  else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }" if (parenthesized_expression "((_DAT_0006b668 & 2) == 0)" ( (binary_expression "(_DAT_0006b668 & 2) == 0" (parenthesized_expression "(_DAT_0006b668 & 2)" ( (binary_expression "_DAT_0006b668 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }" { (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (if_statement "if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;" if (parenthesized_expression "((DAT_0006b664 & 0x1000000) == 0)" ( (binary_expression "(DAT_0006b664 & 0x1000000) == 0" (parenthesized_expression "(DAT_0006b664 & 0x1000000)" ( (binary_expression "DAT_0006b664 & 0x1000000" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00024e3c;" goto statement_identifier ;)) (labeled_statement "LAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));" statement_identifier : (expression_statement "uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));" (assignment_expression "uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10))" identifier = (call_expression "FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10))" identifier (argument_list "(**(undefined4 **)(DAT_0006b640 + 0x10))" ( (pointer_expression "**(undefined4 **)(DAT_0006b640 + 0x10)" * (pointer_expression "*(undefined4 **)(DAT_0006b640 + 0x10)" * (cast_expression "(undefined4 **)(DAT_0006b640 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0006b640 + 0x10)" ( (binary_expression "DAT_0006b640 + 0x10" identifier + number_literal) ))))) )))) ;)) (expression_statement "iVar7 = DAT_0006b640;" (assignment_expression "iVar7 = DAT_0006b640" identifier = identifier) ;) (if_statement "if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;" if (parenthesized_expression "(*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0')" ( (binary_expression "*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0'" (pointer_expression "*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4)" * (cast_expression "(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(DAT_0006b640 + 0x10) + uVar4)" ( (binary_expression "**(int **)(DAT_0006b640 + 0x10) + uVar4" (pointer_expression "**(int **)(DAT_0006b640 + 0x10)" * (pointer_expression "*(int **)(DAT_0006b640 + 0x10)" * (cast_expression "(int **)(DAT_0006b640 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0006b640 + 0x10)" ( (binary_expression "DAT_0006b640 + 0x10" identifier + number_literal) ))))) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00024eb5;" goto statement_identifier ;)) (expression_statement "uVar5 = *(uint *)(DAT_0006b640 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(DAT_0006b640 + 0x1c)" identifier = (pointer_expression "*(uint *)(DAT_0006b640 + 0x1c)" * (cast_expression "(uint *)(DAT_0006b640 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x1c)" ( (binary_expression "DAT_0006b640 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (uVar5 == uVar4) goto LAB_00024e3c;" if (parenthesized_expression "(uVar5 == uVar4)" ( (binary_expression "uVar5 == uVar4" identifier == identifier) )) (goto_statement "goto LAB_00024e3c;" goto statement_identifier ;)) (if_statement "if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;" if (parenthesized_expression "(((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34))" ( (binary_expression "((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)" (parenthesized_expression "((_DAT_0006b668 & 2) != 0)" ( (binary_expression "(_DAT_0006b668 & 2) != 0" (parenthesized_expression "(_DAT_0006b668 & 2)" ( (binary_expression "_DAT_0006b668 & 2" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(uVar4 < local_34)" ( (binary_expression "uVar4 < local_34" identifier < identifier) ))) )) (goto_statement "goto LAB_00024ec2;" goto statement_identifier ;)) (expression_statement "*(uint *)(DAT_0006b640 + 0x1c) = uVar4;" (assignment_expression "*(uint *)(DAT_0006b640 + 0x1c) = uVar4" (pointer_expression "*(uint *)(DAT_0006b640 + 0x1c)" * (cast_expression "(uint *)(DAT_0006b640 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x1c)" ( (binary_expression "DAT_0006b640 + 0x1c" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_00024e43:\n    uVar3 = FUN_00035980();" statement_identifier : (expression_statement "uVar3 = FUN_00035980();" (assignment_expression "uVar3 = FUN_00035980()" identifier = (call_expression "FUN_00035980()" identifier (argument_list "()" ( )))) ;)) (expression_statement "*(undefined4 *)(iVar7 + 0x20) = uVar3;" (assignment_expression "*(undefined4 *)(iVar7 + 0x20) = uVar3" (pointer_expression "*(undefined4 *)(iVar7 + 0x20)" * (cast_expression "(undefined4 *)(iVar7 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x20)" ( (binary_expression "iVar7 + 0x20" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }" if (parenthesized_expression "((_DAT_0006b668 & 2) != 0)" ( (binary_expression "(_DAT_0006b668 & 2) != 0" (parenthesized_expression "(_DAT_0006b668 & 2)" ( (binary_expression "_DAT_0006b668 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }" { (expression_statement "FUN_0003b9b0(uVar6,1);" (call_expression "FUN_0003b9b0(uVar6,1)" identifier (argument_list "(uVar6,1)" ( identifier , number_literal ))) ;) (goto_statement "goto LAB_00024e6e;" goto statement_identifier ;) })) (expression_statement "uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);" (assignment_expression "uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x20)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x20)" ( (binary_expression "DAT_0006b640 + 0x20" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }" else (compound_statement "{\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }" { (expression_statement "local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));" (assignment_expression "local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10))" identifier = (call_expression "FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10))" identifier (argument_list "(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10))" ( identifier , (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x10)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x10)" ( (binary_expression "DAT_0006b640 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);" (assignment_expression "local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0)" identifier = (call_expression "FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0)" identifier (argument_list "(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0)" ( (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x10)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x10)" ( (binary_expression "DAT_0006b640 + 0x10" identifier + number_literal) )))) , (pointer_expression "&local_24" & identifier) , number_literal , identifier , number_literal )))) ;) (if_statement "if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;" if (parenthesized_expression "((DAT_0006b664 & 0x1000000) != 0)" ( (binary_expression "(DAT_0006b664 & 0x1000000) != 0" (parenthesized_expression "(DAT_0006b664 & 0x1000000)" ( (binary_expression "DAT_0006b664 & 0x1000000" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00024e90;" goto statement_identifier ;)) (labeled_statement "LAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }" statement_identifier : (if_statement "if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }" if (parenthesized_expression "((_DAT_0006b668 & 2) == 0)" ( (binary_expression "(_DAT_0006b668 & 2) == 0" (parenthesized_expression "(_DAT_0006b668 & 2)" ( (binary_expression "_DAT_0006b668 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }" { (labeled_statement "LAB_00024e3c:\n      iVar7 = DAT_0006b640;" statement_identifier : (expression_statement "iVar7 = DAT_0006b640;" (assignment_expression "iVar7 = DAT_0006b640" identifier = identifier) ;)) (expression_statement "*(undefined4 *)(DAT_0006b640 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(DAT_0006b640 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x1c)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x1c)" ( (binary_expression "DAT_0006b640 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00024e43;" goto statement_identifier ;) }))) (expression_statement "uVar5 = *(uint *)(DAT_0006b640 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(DAT_0006b640 + 0x1c)" identifier = (pointer_expression "*(uint *)(DAT_0006b640 + 0x1c)" * (cast_expression "(uint *)(DAT_0006b640 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x1c)" ( (binary_expression "DAT_0006b640 + 0x1c" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00024ec2:\n    iVar7 = DAT_0006b640;" statement_identifier : (expression_statement "iVar7 = DAT_0006b640;" (assignment_expression "iVar7 = DAT_0006b640" identifier = identifier) ;)) (if_statement "if (local_34 == uVar5) goto LAB_00024e3c;" if (parenthesized_expression "(local_34 == uVar5)" ( (binary_expression "local_34 == uVar5" identifier == identifier) )) (goto_statement "goto LAB_00024e3c;" goto statement_identifier ;)) (expression_statement "*(uint *)(DAT_0006b640 + 0x1c) = local_34;" (assignment_expression "*(uint *)(DAT_0006b640 + 0x1c) = local_34" (pointer_expression "*(uint *)(DAT_0006b640 + 0x1c)" * (cast_expression "(uint *)(DAT_0006b640 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x1c)" ( (binary_expression "DAT_0006b640 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x20) = local_24;" (assignment_expression "*(undefined4 *)(iVar7 + 0x20) = local_24" (pointer_expression "*(undefined4 *)(iVar7 + 0x20)" * (cast_expression "(undefined4 *)(iVar7 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x20)" ( (binary_expression "iVar7 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar6 = local_24;" (assignment_expression "uVar6 = local_24" identifier = identifier) ;) }))) (expression_statement "cVar1 = FUN_00039610(uVar2,uVar6);" (assignment_expression "cVar1 = FUN_00039610(uVar2,uVar6)" identifier = (call_expression "FUN_00039610(uVar2,uVar6)" identifier (argument_list "(uVar2,uVar6)" ( identifier , identifier )))) ;) (if_statement "if (cVar1 != '\0') {\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }" { (expression_statement "FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));" (call_expression "FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c))" identifier (argument_list "(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c))" ( (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x10)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x10)" ( (binary_expression "DAT_0006b640 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x1c)" * (cast_expression "(undefined4 *)(DAT_0006b640 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0006b640 + 0x1c)" ( (binary_expression "DAT_0006b640 + 0x1c" identifier + number_literal) )))) ))) ;) })) (labeled_statement "LAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004be20();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004be20();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_0004be20();\n  }" { (expression_statement "FUN_0004be20();" (call_expression "FUN_0004be20()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + IDENT) )))) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) , LIT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_00024de0(void)\n\n{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  uint local_34;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x24de9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);\n  uVar2 = FUN_00035980();\n  local_24 = 0;\n  if ((_DAT_0006b668 & 2) == 0) {\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }\n  else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }\n  cVar1 = FUN_00039610(uVar2,uVar6);\n  if (cVar1 != '\0') {\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }\nLAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004be20();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00024de0(void)" (identifier "FUN_00024de0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  uint local_34;\n  undefined4 local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x24de9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);\n  uVar2 = FUN_00035980();\n  local_24 = 0;\n  if ((_DAT_0006b668 & 2) == 0) {\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }\n  else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }\n  cVar1 = FUN_00039610(uVar2,uVar6);\n  if (cVar1 != '\0') {\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }\nLAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004be20();\n  }\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "uint local_34;" (type_identifier "uint") (identifier "local_34") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x24de9;" (assignment_expression "uStack_14 = 0x24de9" (identifier "uStack_14") (= "=") (number_literal "0x24de9")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);" (assignment_expression "uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x10)" (* "*") (cast_expression "(undefined4 *)(DAT_0006b640 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x10)" (( "(") (binary_expression "DAT_0006b640 + 0x10" (identifier "DAT_0006b640") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar2 = FUN_00035980();" (assignment_expression "uVar2 = FUN_00035980()" (identifier "uVar2") (= "=") (call_expression "FUN_00035980()" (identifier "FUN_00035980") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((_DAT_0006b668 & 2) == 0) {\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }\n  else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }" (if "if") (parenthesized_expression "((_DAT_0006b668 & 2) == 0)" (( "(") (binary_expression "(_DAT_0006b668 & 2) == 0" (parenthesized_expression "(_DAT_0006b668 & 2)" (( "(") (binary_expression "_DAT_0006b668 & 2" (identifier "_DAT_0006b668") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_34 = 0;\n    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;\nLAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));\n    iVar7 = DAT_0006b640;\n    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\n    if (uVar5 == uVar4) goto LAB_00024e3c;\n    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;\n    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;\nLAB_00024e43:\n    uVar3 = FUN_00035980();\n    *(undefined4 *)(iVar7 + 0x20) = uVar3;\n    if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }\n    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);\n  }" ({ "{") (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;" (if "if") (parenthesized_expression "((DAT_0006b664 & 0x1000000) == 0)" (( "(") (binary_expression "(DAT_0006b664 & 0x1000000) == 0" (parenthesized_expression "(DAT_0006b664 & 0x1000000)" (( "(") (binary_expression "DAT_0006b664 & 0x1000000" (identifier "DAT_0006b664") (& "&") (number_literal "0x1000000")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00024e3c;" (goto "goto") (statement_identifier "LAB_00024e3c") (; ";"))) (labeled_statement "LAB_00024e90:\n    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));" (statement_identifier "LAB_00024e90") (: ":") (expression_statement "uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));" (assignment_expression "uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10))" (identifier "uVar4") (= "=") (call_expression "FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10))" (identifier "FUN_00031760") (argument_list "(**(undefined4 **)(DAT_0006b640 + 0x10))" (( "(") (pointer_expression "**(undefined4 **)(DAT_0006b640 + 0x10)" (* "*") (pointer_expression "*(undefined4 **)(DAT_0006b640 + 0x10)" (* "*") (cast_expression "(undefined4 **)(DAT_0006b640 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x10)" (( "(") (binary_expression "DAT_0006b640 + 0x10" (identifier "DAT_0006b640") (+ "+") (number_literal "0x10")) () ")"))))) () ")")))) (; ";"))) (expression_statement "iVar7 = DAT_0006b640;" (assignment_expression "iVar7 = DAT_0006b640" (identifier "iVar7") (= "=") (identifier "DAT_0006b640")) (; ";")) (if_statement "if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;" (if "if") (parenthesized_expression "(*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0')" (( "(") (binary_expression "*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0'" (pointer_expression "*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4)" (* "*") (cast_expression "(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(**(int **)(DAT_0006b640 + 0x10) + uVar4)" (( "(") (binary_expression "**(int **)(DAT_0006b640 + 0x10) + uVar4" (pointer_expression "**(int **)(DAT_0006b640 + 0x10)" (* "*") (pointer_expression "*(int **)(DAT_0006b640 + 0x10)" (* "*") (cast_expression "(int **)(DAT_0006b640 + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x10)" (( "(") (binary_expression "DAT_0006b640 + 0x10" (identifier "DAT_0006b640") (+ "+") (number_literal "0x10")) () ")"))))) (+ "+") (identifier "uVar4")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00024eb5;" (goto "goto") (statement_identifier "LAB_00024eb5") (; ";"))) (expression_statement "uVar5 = *(uint *)(DAT_0006b640 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(DAT_0006b640 + 0x1c)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(DAT_0006b640 + 0x1c)" (* "*") (cast_expression "(uint *)(DAT_0006b640 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x1c)" (( "(") (binary_expression "DAT_0006b640 + 0x1c" (identifier "DAT_0006b640") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (uVar5 == uVar4) goto LAB_00024e3c;" (if "if") (parenthesized_expression "(uVar5 == uVar4)" (( "(") (binary_expression "uVar5 == uVar4" (identifier "uVar5") (== "==") (identifier "uVar4")) () ")")) (goto_statement "goto LAB_00024e3c;" (goto "goto") (statement_identifier "LAB_00024e3c") (; ";"))) (if_statement "if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;" (if "if") (parenthesized_expression "(((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34))" (( "(") (binary_expression "((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)" (parenthesized_expression "((_DAT_0006b668 & 2) != 0)" (( "(") (binary_expression "(_DAT_0006b668 & 2) != 0" (parenthesized_expression "(_DAT_0006b668 & 2)" (( "(") (binary_expression "_DAT_0006b668 & 2" (identifier "_DAT_0006b668") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar4 < local_34)" (( "(") (binary_expression "uVar4 < local_34" (identifier "uVar4") (< "<") (identifier "local_34")) () ")"))) () ")")) (goto_statement "goto LAB_00024ec2;" (goto "goto") (statement_identifier "LAB_00024ec2") (; ";"))) (expression_statement "*(uint *)(DAT_0006b640 + 0x1c) = uVar4;" (assignment_expression "*(uint *)(DAT_0006b640 + 0x1c) = uVar4" (pointer_expression "*(uint *)(DAT_0006b640 + 0x1c)" (* "*") (cast_expression "(uint *)(DAT_0006b640 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x1c)" (( "(") (binary_expression "DAT_0006b640 + 0x1c" (identifier "DAT_0006b640") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (labeled_statement "LAB_00024e43:\n    uVar3 = FUN_00035980();" (statement_identifier "LAB_00024e43") (: ":") (expression_statement "uVar3 = FUN_00035980();" (assignment_expression "uVar3 = FUN_00035980()" (identifier "uVar3") (= "=") (call_expression "FUN_00035980()" (identifier "FUN_00035980") (argument_list "()" (( "(") () ")")))) (; ";"))) (expression_statement "*(undefined4 *)(iVar7 + 0x20) = uVar3;" (assignment_expression "*(undefined4 *)(iVar7 + 0x20) = uVar3" (pointer_expression "*(undefined4 *)(iVar7 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x20)" (( "(") (binary_expression "iVar7 + 0x20" (identifier "iVar7") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (if_statement "if ((_DAT_0006b668 & 2) != 0) {\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }" (if "if") (parenthesized_expression "((_DAT_0006b668 & 2) != 0)" (( "(") (binary_expression "(_DAT_0006b668 & 2) != 0" (parenthesized_expression "(_DAT_0006b668 & 2)" (( "(") (binary_expression "_DAT_0006b668 & 2" (identifier "_DAT_0006b668") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0003b9b0(uVar6,1);\n      goto LAB_00024e6e;\n    }" ({ "{") (expression_statement "FUN_0003b9b0(uVar6,1);" (call_expression "FUN_0003b9b0(uVar6,1)" (identifier "FUN_0003b9b0") (argument_list "(uVar6,1)" (( "(") (identifier "uVar6") (, ",") (number_literal "1") () ")"))) (; ";")) (goto_statement "goto LAB_00024e6e;" (goto "goto") (statement_identifier "LAB_00024e6e") (; ";")) (} "}"))) (expression_statement "uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);" (assignment_expression "uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x20)" (* "*") (cast_expression "(undefined4 *)(DAT_0006b640 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x20)" (( "(") (binary_expression "DAT_0006b640 + 0x20" (identifier "DAT_0006b640") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }" (else "else") (compound_statement "{\n    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));\n    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);\n    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;\nLAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }\n    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);\nLAB_00024ec2:\n    iVar7 = DAT_0006b640;\n    if (local_34 == uVar5) goto LAB_00024e3c;\n    *(uint *)(DAT_0006b640 + 0x1c) = local_34;\n    *(undefined4 *)(iVar7 + 0x20) = local_24;\n    uVar6 = local_24;\n  }" ({ "{") (expression_statement "local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));" (assignment_expression "local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10))" (identifier "local_24") (= "=") (call_expression "FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10))" (identifier "FUN_0003a990") (argument_list "(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10))" (( "(") (identifier "uVar2") (, ",") (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x10)" (* "*") (cast_expression "(undefined4 *)(DAT_0006b640 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x10)" (( "(") (binary_expression "DAT_0006b640 + 0x10" (identifier "DAT_0006b640") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);" (assignment_expression "local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0)" (identifier "local_34") (= "=") (call_expression "FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0)" (identifier "FUN_000243f0") (argument_list "(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0)" (( "(") (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x10)" (* "*") (cast_expression "(undefined4 *)(DAT_0006b640 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x10)" (( "(") (binary_expression "DAT_0006b640 + 0x10" (identifier "DAT_0006b640") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (number_literal "0") (, ",") (identifier "local_24") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;" (if "if") (parenthesized_expression "((DAT_0006b664 & 0x1000000) != 0)" (( "(") (binary_expression "(DAT_0006b664 & 0x1000000) != 0" (parenthesized_expression "(DAT_0006b664 & 0x1000000)" (( "(") (binary_expression "DAT_0006b664 & 0x1000000" (identifier "DAT_0006b664") (& "&") (number_literal "0x1000000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00024e90;" (goto "goto") (statement_identifier "LAB_00024e90") (; ";"))) (labeled_statement "LAB_00024eb5:\n    if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }" (statement_identifier "LAB_00024eb5") (: ":") (if_statement "if ((_DAT_0006b668 & 2) == 0) {\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }" (if "if") (parenthesized_expression "((_DAT_0006b668 & 2) == 0)" (( "(") (binary_expression "(_DAT_0006b668 & 2) == 0" (parenthesized_expression "(_DAT_0006b668 & 2)" (( "(") (binary_expression "_DAT_0006b668 & 2" (identifier "_DAT_0006b668") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00024e3c:\n      iVar7 = DAT_0006b640;\n      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;\n      goto LAB_00024e43;\n    }" ({ "{") (labeled_statement "LAB_00024e3c:\n      iVar7 = DAT_0006b640;" (statement_identifier "LAB_00024e3c") (: ":") (expression_statement "iVar7 = DAT_0006b640;" (assignment_expression "iVar7 = DAT_0006b640" (identifier "iVar7") (= "=") (identifier "DAT_0006b640")) (; ";"))) (expression_statement "*(undefined4 *)(DAT_0006b640 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(DAT_0006b640 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(DAT_0006b640 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x1c)" (( "(") (binary_expression "DAT_0006b640 + 0x1c" (identifier "DAT_0006b640") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00024e43;" (goto "goto") (statement_identifier "LAB_00024e43") (; ";")) (} "}")))) (expression_statement "uVar5 = *(uint *)(DAT_0006b640 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(DAT_0006b640 + 0x1c)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(DAT_0006b640 + 0x1c)" (* "*") (cast_expression "(uint *)(DAT_0006b640 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x1c)" (( "(") (binary_expression "DAT_0006b640 + 0x1c" (identifier "DAT_0006b640") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (labeled_statement "LAB_00024ec2:\n    iVar7 = DAT_0006b640;" (statement_identifier "LAB_00024ec2") (: ":") (expression_statement "iVar7 = DAT_0006b640;" (assignment_expression "iVar7 = DAT_0006b640" (identifier "iVar7") (= "=") (identifier "DAT_0006b640")) (; ";"))) (if_statement "if (local_34 == uVar5) goto LAB_00024e3c;" (if "if") (parenthesized_expression "(local_34 == uVar5)" (( "(") (binary_expression "local_34 == uVar5" (identifier "local_34") (== "==") (identifier "uVar5")) () ")")) (goto_statement "goto LAB_00024e3c;" (goto "goto") (statement_identifier "LAB_00024e3c") (; ";"))) (expression_statement "*(uint *)(DAT_0006b640 + 0x1c) = local_34;" (assignment_expression "*(uint *)(DAT_0006b640 + 0x1c) = local_34" (pointer_expression "*(uint *)(DAT_0006b640 + 0x1c)" (* "*") (cast_expression "(uint *)(DAT_0006b640 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x1c)" (( "(") (binary_expression "DAT_0006b640 + 0x1c" (identifier "DAT_0006b640") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "*(undefined4 *)(iVar7 + 0x20) = local_24;" (assignment_expression "*(undefined4 *)(iVar7 + 0x20) = local_24" (pointer_expression "*(undefined4 *)(iVar7 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x20)" (( "(") (binary_expression "iVar7 + 0x20" (identifier "iVar7") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "local_24")) (; ";")) (expression_statement "uVar6 = local_24;" (assignment_expression "uVar6 = local_24" (identifier "uVar6") (= "=") (identifier "local_24")) (; ";")) (} "}")))) (expression_statement "cVar1 = FUN_00039610(uVar2,uVar6);" (assignment_expression "cVar1 = FUN_00039610(uVar2,uVar6)" (identifier "cVar1") (= "=") (call_expression "FUN_00039610(uVar2,uVar6)" (identifier "FUN_00039610") (argument_list "(uVar2,uVar6)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar6") () ")")))) (; ";")) (if_statement "if (cVar1 != '\0') {\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }" (if "if") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));\n  }" ({ "{") (expression_statement "FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));" (call_expression "FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c))" (identifier "FUN_0003b5b0") (argument_list "(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c))" (( "(") (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x10)" (* "*") (cast_expression "(undefined4 *)(DAT_0006b640 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x10)" (( "(") (binary_expression "DAT_0006b640 + 0x10" (identifier "DAT_0006b640") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(DAT_0006b640 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(DAT_0006b640 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0006b640 + 0x1c)" (( "(") (binary_expression "DAT_0006b640 + 0x1c" (identifier "DAT_0006b640") (+ "+") (number_literal "0x1c")) () ")")))) () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_00024e6e:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004be20();\n  }" (statement_identifier "LAB_00024e6e") (: ":") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004be20();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_0004be20();\n  }" ({ "{") (expression_statement "FUN_0004be20();" (call_expression "FUN_0004be20()" (identifier "FUN_0004be20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
  type_1 *old_current;
  type_2 _Var1;
  size_t column;
  size_t var_5;
  size_t var_4;
  type_3 *poVar4;
  int var_1;
  type_4 var_6;
  size_t leftedge;
  int var_12;
  type_5 uStack_14;
  
  uStack_14 = 0x24de9;
  var_12 = *(int *)(var_1 + 0x14);
  old_current = openfile->current;
  column = var_2();
  leftedge = 0;
  if ((flags[1] & 2) == 0) {
    var_6 = 0;
    if ((flags[0] & 0x1000000) == 0) goto LAB_00024e3c;
LAB_00024e90:
    var_5 = var_3(openfile->current->data);
    poVar4 = openfile;
    if (openfile->current->data[var_5] == '\0') goto LAB_00024eb5;
    var_4 = openfile->current_x;
    if (var_4 == var_5) goto LAB_00024e3c;
    if (((flags[1] & 2) != 0) && (var_5 < var_6)) goto LAB_00024ec2;
    openfile->current_x = var_5;
LAB_00024e43:
    var_5 = var_2();
    poVar4->placewewant = var_5;
    if ((flags[1] & 2) != 0) {
      var_7(old_current,FLOWING);
      goto LAB_00024e6e;
    }
    var_5 = openfile->placewewant;
  }
  else {
    leftedge = var_8(column,openfile->current);
    var_6 = var_9(openfile->current,&leftedge,false,leftedge,(type_2 *)0x0);
    if ((flags[0] & 0x1000000) != 0) goto LAB_00024e90;
LAB_00024eb5:
    if ((flags[1] & 2) == 0) {
LAB_00024e3c:
      poVar4 = openfile;
      openfile->current_x = 0;
      goto LAB_00024e43;
    }
    var_4 = openfile->current_x;
LAB_00024ec2:
    poVar4 = openfile;
    if (var_6 == var_4) goto LAB_00024e3c;
    openfile->current_x = var_6;
    poVar4->placewewant = leftedge;
    var_5 = leftedge;
  }
  _Var1 = var_10(column,var_5);
  if (_Var1) {
    var_11(openfile->current,openfile->current_x);
  }
LAB_00024e6e:
  if (var_12 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_13();
  }
  return;
}


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

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

void MASKED(void)

{
  char cVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  undefined4 uVar6;
  int iVar7;
  int in_GS_OFFSET;
  uint local_34;
  undefined4 local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x24de9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uVar6 = *(undefined4 *)(DAT_0006b640 + 0x10);
  uVar2 = FUN_00035980();
  local_24 = 0;
  if ((_DAT_0006b668 & 2) == 0) {
    local_34 = 0;
    if ((DAT_0006b664 & 0x1000000) == 0) goto LAB_00024e3c;
LAB_00024e90:
    uVar4 = FUN_00031760(**(undefined4 **)(DAT_0006b640 + 0x10));
    iVar7 = DAT_0006b640;
    if (*(char *)(**(int **)(DAT_0006b640 + 0x10) + uVar4) == '\0') goto LAB_00024eb5;
    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);
    if (uVar5 == uVar4) goto LAB_00024e3c;
    if (((_DAT_0006b668 & 2) != 0) && (uVar4 < local_34)) goto LAB_00024ec2;
    *(uint *)(DAT_0006b640 + 0x1c) = uVar4;
LAB_00024e43:
    uVar3 = FUN_00035980();
    *(undefined4 *)(iVar7 + 0x20) = uVar3;
    if ((_DAT_0006b668 & 2) != 0) {
      FUN_0003b9b0(uVar6,1);
      goto LAB_00024e6e;
    }
    uVar6 = *(undefined4 *)(DAT_0006b640 + 0x20);
  }
  else {
    local_24 = FUN_0003a990(uVar2,*(undefined4 *)(DAT_0006b640 + 0x10));
    local_34 = FUN_000243f0(*(undefined4 *)(DAT_0006b640 + 0x10),&local_24,0,local_24,0);
    if ((DAT_0006b664 & 0x1000000) != 0) goto LAB_00024e90;
LAB_00024eb5:
    if ((_DAT_0006b668 & 2) == 0) {
LAB_00024e3c:
      iVar7 = DAT_0006b640;
      *(undefined4 *)(DAT_0006b640 + 0x1c) = 0;
      goto LAB_00024e43;
    }
    uVar5 = *(uint *)(DAT_0006b640 + 0x1c);
LAB_00024ec2:
    iVar7 = DAT_0006b640;
    if (local_34 == uVar5) goto LAB_00024e3c;
    *(uint *)(DAT_0006b640 + 0x1c) = local_34;
    *(undefined4 *)(iVar7 + 0x20) = local_24;
    uVar6 = local_24;
  }
  cVar1 = FUN_00039610(uVar2,uVar6);
  if (cVar1 != '\0') {
    FUN_0003b5b0(*(undefined4 *)(DAT_0006b640 + 0x10),*(undefined4 *)(DAT_0006b640 + 0x1c));
  }
LAB_00024e6e:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0004be20();
  }
  return;
}

