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

void process_params(program_counter *progctr,int func)

{
  short sVar1;
  bc_array *pbVar2;
  bc_array_node *pbVar3;
  estack_rec *peVar4;
  uchar uVar5;
  bc_var *pbVar6;
  long var_index;
  bc_var_array *pbVar7;
  bc_var_array *pbVar8;
  bc_array *pbVar9;
  bc_array_node *pbVar10;
  bc_array_node *pbVar11;
  bc_num pbVar12;
  bc_var_array **ppbVar13;
  bc_var_array **ppbVar14;
  arg_list *paVar15;
  int iVar16;
  
  paVar15 = functions[func].f_params;
  while (uVar5 = byte(progctr), uVar5 != ':') {
    if (paVar15 == (arg_list *)0x0) goto LAB_0001a454;
    iVar16 = paVar15->av_name;
    if (uVar5 == '0') {
      if (iVar16 < 1) {
LAB_0001a2b8:
        if (-1 < iVar16) goto LAB_0001a384;
        rt_error("Parameter type mismatch parameter %s.",a_names[-iVar16]);
        goto LAB_0001a2e1;
      }
      pbVar6 = (bc_var *)bc_malloc(8);
      pbVar6->v_next = variables[iVar16];
      peVar4 = ex_stack;
      pbVar6->v_value = ex_stack->s_num;
      bc_init_num(&peVar4->s_num);
      variables[iVar16] = pbVar6;
    }
    else {
      if (uVar5 != '1') goto LAB_0001a2b8;
      if (iVar16 < 0) {
        var_index = bc_num2long(ex_stack->s_num);
        get_array_num(var_index,0);
        iVar16 = paVar15->av_name;
        if (iVar16 < 1) {
          pbVar8 = (bc_var_array *)bc_malloc(0xc);
          ppbVar14 = arrays;
          ppbVar13 = arrays + -iVar16;
          pbVar7 = *ppbVar13;
          pbVar8->a_value = (bc_array *)0x0;
          pbVar8->a_param = '\0';
          pbVar8->a_next = pbVar7;
          *ppbVar13 = pbVar8;
        }
        else {
          pbVar6 = (bc_var *)bc_malloc(8);
          pbVar6->v_next = variables[iVar16];
          bc_init_num((bc_num *)pbVar6);
          variables[iVar16] = pbVar6;
          ppbVar14 = arrays;
        }
        pbVar7 = ppbVar14[var_index];
        if (var_index + paVar15->av_name == 0) {
          pbVar7 = pbVar7->a_next;
        }
        pbVar2 = pbVar7->a_value;
        pbVar7 = ppbVar14[-paVar15->av_name];
        if (paVar15->arg_is_var == 0) {
          pbVar7->a_param = '\0';
          pbVar9 = (bc_array *)bc_malloc(8);
          sVar1 = pbVar2->a_depth;
          pbVar9->a_depth = sVar1;
          pbVar3 = pbVar2->a_tree;
          pbVar10 = (bc_array_node *)bc_malloc(0x100);
          if (sVar1 < 2) {
            iVar16 = 0;
            do {
              pbVar12 = (pbVar3->n_items).n_num[iVar16];
              if (pbVar12 == (bc_num)0x0) {
                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;
              }
              else {
                pbVar12 = bc_copy_num(pbVar12);
                (pbVar10->n_items).n_num[iVar16] = pbVar12;
              }
              iVar16 = iVar16 + 1;
            } while (iVar16 != 0x40);
          }
          else {
            iVar16 = 0;
            do {
              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {
                pbVar11 = copy_tree(pbVar11,sVar1 + -1);
                (pbVar10->n_items).n_down[iVar16] = pbVar11;
                iVar16 = iVar16 + 1;
                if (iVar16 == 0x40) goto LAB_0001a53a;
              }
              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;
              iVar16 = iVar16 + 1;
            } while (iVar16 != 0x40);
          }
LAB_0001a53a:
          pbVar9->a_tree = pbVar10;
          pbVar7->a_value = pbVar9;
        }
        else {
          pbVar7->a_param = '\x01';
          pbVar7->a_value = pbVar2;
        }
        goto LAB_0001a2e7;
      }
LAB_0001a384:
      rt_error("Parameter type mismatch, parameter %s.",v_names[iVar16]);
LAB_0001a2e1:
      paVar15 = paVar15 + 1;
    }
LAB_0001a2e7:
    peVar4 = ex_stack;
    if (ex_stack != (estack_rec *)0x0) {
      ex_stack = ex_stack->s_next;
      bc_free_num(&peVar4->s_num);
      free(peVar4);
    }
    paVar15 = paVar15->next;
  }
  if (paVar15 != (arg_list *)0x0) {
LAB_0001a454:
    rt_error("Parameter number mismatch");
  }
  return;
}



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

void FUN_0001a270(undefined4 param_1,int param_2)

{
  void *__ptr;
  int iVar1;
  int *piVar2;
  char cVar3;
  undefined4 *puVar4;
  int iVar5;
  int iVar6;
  int *piVar7;
  undefined4 *puVar8;
  int *piVar9;
  undefined4 uVar10;
  int iVar11;
  int *piVar12;
  undefined4 *puVar13;
  undefined4 *puVar14;
  int *piVar15;
  
  piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);
  puVar14 = &DAT_0002c2bc;
  piVar15 = &DAT_0002c29c;
  while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {
    if (piVar12 == (int *)0x0) goto LAB_0001a454;
    iVar1 = *piVar12;
    if (cVar3 == '0') {
      if (iVar1 < 1) {
LAB_0001a2b8:
        if (-1 < iVar1) goto LAB_0001a384;
        FUN_0001b7b0("Parameter type mismatch parameter %s.",
                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));
        puVar13 = puVar14;
        goto LAB_0001a2e1;
      }
      puVar4 = (undefined4 *)FUN_0001ab90(8);
      puVar13 = &DAT_0002c2bc;
      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);
      puVar8 = DAT_0002c2bc;
      *puVar4 = *DAT_0002c2bc;
      FUN_0001c550(puVar8);
      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;
    }
    else {
      if (cVar3 != '1') goto LAB_0001a2b8;
      if (iVar1 < 0) {
        puVar13 = &DAT_0002c2bc;
        iVar5 = FUN_0001f020(*DAT_0002c2bc);
        FUN_000190f0(iVar5,0);
        iVar1 = *piVar12;
        if (iVar1 < 1) {
          puVar8 = (undefined4 *)FUN_0001ab90(0xc);
          iVar6 = DAT_0002c254;
          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);
          uVar10 = *puVar4;
          *puVar8 = 0;
          *(undefined1 *)(puVar8 + 1) = 0;
          puVar8[2] = uVar10;
          *puVar4 = puVar8;
        }
        else {
          iVar6 = FUN_0001ab90(8);
          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);
          FUN_0001c550(iVar6);
          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;
          iVar6 = DAT_0002c254;
        }
        piVar7 = *(int **)(iVar6 + iVar5 * 4);
        if (iVar5 + *piVar12 == 0) {
          piVar7 = (int *)piVar7[2];
        }
        piVar7 = (int *)*piVar7;
        piVar2 = *(int **)(iVar6 + *piVar12 * -4);
        if (piVar12[1] == 0) {
          *(undefined1 *)(piVar2 + 1) = 0;
          piVar9 = (int *)FUN_0001ab90(8);
          iVar6 = (int)(short)piVar7[1];
          *(short *)(piVar9 + 1) = (short)piVar7[1];
          iVar1 = *piVar7;
          iVar5 = FUN_0001ab90(0x100);
          if (iVar6 < 2) {
            iVar6 = 0;
            do {
              iVar11 = *(int *)(iVar1 + iVar6 * 4);
              if (iVar11 == 0) {
                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;
              }
              else {
                uVar10 = FUN_0001c540(iVar11);
                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;
              }
              iVar6 = iVar6 + 1;
            } while (iVar6 != 0x40);
          }
          else {
            iVar6 = iVar6 + -1;
            iVar11 = 0;
            do {
              while (*(int *)(iVar1 + iVar11 * 4) != 0) {
                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);
                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;
                iVar11 = iVar11 + 1;
                if (iVar11 == 0x40) goto LAB_0001a53a;
              }
              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;
              iVar11 = iVar11 + 1;
            } while (iVar11 != 0x40);
          }
LAB_0001a53a:
          *piVar9 = iVar5;
          *piVar2 = (int)piVar9;
        }
        else {
          *(undefined1 *)(piVar2 + 1) = 1;
          *piVar2 = (int)piVar7;
        }
        goto LAB_0001a2e7;
      }
LAB_0001a384:
      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));
      puVar13 = puVar14;
LAB_0001a2e1:
      piVar12 = piVar12 + 3;
      puVar14 = puVar13;
    }
