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

void pos_init(void)

{
  int iVar1;
  POSITION *pPVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  uint local_28;
  int local_20;
  
  if (sc_height <= table_size) {
    return;
  }
  if (table == (POSITION *)0x0) {
    table = (POSITION *)ecalloc(sc_height,8);
LAB_00026b3c:
    if (sc_height < 1) {
      table_size = sc_height;
      return;
    }
    local_28 = 0;
    uVar4 = 0xffffffff;
    uVar6 = 0xffffffff;
    uVar5 = 0;
  }
  else {
    if (sc_height < 1) {
LAB_00026b1e:
      free(table);
      table = (POSITION *)ecalloc(sc_height,8);
      goto LAB_00026b3c;
    }
    uVar4 = (uint)*table;
    uVar6 = *(uint *)((int)table + 4);
    local_28 = ~uVar4;
    uVar5 = ~uVar6;
    if (local_28 == 0 && uVar5 == 0) {
      iVar1 = 0;
      do {
        iVar3 = iVar1;
        iVar1 = iVar3 + 1;
        if (sc_height == iVar1) goto LAB_00026b1e;
        uVar4 = *(uint *)(table + iVar1);
        uVar6 = *(uint *)((int)table + iVar1 * 8 + 4);
        local_28 = ~uVar4;
        uVar5 = ~uVar6;
      } while (local_28 == 0 && uVar5 == 0);
      local_20 = iVar3 + 2;
    }
    else {
      local_20 = 1;
    }
    free(table);
    pPVar2 = (POSITION *)ecalloc(sc_height,8);
    table_size = sc_height;
    table = pPVar2;
    if (sc_height < 1) goto LAB_00026b86;
  }
  iVar1 = sc_height;
  pPVar2 = table;
  iVar3 = 0;
  table_size = sc_height;
  do {
    *(undefined4 *)(pPVar2 + iVar3) = 0xffffffff;
    *(undefined4 *)((int)pPVar2 + iVar3 * 8 + 4) = 0xffffffff;
    iVar3 = iVar3 + 1;
  } while (iVar3 < iVar1);
  if (local_28 == 0 && uVar5 == 0) {
    return;
  }
LAB_00026b86:
  *(uint *)(pPVar2 + local_20 + 0x1fffffff) = uVar4;
  *(uint *)((int)pPVar2 + (local_20 + 0x1fffffff) * 8 + 4) = uVar6;
  return;
}



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

void FUN_00026a90(void)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  uint local_28;
  int local_20;
  
  if (DAT_000418e4 <= DAT_00041000) {
    return;
  }
  if (DAT_00041004 == (uint *)0x0) {
    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);
LAB_00026b3c:
    if (DAT_000418e4 < 1) {
      DAT_00041000 = DAT_000418e4;
      return;
    }
    local_28 = 0;
    uVar4 = 0xffffffff;
    uVar6 = 0xffffffff;
    uVar5 = 0;
  }
  else {
    if (DAT_000418e4 < 1) {
LAB_00026b1e:
      free(DAT_00041004);
      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);
      goto LAB_00026b3c;
    }
    uVar4 = *DAT_00041004;
    uVar6 = DAT_00041004[1];
    local_28 = ~uVar4;
    uVar5 = ~uVar6;
    if (local_28 == 0 && uVar5 == 0) {
      iVar1 = 0;
      do {
        iVar2 = iVar1;
        iVar1 = iVar2 + 1;
        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;
        uVar4 = DAT_00041004[iVar1 * 2];
        uVar6 = DAT_00041004[iVar1 * 2 + 1];
        local_28 = ~uVar4;
        uVar5 = ~uVar6;
      } while (local_28 == 0 && uVar5 == 0);
      local_20 = iVar2 + 2;
    }
    else {
      local_20 = 1;
    }
    free(DAT_00041004);
    iVar1 = FUN_00012c20(DAT_000418e4,8);
    DAT_00041000 = DAT_000418e4;
    DAT_00041004 = (uint *)iVar1;
    if (DAT_000418e4 < 1) goto LAB_00026b86;
  }
  iVar2 = DAT_000418e4;
  iVar1 = (int)DAT_00041004;
  iVar3 = 0;
  DAT_00041000 = DAT_000418e4;
  do {
    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;
    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;
    iVar3 = iVar3 + 1;
  } while (iVar3 < iVar2);
  if (local_28 == 0 && uVar5 == 0) {
    return;
  }