LAB_0001a2e7:
    __ptr = (void *)*puVar13;
    if (__ptr != (void *)0x0) {
      *puVar13 = *(undefined4 *)((int)__ptr + 4);
      FUN_0001c2e0(__ptr);
      free(__ptr);
    }
    piVar12 = (int *)piVar12[2];
  }
  if (piVar12 != (int *)0x0) {
LAB_0001a454:
    FUN_0001b7b0("Parameter number mismatch");
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000117c0
ADD EBX,0x11c8b
SUB ESP,0x2c
IMUL EAX,dword ptr [ESP + 0x44],0x1c
LEA EDX,[EBX + 0x374]
ADD EAX,dword ptr [EDX]
MOV EBP,dword ptr [EAX + 0x14]
LEA EAX,[EBX + 0x3b8]
MOV dword ptr [ESP],EAX
LEA EAX,[EBX + 0x398]
MOV dword ptr [ESP + 0x4],EAX
JMP 0x0001a309
CMP AL,0x31
JZ 0x0001a380
TEST ESI,ESI
JNS 0x0001a384
LEA EAX,[EBX + 0x354]
SHL ESI,0x2
SUB ESP,0x8
NEG ESI
ADD ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xffff8cb8]
PUSH dword ptr [ESI]
PUSH EAX
CALL 0x0001b7b0
ADD ESP,0x10
MOV EDI,dword ptr [ESP]
ADD EBP,0xc
MOV ESI,dword ptr [EDI]
TEST ESI,ESI
JZ 0x0001a306
MOV EAX,dword ptr [ESI + 0x4]
SUB ESP,0xc
MOV dword ptr [EDI],EAX
PUSH ESI
CALL 0x0001c2e0
MOV dword ptr [ESP],ESI
CALL 0x000110a0
ADD ESP,0x10
MOV EBP,dword ptr [EBP + 0x8]
SUB ESP,0xc
PUSH dword ptr [ESP + 0x4c]
CALL 0x00015ec0
ADD ESP,0x10
CMP AL,0x3a
JZ 0x0001a450
TEST EBP,EBP
JZ 0x0001a454
MOV ESI,dword ptr [EBP]
CMP AL,0x30
JNZ 0x0001a2b0
TEST ESI,ESI
JLE 0x0001a2b8
SUB ESP,0xc
PUSH 0x8
CALL 0x0001ab90
LEA EDI,[EBX + 0x3b8]
MOV ECX,EAX
LEA EAX,[EBX + 0x3b0]
MOV dword ptr [ESP + 0x18],ECX
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESP + 0x1c],EAX
MOV EDX,dword ptr [EDX + ESI*0x4]
MOV dword ptr [ECX + 0x4],EDX
MOV EDX,dword ptr [EDI]
MOV EAX,dword ptr [EDX]
MOV dword ptr [ECX],EAX
MOV dword ptr [ESP],EDX
CALL 0x0001c550
MOV EAX,dword ptr [ESP + 0x1c]
MOV ECX,dword ptr [ESP + 0x18]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
MOV dword ptr [EAX + ESI*0x4],ECX
JMP 0x0001a2e7
TEST ESI,ESI
JS 0x0001a3a8
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EAX]
PUSH dword ptr [EAX + ESI*0x4]
LEA EAX,[EBX + 0xffff8ce0]
PUSH EAX
CALL 0x0001b7b0
ADD ESP,0x10
JMP 0x0001a2e1
LEA EDI,[EBX + 0x3b8]
SUB ESP,0xc
MOV EAX,dword ptr [EDI]
PUSH dword ptr [EAX]
CALL 0x0001f020
MOV dword ptr [ESP + 0x18],EAX
POP EDX
POP ECX
PUSH 0x0
PUSH EAX
CALL 0x000190f0
MOV ESI,dword ptr [EBP]
ADD ESP,0x10
TEST ESI,ESI
JLE 0x0001a470
SUB ESP,0xc
PUSH 0x8
CALL 0x0001ab90
MOV ECX,EAX
LEA EAX,[EBX + 0x3b0]
MOV dword ptr [ESP + 0x1c],ECX
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESP + 0x20],EAX
MOV EDX,dword ptr [EDX + ESI*0x4]
MOV dword ptr [ECX + 0x4],EDX
MOV dword ptr [ESP],ECX
CALL 0x0001c550
MOV EAX,dword ptr [ESP + 0x20]
MOV ECX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
MOV dword ptr [EAX + ESI*0x4],ECX
LEA EAX,[EBX + 0x350]
MOV EDX,dword ptr [EAX]
MOV ESI,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [EBP]
MOV EAX,dword ptr [EDX + ESI*0x4]
ADD ESI,ECX
JNZ 0x0001a429
MOV EAX,dword ptr [EAX + 0x8]
SHL ECX,0x2
MOV ESI,dword ptr [EAX]
SUB EDX,ECX
MOV ECX,dword ptr [EBP + 0x4]
MOV EDX,dword ptr [EDX]
MOV dword ptr [ESP + 0xc],EDX
TEST ECX,ECX
JZ 0x0001a4a8
MOV byte ptr [EDX + 0x4],0x1
MOV dword ptr [EDX],ESI
JMP 0x0001a2e7
TEST EBP,EBP
JZ 0x0001a466
SUB ESP,0xc
LEA EAX,[EBX + 0xffff8bb0]
PUSH EAX
CALL 0x0001b7b0
ADD ESP,0x10
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
SHL ESI,0x2
PUSH 0xc
CALL 0x0001ab90
LEA EDX,[EBX + 0x350]
ADD ESP,0x10
MOV EDX,dword ptr [EDX]
MOV ECX,EDX
SUB ECX,ESI
MOV ESI,dword ptr [ECX]
MOV dword ptr [EAX],0x0
MOV byte ptr [EAX + 0x4],0x0
MOV dword ptr [EAX + 0x8],ESI
MOV dword ptr [ECX],EAX
JMP 0x0001a418
MOV dword ptr [ESP + 0x18],ECX
SUB ESP,0xc
MOV byte ptr [EDX + 0x4],0x0
PUSH 0x8
CALL 0x0001ab90
MOVSX EDX,word ptr [ESI + 0x4]
MOV dword ptr [ESP + 0x20],EAX
MOV word ptr [EAX + 0x4],DX
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP + 0x18],EDX
MOV dword ptr [ESP + 0x24],EAX
MOV dword ptr [ESP],0x100
CALL 0x0001ab90
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0x18]
MOV ESI,EAX
CMP EDX,0x1
JLE 0x0001a54b
SUB EDX,0x1
MOV dword ptr [ESP + 0x18],EBP
MOV EBP,ECX
MOV dword ptr [ESP + 0x1c],EDI
MOV EDI,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x8],EDX
JMP 0x0001a51c
MOV EDX,dword ptr [ESP + 0x8]
CALL 0x000188e0
MOV dword ptr [ESI + EBP*0x4],EAX
ADD EBP,0x1
CMP EBP,0x40
JZ 0x0001a532
MOV EAX,dword ptr [EDI + EBP*0x4]
TEST EAX,EAX
JNZ 0x0001a508
MOV dword ptr [ESI + EBP*0x4],0x0
ADD EBP,0x1
CMP EBP,0x40
JNZ 0x0001a51c
MOV EBP,dword ptr [ESP + 0x18]
MOV EDI,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX],ESI
MOV dword ptr [ECX],EAX
JMP 0x0001a2e7
MOV dword ptr [ESP + 0x8],EBP
MOV EBP,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x14],EDI
MOV EDI,ECX
JMP 0x0001a577
SUB ESP,0xc
PUSH EAX
CALL 0x0001c540
ADD ESP,0x10
MOV dword ptr [ESI + EDI*0x4],EAX
ADD EDI,0x1
CMP EDI,0x40
JZ 0x0001a588
MOV EAX,dword ptr [EBP + EDI*0x4]
TEST EAX,EAX
JNZ 0x0001a560
MOV dword ptr [ESI + EDI*0x4],0x0
JMP 0x0001a56f
MOV EBP,dword ptr [ESP + 0x8]
MOV EDI,dword ptr [ESP + 0x14]
JMP 0x0001a53a
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001a270(undefined4 param_1,int param_2)\n\n{\n  void *__ptr;\n  int iVar1;\n  int *piVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined4 *puVar14;\n  int *piVar15;\n  \n  piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);\n  puVar14 = &DAT_0002c2bc;\n  piVar15 = &DAT_0002c29c;\n  while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }\n  if (piVar12 != (int *)0x0) {\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0001a270(undefined4 param_1,int param_2)\n\n{\n  void *__ptr;\n  int iVar1;\n  int *piVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined4 *puVar14;\n  int *piVar15;\n  \n  piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);\n  puVar14 = &DAT_0002c2bc;\n  piVar15 = &DAT_0002c29c;\n  while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }\n  if (piVar12 != (int *)0x0) {\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001a270(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  void *__ptr;\n  int iVar1;\n  int *piVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined4 *puVar14;\n  int *piVar15;\n  \n  piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);\n  puVar14 = &DAT_0002c2bc;\n  piVar15 = &DAT_0002c29c;\n  while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }\n  if (piVar12 != (int *)0x0) {\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined4 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (expression_statement "piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);" (assignment_expression "piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14)" identifier = (pointer_expression "*(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14)" * (cast_expression "(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 * 0x1c + DAT_0002c278 + 0x14)" ( (binary_expression "param_2 * 0x1c + DAT_0002c278 + 0x14" (binary_expression "param_2 * 0x1c + DAT_0002c278" (binary_expression "param_2 * 0x1c" identifier * number_literal) + identifier) + number_literal) ))))) ;) (expression_statement "puVar14 = &DAT_0002c2bc;" (assignment_expression "puVar14 = &DAT_0002c2bc" identifier = (pointer_expression "&DAT_0002c2bc" & identifier)) ;) (expression_statement "piVar15 = &DAT_0002c29c;" (assignment_expression "piVar15 = &DAT_0002c29c" identifier = (pointer_expression "&DAT_0002c29c" & identifier)) ;) (while_statement "while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }" while (parenthesized_expression "(cVar3 = FUN_00015ec0(param_1), cVar3 != ':')" ( (comma_expression "cVar3 = FUN_00015ec0(param_1), cVar3 != ':'" (assignment_expression "cVar3 = FUN_00015ec0(param_1)" identifier = (call_expression "FUN_00015ec0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "cVar3 != ':'" identifier != (char_literal "':'" ' character '))) )) (compound_statement "{\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }" { (if_statement "if (piVar12 == (int *)0x0) goto LAB_0001a454;" if (parenthesized_expression "(piVar12 == (int *)0x0)" ( (binary_expression "piVar12 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001a454;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar12;" (assignment_expression "iVar1 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (if_statement "if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }" if (parenthesized_expression "(cVar3 == '0')" ( (binary_expression "cVar3 == '0'" identifier == (char_literal "'0'" ' character ')) )) (compound_statement "{\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }" { (if_statement "if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }" if (parenthesized_expression "(iVar1 < 1)" ( (binary_expression "iVar1 < 1" identifier < number_literal) )) (compound_statement "{\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }" { (labeled_statement "LAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;" statement_identifier : (if_statement "if (-1 < iVar1) goto LAB_0001a384;" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (goto_statement "goto LAB_0001a384;" goto statement_identifier ;))) (expression_statement "FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));" (call_expression "FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258))" identifier (argument_list "("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258))" ( (string_literal ""Parameter type mismatch parameter %s."" " string_content ") , (pointer_expression "*(undefined4 *)(iVar1 * -4 + DAT_0002c258)" * (cast_expression "(undefined4 *)(iVar1 * -4 + DAT_0002c258)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 * -4 + DAT_0002c258)" ( (binary_expression "iVar1 * -4 + DAT_0002c258" (binary_expression "iVar1 * -4" identifier * number_literal) + identifier) )))) ))) ;) (expression_statement "puVar13 = puVar14;" (assignment_expression "puVar13 = puVar14" identifier = identifier) ;) (goto_statement "goto LAB_0001a2e1;" goto statement_identifier ;) })) (expression_statement "puVar4 = (undefined4 *)FUN_0001ab90(8);" (assignment_expression "puVar4 = (undefined4 *)FUN_0001ab90(8)" identifier = (cast_expression "(undefined4 *)FUN_0001ab90(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001ab90(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar13 = &DAT_0002c2bc;" (assignment_expression "puVar13 = &DAT_0002c2bc" identifier = (pointer_expression "&DAT_0002c2bc" & identifier)) ;) (expression_statement "puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);" (assignment_expression "puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" * (cast_expression "(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002c2b4 + iVar1 * 4)" ( (binary_expression "DAT_0002c2b4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) ;) (expression_statement "puVar8 = DAT_0002c2bc;" (assignment_expression "puVar8 = DAT_0002c2bc" identifier = identifier) ;) (expression_statement "*puVar4 = *DAT_0002c2bc;" (assignment_expression "*puVar4 = *DAT_0002c2bc" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*DAT_0002c2bc" * identifier)) ;) (expression_statement "FUN_0001c550(puVar8);" (call_expression "FUN_0001c550(puVar8)" identifier (argument_list "(puVar8)" ( identifier ))) ;) (expression_statement "*(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;" (assignment_expression "*(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4" (pointer_expression "*(undefined4 **)(DAT_0002c2b4 + iVar1 * 4)" * (cast_expression "(undefined4 **)(DAT_0002c2b4 + iVar1 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0002c2b4 + iVar1 * 4)" ( (binary_expression "DAT_0002c2b4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }" else (compound_statement "{\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }" { (if_statement "if (cVar3 != '1') goto LAB_0001a2b8;" if (parenthesized_expression "(cVar3 != '1')" ( (binary_expression "cVar3 != '1'" identifier != (char_literal "'1'" ' character ')) )) (goto_statement "goto LAB_0001a2b8;" goto statement_identifier ;)) (if_statement "if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }" { (expression_statement "puVar13 = &DAT_0002c2bc;" (assignment_expression "puVar13 = &DAT_0002c2bc" identifier = (pointer_expression "&DAT_0002c2bc" & identifier)) ;) (expression_statement "iVar5 = FUN_0001f020(*DAT_0002c2bc);" (assignment_expression "iVar5 = FUN_0001f020(*DAT_0002c2bc)" identifier = (call_expression "FUN_0001f020(*DAT_0002c2bc)" identifier (argument_list "(*DAT_0002c2bc)" ( (pointer_expression "*DAT_0002c2bc" * identifier) )))) ;) (expression_statement "FUN_000190f0(iVar5,0);" (call_expression "FUN_000190f0(iVar5,0)" identifier (argument_list "(iVar5,0)" ( identifier , number_literal ))) ;) (expression_statement "iVar1 = *piVar12;" (assignment_expression "iVar1 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (if_statement "if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }" if (parenthesized_expression "(iVar1 < 1)" ( (binary_expression "iVar1 < 1" identifier < number_literal) )) (compound_statement "{\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }" { (expression_statement "puVar8 = (undefined4 *)FUN_0001ab90(0xc);" (assignment_expression "puVar8 = (undefined4 *)FUN_0001ab90(0xc)" identifier = (cast_expression "(undefined4 *)FUN_0001ab90(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001ab90(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "iVar6 = DAT_0002c254;" (assignment_expression "iVar6 = DAT_0002c254" identifier = identifier) ;) (expression_statement "puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);" (assignment_expression "puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4)" identifier = (cast_expression "(undefined4 *)(DAT_0002c254 + iVar1 * -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002c254 + iVar1 * -4)" ( (binary_expression "DAT_0002c254 + iVar1 * -4" identifier + (binary_expression "iVar1 * -4" identifier * number_literal)) )))) ;) (expression_statement "uVar10 = *puVar4;" (assignment_expression "uVar10 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar8 + 1) = 0;" (assignment_expression "*(undefined1 *)(puVar8 + 1) = 0" (pointer_expression "*(undefined1 *)(puVar8 + 1)" * (cast_expression "(undefined1 *)(puVar8 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 1)" ( (binary_expression "puVar8 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar8[2] = uVar10;" (assignment_expression "puVar8[2] = uVar10" (subscript_expression "puVar8[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" * identifier) = identifier) ;) }) (else_clause "else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }" else (compound_statement "{\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }" { (expression_statement "iVar6 = FUN_0001ab90(8);" (assignment_expression "iVar6 = FUN_0001ab90(8)" identifier = (call_expression "FUN_0001ab90(8)" identifier (argument_list "(8)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);" (assignment_expression "*(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" (pointer_expression "*(undefined4 *)(iVar6 + 4)" * (cast_expression "(undefined4 *)(iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" * (cast_expression "(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002c2b4 + iVar1 * 4)" ( (binary_expression "DAT_0002c2b4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) ;) (expression_statement "FUN_0001c550(iVar6);" (call_expression "FUN_0001c550(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "*(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;" (assignment_expression "*(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6" (pointer_expression "*(int *)(DAT_0002c2b4 + iVar1 * 4)" * (cast_expression "(int *)(DAT_0002c2b4 + iVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002c2b4 + iVar1 * 4)" ( (binary_expression "DAT_0002c2b4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar6 = DAT_0002c254;" (assignment_expression "iVar6 = DAT_0002c254" identifier = identifier) ;) }))) (expression_statement "piVar7 = *(int **)(iVar6 + iVar5 * 4);" (assignment_expression "piVar7 = *(int **)(iVar6 + iVar5 * 4)" identifier = (pointer_expression "*(int **)(iVar6 + iVar5 * 4)" * (cast_expression "(int **)(iVar6 + iVar5 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + iVar5 * 4)" ( (binary_expression "iVar6 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }" if (parenthesized_expression "(iVar5 + *piVar12 == 0)" ( (binary_expression "iVar5 + *piVar12 == 0" (binary_expression "iVar5 + *piVar12" identifier + (pointer_expression "*piVar12" * identifier)) == number_literal) )) (compound_statement "{\n          piVar7 = (int *)piVar7[2];\n        }" { (expression_statement "piVar7 = (int *)piVar7[2];" (assignment_expression "piVar7 = (int *)piVar7[2]" identifier = (cast_expression "(int *)piVar7[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[2]" identifier [ number_literal ]))) ;) })) (expression_statement "piVar7 = (int *)*piVar7;" (assignment_expression "piVar7 = (int *)*piVar7" identifier = (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier))) ;) (expression_statement "piVar2 = *(int **)(iVar6 + *piVar12 * -4);" (assignment_expression "piVar2 = *(int **)(iVar6 + *piVar12 * -4)" identifier = (pointer_expression "*(int **)(iVar6 + *piVar12 * -4)" * (cast_expression "(int **)(iVar6 + *piVar12 * -4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + *piVar12 * -4)" ( (binary_expression "iVar6 + *piVar12 * -4" identifier + (binary_expression "*piVar12 * -4" (pointer_expression "*piVar12" * identifier) * number_literal)) ))))) ;) (if_statement "if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }" if (parenthesized_expression "(piVar12[1] == 0)" ( (binary_expression "piVar12[1] == 0" (subscript_expression "piVar12[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }" { (expression_statement "*(undefined1 *)(piVar2 + 1) = 0;" (assignment_expression "*(undefined1 *)(piVar2 + 1) = 0" (pointer_expression "*(undefined1 *)(piVar2 + 1)" * (cast_expression "(undefined1 *)(piVar2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 1)" ( (binary_expression "piVar2 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar9 = (int *)FUN_0001ab90(8);" (assignment_expression "piVar9 = (int *)FUN_0001ab90(8)" identifier = (cast_expression "(int *)FUN_0001ab90(8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001ab90(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "iVar6 = (int)(short)piVar7[1];" (assignment_expression "iVar6 = (int)(short)piVar7[1]" identifier = (cast_expression "(int)(short)piVar7[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(short)piVar7[1]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "piVar7[1]" identifier [ number_literal ])))) ;) (expression_statement "*(short *)(piVar9 + 1) = (short)piVar7[1];" (assignment_expression "*(short *)(piVar9 + 1) = (short)piVar7[1]" (pointer_expression "*(short *)(piVar9 + 1)" * (cast_expression "(short *)(piVar9 + 1)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar9 + 1)" ( (binary_expression "piVar9 + 1" identifier + number_literal) )))) = (cast_expression "(short)piVar7[1]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "piVar7[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar1 = *piVar7;" (assignment_expression "iVar1 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (expression_statement "iVar5 = FUN_0001ab90(0x100);" (assignment_expression "iVar5 = FUN_0001ab90(0x100)" identifier = (call_expression "FUN_0001ab90(0x100)" identifier (argument_list "(0x100)" ( number_literal )))) ;) (if_statement "if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }" if (parenthesized_expression "(iVar6 < 2)" ( (binary_expression "iVar6 < 2" identifier < number_literal) )) (compound_statement "{\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);" do (compound_statement "{\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            }" { (expression_statement "iVar11 = *(int *)(iVar1 + iVar6 * 4);" (assignment_expression "iVar11 = *(int *)(iVar1 + iVar6 * 4)" identifier = (pointer_expression "*(int *)(iVar1 + iVar6 * 4)" * (cast_expression "(int *)(iVar1 + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar6 * 4)" ( (binary_expression "iVar1 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }" { (expression_statement "*(undefined4 *)(iVar5 + iVar6 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar5 + iVar6 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar5 + iVar6 * 4)" * (cast_expression "(undefined4 *)(iVar5 + iVar6 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar6 * 4)" ( (binary_expression "iVar5 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) )))) = number_literal) ;) }) (else_clause "else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }" else (compound_statement "{\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }" { (expression_statement "uVar10 = FUN_0001c540(iVar11);" (assignment_expression "uVar10 = FUN_0001c540(iVar11)" identifier = (call_expression "FUN_0001c540(iVar11)" identifier (argument_list "(iVar11)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;" (assignment_expression "*(undefined4 *)(iVar5 + iVar6 * 4) = uVar10" (pointer_expression "*(undefined4 *)(iVar5 + iVar6 * 4)" * (cast_expression "(undefined4 *)(iVar5 + iVar6 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar6 * 4)" ( (binary_expression "iVar5 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) )))) = identifier) ;) }))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0x40)" ( (binary_expression "iVar6 != 0x40" identifier != number_literal) )) ;) }) (else_clause "else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }" else (compound_statement "{\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }" { (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (do_statement "do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);" do (compound_statement "{\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            }" { (while_statement "while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }" while (parenthesized_expression "(*(int *)(iVar1 + iVar11 * 4) != 0)" ( (binary_expression "*(int *)(iVar1 + iVar11 * 4) != 0" (pointer_expression "*(int *)(iVar1 + iVar11 * 4)" * (cast_expression "(int *)(iVar1 + iVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar11 * 4)" ( (binary_expression "iVar1 + iVar11 * 4" identifier + (binary_expression "iVar11 * 4" identifier * number_literal)) )))) != number_literal) )) (compound_statement "{\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }" { (expression_statement "uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);" (assignment_expression "uVar10 = FUN_000188e0(puVar14,piVar15,iVar6)" identifier = (call_expression "FUN_000188e0(puVar14,piVar15,iVar6)" identifier (argument_list "(puVar14,piVar15,iVar6)" ( identifier , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;" (assignment_expression "*(undefined4 *)(iVar5 + iVar11 * 4) = uVar10" (pointer_expression "*(undefined4 *)(iVar5 + iVar11 * 4)" * (cast_expression "(undefined4 *)(iVar5 + iVar11 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar11 * 4)" ( (binary_expression "iVar5 + iVar11 * 4" identifier + (binary_expression "iVar11 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (if_statement "if (iVar11 == 0x40) goto LAB_0001a53a;" if (parenthesized_expression "(iVar11 == 0x40)" ( (binary_expression "iVar11 == 0x40" identifier == number_literal) )) (goto_statement "goto LAB_0001a53a;" goto statement_identifier ;)) })) (expression_statement "*(undefined4 *)(iVar5 + iVar11 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar5 + iVar11 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar5 + iVar11 * 4)" * (cast_expression "(undefined4 *)(iVar5 + iVar11 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar11 * 4)" ( (binary_expression "iVar5 + iVar11 * 4" identifier + (binary_expression "iVar11 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar11 != 0x40)" ( (binary_expression "iVar11 != 0x40" identifier != number_literal) )) ;) }))) (labeled_statement "LAB_0001a53a:\n          *piVar9 = iVar5;" statement_identifier : (expression_statement "*piVar9 = iVar5;" (assignment_expression "*piVar9 = iVar5" (pointer_expression "*piVar9" * identifier) = identifier) ;)) (expression_statement "*piVar2 = (int)piVar9;" (assignment_expression "*piVar2 = (int)piVar9" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }" else (compound_statement "{\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }" { (expression_statement "*(undefined1 *)(piVar2 + 1) = 1;" (assignment_expression "*(undefined1 *)(piVar2 + 1) = 1" (pointer_expression "*(undefined1 *)(piVar2 + 1)" * (cast_expression "(undefined1 *)(piVar2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 1)" ( (binary_expression "piVar2 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*piVar2 = (int)piVar7;" (assignment_expression "*piVar2 = (int)piVar7" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (goto_statement "goto LAB_0001a2e7;" goto statement_identifier ;) })) (labeled_statement "LAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));" statement_identifier : (expression_statement "FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));" (call_expression "FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4))" identifier (argument_list "("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4))" ( (string_literal ""Parameter type mismatch, parameter %s."" " string_content ") , (pointer_expression "*(undefined4 *)(*piVar15 + iVar1 * 4)" * (cast_expression "(undefined4 *)(*piVar15 + iVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar15 + iVar1 * 4)" ( (binary_expression "*piVar15 + iVar1 * 4" (pointer_expression "*piVar15" * identifier) + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) ))) ;)) (expression_statement "puVar13 = puVar14;" (assignment_expression "puVar13 = puVar14" identifier = identifier) ;) (labeled_statement "LAB_0001a2e1:\n      piVar12 = piVar12 + 3;" statement_identifier : (expression_statement "piVar12 = piVar12 + 3;" (assignment_expression "piVar12 = piVar12 + 3" identifier = (binary_expression "piVar12 + 3" identifier + number_literal)) ;)) (expression_statement "puVar14 = puVar13;" (assignment_expression "puVar14 = puVar13" identifier = identifier) ;) }))) (labeled_statement "LAB_0001a2e7:\n    __ptr = (void *)*puVar13;" statement_identifier : (expression_statement "__ptr = (void *)*puVar13;" (assignment_expression "__ptr = (void *)*puVar13" identifier = (cast_expression "(void *)*puVar13" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar13" * identifier))) ;)) (if_statement "if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }" { (expression_statement "*puVar13 = *(undefined4 *)((int)__ptr + 4);" (assignment_expression "*puVar13 = *(undefined4 *)((int)__ptr + 4)" (pointer_expression "*puVar13" * identifier) = (pointer_expression "*(undefined4 *)((int)__ptr + 4)" * (cast_expression "(undefined4 *)((int)__ptr + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__ptr + 4)" ( (binary_expression "(int)__ptr + 4" (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "FUN_0001c2e0(__ptr);" (call_expression "FUN_0001c2e0(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) })) (expression_statement "piVar12 = (int *)piVar12[2];" (assignment_expression "piVar12 = (int *)piVar12[2]" identifier = (cast_expression "(int *)piVar12[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[2]" identifier [ number_literal ]))) ;) })) (if_statement "if (piVar12 != (int *)0x0) {\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }" if (parenthesized_expression "(piVar12 != (int *)0x0)" ( (binary_expression "piVar12 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }" { (labeled_statement "LAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");" statement_identifier : (expression_statement "FUN_0001b7b0("Parameter number mismatch");" (call_expression "FUN_0001b7b0("Parameter number mismatch")" identifier (argument_list "("Parameter number mismatch")" ( (string_literal ""Parameter number mismatch"" " string_content ") ))) ;)) })) (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 */\n\nvoid process_params(program_counter *progctr,int func)\n\n{\n  short sVar1;\n  bc_array *pbVar2;\n  bc_array_node *pbVar3;\n  estack_rec *peVar4;\n  uchar uVar5;\n  bc_var *pbVar6;\n  long var_index;\n  bc_var_array *pbVar7;\n  bc_var_array *pbVar8;\n  bc_array *pbVar9;\n  bc_array_node *pbVar10;\n  bc_array_node *pbVar11;\n  bc_num pbVar12;\n  bc_var_array **ppbVar13;\n  bc_var_array **ppbVar14;\n  arg_list *paVar15;\n  int iVar16;\n  \n  paVar15 = functions[func].f_params;\n  while (uVar5 = byte(progctr), uVar5 != ':') {\n    if (paVar15 == (arg_list *)0x0) goto LAB_0001a454;\n    iVar16 = paVar15->av_name;\n    if (uVar5 == '0') {\n      if (iVar16 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar16) goto LAB_0001a384;\n        rt_error("Parameter type mismatch parameter %s.",a_names[-iVar16]);\n        goto LAB_0001a2e1;\n      }\n      pbVar6 = (bc_var *)bc_malloc(8);\n      pbVar6->v_next = variables[iVar16];\n      peVar4 = ex_stack;\n      pbVar6->v_value = ex_stack->s_num;\n      bc_init_num(&peVar4->s_num);\n      variables[iVar16] = pbVar6;\n    }\n    else {\n      if (uVar5 != '1') goto LAB_0001a2b8;\n      if (iVar16 < 0) {\n        var_index = bc_num2long(ex_stack->s_num);\n        get_array_num(var_index,0);\n        iVar16 = paVar15->av_name;\n        if (iVar16 < 1) {\n          pbVar8 = (bc_var_array *)bc_malloc(0xc);\n          ppbVar14 = arrays;\n          ppbVar13 = arrays + -iVar16;\n          pbVar7 = *ppbVar13;\n          pbVar8->a_value = (bc_array *)0x0;\n          pbVar8->a_param = '\0';\n          pbVar8->a_next = pbVar7;\n          *ppbVar13 = pbVar8;\n        }\n        else {\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }\n        pbVar7 = ppbVar14[var_index];\n        if (var_index + paVar15->av_name == 0) {\n          pbVar7 = pbVar7->a_next;\n        }\n        pbVar2 = pbVar7->a_value;\n        pbVar7 = ppbVar14[-paVar15->av_name];\n        if (paVar15->arg_is_var == 0) {\n          pbVar7->a_param = '\0';\n          pbVar9 = (bc_array *)bc_malloc(8);\n          sVar1 = pbVar2->a_depth;\n          pbVar9->a_depth = sVar1;\n          pbVar3 = pbVar2->a_tree;\n          pbVar10 = (bc_array_node *)bc_malloc(0x100);\n          if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\nLAB_0001a53a:\n          pbVar9->a_tree = pbVar10;\n          pbVar7->a_value = pbVar9;\n        }\n        else {\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      rt_error("Parameter type mismatch, parameter %s.",v_names[iVar16]);\nLAB_0001a2e1:\n      paVar15 = paVar15 + 1;\n    }\nLAB_0001a2e7:\n    peVar4 = ex_stack;\n    if (ex_stack != (estack_rec *)0x0) {\n      ex_stack = ex_stack->s_next;\n      bc_free_num(&peVar4->s_num);\n      free(peVar4);\n    }\n    paVar15 = paVar15->next;\n  }\n  if (paVar15 != (arg_list *)0x0) {\nLAB_0001a454:\n    rt_error("Parameter number mismatch");\n  }\n  return;\n}\n\n" comment comment (function_definition "void process_params(program_counter *progctr,int func)\n\n{\n  short sVar1;\n  bc_array *pbVar2;\n  bc_array_node *pbVar3;\n  estack_rec *peVar4;\n  uchar uVar5;\n  bc_var *pbVar6;\n  long var_index;\n  bc_var_array *pbVar7;\n  bc_var_array *pbVar8;\n  bc_array *pbVar9;\n  bc_array_node *pbVar10;\n  bc_array_node *pbVar11;\n  bc_num pbVar12;\n  bc_var_array **ppbVar13;\n  bc_var_array **ppbVar14;\n  arg_list *paVar15;\n  int iVar16;\n  \n  paVar15 = functions[func].f_params;\n  while (uVar5 = byte(progctr), uVar5 != ':') {\n    if (paVar15 == (arg_list *)0x0) goto LAB_0001a454;\n    iVar16 = paVar15->av_name;\n    if (uVar5 == '0') {\n      if (iVar16 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar16) goto LAB_0001a384;\n        rt_error("Parameter type mismatch parameter %s.",a_names[-iVar16]);\n        goto LAB_0001a2e1;\n      }\n      pbVar6 = (bc_var *)bc_malloc(8);\n      pbVar6->v_next = variables[iVar16];\n      peVar4 = ex_stack;\n      pbVar6->v_value = ex_stack->s_num;\n      bc_init_num(&peVar4->s_num);\n      variables[iVar16] = pbVar6;\n    }\n    else {\n      if (uVar5 != '1') goto LAB_0001a2b8;\n      if (iVar16 < 0) {\n        var_index = bc_num2long(ex_stack->s_num);\n        get_array_num(var_index,0);\n        iVar16 = paVar15->av_name;\n        if (iVar16 < 1) {\n          pbVar8 = (bc_var_array *)bc_malloc(0xc);\n          ppbVar14 = arrays;\n          ppbVar13 = arrays + -iVar16;\n          pbVar7 = *ppbVar13;\n          pbVar8->a_value = (bc_array *)0x0;\n          pbVar8->a_param = '\0';\n          pbVar8->a_next = pbVar7;\n          *ppbVar13 = pbVar8;\n        }\n        else {\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }\n        pbVar7 = ppbVar14[var_index];\n        if (var_index + paVar15->av_name == 0) {\n          pbVar7 = pbVar7->a_next;\n        }\n        pbVar2 = pbVar7->a_value;\n        pbVar7 = ppbVar14[-paVar15->av_name];\n        if (paVar15->arg_is_var == 0) {\n          pbVar7->a_param = '\0';\n          pbVar9 = (bc_array *)bc_malloc(8);\n          sVar1 = pbVar2->a_depth;\n          pbVar9->a_depth = sVar1;\n          pbVar3 = pbVar2->a_tree;\n          pbVar10 = (bc_array_node *)bc_malloc(0x100);\n          if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\nLAB_0001a53a:\n          pbVar9->a_tree = pbVar10;\n          pbVar7->a_value = pbVar9;\n        }\n        else {\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      rt_error("Parameter type mismatch, parameter %s.",v_names[iVar16]);\nLAB_0001a2e1:\n      paVar15 = paVar15 + 1;\n    }\nLAB_0001a2e7:\n    peVar4 = ex_stack;\n    if (ex_stack != (estack_rec *)0x0) {\n      ex_stack = ex_stack->s_next;\n      bc_free_num(&peVar4->s_num);\n      free(peVar4);\n    }\n    paVar15 = paVar15->next;\n  }\n  if (paVar15 != (arg_list *)0x0) {\nLAB_0001a454:\n    rt_error("Parameter number mismatch");\n  }\n  return;\n}" primitive_type (function_declarator "process_params(program_counter *progctr,int func)" identifier (parameter_list "(program_counter *progctr,int func)" ( (parameter_declaration "program_counter *progctr" type_identifier (pointer_declarator "*progctr" * identifier)) , (parameter_declaration "int func" primitive_type identifier) ))) (compound_statement "{\n  short sVar1;\n  bc_array *pbVar2;\n  bc_array_node *pbVar3;\n  estack_rec *peVar4;\n  uchar uVar5;\n  bc_var *pbVar6;\n  long var_index;\n  bc_var_array *pbVar7;\n  bc_var_array *pbVar8;\n  bc_array *pbVar9;\n  bc_array_node *pbVar10;\n  bc_array_node *pbVar11;\n  bc_num pbVar12;\n  bc_var_array **ppbVar13;\n  bc_var_array **ppbVar14;\n  arg_list *paVar15;\n  int iVar16;\n  \n  paVar15 = functions[func].f_params;\n  while (uVar5 = byte(progctr), uVar5 != ':') {\n    if (paVar15 == (arg_list *)0x0) goto LAB_0001a454;\n    iVar16 = paVar15->av_name;\n    if (uVar5 == '0') {\n      if (iVar16 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar16) goto LAB_0001a384;\n        rt_error("Parameter type mismatch parameter %s.",a_names[-iVar16]);\n        goto LAB_0001a2e1;\n      }\n      pbVar6 = (bc_var *)bc_malloc(8);\n      pbVar6->v_next = variables[iVar16];\n      peVar4 = ex_stack;\n      pbVar6->v_value = ex_stack->s_num;\n      bc_init_num(&peVar4->s_num);\n      variables[iVar16] = pbVar6;\n    }\n    else {\n      if (uVar5 != '1') goto LAB_0001a2b8;\n      if (iVar16 < 0) {\n        var_index = bc_num2long(ex_stack->s_num);\n        get_array_num(var_index,0);\n        iVar16 = paVar15->av_name;\n        if (iVar16 < 1) {\n          pbVar8 = (bc_var_array *)bc_malloc(0xc);\n          ppbVar14 = arrays;\n          ppbVar13 = arrays + -iVar16;\n          pbVar7 = *ppbVar13;\n          pbVar8->a_value = (bc_array *)0x0;\n          pbVar8->a_param = '\0';\n          pbVar8->a_next = pbVar7;\n          *ppbVar13 = pbVar8;\n        }\n        else {\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }\n        pbVar7 = ppbVar14[var_index];\n        if (var_index + paVar15->av_name == 0) {\n          pbVar7 = pbVar7->a_next;\n        }\n        pbVar2 = pbVar7->a_value;\n        pbVar7 = ppbVar14[-paVar15->av_name];\n        if (paVar15->arg_is_var == 0) {\n          pbVar7->a_param = '\0';\n          pbVar9 = (bc_array *)bc_malloc(8);\n          sVar1 = pbVar2->a_depth;\n          pbVar9->a_depth = sVar1;\n          pbVar3 = pbVar2->a_tree;\n          pbVar10 = (bc_array_node *)bc_malloc(0x100);\n          if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\nLAB_0001a53a:\n          pbVar9->a_tree = pbVar10;\n          pbVar7->a_value = pbVar9;\n        }\n        else {\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      rt_error("Parameter type mismatch, parameter %s.",v_names[iVar16]);\nLAB_0001a2e1:\n      paVar15 = paVar15 + 1;\n    }\nLAB_0001a2e7:\n    peVar4 = ex_stack;\n    if (ex_stack != (estack_rec *)0x0) {\n      ex_stack = ex_stack->s_next;\n      bc_free_num(&peVar4->s_num);\n      free(peVar4);\n    }\n    paVar15 = paVar15->next;\n  }\n  if (paVar15 != (arg_list *)0x0) {\nLAB_0001a454:\n    rt_error("Parameter number mismatch");\n  }\n  return;\n}" { (declaration "short sVar1;" (sized_type_specifier "short" short) identifier ;) (declaration "bc_array *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "bc_array_node *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "estack_rec *peVar4;" type_identifier (pointer_declarator "*peVar4" * identifier) ;) (declaration "uchar uVar5;" type_identifier identifier ;) (declaration "bc_var *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "long var_index;" (sized_type_specifier "long" long) identifier ;) (declaration "bc_var_array *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "bc_var_array *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "bc_array *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "bc_array_node *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "bc_array_node *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "bc_num pbVar12;" type_identifier identifier ;) (declaration "bc_var_array **ppbVar13;" type_identifier (pointer_declarator "**ppbVar13" * (pointer_declarator "*ppbVar13" * identifier)) ;) (declaration "bc_var_array **ppbVar14;" type_identifier (pointer_declarator "**ppbVar14" * (pointer_declarator "*ppbVar14" * identifier)) ;) (declaration "arg_list *paVar15;" type_identifier (pointer_declarator "*paVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (expression_statement "paVar15 = functions[func].f_params;" (assignment_expression "paVar15 = functions[func].f_params" identifier = (field_expression "functions[func].f_params" (subscript_expression "functions[func]" identifier [ identifier ]) . field_identifier)) ;) (while_statement "while (uVar5 = byte(progctr), uVar5 != ':') {\n    if (paVar15 == (arg_list *)0x0) goto LAB_0001a454;\n    iVar16 = paVar15->av_name;\n    if (uVar5 == '0') {\n      if (iVar16 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar16) goto LAB_0001a384;\n        rt_error("Parameter type mismatch parameter %s.",a_names[-iVar16]);\n        goto LAB_0001a2e1;\n      }\n      pbVar6 = (bc_var *)bc_malloc(8);\n      pbVar6->v_next = variables[iVar16];\n      peVar4 = ex_stack;\n      pbVar6->v_value = ex_stack->s_num;\n      bc_init_num(&peVar4->s_num);\n      variables[iVar16] = pbVar6;\n    }\n    else {\n      if (uVar5 != '1') goto LAB_0001a2b8;\n      if (iVar16 < 0) {\n        var_index = bc_num2long(ex_stack->s_num);\n        get_array_num(var_index,0);\n        iVar16 = paVar15->av_name;\n        if (iVar16 < 1) {\n          pbVar8 = (bc_var_array *)bc_malloc(0xc);\n          ppbVar14 = arrays;\n          ppbVar13 = arrays + -iVar16;\n          pbVar7 = *ppbVar13;\n          pbVar8->a_value = (bc_array *)0x0;\n          pbVar8->a_param = '\0';\n          pbVar8->a_next = pbVar7;\n          *ppbVar13 = pbVar8;\n        }\n        else {\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }\n        pbVar7 = ppbVar14[var_index];\n        if (var_index + paVar15->av_name == 0) {\n          pbVar7 = pbVar7->a_next;\n        }\n        pbVar2 = pbVar7->a_value;\n        pbVar7 = ppbVar14[-paVar15->av_name];\n        if (paVar15->arg_is_var == 0) {\n          pbVar7->a_param = '\0';\n          pbVar9 = (bc_array *)bc_malloc(8);\n          sVar1 = pbVar2->a_depth;\n          pbVar9->a_depth = sVar1;\n          pbVar3 = pbVar2->a_tree;\n          pbVar10 = (bc_array_node *)bc_malloc(0x100);\n          if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\nLAB_0001a53a:\n          pbVar9->a_tree = pbVar10;\n          pbVar7->a_value = pbVar9;\n        }\n        else {\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      rt_error("Parameter type mismatch, parameter %s.",v_names[iVar16]);\nLAB_0001a2e1:\n      paVar15 = paVar15 + 1;\n    }\nLAB_0001a2e7:\n    peVar4 = ex_stack;\n    if (ex_stack != (estack_rec *)0x0) {\n      ex_stack = ex_stack->s_next;\n      bc_free_num(&peVar4->s_num);\n      free(peVar4);\n    }\n    paVar15 = paVar15->next;\n  }" while (parenthesized_expression "(uVar5 = byte(progctr), uVar5 != ':')" ( (comma_expression "uVar5 = byte(progctr), uVar5 != ':'" (assignment_expression "uVar5 = byte(progctr)" identifier = (call_expression "byte(progctr)" identifier (argument_list "(progctr)" ( identifier )))) , (binary_expression "uVar5 != ':'" identifier != (char_literal "':'" ' character '))) )) (compound_statement "{\n    if (paVar15 == (arg_list *)0x0) goto LAB_0001a454;\n    iVar16 = paVar15->av_name;\n    if (uVar5 == '0') {\n      if (iVar16 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar16) goto LAB_0001a384;\n        rt_error("Parameter type mismatch parameter %s.",a_names[-iVar16]);\n        goto LAB_0001a2e1;\n      }\n      pbVar6 = (bc_var *)bc_malloc(8);\n      pbVar6->v_next = variables[iVar16];\n      peVar4 = ex_stack;\n      pbVar6->v_value = ex_stack->s_num;\n      bc_init_num(&peVar4->s_num);\n      variables[iVar16] = pbVar6;\n    }\n    else {\n      if (uVar5 != '1') goto LAB_0001a2b8;\n      if (iVar16 < 0) {\n        var_index = bc_num2long(ex_stack->s_num);\n        get_array_num(var_index,0);\n        iVar16 = paVar15->av_name;\n        if (iVar16 < 1) {\n          pbVar8 = (bc_var_array *)bc_malloc(0xc);\n          ppbVar14 = arrays;\n          ppbVar13 = arrays + -iVar16;\n          pbVar7 = *ppbVar13;\n          pbVar8->a_value = (bc_array *)0x0;\n          pbVar8->a_param = '\0';\n          pbVar8->a_next = pbVar7;\n          *ppbVar13 = pbVar8;\n        }\n        else {\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }\n        pbVar7 = ppbVar14[var_index];\n        if (var_index + paVar15->av_name == 0) {\n          pbVar7 = pbVar7->a_next;\n        }\n        pbVar2 = pbVar7->a_value;\n        pbVar7 = ppbVar14[-paVar15->av_name];\n        if (paVar15->arg_is_var == 0) {\n          pbVar7->a_param = '\0';\n          pbVar9 = (bc_array *)bc_malloc(8);\n          sVar1 = pbVar2->a_depth;\n          pbVar9->a_depth = sVar1;\n          pbVar3 = pbVar2->a_tree;\n          pbVar10 = (bc_array_node *)bc_malloc(0x100);\n          if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\nLAB_0001a53a:\n          pbVar9->a_tree = pbVar10;\n          pbVar7->a_value = pbVar9;\n        }\n        else {\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      rt_error("Parameter type mismatch, parameter %s.",v_names[iVar16]);\nLAB_0001a2e1:\n      paVar15 = paVar15 + 1;\n    }\nLAB_0001a2e7:\n    peVar4 = ex_stack;\n    if (ex_stack != (estack_rec *)0x0) {\n      ex_stack = ex_stack->s_next;\n      bc_free_num(&peVar4->s_num);\n      free(peVar4);\n    }\n    paVar15 = paVar15->next;\n  }" { (if_statement "if (paVar15 == (arg_list *)0x0) goto LAB_0001a454;" if (parenthesized_expression "(paVar15 == (arg_list *)0x0)" ( (binary_expression "paVar15 == (arg_list *)0x0" identifier == (cast_expression "(arg_list *)0x0" ( (type_descriptor "arg_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001a454;" goto statement_identifier ;)) (expression_statement "iVar16 = paVar15->av_name;" (assignment_expression "iVar16 = paVar15->av_name" identifier = (field_expression "paVar15->av_name" identifier -> field_identifier)) ;) (if_statement "if (uVar5 == '0') {\n      if (iVar16 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar16) goto LAB_0001a384;\n        rt_error("Parameter type mismatch parameter %s.",a_names[-iVar16]);\n        goto LAB_0001a2e1;\n      }\n      pbVar6 = (bc_var *)bc_malloc(8);\n      pbVar6->v_next = variables[iVar16];\n      peVar4 = ex_stack;\n      pbVar6->v_value = ex_stack->s_num;\n      bc_init_num(&peVar4->s_num);\n      variables[iVar16] = pbVar6;\n    }\n    else {\n      if (uVar5 != '1') goto LAB_0001a2b8;\n      if (iVar16 < 0) {\n        var_index = bc_num2long(ex_stack->s_num);\n        get_array_num(var_index,0);\n        iVar16 = paVar15->av_name;\n        if (iVar16 < 1) {\n          pbVar8 = (bc_var_array *)bc_malloc(0xc);\n          ppbVar14 = arrays;\n          ppbVar13 = arrays + -iVar16;\n          pbVar7 = *ppbVar13;\n          pbVar8->a_value = (bc_array *)0x0;\n          pbVar8->a_param = '\0';\n          pbVar8->a_next = pbVar7;\n          *ppbVar13 = pbVar8;\n        }\n        else {\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }\n        pbVar7 = ppbVar14[var_index];\n        if (var_index + paVar15->av_name == 0) {\n          pbVar7 = pbVar7->a_next;\n        }\n        pbVar2 = pbVar7->a_value;\n        pbVar7 = ppbVar14[-paVar15->av_name];\n        if (paVar15->arg_is_var == 0) {\n          pbVar7->a_param = '\0';\n          pbVar9 = (bc_array *)bc_malloc(8);\n          sVar1 = pbVar2->a_depth;\n          pbVar9->a_depth = sVar1;\n          pbVar3 = pbVar2->a_tree;\n          pbVar10 = (bc_array_node *)bc_malloc(0x100);\n          if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\nLAB_0001a53a:\n          pbVar9->a_tree = pbVar10;\n          pbVar7->a_value = pbVar9;\n        }\n        else {\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      rt_error("Parameter type mismatch, parameter %s.",v_names[iVar16]);\nLAB_0001a2e1:\n      paVar15 = paVar15 + 1;\n    }" if (parenthesized_expression "(uVar5 == '0')" ( (binary_expression "uVar5 == '0'" identifier == (char_literal "'0'" ' character ')) )) (compound_statement "{\n      if (iVar16 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar16) goto LAB_0001a384;\n        rt_error("Parameter type mismatch parameter %s.",a_names[-iVar16]);\n        goto LAB_0001a2e1;\n      }\n      pbVar6 = (bc_var *)bc_malloc(8);\n      pbVar6->v_next = variables[iVar16];\n      peVar4 = ex_stack;\n      pbVar6->v_value = ex_stack->s_num;\n      bc_init_num(&peVar4->s_num);\n      variables[iVar16] = pbVar6;\n    }" { (if_statement "if (iVar16 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar16) goto LAB_0001a384;\n        rt_error("Parameter type mismatch parameter %s.",a_names[-iVar16]);\n        goto LAB_0001a2e1;\n      }" if (parenthesized_expression "(iVar16 < 1)" ( (binary_expression "iVar16 < 1" identifier < number_literal) )) (compound_statement "{\nLAB_0001a2b8:\n        if (-1 < iVar16) goto LAB_0001a384;\n        rt_error("Parameter type mismatch parameter %s.",a_names[-iVar16]);\n        goto LAB_0001a2e1;\n      }" { (labeled_statement "LAB_0001a2b8:\n        if (-1 < iVar16) goto LAB_0001a384;" statement_identifier : (if_statement "if (-1 < iVar16) goto LAB_0001a384;" if (parenthesized_expression "(-1 < iVar16)" ( (binary_expression "-1 < iVar16" number_literal < identifier) )) (goto_statement "goto LAB_0001a384;" goto statement_identifier ;))) (expression_statement "rt_error("Parameter type mismatch parameter %s.",a_names[-iVar16]);" (call_expression "rt_error("Parameter type mismatch parameter %s.",a_names[-iVar16])" identifier (argument_list "("Parameter type mismatch parameter %s.",a_names[-iVar16])" ( (string_literal ""Parameter type mismatch parameter %s."" " string_content ") , (subscript_expression "a_names[-iVar16]" identifier [ (unary_expression "-iVar16" - identifier) ]) ))) ;) (goto_statement "goto LAB_0001a2e1;" goto statement_identifier ;) })) (expression_statement "pbVar6 = (bc_var *)bc_malloc(8);" (assignment_expression "pbVar6 = (bc_var *)bc_malloc(8)" identifier = (cast_expression "(bc_var *)bc_malloc(8)" ( (type_descriptor "bc_var *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bc_malloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "pbVar6->v_next = variables[iVar16];" (assignment_expression "pbVar6->v_next = variables[iVar16]" (field_expression "pbVar6->v_next" identifier -> field_identifier) = (subscript_expression "variables[iVar16]" identifier [ identifier ])) ;) (expression_statement "peVar4 = ex_stack;" (assignment_expression "peVar4 = ex_stack" identifier = identifier) ;) (expression_statement "pbVar6->v_value = ex_stack->s_num;" (assignment_expression "pbVar6->v_value = ex_stack->s_num" (field_expression "pbVar6->v_value" identifier -> field_identifier) = (field_expression "ex_stack->s_num" identifier -> field_identifier)) ;) (expression_statement "bc_init_num(&peVar4->s_num);" (call_expression "bc_init_num(&peVar4->s_num)" identifier (argument_list "(&peVar4->s_num)" ( (pointer_expression "&peVar4->s_num" & (field_expression "peVar4->s_num" identifier -> field_identifier)) ))) ;) (expression_statement "variables[iVar16] = pbVar6;" (assignment_expression "variables[iVar16] = pbVar6" (subscript_expression "variables[iVar16]" identifier [ identifier ]) = identifier) ;) }) (else_clause "else {\n      if (uVar5 != '1') goto LAB_0001a2b8;\n      if (iVar16 < 0) {\n        var_index = bc_num2long(ex_stack->s_num);\n        get_array_num(var_index,0);\n        iVar16 = paVar15->av_name;\n        if (iVar16 < 1) {\n          pbVar8 = (bc_var_array *)bc_malloc(0xc);\n          ppbVar14 = arrays;\n          ppbVar13 = arrays + -iVar16;\n          pbVar7 = *ppbVar13;\n          pbVar8->a_value = (bc_array *)0x0;\n          pbVar8->a_param = '\0';\n          pbVar8->a_next = pbVar7;\n          *ppbVar13 = pbVar8;\n        }\n        else {\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }\n        pbVar7 = ppbVar14[var_index];\n        if (var_index + paVar15->av_name == 0) {\n          pbVar7 = pbVar7->a_next;\n        }\n        pbVar2 = pbVar7->a_value;\n        pbVar7 = ppbVar14[-paVar15->av_name];\n        if (paVar15->arg_is_var == 0) {\n          pbVar7->a_param = '\0';\n          pbVar9 = (bc_array *)bc_malloc(8);\n          sVar1 = pbVar2->a_depth;\n          pbVar9->a_depth = sVar1;\n          pbVar3 = pbVar2->a_tree;\n          pbVar10 = (bc_array_node *)bc_malloc(0x100);\n          if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\nLAB_0001a53a:\n          pbVar9->a_tree = pbVar10;\n          pbVar7->a_value = pbVar9;\n        }\n        else {\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      rt_error("Parameter type mismatch, parameter %s.",v_names[iVar16]);\nLAB_0001a2e1:\n      paVar15 = paVar15 + 1;\n    }" else (compound_statement "{\n      if (uVar5 != '1') goto LAB_0001a2b8;\n      if (iVar16 < 0) {\n        var_index = bc_num2long(ex_stack->s_num);\n        get_array_num(var_index,0);\n        iVar16 = paVar15->av_name;\n        if (iVar16 < 1) {\n          pbVar8 = (bc_var_array *)bc_malloc(0xc);\n          ppbVar14 = arrays;\n          ppbVar13 = arrays + -iVar16;\n          pbVar7 = *ppbVar13;\n          pbVar8->a_value = (bc_array *)0x0;\n          pbVar8->a_param = '\0';\n          pbVar8->a_next = pbVar7;\n          *ppbVar13 = pbVar8;\n        }\n        else {\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }\n        pbVar7 = ppbVar14[var_index];\n        if (var_index + paVar15->av_name == 0) {\n          pbVar7 = pbVar7->a_next;\n        }\n        pbVar2 = pbVar7->a_value;\n        pbVar7 = ppbVar14[-paVar15->av_name];\n        if (paVar15->arg_is_var == 0) {\n          pbVar7->a_param = '\0';\n          pbVar9 = (bc_array *)bc_malloc(8);\n          sVar1 = pbVar2->a_depth;\n          pbVar9->a_depth = sVar1;\n          pbVar3 = pbVar2->a_tree;\n          pbVar10 = (bc_array_node *)bc_malloc(0x100);\n          if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\nLAB_0001a53a:\n          pbVar9->a_tree = pbVar10;\n          pbVar7->a_value = pbVar9;\n        }\n        else {\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      rt_error("Parameter type mismatch, parameter %s.",v_names[iVar16]);\nLAB_0001a2e1:\n      paVar15 = paVar15 + 1;\n    }" { (if_statement "if (uVar5 != '1') goto LAB_0001a2b8;" if (parenthesized_expression "(uVar5 != '1')" ( (binary_expression "uVar5 != '1'" identifier != (char_literal "'1'" ' character ')) )) (goto_statement "goto LAB_0001a2b8;" goto statement_identifier ;)) (if_statement "if (iVar16 < 0) {\n        var_index = bc_num2long(ex_stack->s_num);\n        get_array_num(var_index,0);\n        iVar16 = paVar15->av_name;\n        if (iVar16 < 1) {\n          pbVar8 = (bc_var_array *)bc_malloc(0xc);\n          ppbVar14 = arrays;\n          ppbVar13 = arrays + -iVar16;\n          pbVar7 = *ppbVar13;\n          pbVar8->a_value = (bc_array *)0x0;\n          pbVar8->a_param = '\0';\n          pbVar8->a_next = pbVar7;\n          *ppbVar13 = pbVar8;\n        }\n        else {\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }\n        pbVar7 = ppbVar14[var_index];\n        if (var_index + paVar15->av_name == 0) {\n          pbVar7 = pbVar7->a_next;\n        }\n        pbVar2 = pbVar7->a_value;\n        pbVar7 = ppbVar14[-paVar15->av_name];\n        if (paVar15->arg_is_var == 0) {\n          pbVar7->a_param = '\0';\n          pbVar9 = (bc_array *)bc_malloc(8);\n          sVar1 = pbVar2->a_depth;\n          pbVar9->a_depth = sVar1;\n          pbVar3 = pbVar2->a_tree;\n          pbVar10 = (bc_array_node *)bc_malloc(0x100);\n          if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\nLAB_0001a53a:\n          pbVar9->a_tree = pbVar10;\n          pbVar7->a_value = pbVar9;\n        }\n        else {\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }\n        goto LAB_0001a2e7;\n      }" if (parenthesized_expression "(iVar16 < 0)" ( (binary_expression "iVar16 < 0" identifier < number_literal) )) (compound_statement "{\n        var_index = bc_num2long(ex_stack->s_num);\n        get_array_num(var_index,0);\n        iVar16 = paVar15->av_name;\n        if (iVar16 < 1) {\n          pbVar8 = (bc_var_array *)bc_malloc(0xc);\n          ppbVar14 = arrays;\n          ppbVar13 = arrays + -iVar16;\n          pbVar7 = *ppbVar13;\n          pbVar8->a_value = (bc_array *)0x0;\n          pbVar8->a_param = '\0';\n          pbVar8->a_next = pbVar7;\n          *ppbVar13 = pbVar8;\n        }\n        else {\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }\n        pbVar7 = ppbVar14[var_index];\n        if (var_index + paVar15->av_name == 0) {\n          pbVar7 = pbVar7->a_next;\n        }\n        pbVar2 = pbVar7->a_value;\n        pbVar7 = ppbVar14[-paVar15->av_name];\n        if (paVar15->arg_is_var == 0) {\n          pbVar7->a_param = '\0';\n          pbVar9 = (bc_array *)bc_malloc(8);\n          sVar1 = pbVar2->a_depth;\n          pbVar9->a_depth = sVar1;\n          pbVar3 = pbVar2->a_tree;\n          pbVar10 = (bc_array_node *)bc_malloc(0x100);\n          if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\nLAB_0001a53a:\n          pbVar9->a_tree = pbVar10;\n          pbVar7->a_value = pbVar9;\n        }\n        else {\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }\n        goto LAB_0001a2e7;\n      }" { (expression_statement "var_index = bc_num2long(ex_stack->s_num);" (assignment_expression "var_index = bc_num2long(ex_stack->s_num)" identifier = (call_expression "bc_num2long(ex_stack->s_num)" identifier (argument_list "(ex_stack->s_num)" ( (field_expression "ex_stack->s_num" identifier -> field_identifier) )))) ;) (expression_statement "get_array_num(var_index,0);" (call_expression "get_array_num(var_index,0)" identifier (argument_list "(var_index,0)" ( identifier , number_literal ))) ;) (expression_statement "iVar16 = paVar15->av_name;" (assignment_expression "iVar16 = paVar15->av_name" identifier = (field_expression "paVar15->av_name" identifier -> field_identifier)) ;) (if_statement "if (iVar16 < 1) {\n          pbVar8 = (bc_var_array *)bc_malloc(0xc);\n          ppbVar14 = arrays;\n          ppbVar13 = arrays + -iVar16;\n          pbVar7 = *ppbVar13;\n          pbVar8->a_value = (bc_array *)0x0;\n          pbVar8->a_param = '\0';\n          pbVar8->a_next = pbVar7;\n          *ppbVar13 = pbVar8;\n        }\n        else {\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }" if (parenthesized_expression "(iVar16 < 1)" ( (binary_expression "iVar16 < 1" identifier < number_literal) )) (compound_statement "{\n          pbVar8 = (bc_var_array *)bc_malloc(0xc);\n          ppbVar14 = arrays;\n          ppbVar13 = arrays + -iVar16;\n          pbVar7 = *ppbVar13;\n          pbVar8->a_value = (bc_array *)0x0;\n          pbVar8->a_param = '\0';\n          pbVar8->a_next = pbVar7;\n          *ppbVar13 = pbVar8;\n        }" { (expression_statement "pbVar8 = (bc_var_array *)bc_malloc(0xc);" (assignment_expression "pbVar8 = (bc_var_array *)bc_malloc(0xc)" identifier = (cast_expression "(bc_var_array *)bc_malloc(0xc)" ( (type_descriptor "bc_var_array *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bc_malloc(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "ppbVar14 = arrays;" (assignment_expression "ppbVar14 = arrays" identifier = identifier) ;) (expression_statement "ppbVar13 = arrays + -iVar16;" (assignment_expression "ppbVar13 = arrays + -iVar16" identifier = (binary_expression "arrays + -iVar16" identifier + (unary_expression "-iVar16" - identifier))) ;) (expression_statement "pbVar7 = *ppbVar13;" (assignment_expression "pbVar7 = *ppbVar13" identifier = (pointer_expression "*ppbVar13" * identifier)) ;) (expression_statement "pbVar8->a_value = (bc_array *)0x0;" (assignment_expression "pbVar8->a_value = (bc_array *)0x0" (field_expression "pbVar8->a_value" identifier -> field_identifier) = (cast_expression "(bc_array *)0x0" ( (type_descriptor "bc_array *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pbVar8->a_param = '\0';" (assignment_expression "pbVar8->a_param = '\0'" (field_expression "pbVar8->a_param" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pbVar8->a_next = pbVar7;" (assignment_expression "pbVar8->a_next = pbVar7" (field_expression "pbVar8->a_next" identifier -> field_identifier) = identifier) ;) (expression_statement "*ppbVar13 = pbVar8;" (assignment_expression "*ppbVar13 = pbVar8" (pointer_expression "*ppbVar13" * identifier) = identifier) ;) }) (else_clause "else {\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }" else (compound_statement "{\n          pbVar6 = (bc_var *)bc_malloc(8);\n          pbVar6->v_next = variables[iVar16];\n          bc_init_num((bc_num *)pbVar6);\n          variables[iVar16] = pbVar6;\n          ppbVar14 = arrays;\n        }" { (expression_statement "pbVar6 = (bc_var *)bc_malloc(8);" (assignment_expression "pbVar6 = (bc_var *)bc_malloc(8)" identifier = (cast_expression "(bc_var *)bc_malloc(8)" ( (type_descriptor "bc_var *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bc_malloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "pbVar6->v_next = variables[iVar16];" (assignment_expression "pbVar6->v_next = variables[iVar16]" (field_expression "pbVar6->v_next" identifier -> field_identifier) = (subscript_expression "variables[iVar16]" identifier [ identifier ])) ;) (expression_statement "bc_init_num((bc_num *)pbVar6);" (call_expression "bc_init_num((bc_num *)pbVar6)" identifier (argument_list "((bc_num *)pbVar6)" ( (cast_expression "(bc_num *)pbVar6" ( (type_descriptor "bc_num *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "variables[iVar16] = pbVar6;" (assignment_expression "variables[iVar16] = pbVar6" (subscript_expression "variables[iVar16]" identifier [ identifier ]) = identifier) ;) (expression_statement "ppbVar14 = arrays;" (assignment_expression "ppbVar14 = arrays" identifier = identifier) ;) }))) (expression_statement "pbVar7 = ppbVar14[var_index];" (assignment_expression "pbVar7 = ppbVar14[var_index]" identifier = (subscript_expression "ppbVar14[var_index]" identifier [ identifier ])) ;) (if_statement "if (var_index + paVar15->av_name == 0) {\n          pbVar7 = pbVar7->a_next;\n        }" if (parenthesized_expression "(var_index + paVar15->av_name == 0)" ( (binary_expression "var_index + paVar15->av_name == 0" (binary_expression "var_index + paVar15->av_name" identifier + (field_expression "paVar15->av_name" identifier -> field_identifier)) == number_literal) )) (compound_statement "{\n          pbVar7 = pbVar7->a_next;\n        }" { (expression_statement "pbVar7 = pbVar7->a_next;" (assignment_expression "pbVar7 = pbVar7->a_next" identifier = (field_expression "pbVar7->a_next" identifier -> field_identifier)) ;) })) (expression_statement "pbVar2 = pbVar7->a_value;" (assignment_expression "pbVar2 = pbVar7->a_value" identifier = (field_expression "pbVar7->a_value" identifier -> field_identifier)) ;) (expression_statement "pbVar7 = ppbVar14[-paVar15->av_name];" (assignment_expression "pbVar7 = ppbVar14[-paVar15->av_name]" identifier = (subscript_expression "ppbVar14[-paVar15->av_name]" identifier [ (unary_expression "-paVar15->av_name" - (field_expression "paVar15->av_name" identifier -> field_identifier)) ])) ;) (if_statement "if (paVar15->arg_is_var == 0) {\n          pbVar7->a_param = '\0';\n          pbVar9 = (bc_array *)bc_malloc(8);\n          sVar1 = pbVar2->a_depth;\n          pbVar9->a_depth = sVar1;\n          pbVar3 = pbVar2->a_tree;\n          pbVar10 = (bc_array_node *)bc_malloc(0x100);\n          if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\nLAB_0001a53a:\n          pbVar9->a_tree = pbVar10;\n          pbVar7->a_value = pbVar9;\n        }\n        else {\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }" if (parenthesized_expression "(paVar15->arg_is_var == 0)" ( (binary_expression "paVar15->arg_is_var == 0" (field_expression "paVar15->arg_is_var" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n          pbVar7->a_param = '\0';\n          pbVar9 = (bc_array *)bc_malloc(8);\n          sVar1 = pbVar2->a_depth;\n          pbVar9->a_depth = sVar1;\n          pbVar3 = pbVar2->a_tree;\n          pbVar10 = (bc_array_node *)bc_malloc(0x100);\n          if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\nLAB_0001a53a:\n          pbVar9->a_tree = pbVar10;\n          pbVar7->a_value = pbVar9;\n        }" { (expression_statement "pbVar7->a_param = '\0';" (assignment_expression "pbVar7->a_param = '\0'" (field_expression "pbVar7->a_param" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pbVar9 = (bc_array *)bc_malloc(8);" (assignment_expression "pbVar9 = (bc_array *)bc_malloc(8)" identifier = (cast_expression "(bc_array *)bc_malloc(8)" ( (type_descriptor "bc_array *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bc_malloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "sVar1 = pbVar2->a_depth;" (assignment_expression "sVar1 = pbVar2->a_depth" identifier = (field_expression "pbVar2->a_depth" identifier -> field_identifier)) ;) (expression_statement "pbVar9->a_depth = sVar1;" (assignment_expression "pbVar9->a_depth = sVar1" (field_expression "pbVar9->a_depth" identifier -> field_identifier) = identifier) ;) (expression_statement "pbVar3 = pbVar2->a_tree;" (assignment_expression "pbVar3 = pbVar2->a_tree" identifier = (field_expression "pbVar2->a_tree" identifier -> field_identifier)) ;) (expression_statement "pbVar10 = (bc_array_node *)bc_malloc(0x100);" (assignment_expression "pbVar10 = (bc_array_node *)bc_malloc(0x100)" identifier = (cast_expression "(bc_array_node *)bc_malloc(0x100)" ( (type_descriptor "bc_array_node *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bc_malloc(0x100)" identifier (argument_list "(0x100)" ( number_literal ))))) ;) (if_statement "if (sVar1 < 2) {\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }\n          else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }" if (parenthesized_expression "(sVar1 < 2)" ( (binary_expression "sVar1 < 2" identifier < number_literal) )) (compound_statement "{\n            iVar16 = 0;\n            do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);" do (compound_statement "{\n              pbVar12 = (pbVar3->n_items).n_num[iVar16];\n              if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }\n              iVar16 = iVar16 + 1;\n            }" { (expression_statement "pbVar12 = (pbVar3->n_items).n_num[iVar16];" (assignment_expression "pbVar12 = (pbVar3->n_items).n_num[iVar16]" identifier = (subscript_expression "(pbVar3->n_items).n_num[iVar16]" (field_expression "(pbVar3->n_items).n_num" (parenthesized_expression "(pbVar3->n_items)" ( (field_expression "pbVar3->n_items" identifier -> field_identifier) )) . field_identifier) [ identifier ])) ;) (if_statement "if (pbVar12 == (bc_num)0x0) {\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }\n              else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }" if (parenthesized_expression "(pbVar12 == (bc_num)0x0)" ( (binary_expression "pbVar12 == (bc_num)0x0" identifier == (cast_expression "(bc_num)0x0" ( (type_descriptor "bc_num" type_identifier) ) number_literal)) )) (compound_statement "{\n                (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              }" { (expression_statement "(pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;" (assignment_expression "(pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0" (subscript_expression "(pbVar10->n_items).n_num[iVar16]" (field_expression "(pbVar10->n_items).n_num" (parenthesized_expression "(pbVar10->n_items)" ( (field_expression "pbVar10->n_items" identifier -> field_identifier) )) . field_identifier) [ identifier ]) = (cast_expression "(bc_num_conflict)0x0" ( (type_descriptor "bc_num_conflict" type_identifier) ) number_literal)) ;) }) (else_clause "else {\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }" else (compound_statement "{\n                pbVar12 = bc_copy_num(pbVar12);\n                (pbVar10->n_items).n_num[iVar16] = pbVar12;\n              }" { (expression_statement "pbVar12 = bc_copy_num(pbVar12);" (assignment_expression "pbVar12 = bc_copy_num(pbVar12)" identifier = (call_expression "bc_copy_num(pbVar12)" identifier (argument_list "(pbVar12)" ( identifier )))) ;) (expression_statement "(pbVar10->n_items).n_num[iVar16] = pbVar12;" (assignment_expression "(pbVar10->n_items).n_num[iVar16] = pbVar12" (subscript_expression "(pbVar10->n_items).n_num[iVar16]" (field_expression "(pbVar10->n_items).n_num" (parenthesized_expression "(pbVar10->n_items)" ( (field_expression "pbVar10->n_items" identifier -> field_identifier) )) . field_identifier) [ identifier ]) = identifier) ;) }))) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar16 != 0x40)" ( (binary_expression "iVar16 != 0x40" identifier != number_literal) )) ;) }) (else_clause "else {\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }" else (compound_statement "{\n            iVar16 = 0;\n            do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);\n          }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            } while (iVar16 != 0x40);" do (compound_statement "{\n              while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }\n              (pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;\n              iVar16 = iVar16 + 1;\n            }" { (while_statement "while (pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0) {\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }" while (parenthesized_expression "(pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0)" ( (comma_expression "pbVar11 = (pbVar3->n_items).n_down[iVar16], pbVar11 != (bc_array_node *)0x0" (assignment_expression "pbVar11 = (pbVar3->n_items).n_down[iVar16]" identifier = (subscript_expression "(pbVar3->n_items).n_down[iVar16]" (field_expression "(pbVar3->n_items).n_down" (parenthesized_expression "(pbVar3->n_items)" ( (field_expression "pbVar3->n_items" identifier -> field_identifier) )) . field_identifier) [ identifier ])) , (binary_expression "pbVar11 != (bc_array_node *)0x0" identifier != (cast_expression "(bc_array_node *)0x0" ( (type_descriptor "bc_array_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n                pbVar11 = copy_tree(pbVar11,sVar1 + -1);\n                (pbVar10->n_items).n_down[iVar16] = pbVar11;\n                iVar16 = iVar16 + 1;\n                if (iVar16 == 0x40) goto LAB_0001a53a;\n              }" { (expression_statement "pbVar11 = copy_tree(pbVar11,sVar1 + -1);" (assignment_expression "pbVar11 = copy_tree(pbVar11,sVar1 + -1)" identifier = (call_expression "copy_tree(pbVar11,sVar1 + -1)" identifier (argument_list "(pbVar11,sVar1 + -1)" ( identifier , (binary_expression "sVar1 + -1" identifier + number_literal) )))) ;) (expression_statement "(pbVar10->n_items).n_down[iVar16] = pbVar11;" (assignment_expression "(pbVar10->n_items).n_down[iVar16] = pbVar11" (subscript_expression "(pbVar10->n_items).n_down[iVar16]" (field_expression "(pbVar10->n_items).n_down" (parenthesized_expression "(pbVar10->n_items)" ( (field_expression "pbVar10->n_items" identifier -> field_identifier) )) . field_identifier) [ identifier ]) = identifier) ;) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (if_statement "if (iVar16 == 0x40) goto LAB_0001a53a;" if (parenthesized_expression "(iVar16 == 0x40)" ( (binary_expression "iVar16 == 0x40" identifier == number_literal) )) (goto_statement "goto LAB_0001a53a;" goto statement_identifier ;)) })) (expression_statement "(pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0;" (assignment_expression "(pbVar10->n_items).n_num[iVar16] = (bc_num_conflict)0x0" (subscript_expression "(pbVar10->n_items).n_num[iVar16]" (field_expression "(pbVar10->n_items).n_num" (parenthesized_expression "(pbVar10->n_items)" ( (field_expression "pbVar10->n_items" identifier -> field_identifier) )) . field_identifier) [ identifier ]) = (cast_expression "(bc_num_conflict)0x0" ( (type_descriptor "bc_num_conflict" type_identifier) ) number_literal)) ;) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar16 != 0x40)" ( (binary_expression "iVar16 != 0x40" identifier != number_literal) )) ;) }))) (labeled_statement "LAB_0001a53a:\n          pbVar9->a_tree = pbVar10;" statement_identifier : (expression_statement "pbVar9->a_tree = pbVar10;" (assignment_expression "pbVar9->a_tree = pbVar10" (field_expression "pbVar9->a_tree" identifier -> field_identifier) = identifier) ;)) (expression_statement "pbVar7->a_value = pbVar9;" (assignment_expression "pbVar7->a_value = pbVar9" (field_expression "pbVar7->a_value" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }" else (compound_statement "{\n          pbVar7->a_param = '\x01';\n          pbVar7->a_value = pbVar2;\n        }" { (expression_statement "pbVar7->a_param = '\x01';" (assignment_expression "pbVar7->a_param = '\x01'" (field_expression "pbVar7->a_param" identifier -> field_identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "pbVar7->a_value = pbVar2;" (assignment_expression "pbVar7->a_value = pbVar2" (field_expression "pbVar7->a_value" identifier -> field_identifier) = identifier) ;) }))) (goto_statement "goto LAB_0001a2e7;" goto statement_identifier ;) })) (labeled_statement "LAB_0001a384:\n      rt_error("Parameter type mismatch, parameter %s.",v_names[iVar16]);" statement_identifier : (expression_statement "rt_error("Parameter type mismatch, parameter %s.",v_names[iVar16]);" (call_expression "rt_error("Parameter type mismatch, parameter %s.",v_names[iVar16])" identifier (argument_list "("Parameter type mismatch, parameter %s.",v_names[iVar16])" ( (string_literal ""Parameter type mismatch, parameter %s."" " string_content ") , (subscript_expression "v_names[iVar16]" identifier [ identifier ]) ))) ;)) (labeled_statement "LAB_0001a2e1:\n      paVar15 = paVar15 + 1;" statement_identifier : (expression_statement "paVar15 = paVar15 + 1;" (assignment_expression "paVar15 = paVar15 + 1" identifier = (binary_expression "paVar15 + 1" identifier + number_literal)) ;)) }))) (labeled_statement "LAB_0001a2e7:\n    peVar4 = ex_stack;" statement_identifier : (expression_statement "peVar4 = ex_stack;" (assignment_expression "peVar4 = ex_stack" identifier = identifier) ;)) (if_statement "if (ex_stack != (estack_rec *)0x0) {\n      ex_stack = ex_stack->s_next;\n      bc_free_num(&peVar4->s_num);\n      free(peVar4);\n    }" if (parenthesized_expression "(ex_stack != (estack_rec *)0x0)" ( (binary_expression "ex_stack != (estack_rec *)0x0" identifier != (cast_expression "(estack_rec *)0x0" ( (type_descriptor "estack_rec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      ex_stack = ex_stack->s_next;\n      bc_free_num(&peVar4->s_num);\n      free(peVar4);\n    }" { (expression_statement "ex_stack = ex_stack->s_next;" (assignment_expression "ex_stack = ex_stack->s_next" identifier = (field_expression "ex_stack->s_next" identifier -> field_identifier)) ;) (expression_statement "bc_free_num(&peVar4->s_num);" (call_expression "bc_free_num(&peVar4->s_num)" identifier (argument_list "(&peVar4->s_num)" ( (pointer_expression "&peVar4->s_num" & (field_expression "peVar4->s_num" identifier -> field_identifier)) ))) ;) (expression_statement "free(peVar4);" (call_expression "free(peVar4)" identifier (argument_list "(peVar4)" ( identifier ))) ;) })) (expression_statement "paVar15 = paVar15->next;" (assignment_expression "paVar15 = paVar15->next" identifier = (field_expression "paVar15->next" identifier -> field_identifier)) ;) })) (if_statement "if (paVar15 != (arg_list *)0x0) {\nLAB_0001a454:\n    rt_error("Parameter number mismatch");\n  }" if (parenthesized_expression "(paVar15 != (arg_list *)0x0)" ( (binary_expression "paVar15 != (arg_list *)0x0" identifier != (cast_expression "(arg_list *)0x0" ( (type_descriptor "arg_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0001a454:\n    rt_error("Parameter number mismatch");\n  }" { (labeled_statement "LAB_0001a454:\n    rt_error("Parameter number mismatch");" statement_identifier : (expression_statement "rt_error("Parameter number mismatch");" (call_expression "rt_error("Parameter number mismatch")" identifier (argument_list "("Parameter number mismatch")" ( (string_literal ""Parameter number mismatch"" " string_content ") ))) ;)) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001a270(undefined4 param_1,int param_2)\n\n{\n  void *__ptr;\n  int iVar1;\n  int *piVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined4 *puVar14;\n  int *piVar15;\n  \n  piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);\n  puVar14 = &DAT_0002c2bc;\n  piVar15 = &DAT_0002c29c;\n  while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }\n  if (piVar12 != (int *)0x0) {\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001a270(undefined4 param_1,int param_2)\n\n{\n  void *__ptr;\n  int iVar1;\n  int *piVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined4 *puVar14;\n  int *piVar15;\n  \n  piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);\n  puVar14 = &DAT_0002c2bc;\n  piVar15 = &DAT_0002c29c;\n  while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }\n  if (piVar12 != (int *)0x0) {\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001a270(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  void *__ptr;\n  int iVar1;\n  int *piVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined4 *puVar14;\n  int *piVar15;\n  \n  piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);\n  puVar14 = &DAT_0002c2bc;\n  piVar15 = &DAT_0002c29c;\n  while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }\n  if (piVar12 != (int *)0x0) {\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "undefined4 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (expression_statement "piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);" (assignment_expression "piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14)" identifier = (pointer_expression "*(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14)" * (cast_expression "(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 * 0x1c + DAT_0002c278 + 0x14)" ( (binary_expression "param_2 * 0x1c + DAT_0002c278 + 0x14" (binary_expression "param_2 * 0x1c + DAT_0002c278" (binary_expression "param_2 * 0x1c" identifier * number_literal) + identifier) + number_literal) ))))) ;) (expression_statement "puVar14 = &DAT_0002c2bc;" (assignment_expression "puVar14 = &DAT_0002c2bc" identifier = (pointer_expression "&DAT_0002c2bc" & identifier)) ;) (expression_statement "piVar15 = &DAT_0002c29c;" (assignment_expression "piVar15 = &DAT_0002c29c" identifier = (pointer_expression "&DAT_0002c29c" & identifier)) ;) (while_statement "while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }" while (parenthesized_expression "(cVar3 = FUN_00015ec0(param_1), cVar3 != ':')" ( (comma_expression "cVar3 = FUN_00015ec0(param_1), cVar3 != ':'" (assignment_expression "cVar3 = FUN_00015ec0(param_1)" identifier = (call_expression "FUN_00015ec0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "cVar3 != ':'" identifier != (char_literal "':'" ' character '))) )) (compound_statement "{\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }" { (if_statement "if (piVar12 == (int *)0x0) goto LAB_0001a454;" if (parenthesized_expression "(piVar12 == (int *)0x0)" ( (binary_expression "piVar12 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001a454;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar12;" (assignment_expression "iVar1 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (if_statement "if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }" if (parenthesized_expression "(cVar3 == '0')" ( (binary_expression "cVar3 == '0'" identifier == (char_literal "'0'" ' character ')) )) (compound_statement "{\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }" { (if_statement "if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }" if (parenthesized_expression "(iVar1 < 1)" ( (binary_expression "iVar1 < 1" identifier < number_literal) )) (compound_statement "{\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }" { (labeled_statement "LAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;" statement_identifier : (if_statement "if (-1 < iVar1) goto LAB_0001a384;" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (goto_statement "goto LAB_0001a384;" goto statement_identifier ;))) (expression_statement "FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));" (call_expression "FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258))" identifier (argument_list "("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258))" ( (string_literal ""Parameter type mismatch parameter %s."" " string_content ") , (pointer_expression "*(undefined4 *)(iVar1 * -4 + DAT_0002c258)" * (cast_expression "(undefined4 *)(iVar1 * -4 + DAT_0002c258)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 * -4 + DAT_0002c258)" ( (binary_expression "iVar1 * -4 + DAT_0002c258" (binary_expression "iVar1 * -4" identifier * number_literal) + identifier) )))) ))) ;) (expression_statement "puVar13 = puVar14;" (assignment_expression "puVar13 = puVar14" identifier = identifier) ;) (goto_statement "goto LAB_0001a2e1;" goto statement_identifier ;) })) (expression_statement "puVar4 = (undefined4 *)FUN_0001ab90(8);" (assignment_expression "puVar4 = (undefined4 *)FUN_0001ab90(8)" identifier = (cast_expression "(undefined4 *)FUN_0001ab90(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001ab90(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar13 = &DAT_0002c2bc;" (assignment_expression "puVar13 = &DAT_0002c2bc" identifier = (pointer_expression "&DAT_0002c2bc" & identifier)) ;) (expression_statement "puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);" (assignment_expression "puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" * (cast_expression "(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002c2b4 + iVar1 * 4)" ( (binary_expression "DAT_0002c2b4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) ;) (expression_statement "puVar8 = DAT_0002c2bc;" (assignment_expression "puVar8 = DAT_0002c2bc" identifier = identifier) ;) (expression_statement "*puVar4 = *DAT_0002c2bc;" (assignment_expression "*puVar4 = *DAT_0002c2bc" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*DAT_0002c2bc" * identifier)) ;) (expression_statement "FUN_0001c550(puVar8);" (call_expression "FUN_0001c550(puVar8)" identifier (argument_list "(puVar8)" ( identifier ))) ;) (expression_statement "*(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;" (assignment_expression "*(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4" (pointer_expression "*(undefined4 **)(DAT_0002c2b4 + iVar1 * 4)" * (cast_expression "(undefined4 **)(DAT_0002c2b4 + iVar1 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0002c2b4 + iVar1 * 4)" ( (binary_expression "DAT_0002c2b4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }" else (compound_statement "{\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }" { (if_statement "if (cVar3 != '1') goto LAB_0001a2b8;" if (parenthesized_expression "(cVar3 != '1')" ( (binary_expression "cVar3 != '1'" identifier != (char_literal "'1'" ' character ')) )) (goto_statement "goto LAB_0001a2b8;" goto statement_identifier ;)) (if_statement "if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }" { (expression_statement "puVar13 = &DAT_0002c2bc;" (assignment_expression "puVar13 = &DAT_0002c2bc" identifier = (pointer_expression "&DAT_0002c2bc" & identifier)) ;) (expression_statement "iVar5 = FUN_0001f020(*DAT_0002c2bc);" (assignment_expression "iVar5 = FUN_0001f020(*DAT_0002c2bc)" identifier = (call_expression "FUN_0001f020(*DAT_0002c2bc)" identifier (argument_list "(*DAT_0002c2bc)" ( (pointer_expression "*DAT_0002c2bc" * identifier) )))) ;) (expression_statement "FUN_000190f0(iVar5,0);" (call_expression "FUN_000190f0(iVar5,0)" identifier (argument_list "(iVar5,0)" ( identifier , number_literal ))) ;) (expression_statement "iVar1 = *piVar12;" (assignment_expression "iVar1 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (if_statement "if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }" if (parenthesized_expression "(iVar1 < 1)" ( (binary_expression "iVar1 < 1" identifier < number_literal) )) (compound_statement "{\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }" { (expression_statement "puVar8 = (undefined4 *)FUN_0001ab90(0xc);" (assignment_expression "puVar8 = (undefined4 *)FUN_0001ab90(0xc)" identifier = (cast_expression "(undefined4 *)FUN_0001ab90(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001ab90(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "iVar6 = DAT_0002c254;" (assignment_expression "iVar6 = DAT_0002c254" identifier = identifier) ;) (expression_statement "puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);" (assignment_expression "puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4)" identifier = (cast_expression "(undefined4 *)(DAT_0002c254 + iVar1 * -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002c254 + iVar1 * -4)" ( (binary_expression "DAT_0002c254 + iVar1 * -4" identifier + (binary_expression "iVar1 * -4" identifier * number_literal)) )))) ;) (expression_statement "uVar10 = *puVar4;" (assignment_expression "uVar10 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar8 + 1) = 0;" (assignment_expression "*(undefined1 *)(puVar8 + 1) = 0" (pointer_expression "*(undefined1 *)(puVar8 + 1)" * (cast_expression "(undefined1 *)(puVar8 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 1)" ( (binary_expression "puVar8 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar8[2] = uVar10;" (assignment_expression "puVar8[2] = uVar10" (subscript_expression "puVar8[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" * identifier) = identifier) ;) }) (else_clause "else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }" else (compound_statement "{\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }" { (expression_statement "iVar6 = FUN_0001ab90(8);" (assignment_expression "iVar6 = FUN_0001ab90(8)" identifier = (call_expression "FUN_0001ab90(8)" identifier (argument_list "(8)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);" (assignment_expression "*(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" (pointer_expression "*(undefined4 *)(iVar6 + 4)" * (cast_expression "(undefined4 *)(iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" * (cast_expression "(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002c2b4 + iVar1 * 4)" ( (binary_expression "DAT_0002c2b4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) ;) (expression_statement "FUN_0001c550(iVar6);" (call_expression "FUN_0001c550(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "*(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;" (assignment_expression "*(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6" (pointer_expression "*(int *)(DAT_0002c2b4 + iVar1 * 4)" * (cast_expression "(int *)(DAT_0002c2b4 + iVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002c2b4 + iVar1 * 4)" ( (binary_expression "DAT_0002c2b4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar6 = DAT_0002c254;" (assignment_expression "iVar6 = DAT_0002c254" identifier = identifier) ;) }))) (expression_statement "piVar7 = *(int **)(iVar6 + iVar5 * 4);" (assignment_expression "piVar7 = *(int **)(iVar6 + iVar5 * 4)" identifier = (pointer_expression "*(int **)(iVar6 + iVar5 * 4)" * (cast_expression "(int **)(iVar6 + iVar5 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + iVar5 * 4)" ( (binary_expression "iVar6 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }" if (parenthesized_expression "(iVar5 + *piVar12 == 0)" ( (binary_expression "iVar5 + *piVar12 == 0" (binary_expression "iVar5 + *piVar12" identifier + (pointer_expression "*piVar12" * identifier)) == number_literal) )) (compound_statement "{\n          piVar7 = (int *)piVar7[2];\n        }" { (expression_statement "piVar7 = (int *)piVar7[2];" (assignment_expression "piVar7 = (int *)piVar7[2]" identifier = (cast_expression "(int *)piVar7[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[2]" identifier [ number_literal ]))) ;) })) (expression_statement "piVar7 = (int *)*piVar7;" (assignment_expression "piVar7 = (int *)*piVar7" identifier = (cast_expression "(int *)*piVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier))) ;) (expression_statement "piVar2 = *(int **)(iVar6 + *piVar12 * -4);" (assignment_expression "piVar2 = *(int **)(iVar6 + *piVar12 * -4)" identifier = (pointer_expression "*(int **)(iVar6 + *piVar12 * -4)" * (cast_expression "(int **)(iVar6 + *piVar12 * -4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + *piVar12 * -4)" ( (binary_expression "iVar6 + *piVar12 * -4" identifier + (binary_expression "*piVar12 * -4" (pointer_expression "*piVar12" * identifier) * number_literal)) ))))) ;) (if_statement "if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }" if (parenthesized_expression "(piVar12[1] == 0)" ( (binary_expression "piVar12[1] == 0" (subscript_expression "piVar12[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }" { (expression_statement "*(undefined1 *)(piVar2 + 1) = 0;" (assignment_expression "*(undefined1 *)(piVar2 + 1) = 0" (pointer_expression "*(undefined1 *)(piVar2 + 1)" * (cast_expression "(undefined1 *)(piVar2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 1)" ( (binary_expression "piVar2 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar9 = (int *)FUN_0001ab90(8);" (assignment_expression "piVar9 = (int *)FUN_0001ab90(8)" identifier = (cast_expression "(int *)FUN_0001ab90(8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001ab90(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "iVar6 = (int)(short)piVar7[1];" (assignment_expression "iVar6 = (int)(short)piVar7[1]" identifier = (cast_expression "(int)(short)piVar7[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(short)piVar7[1]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "piVar7[1]" identifier [ number_literal ])))) ;) (expression_statement "*(short *)(piVar9 + 1) = (short)piVar7[1];" (assignment_expression "*(short *)(piVar9 + 1) = (short)piVar7[1]" (pointer_expression "*(short *)(piVar9 + 1)" * (cast_expression "(short *)(piVar9 + 1)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar9 + 1)" ( (binary_expression "piVar9 + 1" identifier + number_literal) )))) = (cast_expression "(short)piVar7[1]" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) (subscript_expression "piVar7[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar1 = *piVar7;" (assignment_expression "iVar1 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (expression_statement "iVar5 = FUN_0001ab90(0x100);" (assignment_expression "iVar5 = FUN_0001ab90(0x100)" identifier = (call_expression "FUN_0001ab90(0x100)" identifier (argument_list "(0x100)" ( number_literal )))) ;) (if_statement "if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }" if (parenthesized_expression "(iVar6 < 2)" ( (binary_expression "iVar6 < 2" identifier < number_literal) )) (compound_statement "{\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);" do (compound_statement "{\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            }" { (expression_statement "iVar11 = *(int *)(iVar1 + iVar6 * 4);" (assignment_expression "iVar11 = *(int *)(iVar1 + iVar6 * 4)" identifier = (pointer_expression "*(int *)(iVar1 + iVar6 * 4)" * (cast_expression "(int *)(iVar1 + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar6 * 4)" ( (binary_expression "iVar1 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }" { (expression_statement "*(undefined4 *)(iVar5 + iVar6 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar5 + iVar6 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar5 + iVar6 * 4)" * (cast_expression "(undefined4 *)(iVar5 + iVar6 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar6 * 4)" ( (binary_expression "iVar5 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) )))) = number_literal) ;) }) (else_clause "else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }" else (compound_statement "{\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }" { (expression_statement "uVar10 = FUN_0001c540(iVar11);" (assignment_expression "uVar10 = FUN_0001c540(iVar11)" identifier = (call_expression "FUN_0001c540(iVar11)" identifier (argument_list "(iVar11)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;" (assignment_expression "*(undefined4 *)(iVar5 + iVar6 * 4) = uVar10" (pointer_expression "*(undefined4 *)(iVar5 + iVar6 * 4)" * (cast_expression "(undefined4 *)(iVar5 + iVar6 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar6 * 4)" ( (binary_expression "iVar5 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) )))) = identifier) ;) }))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0x40)" ( (binary_expression "iVar6 != 0x40" identifier != number_literal) )) ;) }) (else_clause "else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }" else (compound_statement "{\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }" { (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (do_statement "do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);" do (compound_statement "{\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            }" { (while_statement "while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }" while (parenthesized_expression "(*(int *)(iVar1 + iVar11 * 4) != 0)" ( (binary_expression "*(int *)(iVar1 + iVar11 * 4) != 0" (pointer_expression "*(int *)(iVar1 + iVar11 * 4)" * (cast_expression "(int *)(iVar1 + iVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar11 * 4)" ( (binary_expression "iVar1 + iVar11 * 4" identifier + (binary_expression "iVar11 * 4" identifier * number_literal)) )))) != number_literal) )) (compound_statement "{\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }" { (expression_statement "uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);" (assignment_expression "uVar10 = FUN_000188e0(puVar14,piVar15,iVar6)" identifier = (call_expression "FUN_000188e0(puVar14,piVar15,iVar6)" identifier (argument_list "(puVar14,piVar15,iVar6)" ( identifier , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;" (assignment_expression "*(undefined4 *)(iVar5 + iVar11 * 4) = uVar10" (pointer_expression "*(undefined4 *)(iVar5 + iVar11 * 4)" * (cast_expression "(undefined4 *)(iVar5 + iVar11 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar11 * 4)" ( (binary_expression "iVar5 + iVar11 * 4" identifier + (binary_expression "iVar11 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (if_statement "if (iVar11 == 0x40) goto LAB_0001a53a;" if (parenthesized_expression "(iVar11 == 0x40)" ( (binary_expression "iVar11 == 0x40" identifier == number_literal) )) (goto_statement "goto LAB_0001a53a;" goto statement_identifier ;)) })) (expression_statement "*(undefined4 *)(iVar5 + iVar11 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar5 + iVar11 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar5 + iVar11 * 4)" * (cast_expression "(undefined4 *)(iVar5 + iVar11 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar11 * 4)" ( (binary_expression "iVar5 + iVar11 * 4" identifier + (binary_expression "iVar11 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar11 != 0x40)" ( (binary_expression "iVar11 != 0x40" identifier != number_literal) )) ;) }))) (labeled_statement "LAB_0001a53a:\n          *piVar9 = iVar5;" statement_identifier : (expression_statement "*piVar9 = iVar5;" (assignment_expression "*piVar9 = iVar5" (pointer_expression "*piVar9" * identifier) = identifier) ;)) (expression_statement "*piVar2 = (int)piVar9;" (assignment_expression "*piVar2 = (int)piVar9" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }" else (compound_statement "{\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }" { (expression_statement "*(undefined1 *)(piVar2 + 1) = 1;" (assignment_expression "*(undefined1 *)(piVar2 + 1) = 1" (pointer_expression "*(undefined1 *)(piVar2 + 1)" * (cast_expression "(undefined1 *)(piVar2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 1)" ( (binary_expression "piVar2 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*piVar2 = (int)piVar7;" (assignment_expression "*piVar2 = (int)piVar7" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (goto_statement "goto LAB_0001a2e7;" goto statement_identifier ;) })) (labeled_statement "LAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));" statement_identifier : (expression_statement "FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));" (call_expression "FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4))" identifier (argument_list "("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4))" ( (string_literal ""Parameter type mismatch, parameter %s."" " string_content ") , (pointer_expression "*(undefined4 *)(*piVar15 + iVar1 * 4)" * (cast_expression "(undefined4 *)(*piVar15 + iVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar15 + iVar1 * 4)" ( (binary_expression "*piVar15 + iVar1 * 4" (pointer_expression "*piVar15" * identifier) + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) ))) ;)) (expression_statement "puVar13 = puVar14;" (assignment_expression "puVar13 = puVar14" identifier = identifier) ;) (labeled_statement "LAB_0001a2e1:\n      piVar12 = piVar12 + 3;" statement_identifier : (expression_statement "piVar12 = piVar12 + 3;" (assignment_expression "piVar12 = piVar12 + 3" identifier = (binary_expression "piVar12 + 3" identifier + number_literal)) ;)) (expression_statement "puVar14 = puVar13;" (assignment_expression "puVar14 = puVar13" identifier = identifier) ;) }))) (labeled_statement "LAB_0001a2e7:\n    __ptr = (void *)*puVar13;" statement_identifier : (expression_statement "__ptr = (void *)*puVar13;" (assignment_expression "__ptr = (void *)*puVar13" identifier = (cast_expression "(void *)*puVar13" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar13" * identifier))) ;)) (if_statement "if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }" { (expression_statement "*puVar13 = *(undefined4 *)((int)__ptr + 4);" (assignment_expression "*puVar13 = *(undefined4 *)((int)__ptr + 4)" (pointer_expression "*puVar13" * identifier) = (pointer_expression "*(undefined4 *)((int)__ptr + 4)" * (cast_expression "(undefined4 *)((int)__ptr + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__ptr + 4)" ( (binary_expression "(int)__ptr + 4" (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "FUN_0001c2e0(__ptr);" (call_expression "FUN_0001c2e0(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) })) (expression_statement "piVar12 = (int *)piVar12[2];" (assignment_expression "piVar12 = (int *)piVar12[2]" identifier = (cast_expression "(int *)piVar12[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[2]" identifier [ number_literal ]))) ;) })) (if_statement "if (piVar12 != (int *)0x0) {\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }" if (parenthesized_expression "(piVar12 != (int *)0x0)" ( (binary_expression "piVar12 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }" { (labeled_statement "LAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");" statement_identifier : (expression_statement "FUN_0001b7b0("Parameter number mismatch");" (call_expression "FUN_0001b7b0("Parameter number mismatch")" identifier (argument_list "("Parameter number mismatch")" ( (string_literal ""Parameter number mismatch"" " string_content ") ))) ;)) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT * LIT) + IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT != (char_literal ' character '))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;))) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + IDENT) )))) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + (pointer_expression * IDENT)) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (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) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (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 IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) )))) ))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;)) })) (return_statement return ;) })))
(function_definition "void FUN_0001a270(undefined4 param_1,int param_2)\n\n{\n  void *__ptr;\n  int iVar1;\n  int *piVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined4 *puVar14;\n  int *piVar15;\n  \n  piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);\n  puVar14 = &DAT_0002c2bc;\n  piVar15 = &DAT_0002c29c;\n  while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }\n  if (piVar12 != (int *)0x0) {\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001a270(undefined4 param_1,int param_2)" (identifier "FUN_0001a270") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  void *__ptr;\n  int iVar1;\n  int *piVar2;\n  char cVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int *piVar12;\n  undefined4 *puVar13;\n  undefined4 *puVar14;\n  int *piVar15;\n  \n  piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);\n  puVar14 = &DAT_0002c2bc;\n  piVar15 = &DAT_0002c29c;\n  while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }\n  if (piVar12 != (int *)0x0) {\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }\n  return;\n}" ({ "{") (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int *piVar12;" (primitive_type "int") (pointer_declarator "*piVar12" (* "*") (identifier "piVar12")) (; ";")) (declaration "undefined4 *puVar13;" (type_identifier "undefined4") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "undefined4 *puVar14;" (type_identifier "undefined4") (pointer_declarator "*puVar14" (* "*") (identifier "puVar14")) (; ";")) (declaration "int *piVar15;" (primitive_type "int") (pointer_declarator "*piVar15" (* "*") (identifier "piVar15")) (; ";")) (expression_statement "piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);" (assignment_expression "piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14)" (identifier "piVar12") (= "=") (pointer_expression "*(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14)" (* "*") (cast_expression "(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 * 0x1c + DAT_0002c278 + 0x14)" (( "(") (binary_expression "param_2 * 0x1c + DAT_0002c278 + 0x14" (binary_expression "param_2 * 0x1c + DAT_0002c278" (binary_expression "param_2 * 0x1c" (identifier "param_2") (* "*") (number_literal "0x1c")) (+ "+") (identifier "DAT_0002c278")) (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "puVar14 = &DAT_0002c2bc;" (assignment_expression "puVar14 = &DAT_0002c2bc" (identifier "puVar14") (= "=") (pointer_expression "&DAT_0002c2bc" (& "&") (identifier "DAT_0002c2bc"))) (; ";")) (expression_statement "piVar15 = &DAT_0002c29c;" (assignment_expression "piVar15 = &DAT_0002c29c" (identifier "piVar15") (= "=") (pointer_expression "&DAT_0002c29c" (& "&") (identifier "DAT_0002c29c"))) (; ";")) (while_statement "while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }" (while "while") (parenthesized_expression "(cVar3 = FUN_00015ec0(param_1), cVar3 != ':')" (( "(") (comma_expression "cVar3 = FUN_00015ec0(param_1), cVar3 != ':'" (assignment_expression "cVar3 = FUN_00015ec0(param_1)" (identifier "cVar3") (= "=") (call_expression "FUN_00015ec0(param_1)" (identifier "FUN_00015ec0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "cVar3 != ':'" (identifier "cVar3") (!= "!=") (char_literal "':'" (' "'") (character ":") (' "'")))) () ")")) (compound_statement "{\n    if (piVar12 == (int *)0x0) goto LAB_0001a454;\n    iVar1 = *piVar12;\n    if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }\nLAB_0001a2e7:\n    __ptr = (void *)*puVar13;\n    if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }\n    piVar12 = (int *)piVar12[2];\n  }" ({ "{") (if_statement "if (piVar12 == (int *)0x0) goto LAB_0001a454;" (if "if") (parenthesized_expression "(piVar12 == (int *)0x0)" (( "(") (binary_expression "piVar12 == (int *)0x0" (identifier "piVar12") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0001a454;" (goto "goto") (statement_identifier "LAB_0001a454") (; ";"))) (expression_statement "iVar1 = *piVar12;" (assignment_expression "iVar1 = *piVar12" (identifier "iVar1") (= "=") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) (; ";")) (if_statement "if (cVar3 == '0') {\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }\n    else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }" (if "if") (parenthesized_expression "(cVar3 == '0')" (( "(") (binary_expression "cVar3 == '0'" (identifier "cVar3") (== "==") (char_literal "'0'" (' "'") (character "0") (' "'"))) () ")")) (compound_statement "{\n      if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }\n      puVar4 = (undefined4 *)FUN_0001ab90(8);\n      puVar13 = &DAT_0002c2bc;\n      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n      puVar8 = DAT_0002c2bc;\n      *puVar4 = *DAT_0002c2bc;\n      FUN_0001c550(puVar8);\n      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;\n    }" ({ "{") (if_statement "if (iVar1 < 1) {\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }" (if "if") (parenthesized_expression "(iVar1 < 1)" (( "(") (binary_expression "iVar1 < 1" (identifier "iVar1") (< "<") (number_literal "1")) () ")")) (compound_statement "{\nLAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;\n        FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));\n        puVar13 = puVar14;\n        goto LAB_0001a2e1;\n      }" ({ "{") (labeled_statement "LAB_0001a2b8:\n        if (-1 < iVar1) goto LAB_0001a384;" (statement_identifier "LAB_0001a2b8") (: ":") (if_statement "if (-1 < iVar1) goto LAB_0001a384;" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (goto_statement "goto LAB_0001a384;" (goto "goto") (statement_identifier "LAB_0001a384") (; ";")))) (expression_statement "FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));" (call_expression "FUN_0001b7b0("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258))" (identifier "FUN_0001b7b0") (argument_list "("Parameter type mismatch parameter %s.",\n                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258))" (( "(") (string_literal ""Parameter type mismatch parameter %s."" (" """) (string_content "Parameter type mismatch parameter %s.") (" """)) (, ",") (pointer_expression "*(undefined4 *)(iVar1 * -4 + DAT_0002c258)" (* "*") (cast_expression "(undefined4 *)(iVar1 * -4 + DAT_0002c258)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 * -4 + DAT_0002c258)" (( "(") (binary_expression "iVar1 * -4 + DAT_0002c258" (binary_expression "iVar1 * -4" (identifier "iVar1") (* "*") (number_literal "-4")) (+ "+") (identifier "DAT_0002c258")) () ")")))) () ")"))) (; ";")) (expression_statement "puVar13 = puVar14;" (assignment_expression "puVar13 = puVar14" (identifier "puVar13") (= "=") (identifier "puVar14")) (; ";")) (goto_statement "goto LAB_0001a2e1;" (goto "goto") (statement_identifier "LAB_0001a2e1") (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)FUN_0001ab90(8);" (assignment_expression "puVar4 = (undefined4 *)FUN_0001ab90(8)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)FUN_0001ab90(8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001ab90(8)" (identifier "FUN_0001ab90") (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (; ";")) (expression_statement "puVar13 = &DAT_0002c2bc;" (assignment_expression "puVar13 = &DAT_0002c2bc" (identifier "puVar13") (= "=") (pointer_expression "&DAT_0002c2bc" (& "&") (identifier "DAT_0002c2bc"))) (; ";")) (expression_statement "puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);" (assignment_expression "puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" (* "*") (cast_expression "(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002c2b4 + iVar1 * 4)" (( "(") (binary_expression "DAT_0002c2b4 + iVar1 * 4" (identifier "DAT_0002c2b4") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "puVar8 = DAT_0002c2bc;" (assignment_expression "puVar8 = DAT_0002c2bc" (identifier "puVar8") (= "=") (identifier "DAT_0002c2bc")) (; ";")) (expression_statement "*puVar4 = *DAT_0002c2bc;" (assignment_expression "*puVar4 = *DAT_0002c2bc" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*DAT_0002c2bc" (* "*") (identifier "DAT_0002c2bc"))) (; ";")) (expression_statement "FUN_0001c550(puVar8);" (call_expression "FUN_0001c550(puVar8)" (identifier "FUN_0001c550") (argument_list "(puVar8)" (( "(") (identifier "puVar8") () ")"))) (; ";")) (expression_statement "*(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;" (assignment_expression "*(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4" (pointer_expression "*(undefined4 **)(DAT_0002c2b4 + iVar1 * 4)" (* "*") (cast_expression "(undefined4 **)(DAT_0002c2b4 + iVar1 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_0002c2b4 + iVar1 * 4)" (( "(") (binary_expression "DAT_0002c2b4 + iVar1 * 4" (identifier "DAT_0002c2b4") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "puVar4")) (; ";")) (} "}")) (else_clause "else {\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }" (else "else") (compound_statement "{\n      if (cVar3 != '1') goto LAB_0001a2b8;\n      if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }\nLAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));\n      puVar13 = puVar14;\nLAB_0001a2e1:\n      piVar12 = piVar12 + 3;\n      puVar14 = puVar13;\n    }" ({ "{") (if_statement "if (cVar3 != '1') goto LAB_0001a2b8;" (if "if") (parenthesized_expression "(cVar3 != '1')" (( "(") (binary_expression "cVar3 != '1'" (identifier "cVar3") (!= "!=") (char_literal "'1'" (' "'") (character "1") (' "'"))) () ")")) (goto_statement "goto LAB_0001a2b8;" (goto "goto") (statement_identifier "LAB_0001a2b8") (; ";"))) (if_statement "if (iVar1 < 0) {\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }" (if "if") (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        puVar13 = &DAT_0002c2bc;\n        iVar5 = FUN_0001f020(*DAT_0002c2bc);\n        FUN_000190f0(iVar5,0);\n        iVar1 = *piVar12;\n        if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }\n        piVar7 = *(int **)(iVar6 + iVar5 * 4);\n        if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }\n        piVar7 = (int *)*piVar7;\n        piVar2 = *(int **)(iVar6 + *piVar12 * -4);\n        if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }\n        goto LAB_0001a2e7;\n      }" ({ "{") (expression_statement "puVar13 = &DAT_0002c2bc;" (assignment_expression "puVar13 = &DAT_0002c2bc" (identifier "puVar13") (= "=") (pointer_expression "&DAT_0002c2bc" (& "&") (identifier "DAT_0002c2bc"))) (; ";")) (expression_statement "iVar5 = FUN_0001f020(*DAT_0002c2bc);" (assignment_expression "iVar5 = FUN_0001f020(*DAT_0002c2bc)" (identifier "iVar5") (= "=") (call_expression "FUN_0001f020(*DAT_0002c2bc)" (identifier "FUN_0001f020") (argument_list "(*DAT_0002c2bc)" (( "(") (pointer_expression "*DAT_0002c2bc" (* "*") (identifier "DAT_0002c2bc")) () ")")))) (; ";")) (expression_statement "FUN_000190f0(iVar5,0);" (call_expression "FUN_000190f0(iVar5,0)" (identifier "FUN_000190f0") (argument_list "(iVar5,0)" (( "(") (identifier "iVar5") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar1 = *piVar12;" (assignment_expression "iVar1 = *piVar12" (identifier "iVar1") (= "=") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) (; ";")) (if_statement "if (iVar1 < 1) {\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }\n        else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }" (if "if") (parenthesized_expression "(iVar1 < 1)" (( "(") (binary_expression "iVar1 < 1" (identifier "iVar1") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n          puVar8 = (undefined4 *)FUN_0001ab90(0xc);\n          iVar6 = DAT_0002c254;\n          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);\n          uVar10 = *puVar4;\n          *puVar8 = 0;\n          *(undefined1 *)(puVar8 + 1) = 0;\n          puVar8[2] = uVar10;\n          *puVar4 = puVar8;\n        }" ({ "{") (expression_statement "puVar8 = (undefined4 *)FUN_0001ab90(0xc);" (assignment_expression "puVar8 = (undefined4 *)FUN_0001ab90(0xc)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)FUN_0001ab90(0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001ab90(0xc)" (identifier "FUN_0001ab90") (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "iVar6 = DAT_0002c254;" (assignment_expression "iVar6 = DAT_0002c254" (identifier "iVar6") (= "=") (identifier "DAT_0002c254")) (; ";")) (expression_statement "puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);" (assignment_expression "puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(DAT_0002c254 + iVar1 * -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002c254 + iVar1 * -4)" (( "(") (binary_expression "DAT_0002c254 + iVar1 * -4" (identifier "DAT_0002c254") (+ "+") (binary_expression "iVar1 * -4" (identifier "iVar1") (* "*") (number_literal "-4"))) () ")")))) (; ";")) (expression_statement "uVar10 = *puVar4;" (assignment_expression "uVar10 = *puVar4" (identifier "uVar10") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(puVar8 + 1) = 0;" (assignment_expression "*(undefined1 *)(puVar8 + 1) = 0" (pointer_expression "*(undefined1 *)(puVar8 + 1)" (* "*") (cast_expression "(undefined1 *)(puVar8 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 1)" (( "(") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar8[2] = uVar10;" (assignment_expression "puVar8[2] = uVar10" (subscript_expression "puVar8[2]" (identifier "puVar8") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "puVar8")) (; ";")) (} "}")) (else_clause "else {\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }" (else "else") (compound_statement "{\n          iVar6 = FUN_0001ab90(8);\n          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);\n          FUN_0001c550(iVar6);\n          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;\n          iVar6 = DAT_0002c254;\n        }" ({ "{") (expression_statement "iVar6 = FUN_0001ab90(8);" (assignment_expression "iVar6 = FUN_0001ab90(8)" (identifier "iVar6") (= "=") (call_expression "FUN_0001ab90(8)" (identifier "FUN_0001ab90") (argument_list "(8)" (( "(") (number_literal "8") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);" (assignment_expression "*(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" (pointer_expression "*(undefined4 *)(iVar6 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" (* "*") (cast_expression "(undefined4 *)(DAT_0002c2b4 + iVar1 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002c2b4 + iVar1 * 4)" (( "(") (binary_expression "DAT_0002c2b4 + iVar1 * 4" (identifier "DAT_0002c2b4") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "FUN_0001c550(iVar6);" (call_expression "FUN_0001c550(iVar6)" (identifier "FUN_0001c550") (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (expression_statement "*(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;" (assignment_expression "*(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6" (pointer_expression "*(int *)(DAT_0002c2b4 + iVar1 * 4)" (* "*") (cast_expression "(int *)(DAT_0002c2b4 + iVar1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002c2b4 + iVar1 * 4)" (( "(") (binary_expression "DAT_0002c2b4 + iVar1 * 4" (identifier "DAT_0002c2b4") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "iVar6 = DAT_0002c254;" (assignment_expression "iVar6 = DAT_0002c254" (identifier "iVar6") (= "=") (identifier "DAT_0002c254")) (; ";")) (} "}")))) (expression_statement "piVar7 = *(int **)(iVar6 + iVar5 * 4);" (assignment_expression "piVar7 = *(int **)(iVar6 + iVar5 * 4)" (identifier "piVar7") (= "=") (pointer_expression "*(int **)(iVar6 + iVar5 * 4)" (* "*") (cast_expression "(int **)(iVar6 + iVar5 * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + iVar5 * 4)" (( "(") (binary_expression "iVar6 + iVar5 * 4" (identifier "iVar6") (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (iVar5 + *piVar12 == 0) {\n          piVar7 = (int *)piVar7[2];\n        }" (if "if") (parenthesized_expression "(iVar5 + *piVar12 == 0)" (( "(") (binary_expression "iVar5 + *piVar12 == 0" (binary_expression "iVar5 + *piVar12" (identifier "iVar5") (+ "+") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          piVar7 = (int *)piVar7[2];\n        }" ({ "{") (expression_statement "piVar7 = (int *)piVar7[2];" (assignment_expression "piVar7 = (int *)piVar7[2]" (identifier "piVar7") (= "=") (cast_expression "(int *)piVar7[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")))) (; ";")) (} "}"))) (expression_statement "piVar7 = (int *)*piVar7;" (assignment_expression "piVar7 = (int *)*piVar7" (identifier "piVar7") (= "=") (cast_expression "(int *)*piVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar7" (* "*") (identifier "piVar7")))) (; ";")) (expression_statement "piVar2 = *(int **)(iVar6 + *piVar12 * -4);" (assignment_expression "piVar2 = *(int **)(iVar6 + *piVar12 * -4)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(iVar6 + *piVar12 * -4)" (* "*") (cast_expression "(int **)(iVar6 + *piVar12 * -4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + *piVar12 * -4)" (( "(") (binary_expression "iVar6 + *piVar12 * -4" (identifier "iVar6") (+ "+") (binary_expression "*piVar12 * -4" (pointer_expression "*piVar12" (* "*") (identifier "piVar12")) (* "*") (number_literal "-4"))) () ")"))))) (; ";")) (if_statement "if (piVar12[1] == 0) {\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }\n        else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }" (if "if") (parenthesized_expression "(piVar12[1] == 0)" (( "(") (binary_expression "piVar12[1] == 0" (subscript_expression "piVar12[1]" (identifier "piVar12") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(undefined1 *)(piVar2 + 1) = 0;\n          piVar9 = (int *)FUN_0001ab90(8);\n          iVar6 = (int)(short)piVar7[1];\n          *(short *)(piVar9 + 1) = (short)piVar7[1];\n          iVar1 = *piVar7;\n          iVar5 = FUN_0001ab90(0x100);\n          if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }\nLAB_0001a53a:\n          *piVar9 = iVar5;\n          *piVar2 = (int)piVar9;\n        }" ({ "{") (expression_statement "*(undefined1 *)(piVar2 + 1) = 0;" (assignment_expression "*(undefined1 *)(piVar2 + 1) = 0" (pointer_expression "*(undefined1 *)(piVar2 + 1)" (* "*") (cast_expression "(undefined1 *)(piVar2 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 1)" (( "(") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar9 = (int *)FUN_0001ab90(8);" (assignment_expression "piVar9 = (int *)FUN_0001ab90(8)" (identifier "piVar9") (= "=") (cast_expression "(int *)FUN_0001ab90(8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001ab90(8)" (identifier "FUN_0001ab90") (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (; ";")) (expression_statement "iVar6 = (int)(short)piVar7[1];" (assignment_expression "iVar6 = (int)(short)piVar7[1]" (identifier "iVar6") (= "=") (cast_expression "(int)(short)piVar7[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(short)piVar7[1]" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]"))))) (; ";")) (expression_statement "*(short *)(piVar9 + 1) = (short)piVar7[1];" (assignment_expression "*(short *)(piVar9 + 1) = (short)piVar7[1]" (pointer_expression "*(short *)(piVar9 + 1)" (* "*") (cast_expression "(short *)(piVar9 + 1)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar9 + 1)" (( "(") (binary_expression "piVar9 + 1" (identifier "piVar9") (+ "+") (number_literal "1")) () ")")))) (= "=") (cast_expression "(short)piVar7[1]" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iVar1 = *piVar7;" (assignment_expression "iVar1 = *piVar7" (identifier "iVar1") (= "=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (; ";")) (expression_statement "iVar5 = FUN_0001ab90(0x100);" (assignment_expression "iVar5 = FUN_0001ab90(0x100)" (identifier "iVar5") (= "=") (call_expression "FUN_0001ab90(0x100)" (identifier "FUN_0001ab90") (argument_list "(0x100)" (( "(") (number_literal "0x100") () ")")))) (; ";")) (if_statement "if (iVar6 < 2) {\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }\n          else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }" (if "if") (parenthesized_expression "(iVar6 < 2)" (( "(") (binary_expression "iVar6 < 2" (identifier "iVar6") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n            iVar6 = 0;\n            do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);\n          }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            } while (iVar6 != 0x40);" (do "do") (compound_statement "{\n              iVar11 = *(int *)(iVar1 + iVar6 * 4);\n              if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }\n              iVar6 = iVar6 + 1;\n            }" ({ "{") (expression_statement "iVar11 = *(int *)(iVar1 + iVar6 * 4);" (assignment_expression "iVar11 = *(int *)(iVar1 + iVar6 * 4)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar1 + iVar6 * 4)" (* "*") (cast_expression "(int *)(iVar1 + iVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + iVar6 * 4)" (( "(") (binary_expression "iVar1 + iVar6 * 4" (identifier "iVar1") (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (iVar11 == 0) {\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }\n              else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;\n              }" ({ "{") (expression_statement "*(undefined4 *)(iVar5 + iVar6 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar5 + iVar6 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar5 + iVar6 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar5 + iVar6 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar6 * 4)" (( "(") (binary_expression "iVar5 + iVar6 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }" (else "else") (compound_statement "{\n                uVar10 = FUN_0001c540(iVar11);\n                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;\n              }" ({ "{") (expression_statement "uVar10 = FUN_0001c540(iVar11);" (assignment_expression "uVar10 = FUN_0001c540(iVar11)" (identifier "uVar10") (= "=") (call_expression "FUN_0001c540(iVar11)" (identifier "FUN_0001c540") (argument_list "(iVar11)" (( "(") (identifier "iVar11") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;" (assignment_expression "*(undefined4 *)(iVar5 + iVar6 * 4) = uVar10" (pointer_expression "*(undefined4 *)(iVar5 + iVar6 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar5 + iVar6 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar6 * 4)" (( "(") (binary_expression "iVar5 + iVar6 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "uVar10")) (; ";")) (} "}")))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != 0x40)" (( "(") (binary_expression "iVar6 != 0x40" (identifier "iVar6") (!= "!=") (number_literal "0x40")) () ")")) (; ";")) (} "}")) (else_clause "else {\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }" (else "else") (compound_statement "{\n            iVar6 = iVar6 + -1;\n            iVar11 = 0;\n            do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);\n          }" ({ "{") (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            } while (iVar11 != 0x40);" (do "do") (compound_statement "{\n              while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }\n              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;\n              iVar11 = iVar11 + 1;\n            }" ({ "{") (while_statement "while (*(int *)(iVar1 + iVar11 * 4) != 0) {\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }" (while "while") (parenthesized_expression "(*(int *)(iVar1 + iVar11 * 4) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + iVar11 * 4) != 0" (pointer_expression "*(int *)(iVar1 + iVar11 * 4)" (* "*") (cast_expression "(int *)(iVar1 + iVar11 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + iVar11 * 4)" (( "(") (binary_expression "iVar1 + iVar11 * 4" (identifier "iVar1") (+ "+") (binary_expression "iVar11 * 4" (identifier "iVar11") (* "*") (number_literal "4"))) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);\n                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;\n                iVar11 = iVar11 + 1;\n                if (iVar11 == 0x40) goto LAB_0001a53a;\n              }" ({ "{") (expression_statement "uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);" (assignment_expression "uVar10 = FUN_000188e0(puVar14,piVar15,iVar6)" (identifier "uVar10") (= "=") (call_expression "FUN_000188e0(puVar14,piVar15,iVar6)" (identifier "FUN_000188e0") (argument_list "(puVar14,piVar15,iVar6)" (( "(") (identifier "puVar14") (, ",") (identifier "piVar15") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;" (assignment_expression "*(undefined4 *)(iVar5 + iVar11 * 4) = uVar10" (pointer_expression "*(undefined4 *)(iVar5 + iVar11 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar5 + iVar11 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar11 * 4)" (( "(") (binary_expression "iVar5 + iVar11 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar11 * 4" (identifier "iVar11") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar11 == 0x40) goto LAB_0001a53a;" (if "if") (parenthesized_expression "(iVar11 == 0x40)" (( "(") (binary_expression "iVar11 == 0x40" (identifier "iVar11") (== "==") (number_literal "0x40")) () ")")) (goto_statement "goto LAB_0001a53a;" (goto "goto") (statement_identifier "LAB_0001a53a") (; ";"))) (} "}"))) (expression_statement "*(undefined4 *)(iVar5 + iVar11 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar5 + iVar11 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar5 + iVar11 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar5 + iVar11 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar11 * 4)" (( "(") (binary_expression "iVar5 + iVar11 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar11 * 4" (identifier "iVar11") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar11 != 0x40)" (( "(") (binary_expression "iVar11 != 0x40" (identifier "iVar11") (!= "!=") (number_literal "0x40")) () ")")) (; ";")) (} "}")))) (labeled_statement "LAB_0001a53a:\n          *piVar9 = iVar5;" (statement_identifier "LAB_0001a53a") (: ":") (expression_statement "*piVar9 = iVar5;" (assignment_expression "*piVar9 = iVar5" (pointer_expression "*piVar9" (* "*") (identifier "piVar9")) (= "=") (identifier "iVar5")) (; ";"))) (expression_statement "*piVar2 = (int)piVar9;" (assignment_expression "*piVar2 = (int)piVar9" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)piVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar9"))) (; ";")) (} "}")) (else_clause "else {\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }" (else "else") (compound_statement "{\n          *(undefined1 *)(piVar2 + 1) = 1;\n          *piVar2 = (int)piVar7;\n        }" ({ "{") (expression_statement "*(undefined1 *)(piVar2 + 1) = 1;" (assignment_expression "*(undefined1 *)(piVar2 + 1) = 1" (pointer_expression "*(undefined1 *)(piVar2 + 1)" (* "*") (cast_expression "(undefined1 *)(piVar2 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 1)" (( "(") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*piVar2 = (int)piVar7;" (assignment_expression "*piVar2 = (int)piVar7" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)piVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar7"))) (; ";")) (} "}")))) (goto_statement "goto LAB_0001a2e7;" (goto "goto") (statement_identifier "LAB_0001a2e7") (; ";")) (} "}"))) (labeled_statement "LAB_0001a384:\n      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));" (statement_identifier "LAB_0001a384") (: ":") (expression_statement "FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));" (call_expression "FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4))" (identifier "FUN_0001b7b0") (argument_list "("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4))" (( "(") (string_literal ""Parameter type mismatch, parameter %s."" (" """) (string_content "Parameter type mismatch, parameter %s.") (" """)) (, ",") (pointer_expression "*(undefined4 *)(*piVar15 + iVar1 * 4)" (* "*") (cast_expression "(undefined4 *)(*piVar15 + iVar1 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar15 + iVar1 * 4)" (( "(") (binary_expression "*piVar15 + iVar1 * 4" (pointer_expression "*piVar15" (* "*") (identifier "piVar15")) (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")")))) () ")"))) (; ";"))) (expression_statement "puVar13 = puVar14;" (assignment_expression "puVar13 = puVar14" (identifier "puVar13") (= "=") (identifier "puVar14")) (; ";")) (labeled_statement "LAB_0001a2e1:\n      piVar12 = piVar12 + 3;" (statement_identifier "LAB_0001a2e1") (: ":") (expression_statement "piVar12 = piVar12 + 3;" (assignment_expression "piVar12 = piVar12 + 3" (identifier "piVar12") (= "=") (binary_expression "piVar12 + 3" (identifier "piVar12") (+ "+") (number_literal "3"))) (; ";"))) (expression_statement "puVar14 = puVar13;" (assignment_expression "puVar14 = puVar13" (identifier "puVar14") (= "=") (identifier "puVar13")) (; ";")) (} "}")))) (labeled_statement "LAB_0001a2e7:\n    __ptr = (void *)*puVar13;" (statement_identifier "LAB_0001a2e7") (: ":") (expression_statement "__ptr = (void *)*puVar13;" (assignment_expression "__ptr = (void *)*puVar13" (identifier "__ptr") (= "=") (cast_expression "(void *)*puVar13" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar13" (* "*") (identifier "puVar13")))) (; ";"))) (if_statement "if (__ptr != (void *)0x0) {\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }" (if "if") (parenthesized_expression "(__ptr != (void *)0x0)" (( "(") (binary_expression "__ptr != (void *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *puVar13 = *(undefined4 *)((int)__ptr + 4);\n      FUN_0001c2e0(__ptr);\n      free(__ptr);\n    }" ({ "{") (expression_statement "*puVar13 = *(undefined4 *)((int)__ptr + 4);" (assignment_expression "*puVar13 = *(undefined4 *)((int)__ptr + 4)" (pointer_expression "*puVar13" (* "*") (identifier "puVar13")) (= "=") (pointer_expression "*(undefined4 *)((int)__ptr + 4)" (* "*") (cast_expression "(undefined4 *)((int)__ptr + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__ptr + 4)" (( "(") (binary_expression "(int)__ptr + 4" (cast_expression "(int)__ptr" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__ptr")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "FUN_0001c2e0(__ptr);" (call_expression "FUN_0001c2e0(__ptr)" (identifier "FUN_0001c2e0") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar12 = (int *)piVar12[2];" (assignment_expression "piVar12 = (int *)piVar12[2]" (identifier "piVar12") (= "=") (cast_expression "(int *)piVar12[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar12[2]" (identifier "piVar12") ([ "[") (number_literal "2") (] "]")))) (; ";")) (} "}"))) (if_statement "if (piVar12 != (int *)0x0) {\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }" (if "if") (parenthesized_expression "(piVar12 != (int *)0x0)" (( "(") (binary_expression "piVar12 != (int *)0x0" (identifier "piVar12") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");\n  }" ({ "{") (labeled_statement "LAB_0001a454:\n    FUN_0001b7b0("Parameter number mismatch");" (statement_identifier "LAB_0001a454") (: ":") (expression_statement "FUN_0001b7b0("Parameter number mismatch");" (call_expression "FUN_0001b7b0("Parameter number mismatch")" (identifier "FUN_0001b7b0") (argument_list "("Parameter number mismatch")" (( "(") (string_literal ""Parameter number mismatch"" (" """) (string_content "Parameter number mismatch") (" """)) () ")"))) (; ";"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *progctr,int func)

{
  short var_12;
  type_2 *pbVar2;
  type_3 *pbVar3;
  type_4 *peVar4;
  type_5 var_2;
  type_6 *pbVar6;
  long var_11;
  type_7 *pbVar7;
  type_7 *pbVar8;
  type_2 *pbVar9;
  type_3 *pbVar10;
  type_3 *var_15;
  type_8 var_13;
  type_7 **ppbVar13;
  type_7 **ppbVar14;
  type_9 *var_3;
  int var_4;
  
  var_3 = functions[func].f_params;
  while (var_2 = var_1(progctr), var_2 != ':') {
    if (var_3 == (type_9 *)0x0) goto LAB_0001a454;
    var_4 = var_3->av_name;
    if (var_2 == '0') {
      if (var_4 < 1) {
LAB_0001a2b8:
        if (-1 < var_4) goto LAB_0001a384;
        var_5("Parameter type mismatch parameter %s.",a_names[-var_4]);
        goto LAB_0001a2e1;
      }
      pbVar6 = (type_6 *)var_6(8);
      pbVar6->v_next = variables[var_4];
      peVar4 = var_17;
      pbVar6->v_value = var_17->s_num;
      var_7(&peVar4->s_num);
      variables[var_4] = pbVar6;
    }
    else {
      if (var_2 != '1') goto LAB_0001a2b8;
      if (var_4 < 0) {
        var_11 = var_8(var_17->s_num);
        var_9(var_11,0);
        var_4 = var_3->av_name;
        if (var_4 < 1) {
          pbVar8 = (type_7 *)var_6(0xc);
          ppbVar14 = var_10;
          ppbVar13 = var_10 + -var_4;
          pbVar7 = *ppbVar13;
          pbVar8->a_value = (type_2 *)0x0;
          pbVar8->a_param = '\0';
          pbVar8->a_next = pbVar7;
          *ppbVar13 = pbVar8;
        }
        else {
          pbVar6 = (type_6 *)var_6(8);
          pbVar6->v_next = variables[var_4];
          var_7((type_8 *)pbVar6);
          variables[var_4] = pbVar6;
          ppbVar14 = var_10;
        }
        pbVar7 = ppbVar14[var_11];
        if (var_11 + var_3->av_name == 0) {
          pbVar7 = pbVar7->a_next;
        }
        pbVar2 = pbVar7->a_value;
        pbVar7 = ppbVar14[-var_3->av_name];
        if (var_3->arg_is_var == 0) {
          pbVar7->a_param = '\0';
          pbVar9 = (type_2 *)var_6(8);
          var_12 = pbVar2->a_depth;
          pbVar9->a_depth = var_12;
          pbVar3 = pbVar2->a_tree;
          pbVar10 = (type_3 *)var_6(0x100);
          if (var_12 < 2) {
            var_4 = 0;
            do {
              var_13 = (pbVar3->n_items).n_num[var_4];
              if (var_13 == (type_8)0x0) {
                (pbVar10->n_items).n_num[var_4] = (type_10)0x0;
              }
              else {
                var_13 = var_14(var_13);
                (pbVar10->n_items).n_num[var_4] = var_13;
              }
              var_4 = var_4 + 1;
            } while (var_4 != 0x40);
          }
          else {
            var_4 = 0;
            do {
              while (var_15 = (pbVar3->n_items).n_down[var_4], var_15 != (type_3 *)0x0) {
                var_15 = var_16(var_15,var_12 + -1);
                (pbVar10->n_items).n_down[var_4] = var_15;
                var_4 = var_4 + 1;
                if (var_4 == 0x40) goto LAB_0001a53a;
              }
              (pbVar10->n_items).n_num[var_4] = (type_10)0x0;
              var_4 = var_4 + 1;
            } while (var_4 != 0x40);
          }
LAB_0001a53a:
          pbVar9->a_tree = pbVar10;
          pbVar7->a_value = pbVar9;
        }
        else {
          pbVar7->a_param = '\x01';
          pbVar7->a_value = pbVar2;
        }
        goto LAB_0001a2e7;
      }
LAB_0001a384:
      var_5("Parameter type mismatch, parameter %s.",v_names[var_4]);
LAB_0001a2e1:
      var_3 = var_3 + 1;
    }
LAB_0001a2e7:
    peVar4 = var_17;
    if (var_17 != (type_4 *)0x0) {
      var_17 = var_17->s_next;
      var_18(&peVar4->s_num);
      var_19(peVar4);
    }
    var_3 = var_3->next;
  }
  if (var_3 != (type_9 *)0x0) {
LAB_0001a454:
    var_5("Parameter number mismatch");
  }
  return;
}


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

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

void MASKED(undefined4 param_1,int param_2)

{
  void *__ptr;
  int iVar1;
  int *piVar2;
  char cVar3;
  undefined4 *puVar4;
  int iVar5;
  int iVar6;
  int *piVar7;
  undefined4 *puVar8;
  int *piVar9;
  undefined4 uVar10;
  int iVar11;
  int *piVar12;
  undefined4 *puVar13;
  undefined4 *puVar14;
  int *piVar15;
  
  piVar12 = *(int **)(param_2 * 0x1c + DAT_0002c278 + 0x14);
  puVar14 = &DAT_0002c2bc;
  piVar15 = &DAT_0002c29c;
  while (cVar3 = FUN_00015ec0(param_1), cVar3 != ':') {
    if (piVar12 == (int *)0x0) goto LAB_0001a454;
    iVar1 = *piVar12;
    if (cVar3 == '0') {
      if (iVar1 < 1) {
LAB_0001a2b8:
        if (-1 < iVar1) goto LAB_0001a384;
        FUN_0001b7b0("Parameter type mismatch parameter %s.",
                     *(undefined4 *)(iVar1 * -4 + DAT_0002c258));
        puVar13 = puVar14;
        goto LAB_0001a2e1;
      }
      puVar4 = (undefined4 *)FUN_0001ab90(8);
      puVar13 = &DAT_0002c2bc;
      puVar4[1] = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);
      puVar8 = DAT_0002c2bc;
      *puVar4 = *DAT_0002c2bc;
      FUN_0001c550(puVar8);
      *(undefined4 **)(DAT_0002c2b4 + iVar1 * 4) = puVar4;
    }
    else {
      if (cVar3 != '1') goto LAB_0001a2b8;
      if (iVar1 < 0) {
        puVar13 = &DAT_0002c2bc;
        iVar5 = FUN_0001f020(*DAT_0002c2bc);
        FUN_000190f0(iVar5,0);
        iVar1 = *piVar12;
        if (iVar1 < 1) {
          puVar8 = (undefined4 *)FUN_0001ab90(0xc);
          iVar6 = DAT_0002c254;
          puVar4 = (undefined4 *)(DAT_0002c254 + iVar1 * -4);
          uVar10 = *puVar4;
          *puVar8 = 0;
          *(undefined1 *)(puVar8 + 1) = 0;
          puVar8[2] = uVar10;
          *puVar4 = puVar8;
        }
        else {
          iVar6 = FUN_0001ab90(8);
          *(undefined4 *)(iVar6 + 4) = *(undefined4 *)(DAT_0002c2b4 + iVar1 * 4);
          FUN_0001c550(iVar6);
          *(int *)(DAT_0002c2b4 + iVar1 * 4) = iVar6;
          iVar6 = DAT_0002c254;
        }
        piVar7 = *(int **)(iVar6 + iVar5 * 4);
        if (iVar5 + *piVar12 == 0) {
          piVar7 = (int *)piVar7[2];
        }
        piVar7 = (int *)*piVar7;
        piVar2 = *(int **)(iVar6 + *piVar12 * -4);
        if (piVar12[1] == 0) {
          *(undefined1 *)(piVar2 + 1) = 0;
          piVar9 = (int *)FUN_0001ab90(8);
          iVar6 = (int)(short)piVar7[1];
          *(short *)(piVar9 + 1) = (short)piVar7[1];
          iVar1 = *piVar7;
          iVar5 = FUN_0001ab90(0x100);
          if (iVar6 < 2) {
            iVar6 = 0;
            do {
              iVar11 = *(int *)(iVar1 + iVar6 * 4);
              if (iVar11 == 0) {
                *(undefined4 *)(iVar5 + iVar6 * 4) = 0;
              }
              else {
                uVar10 = FUN_0001c540(iVar11);
                *(undefined4 *)(iVar5 + iVar6 * 4) = uVar10;
              }
              iVar6 = iVar6 + 1;
            } while (iVar6 != 0x40);
          }
          else {
            iVar6 = iVar6 + -1;
            iVar11 = 0;
            do {
              while (*(int *)(iVar1 + iVar11 * 4) != 0) {
                uVar10 = FUN_000188e0(puVar14,piVar15,iVar6);
                *(undefined4 *)(iVar5 + iVar11 * 4) = uVar10;
                iVar11 = iVar11 + 1;
                if (iVar11 == 0x40) goto LAB_0001a53a;
              }
              *(undefined4 *)(iVar5 + iVar11 * 4) = 0;
              iVar11 = iVar11 + 1;
            } while (iVar11 != 0x40);
          }
LAB_0001a53a:
          *piVar9 = iVar5;
          *piVar2 = (int)piVar9;
        }
        else {
          *(undefined1 *)(piVar2 + 1) = 1;
          *piVar2 = (int)piVar7;
        }
        goto LAB_0001a2e7;
      }
LAB_0001a384:
      FUN_0001b7b0("Parameter type mismatch, parameter %s.",*(undefined4 *)(*piVar15 + iVar1 * 4));
      puVar13 = puVar14;
LAB_0001a2e1:
      piVar12 = piVar12 + 3;
      puVar14 = puVar13;
    }
LAB_0001a2e7:
    __ptr = (void *)*puVar13;
    if (__ptr != (void *)0x0) {
      *puVar13 = *(undefined4 *)((int)__ptr + 4);
      FUN_0001c2e0(__ptr);
      free(__ptr);
    }
    piVar12 = (int *)piVar12[2];
  }
  if (piVar12 != (int *)0x0) {
LAB_0001a454:
    FUN_0001b7b0("Parameter number mismatch");
  }
  return;
}