LAB_00026b86:
  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;
  *(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000129a0
ADD EBX,0x153ff
SUB ESP,0x2c
LEA EAX,[EBX + 0x5a4c]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x10],EAX
CMP EAX,dword ptr [EBX + 0x5168]
JLE 0x00026b97
MOV EDX,dword ptr [EBX + 0x516c]
TEST EDX,EDX
JZ 0x00026be0
TEST EAX,EAX
JLE 0x00026b1e
MOV EBP,dword ptr [EDX]
MOV EDI,dword ptr [EDX + 0x4]
MOV EAX,EBP
MOV ESI,EDI
NOT EAX
NOT ESI
MOV dword ptr [ESP + 0x14],EAX
OR EAX,ESI
JNZ 0x00026bfd
XOR ECX,ECX
JMP 0x00026b15
MOV EBP,dword ptr [EDX + EAX*0x8]
MOV EDI,dword ptr [EDX + EAX*0x8 + 0x4]
MOV ESI,EBP
MOV dword ptr [ESP + 0xc],EDI
NOT ESI
MOV EDI,ESI
MOV dword ptr [ESP + 0x14],ESI
MOV ESI,dword ptr [ESP + 0xc]
NOT ESI
OR EDI,ESI
JNZ 0x00026ba0
MOV ECX,EAX
LEA EAX,[ECX + 0x1]
CMP dword ptr [ESP + 0x10],EAX
JNZ 0x00026af0
SUB ESP,0xc
PUSH EDX
CALL 0x000120e0
POP EAX
POP EDX
PUSH 0x8
MOV EDI,dword ptr [ESP + 0x24]
PUSH dword ptr [EDI]
CALL 0x00012c20
MOV dword ptr [EBX + 0x516c],EAX
MOV EDX,dword ptr [EDI]
ADD ESP,0x10
MOV dword ptr [EBX + 0x5168],EDX
TEST EDX,EDX
JLE 0x00026b97
MOV dword ptr [ESP + 0x14],0x0
MOV EBP,0xffffffff
MOV EDI,0xffffffff
XOR ESI,ESI
XOR ECX,ECX
LEA ESI,[ESI]
MOV dword ptr [EAX + ECX*0x8],0xffffffff
MOV dword ptr [EAX + ECX*0x8 + 0x4],0xffffffff
ADD ECX,0x1
CMP ECX,EDX
JL 0x00026b68
MOV EBX,dword ptr [ESP + 0x14]
OR EBX,ESI
JZ 0x00026b97
MOV EDX,dword ptr [ESP + 0x1c]
ADD EDX,0x1fffffff
MOV dword ptr [EAX + EDX*0x8],EBP
MOV dword ptr [EAX + EDX*0x8 + 0x4],EDI
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[ECX + 0x2]
MOV EDI,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x1c],EAX
SUB ESP,0xc
PUSH EDX
CALL 0x000120e0
POP ECX
POP EAX
PUSH 0x8
MOV EAX,dword ptr [ESP + 0x24]
PUSH dword ptr [EAX]
CALL 0x00012c20
MOV EDX,dword ptr [ESP + 0x28]
ADD ESP,0x10
MOV dword ptr [EBX + 0x516c],EAX
MOV EDX,dword ptr [EDX]
MOV dword ptr [EBX + 0x5168],EDX
TEST EDX,EDX
JG 0x00026b5f
JMP 0x00026b86
SUB ESP,0x8
PUSH 0x8
PUSH dword ptr [ESP + 0x1c]
CALL 0x00012c20
MOV EDI,dword ptr [ESP + 0x28]
MOV dword ptr [EBX + 0x516c],EAX
JMP 0x00026b3c
MOV dword ptr [ESP + 0x1c],0x1
JMP 0x00026bab
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00026a90(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint local_28;\n  int local_20;\n  \n  if (DAT_000418e4 <= DAT_00041000) {\n    return;\n  }\n  if (DAT_00041004 == (uint *)0x0) {\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }\n  iVar2 = DAT_000418e4;\n  iVar1 = (int)DAT_00041004;\n  iVar3 = 0;\n  DAT_00041000 = DAT_000418e4;\n  do {\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar2);\n  if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }\nLAB_00026b86:\n  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;\n  *(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;\n  return;\n}\n\n" comment (function_definition "void FUN_00026a90(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint local_28;\n  int local_20;\n  \n  if (DAT_000418e4 <= DAT_00041000) {\n    return;\n  }\n  if (DAT_00041004 == (uint *)0x0) {\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }\n  iVar2 = DAT_000418e4;\n  iVar1 = (int)DAT_00041004;\n  iVar3 = 0;\n  DAT_00041000 = DAT_000418e4;\n  do {\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar2);\n  if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }\nLAB_00026b86:\n  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;\n  *(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;\n  return;\n}" primitive_type (function_declarator "FUN_00026a90(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint local_28;\n  int local_20;\n  \n  if (DAT_000418e4 <= DAT_00041000) {\n    return;\n  }\n  if (DAT_00041004 == (uint *)0x0) {\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }\n  iVar2 = DAT_000418e4;\n  iVar1 = (int)DAT_00041004;\n  iVar3 = 0;\n  DAT_00041000 = DAT_000418e4;\n  do {\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar2);\n  if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }\nLAB_00026b86:\n  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;\n  *(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (if_statement "if (DAT_000418e4 <= DAT_00041000) {\n    return;\n  }" if (parenthesized_expression "(DAT_000418e4 <= DAT_00041000)" ( (binary_expression "DAT_000418e4 <= DAT_00041000" identifier <= identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (DAT_00041004 == (uint *)0x0) {\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }" if (parenthesized_expression "(DAT_00041004 == (uint *)0x0)" ( (binary_expression "DAT_00041004 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }" { (expression_statement "DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);" (assignment_expression "DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8)" identifier = (cast_expression "(uint *)FUN_00012c20(DAT_000418e4,8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00012c20(DAT_000418e4,8)" identifier (argument_list "(DAT_000418e4,8)" ( identifier , number_literal ))))) ;) (labeled_statement "LAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }" statement_identifier : (if_statement "if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }" if (parenthesized_expression "(DAT_000418e4 < 1)" ( (binary_expression "DAT_000418e4 < 1" identifier < number_literal) )) (compound_statement "{\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }" { (expression_statement "DAT_00041000 = DAT_000418e4;" (assignment_expression "DAT_00041000 = DAT_000418e4" identifier = identifier) ;) (return_statement "return;" return ;) }))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0xffffffff;" (assignment_expression "uVar4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar6 = 0xffffffff;" (assignment_expression "uVar6 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }" else (compound_statement "{\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }" { (if_statement "if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }" if (parenthesized_expression "(DAT_000418e4 < 1)" ( (binary_expression "DAT_000418e4 < 1" identifier < number_literal) )) (compound_statement "{\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }" { (labeled_statement "LAB_00026b1e:\n      free(DAT_00041004);" statement_identifier : (expression_statement "free(DAT_00041004);" (call_expression "free(DAT_00041004)" identifier (argument_list "(DAT_00041004)" ( identifier ))) ;)) (expression_statement "DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);" (assignment_expression "DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8)" identifier = (cast_expression "(uint *)FUN_00012c20(DAT_000418e4,8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00012c20(DAT_000418e4,8)" identifier (argument_list "(DAT_000418e4,8)" ( identifier , number_literal ))))) ;) (goto_statement "goto LAB_00026b3c;" goto statement_identifier ;) })) (expression_statement "uVar4 = *DAT_00041004;" (assignment_expression "uVar4 = *DAT_00041004" identifier = (pointer_expression "*DAT_00041004" * identifier)) ;) (expression_statement "uVar6 = DAT_00041004[1];" (assignment_expression "uVar6 = DAT_00041004[1]" identifier = (subscript_expression "DAT_00041004[1]" identifier [ number_literal ])) ;) (expression_statement "local_28 = ~uVar4;" (assignment_expression "local_28 = ~uVar4" identifier = (unary_expression "~uVar4" ~ identifier)) ;) (expression_statement "uVar5 = ~uVar6;" (assignment_expression "uVar5 = ~uVar6" identifier = (unary_expression "~uVar6" ~ identifier)) ;) (if_statement "if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }" if (parenthesized_expression "(local_28 == 0 && uVar5 == 0)" ( (binary_expression "local_28 == 0 && uVar5 == 0" (binary_expression "local_28 == 0" identifier == number_literal) && (binary_expression "uVar5 == 0" identifier == number_literal)) )) (compound_statement "{\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);" do (compound_statement "{\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      }" { (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) (expression_statement "iVar1 = iVar2 + 1;" (assignment_expression "iVar1 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (DAT_000418e4 == iVar1) goto LAB_00026b1e;" if (parenthesized_expression "(DAT_000418e4 == iVar1)" ( (binary_expression "DAT_000418e4 == iVar1" identifier == identifier) )) (goto_statement "goto LAB_00026b1e;" goto statement_identifier ;)) (expression_statement "uVar4 = DAT_00041004[iVar1 * 2];" (assignment_expression "uVar4 = DAT_00041004[iVar1 * 2]" identifier = (subscript_expression "DAT_00041004[iVar1 * 2]" identifier [ (binary_expression "iVar1 * 2" identifier * number_literal) ])) ;) (expression_statement "uVar6 = DAT_00041004[iVar1 * 2 + 1];" (assignment_expression "uVar6 = DAT_00041004[iVar1 * 2 + 1]" identifier = (subscript_expression "DAT_00041004[iVar1 * 2 + 1]" identifier [ (binary_expression "iVar1 * 2 + 1" (binary_expression "iVar1 * 2" identifier * number_literal) + number_literal) ])) ;) (expression_statement "local_28 = ~uVar4;" (assignment_expression "local_28 = ~uVar4" identifier = (unary_expression "~uVar4" ~ identifier)) ;) (expression_statement "uVar5 = ~uVar6;" (assignment_expression "uVar5 = ~uVar6" identifier = (unary_expression "~uVar6" ~ identifier)) ;) }) while (parenthesized_expression "(local_28 == 0 && uVar5 == 0)" ( (binary_expression "local_28 == 0 && uVar5 == 0" (binary_expression "local_28 == 0" identifier == number_literal) && (binary_expression "uVar5 == 0" identifier == number_literal)) )) ;) (expression_statement "local_20 = iVar2 + 2;" (assignment_expression "local_20 = iVar2 + 2" identifier = (binary_expression "iVar2 + 2" identifier + number_literal)) ;) }) (else_clause "else {\n      local_20 = 1;\n    }" else (compound_statement "{\n      local_20 = 1;\n    }" { (expression_statement "local_20 = 1;" (assignment_expression "local_20 = 1" identifier = number_literal) ;) }))) (expression_statement "free(DAT_00041004);" (call_expression "free(DAT_00041004)" identifier (argument_list "(DAT_00041004)" ( identifier ))) ;) (expression_statement "iVar1 = FUN_00012c20(DAT_000418e4,8);" (assignment_expression "iVar1 = FUN_00012c20(DAT_000418e4,8)" identifier = (call_expression "FUN_00012c20(DAT_000418e4,8)" identifier (argument_list "(DAT_000418e4,8)" ( identifier , number_literal )))) ;) (expression_statement "DAT_00041000 = DAT_000418e4;" (assignment_expression "DAT_00041000 = DAT_000418e4" identifier = identifier) ;) (expression_statement "DAT_00041004 = (uint *)iVar1;" (assignment_expression "DAT_00041004 = (uint *)iVar1" identifier = (cast_expression "(uint *)iVar1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (DAT_000418e4 < 1) goto LAB_00026b86;" if (parenthesized_expression "(DAT_000418e4 < 1)" ( (binary_expression "DAT_000418e4 < 1" identifier < number_literal) )) (goto_statement "goto LAB_00026b86;" goto statement_identifier ;)) }))) (expression_statement "iVar2 = DAT_000418e4;" (assignment_expression "iVar2 = DAT_000418e4" identifier = identifier) ;) (expression_statement "iVar1 = (int)DAT_00041004;" (assignment_expression "iVar1 = (int)DAT_00041004" identifier = (cast_expression "(int)DAT_00041004" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "DAT_00041000 = DAT_000418e4;" (assignment_expression "DAT_00041000 = DAT_000418e4" identifier = identifier) ;) (do_statement "do {\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar2);" do (compound_statement "{\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  }" { (expression_statement "*(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + iVar3 * 8)" * (cast_expression "(undefined4 *)(iVar1 + iVar3 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar3 * 8)" ( (binary_expression "iVar1 + iVar3 * 8" identifier + (binary_expression "iVar3 * 8" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4)" * (cast_expression "(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + (iVar3 * 2 + 1) * 4)" ( (binary_expression "iVar1 + (iVar3 * 2 + 1) * 4" identifier + (binary_expression "(iVar3 * 2 + 1) * 4" (parenthesized_expression "(iVar3 * 2 + 1)" ( (binary_expression "iVar3 * 2 + 1" (binary_expression "iVar3 * 2" identifier * number_literal) + number_literal) )) * number_literal)) )))) = number_literal) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < iVar2)" ( (binary_expression "iVar3 < iVar2" identifier < identifier) )) ;) (if_statement "if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }" if (parenthesized_expression "(local_28 == 0 && uVar5 == 0)" ( (binary_expression "local_28 == 0 && uVar5 == 0" (binary_expression "local_28 == 0" identifier == number_literal) && (binary_expression "uVar5 == 0" identifier == number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_00026b86:\n  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;" statement_identifier : (expression_statement "*(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;" (assignment_expression "*(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4" (pointer_expression "*(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8)" * (cast_expression "(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + (local_20 + 0x1fffffff) * 8)" ( (binary_expression "iVar1 + (local_20 + 0x1fffffff) * 8" identifier + (binary_expression "(local_20 + 0x1fffffff) * 8" (parenthesized_expression "(local_20 + 0x1fffffff)" ( (binary_expression "local_20 + 0x1fffffff" identifier + number_literal) )) * number_literal)) )))) = identifier) ;)) (expression_statement "*(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;" (assignment_expression "*(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6" (pointer_expression "*(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4)" * (cast_expression "(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4)" ( (binary_expression "iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4" identifier + (binary_expression "((local_20 + 0x1fffffff) * 2 + 1) * 4" (parenthesized_expression "((local_20 + 0x1fffffff) * 2 + 1)" ( (binary_expression "(local_20 + 0x1fffffff) * 2 + 1" (binary_expression "(local_20 + 0x1fffffff) * 2" (parenthesized_expression "(local_20 + 0x1fffffff)" ( (binary_expression "local_20 + 0x1fffffff" identifier + number_literal) )) * number_literal) + number_literal) )) * number_literal)) )))) = identifier) ;) (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 pos_init(void)\n\n{\n  int iVar1;\n  POSITION *pPVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint local_28;\n  int local_20;\n  \n  if (sc_height <= table_size) {\n    return;\n  }\n  if (table == (POSITION *)0x0) {\n    table = (POSITION *)ecalloc(sc_height,8);\nLAB_00026b3c:\n    if (sc_height < 1) {\n      table_size = sc_height;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (sc_height < 1) {\nLAB_00026b1e:\n      free(table);\n      table = (POSITION *)ecalloc(sc_height,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = (uint)*table;\n    uVar6 = *(uint *)((int)table + 4);\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar3 = iVar1;\n        iVar1 = iVar3 + 1;\n        if (sc_height == iVar1) goto LAB_00026b1e;\n        uVar4 = *(uint *)(table + iVar1);\n        uVar6 = *(uint *)((int)table + iVar1 * 8 + 4);\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar3 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(table);\n    pPVar2 = (POSITION *)ecalloc(sc_height,8);\n    table_size = sc_height;\n    table = pPVar2;\n    if (sc_height < 1) goto LAB_00026b86;\n  }\n  iVar1 = sc_height;\n  pPVar2 = table;\n  iVar3 = 0;\n  table_size = sc_height;\n  do {\n    *(undefined4 *)(pPVar2 + iVar3) = 0xffffffff;\n    *(undefined4 *)((int)pPVar2 + iVar3 * 8 + 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar1);\n  if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }\nLAB_00026b86:\n  *(uint *)(pPVar2 + local_20 + 0x1fffffff) = uVar4;\n  *(uint *)((int)pPVar2 + (local_20 + 0x1fffffff) * 8 + 4) = uVar6;\n  return;\n}\n\n" comment comment (function_definition "void pos_init(void)\n\n{\n  int iVar1;\n  POSITION *pPVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint local_28;\n  int local_20;\n  \n  if (sc_height <= table_size) {\n    return;\n  }\n  if (table == (POSITION *)0x0) {\n    table = (POSITION *)ecalloc(sc_height,8);\nLAB_00026b3c:\n    if (sc_height < 1) {\n      table_size = sc_height;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (sc_height < 1) {\nLAB_00026b1e:\n      free(table);\n      table = (POSITION *)ecalloc(sc_height,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = (uint)*table;\n    uVar6 = *(uint *)((int)table + 4);\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar3 = iVar1;\n        iVar1 = iVar3 + 1;\n        if (sc_height == iVar1) goto LAB_00026b1e;\n        uVar4 = *(uint *)(table + iVar1);\n        uVar6 = *(uint *)((int)table + iVar1 * 8 + 4);\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar3 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(table);\n    pPVar2 = (POSITION *)ecalloc(sc_height,8);\n    table_size = sc_height;\n    table = pPVar2;\n    if (sc_height < 1) goto LAB_00026b86;\n  }\n  iVar1 = sc_height;\n  pPVar2 = table;\n  iVar3 = 0;\n  table_size = sc_height;\n  do {\n    *(undefined4 *)(pPVar2 + iVar3) = 0xffffffff;\n    *(undefined4 *)((int)pPVar2 + iVar3 * 8 + 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar1);\n  if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }\nLAB_00026b86:\n  *(uint *)(pPVar2 + local_20 + 0x1fffffff) = uVar4;\n  *(uint *)((int)pPVar2 + (local_20 + 0x1fffffff) * 8 + 4) = uVar6;\n  return;\n}" primitive_type (function_declarator "pos_init(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  POSITION *pPVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint local_28;\n  int local_20;\n  \n  if (sc_height <= table_size) {\n    return;\n  }\n  if (table == (POSITION *)0x0) {\n    table = (POSITION *)ecalloc(sc_height,8);\nLAB_00026b3c:\n    if (sc_height < 1) {\n      table_size = sc_height;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (sc_height < 1) {\nLAB_00026b1e:\n      free(table);\n      table = (POSITION *)ecalloc(sc_height,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = (uint)*table;\n    uVar6 = *(uint *)((int)table + 4);\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar3 = iVar1;\n        iVar1 = iVar3 + 1;\n        if (sc_height == iVar1) goto LAB_00026b1e;\n        uVar4 = *(uint *)(table + iVar1);\n        uVar6 = *(uint *)((int)table + iVar1 * 8 + 4);\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar3 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(table);\n    pPVar2 = (POSITION *)ecalloc(sc_height,8);\n    table_size = sc_height;\n    table = pPVar2;\n    if (sc_height < 1) goto LAB_00026b86;\n  }\n  iVar1 = sc_height;\n  pPVar2 = table;\n  iVar3 = 0;\n  table_size = sc_height;\n  do {\n    *(undefined4 *)(pPVar2 + iVar3) = 0xffffffff;\n    *(undefined4 *)((int)pPVar2 + iVar3 * 8 + 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar1);\n  if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }\nLAB_00026b86:\n  *(uint *)(pPVar2 + local_20 + 0x1fffffff) = uVar4;\n  *(uint *)((int)pPVar2 + (local_20 + 0x1fffffff) * 8 + 4) = uVar6;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "POSITION *pPVar2;" type_identifier (pointer_declarator "*pPVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (if_statement "if (sc_height <= table_size) {\n    return;\n  }" if (parenthesized_expression "(sc_height <= table_size)" ( (binary_expression "sc_height <= table_size" identifier <= identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (table == (POSITION *)0x0) {\n    table = (POSITION *)ecalloc(sc_height,8);\nLAB_00026b3c:\n    if (sc_height < 1) {\n      table_size = sc_height;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (sc_height < 1) {\nLAB_00026b1e:\n      free(table);\n      table = (POSITION *)ecalloc(sc_height,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = (uint)*table;\n    uVar6 = *(uint *)((int)table + 4);\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar3 = iVar1;\n        iVar1 = iVar3 + 1;\n        if (sc_height == iVar1) goto LAB_00026b1e;\n        uVar4 = *(uint *)(table + iVar1);\n        uVar6 = *(uint *)((int)table + iVar1 * 8 + 4);\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar3 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(table);\n    pPVar2 = (POSITION *)ecalloc(sc_height,8);\n    table_size = sc_height;\n    table = pPVar2;\n    if (sc_height < 1) goto LAB_00026b86;\n  }" if (parenthesized_expression "(table == (POSITION *)0x0)" ( (binary_expression "table == (POSITION *)0x0" identifier == (cast_expression "(POSITION *)0x0" ( (type_descriptor "POSITION *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    table = (POSITION *)ecalloc(sc_height,8);\nLAB_00026b3c:\n    if (sc_height < 1) {\n      table_size = sc_height;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }" { (expression_statement "table = (POSITION *)ecalloc(sc_height,8);" (assignment_expression "table = (POSITION *)ecalloc(sc_height,8)" identifier = (cast_expression "(POSITION *)ecalloc(sc_height,8)" ( (type_descriptor "POSITION *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "ecalloc(sc_height,8)" identifier (argument_list "(sc_height,8)" ( identifier , number_literal ))))) ;) (labeled_statement "LAB_00026b3c:\n    if (sc_height < 1) {\n      table_size = sc_height;\n      return;\n    }" statement_identifier : (if_statement "if (sc_height < 1) {\n      table_size = sc_height;\n      return;\n    }" if (parenthesized_expression "(sc_height < 1)" ( (binary_expression "sc_height < 1" identifier < number_literal) )) (compound_statement "{\n      table_size = sc_height;\n      return;\n    }" { (expression_statement "table_size = sc_height;" (assignment_expression "table_size = sc_height" identifier = identifier) ;) (return_statement "return;" return ;) }))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0xffffffff;" (assignment_expression "uVar4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar6 = 0xffffffff;" (assignment_expression "uVar6 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    if (sc_height < 1) {\nLAB_00026b1e:\n      free(table);\n      table = (POSITION *)ecalloc(sc_height,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = (uint)*table;\n    uVar6 = *(uint *)((int)table + 4);\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar3 = iVar1;\n        iVar1 = iVar3 + 1;\n        if (sc_height == iVar1) goto LAB_00026b1e;\n        uVar4 = *(uint *)(table + iVar1);\n        uVar6 = *(uint *)((int)table + iVar1 * 8 + 4);\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar3 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(table);\n    pPVar2 = (POSITION *)ecalloc(sc_height,8);\n    table_size = sc_height;\n    table = pPVar2;\n    if (sc_height < 1) goto LAB_00026b86;\n  }" else (compound_statement "{\n    if (sc_height < 1) {\nLAB_00026b1e:\n      free(table);\n      table = (POSITION *)ecalloc(sc_height,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = (uint)*table;\n    uVar6 = *(uint *)((int)table + 4);\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar3 = iVar1;\n        iVar1 = iVar3 + 1;\n        if (sc_height == iVar1) goto LAB_00026b1e;\n        uVar4 = *(uint *)(table + iVar1);\n        uVar6 = *(uint *)((int)table + iVar1 * 8 + 4);\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar3 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(table);\n    pPVar2 = (POSITION *)ecalloc(sc_height,8);\n    table_size = sc_height;\n    table = pPVar2;\n    if (sc_height < 1) goto LAB_00026b86;\n  }" { (if_statement "if (sc_height < 1) {\nLAB_00026b1e:\n      free(table);\n      table = (POSITION *)ecalloc(sc_height,8);\n      goto LAB_00026b3c;\n    }" if (parenthesized_expression "(sc_height < 1)" ( (binary_expression "sc_height < 1" identifier < number_literal) )) (compound_statement "{\nLAB_00026b1e:\n      free(table);\n      table = (POSITION *)ecalloc(sc_height,8);\n      goto LAB_00026b3c;\n    }" { (labeled_statement "LAB_00026b1e:\n      free(table);" statement_identifier : (expression_statement "free(table);" (call_expression "free(table)" identifier (argument_list "(table)" ( identifier ))) ;)) (expression_statement "table = (POSITION *)ecalloc(sc_height,8);" (assignment_expression "table = (POSITION *)ecalloc(sc_height,8)" identifier = (cast_expression "(POSITION *)ecalloc(sc_height,8)" ( (type_descriptor "POSITION *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "ecalloc(sc_height,8)" identifier (argument_list "(sc_height,8)" ( identifier , number_literal ))))) ;) (goto_statement "goto LAB_00026b3c;" goto statement_identifier ;) })) (expression_statement "uVar4 = (uint)*table;" (assignment_expression "uVar4 = (uint)*table" identifier = (binary_expression "(uint)*table" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar6 = *(uint *)((int)table + 4);" (assignment_expression "uVar6 = *(uint *)((int)table + 4)" identifier = (pointer_expression "*(uint *)((int)table + 4)" * (cast_expression "(uint *)((int)table + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)table + 4)" ( (binary_expression "(int)table + 4" (cast_expression "(int)table" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "local_28 = ~uVar4;" (assignment_expression "local_28 = ~uVar4" identifier = (unary_expression "~uVar4" ~ identifier)) ;) (expression_statement "uVar5 = ~uVar6;" (assignment_expression "uVar5 = ~uVar6" identifier = (unary_expression "~uVar6" ~ identifier)) ;) (if_statement "if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar3 = iVar1;\n        iVar1 = iVar3 + 1;\n        if (sc_height == iVar1) goto LAB_00026b1e;\n        uVar4 = *(uint *)(table + iVar1);\n        uVar6 = *(uint *)((int)table + iVar1 * 8 + 4);\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar3 + 2;\n    }\n    else {\n      local_20 = 1;\n    }" if (parenthesized_expression "(local_28 == 0 && uVar5 == 0)" ( (binary_expression "local_28 == 0 && uVar5 == 0" (binary_expression "local_28 == 0" identifier == number_literal) && (binary_expression "uVar5 == 0" identifier == number_literal)) )) (compound_statement "{\n      iVar1 = 0;\n      do {\n        iVar3 = iVar1;\n        iVar1 = iVar3 + 1;\n        if (sc_height == iVar1) goto LAB_00026b1e;\n        uVar4 = *(uint *)(table + iVar1);\n        uVar6 = *(uint *)((int)table + iVar1 * 8 + 4);\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar3 + 2;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = iVar1;\n        iVar1 = iVar3 + 1;\n        if (sc_height == iVar1) goto LAB_00026b1e;\n        uVar4 = *(uint *)(table + iVar1);\n        uVar6 = *(uint *)((int)table + iVar1 * 8 + 4);\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);" do (compound_statement "{\n        iVar3 = iVar1;\n        iVar1 = iVar3 + 1;\n        if (sc_height == iVar1) goto LAB_00026b1e;\n        uVar4 = *(uint *)(table + iVar1);\n        uVar6 = *(uint *)((int)table + iVar1 * 8 + 4);\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      }" { (expression_statement "iVar3 = iVar1;" (assignment_expression "iVar3 = iVar1" identifier = identifier) ;) (expression_statement "iVar1 = iVar3 + 1;" (assignment_expression "iVar1 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if (sc_height == iVar1) goto LAB_00026b1e;" if (parenthesized_expression "(sc_height == iVar1)" ( (binary_expression "sc_height == iVar1" identifier == identifier) )) (goto_statement "goto LAB_00026b1e;" goto statement_identifier ;)) (expression_statement "uVar4 = *(uint *)(table + iVar1);" (assignment_expression "uVar4 = *(uint *)(table + iVar1)" identifier = (pointer_expression "*(uint *)(table + iVar1)" * (cast_expression "(uint *)(table + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(table + iVar1)" ( (binary_expression "table + iVar1" identifier + identifier) ))))) ;) (expression_statement "uVar6 = *(uint *)((int)table + iVar1 * 8 + 4);" (assignment_expression "uVar6 = *(uint *)((int)table + iVar1 * 8 + 4)" identifier = (pointer_expression "*(uint *)((int)table + iVar1 * 8 + 4)" * (cast_expression "(uint *)((int)table + iVar1 * 8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)table + iVar1 * 8 + 4)" ( (binary_expression "(int)table + iVar1 * 8 + 4" (binary_expression "(int)table + iVar1 * 8" (cast_expression "(int)table" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar1 * 8" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "local_28 = ~uVar4;" (assignment_expression "local_28 = ~uVar4" identifier = (unary_expression "~uVar4" ~ identifier)) ;) (expression_statement "uVar5 = ~uVar6;" (assignment_expression "uVar5 = ~uVar6" identifier = (unary_expression "~uVar6" ~ identifier)) ;) }) while (parenthesized_expression "(local_28 == 0 && uVar5 == 0)" ( (binary_expression "local_28 == 0 && uVar5 == 0" (binary_expression "local_28 == 0" identifier == number_literal) && (binary_expression "uVar5 == 0" identifier == number_literal)) )) ;) (expression_statement "local_20 = iVar3 + 2;" (assignment_expression "local_20 = iVar3 + 2" identifier = (binary_expression "iVar3 + 2" identifier + number_literal)) ;) }) (else_clause "else {\n      local_20 = 1;\n    }" else (compound_statement "{\n      local_20 = 1;\n    }" { (expression_statement "local_20 = 1;" (assignment_expression "local_20 = 1" identifier = number_literal) ;) }))) (expression_statement "free(table);" (call_expression "free(table)" identifier (argument_list "(table)" ( identifier ))) ;) (expression_statement "pPVar2 = (POSITION *)ecalloc(sc_height,8);" (assignment_expression "pPVar2 = (POSITION *)ecalloc(sc_height,8)" identifier = (cast_expression "(POSITION *)ecalloc(sc_height,8)" ( (type_descriptor "POSITION *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "ecalloc(sc_height,8)" identifier (argument_list "(sc_height,8)" ( identifier , number_literal ))))) ;) (expression_statement "table_size = sc_height;" (assignment_expression "table_size = sc_height" identifier = identifier) ;) (expression_statement "table = pPVar2;" (assignment_expression "table = pPVar2" identifier = identifier) ;) (if_statement "if (sc_height < 1) goto LAB_00026b86;" if (parenthesized_expression "(sc_height < 1)" ( (binary_expression "sc_height < 1" identifier < number_literal) )) (goto_statement "goto LAB_00026b86;" goto statement_identifier ;)) }))) (expression_statement "iVar1 = sc_height;" (assignment_expression "iVar1 = sc_height" identifier = identifier) ;) (expression_statement "pPVar2 = table;" (assignment_expression "pPVar2 = table" identifier = identifier) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "table_size = sc_height;" (assignment_expression "table_size = sc_height" identifier = identifier) ;) (do_statement "do {\n    *(undefined4 *)(pPVar2 + iVar3) = 0xffffffff;\n    *(undefined4 *)((int)pPVar2 + iVar3 * 8 + 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar1);" do (compound_statement "{\n    *(undefined4 *)(pPVar2 + iVar3) = 0xffffffff;\n    *(undefined4 *)((int)pPVar2 + iVar3 * 8 + 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  }" { (expression_statement "*(undefined4 *)(pPVar2 + iVar3) = 0xffffffff;" (assignment_expression "*(undefined4 *)(pPVar2 + iVar3) = 0xffffffff" (pointer_expression "*(undefined4 *)(pPVar2 + iVar3)" * (cast_expression "(undefined4 *)(pPVar2 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pPVar2 + iVar3)" ( (binary_expression "pPVar2 + iVar3" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)pPVar2 + iVar3 * 8 + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)pPVar2 + iVar3 * 8 + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)pPVar2 + iVar3 * 8 + 4)" * (cast_expression "(undefined4 *)((int)pPVar2 + iVar3 * 8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pPVar2 + iVar3 * 8 + 4)" ( (binary_expression "(int)pPVar2 + iVar3 * 8 + 4" (binary_expression "(int)pPVar2 + iVar3 * 8" (cast_expression "(int)pPVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar3 * 8" identifier * number_literal)) + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < iVar1)" ( (binary_expression "iVar3 < iVar1" identifier < identifier) )) ;) (if_statement "if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }" if (parenthesized_expression "(local_28 == 0 && uVar5 == 0)" ( (binary_expression "local_28 == 0 && uVar5 == 0" (binary_expression "local_28 == 0" identifier == number_literal) && (binary_expression "uVar5 == 0" identifier == number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_00026b86:\n  *(uint *)(pPVar2 + local_20 + 0x1fffffff) = uVar4;" statement_identifier : (expression_statement "*(uint *)(pPVar2 + local_20 + 0x1fffffff) = uVar4;" (assignment_expression "*(uint *)(pPVar2 + local_20 + 0x1fffffff) = uVar4" (pointer_expression "*(uint *)(pPVar2 + local_20 + 0x1fffffff)" * (cast_expression "(uint *)(pPVar2 + local_20 + 0x1fffffff)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pPVar2 + local_20 + 0x1fffffff)" ( (binary_expression "pPVar2 + local_20 + 0x1fffffff" (binary_expression "pPVar2 + local_20" identifier + identifier) + number_literal) )))) = identifier) ;)) (expression_statement "*(uint *)((int)pPVar2 + (local_20 + 0x1fffffff) * 8 + 4) = uVar6;" (assignment_expression "*(uint *)((int)pPVar2 + (local_20 + 0x1fffffff) * 8 + 4) = uVar6" (pointer_expression "*(uint *)((int)pPVar2 + (local_20 + 0x1fffffff) * 8 + 4)" * (cast_expression "(uint *)((int)pPVar2 + (local_20 + 0x1fffffff) * 8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pPVar2 + (local_20 + 0x1fffffff) * 8 + 4)" ( (binary_expression "(int)pPVar2 + (local_20 + 0x1fffffff) * 8 + 4" (binary_expression "(int)pPVar2 + (local_20 + 0x1fffffff) * 8" (cast_expression "(int)pPVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(local_20 + 0x1fffffff) * 8" (parenthesized_expression "(local_20 + 0x1fffffff)" ( (binary_expression "local_20 + 0x1fffffff" identifier + number_literal) )) * number_literal)) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00026a90(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint local_28;\n  int local_20;\n  \n  if (DAT_000418e4 <= DAT_00041000) {\n    return;\n  }\n  if (DAT_00041004 == (uint *)0x0) {\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }\n  iVar2 = DAT_000418e4;\n  iVar1 = (int)DAT_00041004;\n  iVar3 = 0;\n  DAT_00041000 = DAT_000418e4;\n  do {\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar2);\n  if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }\nLAB_00026b86:\n  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;\n  *(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;\n  return;\n}\n\n" (function_definition "void FUN_00026a90(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint local_28;\n  int local_20;\n  \n  if (DAT_000418e4 <= DAT_00041000) {\n    return;\n  }\n  if (DAT_00041004 == (uint *)0x0) {\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }\n  iVar2 = DAT_000418e4;\n  iVar1 = (int)DAT_00041004;\n  iVar3 = 0;\n  DAT_00041000 = DAT_000418e4;\n  do {\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar2);\n  if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }\nLAB_00026b86:\n  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;\n  *(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;\n  return;\n}" primitive_type (function_declarator "FUN_00026a90(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint local_28;\n  int local_20;\n  \n  if (DAT_000418e4 <= DAT_00041000) {\n    return;\n  }\n  if (DAT_00041004 == (uint *)0x0) {\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }\n  iVar2 = DAT_000418e4;\n  iVar1 = (int)DAT_00041004;\n  iVar3 = 0;\n  DAT_00041000 = DAT_000418e4;\n  do {\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar2);\n  if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }\nLAB_00026b86:\n  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;\n  *(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (if_statement "if (DAT_000418e4 <= DAT_00041000) {\n    return;\n  }" if (parenthesized_expression "(DAT_000418e4 <= DAT_00041000)" ( (binary_expression "DAT_000418e4 <= DAT_00041000" identifier <= identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (DAT_00041004 == (uint *)0x0) {\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }" if (parenthesized_expression "(DAT_00041004 == (uint *)0x0)" ( (binary_expression "DAT_00041004 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }" { (expression_statement "DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);" (assignment_expression "DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8)" identifier = (cast_expression "(uint *)FUN_00012c20(DAT_000418e4,8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00012c20(DAT_000418e4,8)" identifier (argument_list "(DAT_000418e4,8)" ( identifier , number_literal ))))) ;) (labeled_statement "LAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }" statement_identifier : (if_statement "if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }" if (parenthesized_expression "(DAT_000418e4 < 1)" ( (binary_expression "DAT_000418e4 < 1" identifier < number_literal) )) (compound_statement "{\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }" { (expression_statement "DAT_00041000 = DAT_000418e4;" (assignment_expression "DAT_00041000 = DAT_000418e4" identifier = identifier) ;) (return_statement "return;" return ;) }))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0xffffffff;" (assignment_expression "uVar4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar6 = 0xffffffff;" (assignment_expression "uVar6 = 0xffffffff" identifier = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }" else (compound_statement "{\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }" { (if_statement "if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }" if (parenthesized_expression "(DAT_000418e4 < 1)" ( (binary_expression "DAT_000418e4 < 1" identifier < number_literal) )) (compound_statement "{\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }" { (labeled_statement "LAB_00026b1e:\n      free(DAT_00041004);" statement_identifier : (expression_statement "free(DAT_00041004);" (call_expression "free(DAT_00041004)" identifier (argument_list "(DAT_00041004)" ( identifier ))) ;)) (expression_statement "DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);" (assignment_expression "DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8)" identifier = (cast_expression "(uint *)FUN_00012c20(DAT_000418e4,8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00012c20(DAT_000418e4,8)" identifier (argument_list "(DAT_000418e4,8)" ( identifier , number_literal ))))) ;) (goto_statement "goto LAB_00026b3c;" goto statement_identifier ;) })) (expression_statement "uVar4 = *DAT_00041004;" (assignment_expression "uVar4 = *DAT_00041004" identifier = (pointer_expression "*DAT_00041004" * identifier)) ;) (expression_statement "uVar6 = DAT_00041004[1];" (assignment_expression "uVar6 = DAT_00041004[1]" identifier = (subscript_expression "DAT_00041004[1]" identifier [ number_literal ])) ;) (expression_statement "local_28 = ~uVar4;" (assignment_expression "local_28 = ~uVar4" identifier = (unary_expression "~uVar4" ~ identifier)) ;) (expression_statement "uVar5 = ~uVar6;" (assignment_expression "uVar5 = ~uVar6" identifier = (unary_expression "~uVar6" ~ identifier)) ;) (if_statement "if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }" if (parenthesized_expression "(local_28 == 0 && uVar5 == 0)" ( (binary_expression "local_28 == 0 && uVar5 == 0" (binary_expression "local_28 == 0" identifier == number_literal) && (binary_expression "uVar5 == 0" identifier == number_literal)) )) (compound_statement "{\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);" do (compound_statement "{\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      }" { (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) (expression_statement "iVar1 = iVar2 + 1;" (assignment_expression "iVar1 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (DAT_000418e4 == iVar1) goto LAB_00026b1e;" if (parenthesized_expression "(DAT_000418e4 == iVar1)" ( (binary_expression "DAT_000418e4 == iVar1" identifier == identifier) )) (goto_statement "goto LAB_00026b1e;" goto statement_identifier ;)) (expression_statement "uVar4 = DAT_00041004[iVar1 * 2];" (assignment_expression "uVar4 = DAT_00041004[iVar1 * 2]" identifier = (subscript_expression "DAT_00041004[iVar1 * 2]" identifier [ (binary_expression "iVar1 * 2" identifier * number_literal) ])) ;) (expression_statement "uVar6 = DAT_00041004[iVar1 * 2 + 1];" (assignment_expression "uVar6 = DAT_00041004[iVar1 * 2 + 1]" identifier = (subscript_expression "DAT_00041004[iVar1 * 2 + 1]" identifier [ (binary_expression "iVar1 * 2 + 1" (binary_expression "iVar1 * 2" identifier * number_literal) + number_literal) ])) ;) (expression_statement "local_28 = ~uVar4;" (assignment_expression "local_28 = ~uVar4" identifier = (unary_expression "~uVar4" ~ identifier)) ;) (expression_statement "uVar5 = ~uVar6;" (assignment_expression "uVar5 = ~uVar6" identifier = (unary_expression "~uVar6" ~ identifier)) ;) }) while (parenthesized_expression "(local_28 == 0 && uVar5 == 0)" ( (binary_expression "local_28 == 0 && uVar5 == 0" (binary_expression "local_28 == 0" identifier == number_literal) && (binary_expression "uVar5 == 0" identifier == number_literal)) )) ;) (expression_statement "local_20 = iVar2 + 2;" (assignment_expression "local_20 = iVar2 + 2" identifier = (binary_expression "iVar2 + 2" identifier + number_literal)) ;) }) (else_clause "else {\n      local_20 = 1;\n    }" else (compound_statement "{\n      local_20 = 1;\n    }" { (expression_statement "local_20 = 1;" (assignment_expression "local_20 = 1" identifier = number_literal) ;) }))) (expression_statement "free(DAT_00041004);" (call_expression "free(DAT_00041004)" identifier (argument_list "(DAT_00041004)" ( identifier ))) ;) (expression_statement "iVar1 = FUN_00012c20(DAT_000418e4,8);" (assignment_expression "iVar1 = FUN_00012c20(DAT_000418e4,8)" identifier = (call_expression "FUN_00012c20(DAT_000418e4,8)" identifier (argument_list "(DAT_000418e4,8)" ( identifier , number_literal )))) ;) (expression_statement "DAT_00041000 = DAT_000418e4;" (assignment_expression "DAT_00041000 = DAT_000418e4" identifier = identifier) ;) (expression_statement "DAT_00041004 = (uint *)iVar1;" (assignment_expression "DAT_00041004 = (uint *)iVar1" identifier = (cast_expression "(uint *)iVar1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (DAT_000418e4 < 1) goto LAB_00026b86;" if (parenthesized_expression "(DAT_000418e4 < 1)" ( (binary_expression "DAT_000418e4 < 1" identifier < number_literal) )) (goto_statement "goto LAB_00026b86;" goto statement_identifier ;)) }))) (expression_statement "iVar2 = DAT_000418e4;" (assignment_expression "iVar2 = DAT_000418e4" identifier = identifier) ;) (expression_statement "iVar1 = (int)DAT_00041004;" (assignment_expression "iVar1 = (int)DAT_00041004" identifier = (cast_expression "(int)DAT_00041004" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "DAT_00041000 = DAT_000418e4;" (assignment_expression "DAT_00041000 = DAT_000418e4" identifier = identifier) ;) (do_statement "do {\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar2);" do (compound_statement "{\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  }" { (expression_statement "*(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + iVar3 * 8)" * (cast_expression "(undefined4 *)(iVar1 + iVar3 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar3 * 8)" ( (binary_expression "iVar1 + iVar3 * 8" identifier + (binary_expression "iVar3 * 8" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4)" * (cast_expression "(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + (iVar3 * 2 + 1) * 4)" ( (binary_expression "iVar1 + (iVar3 * 2 + 1) * 4" identifier + (binary_expression "(iVar3 * 2 + 1) * 4" (parenthesized_expression "(iVar3 * 2 + 1)" ( (binary_expression "iVar3 * 2 + 1" (binary_expression "iVar3 * 2" identifier * number_literal) + number_literal) )) * number_literal)) )))) = number_literal) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < iVar2)" ( (binary_expression "iVar3 < iVar2" identifier < identifier) )) ;) (if_statement "if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }" if (parenthesized_expression "(local_28 == 0 && uVar5 == 0)" ( (binary_expression "local_28 == 0 && uVar5 == 0" (binary_expression "local_28 == 0" identifier == number_literal) && (binary_expression "uVar5 == 0" identifier == number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_00026b86:\n  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;" statement_identifier : (expression_statement "*(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;" (assignment_expression "*(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4" (pointer_expression "*(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8)" * (cast_expression "(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + (local_20 + 0x1fffffff) * 8)" ( (binary_expression "iVar1 + (local_20 + 0x1fffffff) * 8" identifier + (binary_expression "(local_20 + 0x1fffffff) * 8" (parenthesized_expression "(local_20 + 0x1fffffff)" ( (binary_expression "local_20 + 0x1fffffff" identifier + number_literal) )) * number_literal)) )))) = identifier) ;)) (expression_statement "*(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;" (assignment_expression "*(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6" (pointer_expression "*(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4)" * (cast_expression "(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4)" ( (binary_expression "iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4" identifier + (binary_expression "((local_20 + 0x1fffffff) * 2 + 1) * 4" (parenthesized_expression "((local_20 + 0x1fffffff) * 2 + 1)" ( (binary_expression "(local_20 + 0x1fffffff) * 2 + 1" (binary_expression "(local_20 + 0x1fffffff) * 2" (parenthesized_expression "(local_20 + 0x1fffffff)" ( (binary_expression "local_20 + 0x1fffffff" identifier + number_literal) )) * number_literal) + number_literal) )) * number_literal)) )))) = identifier) ;) (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 ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (unary_expression ~ IDENT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression ~ IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT * LIT) ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ])) ;) (expression_statement (assignment_expression IDENT = (unary_expression ~ IDENT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression ~ IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + LIT) )) * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (compound_statement { (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) )))) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT) + LIT) )) * LIT)) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00026a90(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint local_28;\n  int local_20;\n  \n  if (DAT_000418e4 <= DAT_00041000) {\n    return;\n  }\n  if (DAT_00041004 == (uint *)0x0) {\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }\n  iVar2 = DAT_000418e4;\n  iVar1 = (int)DAT_00041004;\n  iVar3 = 0;\n  DAT_00041000 = DAT_000418e4;\n  do {\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar2);\n  if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }\nLAB_00026b86:\n  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;\n  *(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00026a90(void)" (identifier "FUN_00026a90") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint local_28;\n  int local_20;\n  \n  if (DAT_000418e4 <= DAT_00041000) {\n    return;\n  }\n  if (DAT_00041004 == (uint *)0x0) {\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }\n  iVar2 = DAT_000418e4;\n  iVar1 = (int)DAT_00041004;\n  iVar3 = 0;\n  DAT_00041000 = DAT_000418e4;\n  do {\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar2);\n  if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }\nLAB_00026b86:\n  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;\n  *(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint local_28;" (type_identifier "uint") (identifier "local_28") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (if_statement "if (DAT_000418e4 <= DAT_00041000) {\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_000418e4 <= DAT_00041000)" (( "(") (binary_expression "DAT_000418e4 <= DAT_00041000" (identifier "DAT_000418e4") (<= "<=") (identifier "DAT_00041000")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (DAT_00041004 == (uint *)0x0) {\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }\n  else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }" (if "if") (parenthesized_expression "(DAT_00041004 == (uint *)0x0)" (( "(") (binary_expression "DAT_00041004 == (uint *)0x0" (identifier "DAT_00041004") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\nLAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }\n    local_28 = 0;\n    uVar4 = 0xffffffff;\n    uVar6 = 0xffffffff;\n    uVar5 = 0;\n  }" ({ "{") (expression_statement "DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);" (assignment_expression "DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8)" (identifier "DAT_00041004") (= "=") (cast_expression "(uint *)FUN_00012c20(DAT_000418e4,8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00012c20(DAT_000418e4,8)" (identifier "FUN_00012c20") (argument_list "(DAT_000418e4,8)" (( "(") (identifier "DAT_000418e4") (, ",") (number_literal "8") () ")"))))) (; ";")) (labeled_statement "LAB_00026b3c:\n    if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }" (statement_identifier "LAB_00026b3c") (: ":") (if_statement "if (DAT_000418e4 < 1) {\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }" (if "if") (parenthesized_expression "(DAT_000418e4 < 1)" (( "(") (binary_expression "DAT_000418e4 < 1" (identifier "DAT_000418e4") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      DAT_00041000 = DAT_000418e4;\n      return;\n    }" ({ "{") (expression_statement "DAT_00041000 = DAT_000418e4;" (assignment_expression "DAT_00041000 = DAT_000418e4" (identifier "DAT_00041000") (= "=") (identifier "DAT_000418e4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = 0xffffffff;" (assignment_expression "uVar4 = 0xffffffff" (identifier "uVar4") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "uVar6 = 0xffffffff;" (assignment_expression "uVar6 = 0xffffffff" (identifier "uVar6") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }" (else "else") (compound_statement "{\n    if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }\n    uVar4 = *DAT_00041004;\n    uVar6 = DAT_00041004[1];\n    local_28 = ~uVar4;\n    uVar5 = ~uVar6;\n    if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }\n    free(DAT_00041004);\n    iVar1 = FUN_00012c20(DAT_000418e4,8);\n    DAT_00041000 = DAT_000418e4;\n    DAT_00041004 = (uint *)iVar1;\n    if (DAT_000418e4 < 1) goto LAB_00026b86;\n  }" ({ "{") (if_statement "if (DAT_000418e4 < 1) {\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }" (if "if") (parenthesized_expression "(DAT_000418e4 < 1)" (( "(") (binary_expression "DAT_000418e4 < 1" (identifier "DAT_000418e4") (< "<") (number_literal "1")) () ")")) (compound_statement "{\nLAB_00026b1e:\n      free(DAT_00041004);\n      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);\n      goto LAB_00026b3c;\n    }" ({ "{") (labeled_statement "LAB_00026b1e:\n      free(DAT_00041004);" (statement_identifier "LAB_00026b1e") (: ":") (expression_statement "free(DAT_00041004);" (call_expression "free(DAT_00041004)" (identifier "free") (argument_list "(DAT_00041004)" (( "(") (identifier "DAT_00041004") () ")"))) (; ";"))) (expression_statement "DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);" (assignment_expression "DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8)" (identifier "DAT_00041004") (= "=") (cast_expression "(uint *)FUN_00012c20(DAT_000418e4,8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00012c20(DAT_000418e4,8)" (identifier "FUN_00012c20") (argument_list "(DAT_000418e4,8)" (( "(") (identifier "DAT_000418e4") (, ",") (number_literal "8") () ")"))))) (; ";")) (goto_statement "goto LAB_00026b3c;" (goto "goto") (statement_identifier "LAB_00026b3c") (; ";")) (} "}"))) (expression_statement "uVar4 = *DAT_00041004;" (assignment_expression "uVar4 = *DAT_00041004" (identifier "uVar4") (= "=") (pointer_expression "*DAT_00041004" (* "*") (identifier "DAT_00041004"))) (; ";")) (expression_statement "uVar6 = DAT_00041004[1];" (assignment_expression "uVar6 = DAT_00041004[1]" (identifier "uVar6") (= "=") (subscript_expression "DAT_00041004[1]" (identifier "DAT_00041004") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_28 = ~uVar4;" (assignment_expression "local_28 = ~uVar4" (identifier "local_28") (= "=") (unary_expression "~uVar4" (~ "~") (identifier "uVar4"))) (; ";")) (expression_statement "uVar5 = ~uVar6;" (assignment_expression "uVar5 = ~uVar6" (identifier "uVar5") (= "=") (unary_expression "~uVar6" (~ "~") (identifier "uVar6"))) (; ";")) (if_statement "if (local_28 == 0 && uVar5 == 0) {\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }\n    else {\n      local_20 = 1;\n    }" (if "if") (parenthesized_expression "(local_28 == 0 && uVar5 == 0)" (( "(") (binary_expression "local_28 == 0 && uVar5 == 0" (binary_expression "local_28 == 0" (identifier "local_28") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n      iVar1 = 0;\n      do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);\n      local_20 = iVar2 + 2;\n    }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      } while (local_28 == 0 && uVar5 == 0);" (do "do") (compound_statement "{\n        iVar2 = iVar1;\n        iVar1 = iVar2 + 1;\n        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;\n        uVar4 = DAT_00041004[iVar1 * 2];\n        uVar6 = DAT_00041004[iVar1 * 2 + 1];\n        local_28 = ~uVar4;\n        uVar5 = ~uVar6;\n      }" ({ "{") (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" (identifier "iVar2") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "iVar1 = iVar2 + 1;" (assignment_expression "iVar1 = iVar2 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (DAT_000418e4 == iVar1) goto LAB_00026b1e;" (if "if") (parenthesized_expression "(DAT_000418e4 == iVar1)" (( "(") (binary_expression "DAT_000418e4 == iVar1" (identifier "DAT_000418e4") (== "==") (identifier "iVar1")) () ")")) (goto_statement "goto LAB_00026b1e;" (goto "goto") (statement_identifier "LAB_00026b1e") (; ";"))) (expression_statement "uVar4 = DAT_00041004[iVar1 * 2];" (assignment_expression "uVar4 = DAT_00041004[iVar1 * 2]" (identifier "uVar4") (= "=") (subscript_expression "DAT_00041004[iVar1 * 2]" (identifier "DAT_00041004") ([ "[") (binary_expression "iVar1 * 2" (identifier "iVar1") (* "*") (number_literal "2")) (] "]"))) (; ";")) (expression_statement "uVar6 = DAT_00041004[iVar1 * 2 + 1];" (assignment_expression "uVar6 = DAT_00041004[iVar1 * 2 + 1]" (identifier "uVar6") (= "=") (subscript_expression "DAT_00041004[iVar1 * 2 + 1]" (identifier "DAT_00041004") ([ "[") (binary_expression "iVar1 * 2 + 1" (binary_expression "iVar1 * 2" (identifier "iVar1") (* "*") (number_literal "2")) (+ "+") (number_literal "1")) (] "]"))) (; ";")) (expression_statement "local_28 = ~uVar4;" (assignment_expression "local_28 = ~uVar4" (identifier "local_28") (= "=") (unary_expression "~uVar4" (~ "~") (identifier "uVar4"))) (; ";")) (expression_statement "uVar5 = ~uVar6;" (assignment_expression "uVar5 = ~uVar6" (identifier "uVar5") (= "=") (unary_expression "~uVar6" (~ "~") (identifier "uVar6"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_28 == 0 && uVar5 == 0)" (( "(") (binary_expression "local_28 == 0 && uVar5 == 0" (binary_expression "local_28 == 0" (identifier "local_28") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0"))) () ")")) (; ";")) (expression_statement "local_20 = iVar2 + 2;" (assignment_expression "local_20 = iVar2 + 2" (identifier "local_20") (= "=") (binary_expression "iVar2 + 2" (identifier "iVar2") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (else_clause "else {\n      local_20 = 1;\n    }" (else "else") (compound_statement "{\n      local_20 = 1;\n    }" ({ "{") (expression_statement "local_20 = 1;" (assignment_expression "local_20 = 1" (identifier "local_20") (= "=") (number_literal "1")) (; ";")) (} "}")))) (expression_statement "free(DAT_00041004);" (call_expression "free(DAT_00041004)" (identifier "free") (argument_list "(DAT_00041004)" (( "(") (identifier "DAT_00041004") () ")"))) (; ";")) (expression_statement "iVar1 = FUN_00012c20(DAT_000418e4,8);" (assignment_expression "iVar1 = FUN_00012c20(DAT_000418e4,8)" (identifier "iVar1") (= "=") (call_expression "FUN_00012c20(DAT_000418e4,8)" (identifier "FUN_00012c20") (argument_list "(DAT_000418e4,8)" (( "(") (identifier "DAT_000418e4") (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "DAT_00041000 = DAT_000418e4;" (assignment_expression "DAT_00041000 = DAT_000418e4" (identifier "DAT_00041000") (= "=") (identifier "DAT_000418e4")) (; ";")) (expression_statement "DAT_00041004 = (uint *)iVar1;" (assignment_expression "DAT_00041004 = (uint *)iVar1" (identifier "DAT_00041004") (= "=") (cast_expression "(uint *)iVar1" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "iVar1"))) (; ";")) (if_statement "if (DAT_000418e4 < 1) goto LAB_00026b86;" (if "if") (parenthesized_expression "(DAT_000418e4 < 1)" (( "(") (binary_expression "DAT_000418e4 < 1" (identifier "DAT_000418e4") (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_00026b86;" (goto "goto") (statement_identifier "LAB_00026b86") (; ";"))) (} "}")))) (expression_statement "iVar2 = DAT_000418e4;" (assignment_expression "iVar2 = DAT_000418e4" (identifier "iVar2") (= "=") (identifier "DAT_000418e4")) (; ";")) (expression_statement "iVar1 = (int)DAT_00041004;" (assignment_expression "iVar1 = (int)DAT_00041004" (identifier "iVar1") (= "=") (cast_expression "(int)DAT_00041004" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_00041004"))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_00041000 = DAT_000418e4;" (assignment_expression "DAT_00041000 = DAT_000418e4" (identifier "DAT_00041000") (= "=") (identifier "DAT_000418e4")) (; ";")) (do_statement "do {\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  } while (iVar3 < iVar2);" (do "do") (compound_statement "{\n    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;\n    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;\n    iVar3 = iVar3 + 1;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + iVar3 * 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + iVar3 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + iVar3 * 8)" (( "(") (binary_expression "iVar1 + iVar3 * 8" (identifier "iVar1") (+ "+") (binary_expression "iVar3 * 8" (identifier "iVar3") (* "*") (number_literal "8"))) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + (iVar3 * 2 + 1) * 4)" (( "(") (binary_expression "iVar1 + (iVar3 * 2 + 1) * 4" (identifier "iVar1") (+ "+") (binary_expression "(iVar3 * 2 + 1) * 4" (parenthesized_expression "(iVar3 * 2 + 1)" (( "(") (binary_expression "iVar3 * 2 + 1" (binary_expression "iVar3 * 2" (identifier "iVar3") (* "*") (number_literal "2")) (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 < iVar2)" (( "(") (binary_expression "iVar3 < iVar2" (identifier "iVar3") (< "<") (identifier "iVar2")) () ")")) (; ";")) (if_statement "if (local_28 == 0 && uVar5 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_28 == 0 && uVar5 == 0)" (( "(") (binary_expression "local_28 == 0 && uVar5 == 0" (binary_expression "local_28 == 0" (identifier "local_28") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_00026b86:\n  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;" (statement_identifier "LAB_00026b86") (: ":") (expression_statement "*(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;" (assignment_expression "*(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4" (pointer_expression "*(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8)" (* "*") (cast_expression "(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + (local_20 + 0x1fffffff) * 8)" (( "(") (binary_expression "iVar1 + (local_20 + 0x1fffffff) * 8" (identifier "iVar1") (+ "+") (binary_expression "(local_20 + 0x1fffffff) * 8" (parenthesized_expression "(local_20 + 0x1fffffff)" (( "(") (binary_expression "local_20 + 0x1fffffff" (identifier "local_20") (+ "+") (number_literal "0x1fffffff")) () ")")) (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "uVar4")) (; ";"))) (expression_statement "*(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;" (assignment_expression "*(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6" (pointer_expression "*(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4)" (* "*") (cast_expression "(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4)" (( "(") (binary_expression "iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4" (identifier "iVar1") (+ "+") (binary_expression "((local_20 + 0x1fffffff) * 2 + 1) * 4" (parenthesized_expression "((local_20 + 0x1fffffff) * 2 + 1)" (( "(") (binary_expression "(local_20 + 0x1fffffff) * 2 + 1" (binary_expression "(local_20 + 0x1fffffff) * 2" (parenthesized_expression "(local_20 + 0x1fffffff)" (( "(") (binary_expression "local_20 + 0x1fffffff" (identifier "local_20") (+ "+") (number_literal "0x1fffffff")) () ")")) (* "*") (number_literal "2")) (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "uVar6")) (; ";")) (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)

{
  int var_9;
  type_1 *var_10;
  int var_8;
  type_2 uVar4;
  type_2 var_7;
  type_2 uVar6;
  type_2 var_6;
  int var_11;
  
  if (var_1 <= var_2) {
    return;
  }
  if (var_3 == (type_1 *)0x0) {
    var_3 = (type_1 *)var_4(var_1,8);
LAB_00026b3c:
    if (var_1 < 1) {
      var_2 = var_1;
      return;
    }
    var_6 = 0;
    uVar4 = 0xffffffff;
    uVar6 = 0xffffffff;
    var_7 = 0;
  }
  else {
    if (var_1 < 1) {
LAB_00026b1e:
      var_5(var_3);
      var_3 = (type_1 *)var_4(var_1,8);
      goto LAB_00026b3c;
    }
    uVar4 = (type_2)*var_3;
    uVar6 = *(type_2 *)((int)var_3 + 4);
    var_6 = ~uVar4;
    var_7 = ~uVar6;
    if (var_6 == 0 && var_7 == 0) {
      var_9 = 0;
      do {
        var_8 = var_9;
        var_9 = var_8 + 1;
        if (var_1 == var_9) goto LAB_00026b1e;
        uVar4 = *(type_2 *)(var_3 + var_9);
        uVar6 = *(type_2 *)((int)var_3 + var_9 * 8 + 4);
        var_6 = ~uVar4;
        var_7 = ~uVar6;
      } while (var_6 == 0 && var_7 == 0);
      var_11 = var_8 + 2;
    }
    else {
      var_11 = 1;
    }
    var_5(var_3);
    var_10 = (type_1 *)var_4(var_1,8);
    var_2 = var_1;
    var_3 = var_10;
    if (var_1 < 1) goto LAB_00026b86;
  }
  var_9 = var_1;
  var_10 = var_3;
  var_8 = 0;
  var_2 = var_1;
  do {
    *(type_3 *)(var_10 + var_8) = 0xffffffff;
    *(type_3 *)((int)var_10 + var_8 * 8 + 4) = 0xffffffff;
    var_8 = var_8 + 1;
  } while (var_8 < var_9);
  if (var_6 == 0 && var_7 == 0) {
    return;
  }
LAB_00026b86:
  *(type_2 *)(var_10 + var_11 + 0x1fffffff) = uVar4;
  *(type_2 *)((int)var_10 + (var_11 + 0x1fffffff) * 8 + 4) = uVar6;
  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: (primitive_type) declarator: (identifier)) (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: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (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: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (number_literal)))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (return_statement))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (number_literal))) right: (number_literal)))))) right: (identifier))) (return_statement))))

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

void MASKED(void)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  uint local_28;
  int local_20;
  
  if (DAT_000418e4 <= DAT_00041000) {
    return;
  }
  if (DAT_00041004 == (uint *)0x0) {
    DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);
LAB_00026b3c:
    if (DAT_000418e4 < 1) {
      DAT_00041000 = DAT_000418e4;
      return;
    }
    local_28 = 0;
    uVar4 = 0xffffffff;
    uVar6 = 0xffffffff;
    uVar5 = 0;
  }
  else {
    if (DAT_000418e4 < 1) {
LAB_00026b1e:
      free(DAT_00041004);
      DAT_00041004 = (uint *)FUN_00012c20(DAT_000418e4,8);
      goto LAB_00026b3c;
    }
    uVar4 = *DAT_00041004;
    uVar6 = DAT_00041004[1];
    local_28 = ~uVar4;
    uVar5 = ~uVar6;
    if (local_28 == 0 && uVar5 == 0) {
      iVar1 = 0;
      do {
        iVar2 = iVar1;
        iVar1 = iVar2 + 1;
        if (DAT_000418e4 == iVar1) goto LAB_00026b1e;
        uVar4 = DAT_00041004[iVar1 * 2];
        uVar6 = DAT_00041004[iVar1 * 2 + 1];
        local_28 = ~uVar4;
        uVar5 = ~uVar6;
      } while (local_28 == 0 && uVar5 == 0);
      local_20 = iVar2 + 2;
    }
    else {
      local_20 = 1;
    }
    free(DAT_00041004);
    iVar1 = FUN_00012c20(DAT_000418e4,8);
    DAT_00041000 = DAT_000418e4;
    DAT_00041004 = (uint *)iVar1;
    if (DAT_000418e4 < 1) goto LAB_00026b86;
  }
  iVar2 = DAT_000418e4;
  iVar1 = (int)DAT_00041004;
  iVar3 = 0;
  DAT_00041000 = DAT_000418e4;
  do {
    *(undefined4 *)(iVar1 + iVar3 * 8) = 0xffffffff;
    *(undefined4 *)(iVar1 + (iVar3 * 2 + 1) * 4) = 0xffffffff;
    iVar3 = iVar3 + 1;
  } while (iVar3 < iVar2);
  if (local_28 == 0 && uVar5 == 0) {
    return;
  }
LAB_00026b86:
  *(uint *)(iVar1 + (local_20 + 0x1fffffff) * 8) = uVar4;
  *(uint *)(iVar1 + ((local_20 + 0x1fffffff) * 2 + 1) * 4) = uVar6;
  return;
}

