
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

ec_point * __regparm2 ecp_double(ec_point *a,int aminus3)

{
  ec_curve *peVar1;
  Bignum_conflict pBVar2;
  Bignum_conflict pBVar3;
  Bignum_conflict pBVar4;
  Bignum_conflict pBVar5;
  Bignum_conflict pBVar6;
  Bignum_conflict q;
  ec_point *peVar7;
  int iVar8;
  Bignum pvVar9;
  Bignum_conflict local_28;
  
  peVar1 = a->curve;
  if (a->infinity == '\0') {
    if (peVar1->type == ADDRTYPE_IPV6) {
      peVar7 = ecp_add(a,a,aminus3);
      return peVar7;
    }
    if (peVar1->type != ADDRTYPE_UNSPEC) {
      pBVar4 = (Bignum_conflict)a->z;
      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {
        pBVar4 = One;
      }
      pBVar2 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&peVar1->p);
      pBVar3 = modmul(pBVar2,pBVar2,(Bignum_conflict)a->curve->p);
      freebn(pBVar2);
      pBVar4 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);
      pBVar2 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);
      freebn(pBVar4);
      pBVar4 = modmul(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);
      pBVar5 = bignum_from_long(2);
      pBVar6 = (Bignum_conflict)ecf_add((a->curve->field_5).w.a,pBVar5,(ec_curve *)&a->curve->p);
      freebn(pBVar5);
      pBVar5 = modsub(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);
      freebn(pBVar3);
      pBVar3 = modmul(pBVar6,pBVar5,(Bignum_conflict)a->curve->p);
      freebn(pBVar6);
      pBVar6 = bignum_from_long(4);
      q = modinv(pBVar6,(Bignum_conflict)a->curve->p);
      freebn(pBVar6);
      if (q == (Bignum_conflict)0x0) {
        freebn(pBVar3);
        freebn(pBVar5);
        freebn(pBVar4);
        freebn(pBVar2);
        peVar7 = (ec_point *)0x0;
      }
      else {
        pBVar6 = modmul(pBVar3,q,(Bignum_conflict)a->curve->p);
        freebn(pBVar3);
        freebn(q);
        pBVar3 = (Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p);
        freebn(pBVar2);
        freebn(pBVar6);
        pBVar2 = modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p);
        freebn(pBVar5);
        freebn(pBVar3);
        peVar1 = a->curve;
        peVar7 = (ec_point *)safemalloc(1,0x14);
        peVar7->curve = peVar1;
        peVar7->y = (Bignum)0x0;
        peVar7->x = pBVar4;
        peVar7->z = pBVar2;
        peVar7->infinity = '\0';
      }
      return peVar7;
    }
    iVar8 = bignum_cmp((Bignum_conflict)a->y,Zero);
    if (iVar8 != 0) {
      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);
      pBVar2 = modmul((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);
      freebn(pBVar4);
      pBVar4 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);
      freebn(pBVar2);
      pBVar2 = (Bignum_conflict)ecf_double(pBVar4,(ec_curve *)&a->curve->p);
      freebn(pBVar4);
      pBVar4 = (Bignum_conflict)a->z;
      if (aminus3 == 0) {
        if (pBVar4 == (Bignum_conflict)0x0) {
          local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a);
        }
        else {
          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);
          pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);
          freebn(pBVar4);
          local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,
                            (Bignum_conflict)a->curve->p);
          freebn(pBVar3);
        }
        pBVar4 = modmul((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p);
        pBVar3 = (Bignum_conflict)ecf_treble(pBVar4,(ec_curve *)&a->curve->p);
        freebn(pBVar4);
        pBVar4 = (Bignum_conflict)ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p);
        freebn(pBVar3);
        freebn(local_28);
      }
      else {
        if (pBVar4 == (Bignum_conflict)0x0) {
          pBVar4 = copybn(One);
        }
        else {
          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);
        }
        pBVar3 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p);
        pBVar5 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);
        freebn(pBVar4);
        pBVar6 = modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);
        freebn(pBVar3);
        freebn(pBVar5);
        pBVar4 = (Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p);
        freebn(pBVar6);
      }
      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);
      pBVar5 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);
      pBVar6 = modsub(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);
      freebn(pBVar3);
      freebn(pBVar5);
      pBVar3 = modsub(pBVar2,pBVar6,(Bignum_conflict)a->curve->p);
      freebn(pBVar2);
      pBVar2 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);
      freebn(pBVar3);
      freebn(pBVar4);
      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);
      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);
      freebn(pBVar4);
      pBVar4 = bignum_from_long(8);
      pBVar5 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);
      freebn(pBVar4);
      freebn(pBVar3);
      pBVar4 = modsub(pBVar2,pBVar5,(Bignum_conflict)a->curve->p);
      freebn(pBVar2);
      freebn(pBVar5);
      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {
        pBVar2 = copybn((Bignum_conflict)a->y);
      }
      else {
        pBVar2 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p);
      }
      pvVar9 = ecf_double(pBVar2,(ec_curve *)&a->curve->p);
      freebn(pBVar2);
      peVar1 = a->curve;
      peVar7 = (ec_point *)safemalloc(1,0x14);
      peVar7->curve = peVar1;
      peVar7->x = pBVar6;
      peVar7->z = pvVar9;
      peVar7->y = pBVar4;
      peVar7->infinity = '\0';
      return peVar7;
    }
    peVar1 = a->curve;
    peVar7 = (ec_point *)safemalloc(1,0x14);
    peVar7->curve = peVar1;
  }
  else {
    peVar7 = (ec_point *)safemalloc(1,0x14);
    peVar7->curve = peVar1;
  }
  peVar7->x = (Bignum)0x0;
  peVar7->y = (Bignum)0x0;
  peVar7->z = (Bignum)0x0;
  peVar7->infinity = '\x01';
  return peVar7;
}



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

int * __regparm3 FUN_0002fd40(int *param_1,int param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  int *piVar8;
  int iVar9;
  undefined4 uVar10;
  int *piVar11;
  undefined *puVar12;
  undefined4 local_28;
  
  piVar8 = (int *)*param_1;
  if ((char)param_1[4] == '\0') {
    iVar4 = *piVar8;
    if (iVar4 == 2) {
      piVar8 = (int *)FUN_0002f630();
      return piVar8;
    }
    if (iVar4 != 0) {
      puVar12 = (undefined *)param_1[3];
      if ((undefined *)param_1[3] == (undefined *)0x0) {
        puVar12 = PTR_DAT_0006f01c;
      }
      uVar1 = FUN_0002f2f0();
      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar1);
      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));
      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar1);
      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));
      uVar1 = FUN_000297a0(2);
      uVar5 = FUN_0002f2f0();
      FUN_00028470(uVar1);
      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar2);
      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar5);
      uVar5 = FUN_000297a0(4);
      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar5);
      if (iVar6 == 0) {
        FUN_00028470(uVar2);
        FUN_00028470(uVar1);
        FUN_00028470(iVar4);
        FUN_00028470(uVar3);
        piVar8 = (int *)0x0;
      }
      else {
        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));
        FUN_00028470(uVar2);
        FUN_00028470(iVar6);
        uVar2 = FUN_0002f2f0();
        FUN_00028470(uVar3);
        FUN_00028470(uVar5);
        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));
        FUN_00028470(uVar1);
        FUN_00028470(uVar2);
        iVar6 = *param_1;
        piVar8 = (int *)FUN_00019880(1,0x14);
        *piVar8 = iVar6;
        piVar8[2] = 0;
        piVar8[1] = iVar4;
        piVar8[3] = iVar7;
        *(undefined1 *)(piVar8 + 4) = 0;
      }
      return piVar8;
    }
    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);
    if (iVar4 != 0) {
      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));
      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar1);
      uVar1 = FUN_0002f510();
      FUN_00028470(uVar2);
      uVar2 = FUN_0002f510();
      FUN_00028470(uVar1);
      iVar4 = param_1[3];
      if (param_2 == 0) {
        if (iVar4 == 0) {
          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));
        }
        else {
          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));
          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));
          FUN_00028470(uVar1);
          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,
                                  *(undefined4 *)(*param_1 + 0x10));
          FUN_00028470(uVar3);
        }
        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));
        uVar3 = FUN_0002f590();
        FUN_00028470(uVar1);
        uVar1 = FUN_0002f2f0();
        FUN_00028470(uVar3);
        FUN_00028470(local_28);
      }
      else {
        if (iVar4 == 0) {
          uVar1 = FUN_00028420(PTR_DAT_0006f01c);
        }
        else {
          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));
        }
        uVar3 = FUN_0002f2f0();
        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));
        FUN_00028470(uVar1);
        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));
        FUN_00028470(uVar3);
        FUN_00028470(uVar5);
        uVar1 = FUN_0002f590();
        FUN_00028470(uVar10);
      }
      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));
      uVar5 = FUN_0002f510();
      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar3);
      FUN_00028470(uVar5);
      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar2);
      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar3);
      FUN_00028470(uVar1);
      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));
      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar1);
      uVar1 = FUN_000297a0(8);
      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar1);
      FUN_00028470(uVar3);
      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar2);
      FUN_00028470(uVar5);
      if (param_1[3] == 0) {
        uVar1 = FUN_00028420(param_1[2]);
      }
      else {
        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));
      }
      iVar9 = FUN_0002f510();
      FUN_00028470(uVar1);
      iVar7 = *param_1;
      piVar8 = (int *)FUN_00019880(1,0x14);
      *piVar8 = iVar7;
      piVar8[1] = iVar4;
      piVar8[3] = iVar9;
      piVar8[2] = iVar6;
      *(undefined1 *)(piVar8 + 4) = 0;
      return piVar8;
    }
    iVar4 = *param_1;
    piVar11 = (int *)FUN_00019880(1,0x14);
    *piVar11 = iVar4;
  }
  else {
    piVar11 = (int *)FUN_00019880(1,0x14);
    *piVar11 = (int)piVar8;
  }
  piVar11[1] = 0;
  piVar11[2] = 0;
  piVar11[3] = 0;
  *(undefined1 *)(piVar11 + 4) = 1;
  return piVar11;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000152d0
ADD EBX,0x3ef9f
SUB ESP,0x1c
CMP byte ptr [EAX + 0x10],0x0
MOV EDI,dword ptr [EAX]
JNZ 0x00030230
MOV EBP,EAX
MOV EAX,dword ptr [EDI]
MOV ECX,EDX
CMP EAX,0x2
JZ 0x00030330
MOV dword ptr [ESP],EDX
TEST EAX,EAX
JZ 0x0002ff50
MOV ESI,dword ptr [EBP + 0xc]
TEST ESI,ESI
JZ 0x00030320
MOV EAX,dword ptr [EBP + 0x4]
LEA ECX,[EDI + 0x10]
MOV EDX,ESI
CALL 0x0002f2f0
SUB ESP,0x4
MOV EDX,EAX
MOV EAX,dword ptr [EBP]
PUSH dword ptr [EAX + 0x10]
PUSH EDX
PUSH EDX
MOV dword ptr [ESP + 0x10],EDX
CALL 0x000284b0
MOV EDX,dword ptr [ESP + 0x10]
MOV EDI,EAX
MOV dword ptr [ESP],EDX
CALL 0x00028470
MOV EAX,dword ptr [EBP]
ADD ESP,0xc
PUSH dword ptr [EAX + 0x10]
PUSH ESI
PUSH dword ptr [EBP + 0x4]
CALL 0x00029f00
ADD ESP,0xc
MOV ESI,EAX
MOV EAX,dword ptr [EBP]
PUSH dword ptr [EAX + 0x10]
PUSH ESI
PUSH ESI
CALL 0x000284b0
MOV dword ptr [ESP],ESI
MOV dword ptr [ESP + 0x10],EAX
CALL 0x00028470
MOV EAX,dword ptr [EBP]
ADD ESP,0xc
PUSH dword ptr [EAX + 0x10]
PUSH dword ptr [ESP + 0x8]
PUSH EDI
CALL 0x000284b0
MOV dword ptr [ESP],0x2
MOV dword ptr [ESP + 0x18],EAX
CALL 0x000297a0
MOV ESI,EAX
MOV EAX,dword ptr [EBP]
MOV EDX,ESI
MOV dword ptr [ESP + 0x14],ESI
LEA ECX,[EAX + 0x10]
MOV EAX,dword ptr [EAX + 0x14]
CALL 0x0002f2f0
MOV ESI,EAX
POP EAX
PUSH dword ptr [ESP + 0x10]
CALL 0x00028470
MOV EAX,dword ptr [EBP]
ADD ESP,0xc
PUSH dword ptr [EAX + 0x10]
PUSH dword ptr [ESP + 0x8]
PUSH EDI
CALL 0x00029f00
MOV dword ptr [ESP],EDI
MOV dword ptr [ESP + 0x14],EAX
CALL 0x00028470
MOV EAX,dword ptr [EBP]
ADD ESP,0xc
PUSH dword ptr [EAX + 0x10]
PUSH dword ptr [ESP + 0xc]
PUSH ESI
CALL 0x000284b0
MOV dword ptr [ESP],ESI
MOV EDI,EAX
CALL 0x00028470
MOV dword ptr [ESP],0x4
CALL 0x000297a0
MOV ESI,EAX
POP EAX
MOV EAX,dword ptr [EBP]
POP EDX
PUSH dword ptr [EAX + 0x10]
PUSH ESI
CALL 0x0002a0d0
MOV dword ptr [ESP],ESI
MOV dword ptr [ESP + 0x1c],EAX
CALL 0x00028470
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
TEST EDX,EDX
JZ 0x00030390
MOV EAX,dword ptr [EBP]
SUB ESP,0x4
PUSH dword ptr [EAX + 0x10]
PUSH EDX
MOV dword ptr [ESP + 0x18],EDX
PUSH EDI
CALL 0x000284b0
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x00028470
MOV EDX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP],EDX
CALL 0x00028470
MOV EDI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EBP]
MOV EDX,ESI
MOV dword ptr [ESP + 0x1c],ESI
LEA ECX,[EAX + 0x10]
MOV EAX,EDI
CALL 0x0002f2f0
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x00028470
POP EAX
PUSH dword ptr [ESP + 0x18]
CALL 0x00028470
MOV EAX,dword ptr [EBP]
ADD ESP,0xc
PUSH dword ptr [EAX + 0x10]
PUSH ESI
PUSH dword ptr [ESP + 0x10]
CALL 0x000284b0
POP EDX
PUSH dword ptr [ESP + 0x10]
MOV EDI,EAX
CALL 0x00028470
MOV dword ptr [ESP],ESI
CALL 0x00028470
POP ECX
MOV ESI,dword ptr [EBP]
POP EBP
PUSH 0x14
PUSH 0x1
CALL 0x00019880
MOV EDX,EAX
MOV dword ptr [EAX],ESI
MOV EAX,dword ptr [ESP + 0x18]
ADD ESP,0x10
MOV dword ptr [EDX + 0x8],0x0
MOV dword ptr [EDX + 0x4],EAX
MOV dword ptr [EDX + 0xc],EDI
MOV byte ptr [EDX + 0x10],0x0
ADD ESP,0x1c
MOV EAX,EDX
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0x338]
SUB ESP,0x8
PUSH dword ptr [EAX]
PUSH dword ptr [EBP + 0x8]
CALL 0x00028df0
ADD ESP,0x10
MOV ECX,dword ptr [ESP]
TEST EAX,EAX
JZ 0x00030308
MOV EDX,dword ptr [EBP]
MOV EAX,dword ptr [EBP + 0x8]
MOV dword ptr [ESP + 0x4],ECX
SUB ESP,0x4
PUSH dword ptr [EDX + 0x10]
PUSH EAX
PUSH EAX
CALL 0x000284b0
ADD ESP,0xc
MOV ESI,EAX
MOV EAX,dword ptr [EBP]
PUSH dword ptr [EAX + 0x10]
PUSH ESI
PUSH dword ptr [EBP + 0x4]
CALL 0x000284b0
MOV dword ptr [ESP],ESI
MOV EDI,EAX
CALL 0x00028470
MOV EAX,dword ptr [EBP]
LEA EDX,[EAX + 0x10]
MOV EAX,EDI
CALL 0x0002f510
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x00028470
MOV EAX,dword ptr [EBP]
LEA EDX,[EAX + 0x10]
MOV EAX,ESI
CALL 0x0002f510
MOV dword ptr [ESP],ESI
MOV dword ptr [ESP + 0x10],EAX
CALL 0x00028470
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [EBP + 0xc]
TEST ECX,ECX
JNZ 0x00030270
MOV EDX,dword ptr [EBP]
TEST EAX,EAX
JZ 0x00030358
SUB ESP,0x4
PUSH dword ptr [EDX + 0x10]
PUSH EAX
PUSH EAX
CALL 0x000284b0
ADD ESP,0xc
MOV EDI,EAX
MOV EAX,dword ptr [EBP]
PUSH dword ptr [EAX + 0x10]
PUSH EDI
PUSH EDI
CALL 0x000284b0
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x00028470
MOV EAX,dword ptr [EBP]
ADD ESP,0xc
PUSH dword ptr [EAX + 0x10]
PUSH ESI
PUSH dword ptr [EAX + 0x14]
CALL 0x000284b0
MOV dword ptr [ESP],ESI
MOV dword ptr [ESP + 0x14],EAX
CALL 0x00028470
ADD ESP,0x10
MOV EDX,dword ptr [EBP]
MOV EAX,dword ptr [EBP + 0x4]
SUB ESP,0x4
PUSH dword ptr [EDX + 0x10]
PUSH EAX
PUSH EAX
CALL 0x000284b0
MOV ESI,EAX
MOV EAX,dword ptr [EBP]
LEA EDX,[EAX + 0x10]
MOV EAX,ESI
CALL 0x0002f590
MOV dword ptr [ESP],ESI
MOV EDI,EAX
CALL 0x00028470
MOV EAX,dword ptr [EBP]
MOV EDX,dword ptr [ESP + 0x14]
LEA ECX,[EAX + 0x10]
MOV EAX,EDI
CALL 0x0002f2f0
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x00028470
POP EAX
PUSH dword ptr [ESP + 0x10]
CALL 0x00028470
ADD ESP,0x10
MOV EAX,dword ptr [EBP]
SUB ESP,0x4
PUSH dword ptr [EAX + 0x10]
PUSH ESI
PUSH ESI
CALL 0x000284b0
MOV EDI,EAX
MOV EAX,dword ptr [EBP]
LEA EDX,[EAX + 0x10]
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x0002f510
ADD ESP,0xc
MOV EDX,EAX
MOV EAX,dword ptr [EBP]
PUSH dword ptr [EAX + 0x10]
PUSH EDX
MOV dword ptr [ESP + 0x14],EDX
PUSH EDI
CALL 0x00029f00
MOV dword ptr [ESP],EDI
MOV dword ptr [ESP + 0x14],EAX
CALL 0x00028470
MOV EDX,dword ptr [ESP + 0x18]
MOV dword ptr [ESP],EDX
CALL 0x00028470
MOV EAX,dword ptr [EBP]
ADD ESP,0xc
PUSH dword ptr [EAX + 0x10]
PUSH dword ptr [ESP + 0xc]
MOV EDI,dword ptr [ESP + 0xc]
PUSH EDI
CALL 0x00029f00
MOV dword ptr [ESP],EDI
MOV dword ptr [ESP + 0x10],EAX
CALL 0x00028470
MOV EAX,dword ptr [EBP]
ADD ESP,0xc
PUSH dword ptr [EAX + 0x10]
PUSH dword ptr [ESP + 0x8]
PUSH ESI
CALL 0x000284b0
MOV EDI,EAX
POP EAX
PUSH dword ptr [ESP + 0xc]
CALL 0x00028470
MOV dword ptr [ESP],ESI
CALL 0x00028470
MOV EDX,dword ptr [EBP]
MOV EAX,dword ptr [EBP + 0x8]
ADD ESP,0xc
PUSH dword ptr [EDX + 0x10]
PUSH EAX
PUSH EAX
CALL 0x000284b0
ADD ESP,0xc
MOV ESI,EAX
MOV EAX,dword ptr [EBP]
PUSH dword ptr [EAX + 0x10]
PUSH ESI
PUSH ESI
CALL 0x000284b0
MOV dword ptr [ESP],ESI
MOV dword ptr [ESP + 0x10],EAX
CALL 0x00028470
MOV dword ptr [ESP],0x8
CALL 0x000297a0
ADD ESP,0xc
MOV EDX,EAX
MOV EAX,dword ptr [EBP]
PUSH dword ptr [EAX + 0x10]
PUSH dword ptr [ESP + 0x8]
PUSH EDX
MOV dword ptr [ESP + 0x18],EDX
CALL 0x000284b0
MOV EDX,dword ptr [ESP + 0x18]
MOV ESI,EAX
MOV dword ptr [ESP],EDX
CALL 0x00028470
POP EAX
PUSH dword ptr [ESP + 0xc]
CALL 0x00028470
MOV EAX,dword ptr [EBP]
ADD ESP,0xc
PUSH dword ptr [EAX + 0x10]
PUSH ESI
PUSH EDI
CALL 0x00029f00
MOV dword ptr [ESP],EDI
MOV dword ptr [ESP + 0x10],EAX
CALL 0x00028470
MOV dword ptr [ESP],ESI
CALL 0x00028470
MOV EAX,dword ptr [EBP + 0xc]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00030340
MOV EDX,dword ptr [EBP]
SUB ESP,0x4
PUSH dword ptr [EDX + 0x10]
PUSH EAX
PUSH dword ptr [EBP + 0x8]
CALL 0x000284b0
ADD ESP,0x10
MOV ESI,EAX
MOV EAX,dword ptr [EBP]
LEA EDX,[EAX + 0x10]
MOV EAX,ESI
CALL 0x0002f510
SUB ESP,0xc
PUSH ESI
MOV EDI,EAX
CALL 0x00028470
POP ECX
MOV ESI,dword ptr [EBP]
POP EBP
PUSH 0x14
PUSH 0x1
CALL 0x00019880
MOV dword ptr [EAX],ESI
MOV EDX,EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [EDX + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x10]
ADD ESP,0x10
MOV dword ptr [EDX + 0xc],EDI
MOV dword ptr [EDX + 0x8],EAX
MOV EAX,EDX
MOV byte ptr [EDX + 0x10],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH 0x14
PUSH 0x1
CALL 0x00019880
MOV dword ptr [EAX],EDI
MOV EDX,EAX
ADD ESP,0x10
MOV dword ptr [EDX + 0x4],0x0
MOV EAX,EDX
MOV dword ptr [EDX + 0x8],0x0
MOV dword ptr [EDX + 0xc],0x0
MOV byte ptr [EDX + 0x10],0x1
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST EAX,EAX
JZ 0x00030370
MOV EDX,dword ptr [EBP]
SUB ESP,0x4
PUSH dword ptr [EDX + 0x10]
PUSH EAX
PUSH EAX
CALL 0x000284b0
ADD ESP,0x10
MOV ESI,EAX
MOV EAX,dword ptr [EBP]
MOV EDX,ESI
LEA ECX,[EAX + 0x10]
MOV EAX,dword ptr [EBP + 0x4]
CALL 0x0002f2f0
SUB ESP,0x4
MOV EDI,EAX
MOV EAX,dword ptr [EBP]
PUSH dword ptr [EAX + 0x10]
PUSH ESI
PUSH dword ptr [EBP + 0x4]
CALL 0x00029f00
MOV dword ptr [ESP],ESI
MOV dword ptr [ESP + 0x14],EAX
CALL 0x00028470
MOV EAX,dword ptr [EBP]
ADD ESP,0xc
PUSH dword ptr [EAX + 0x10]
PUSH dword ptr [ESP + 0xc]
PUSH EDI
CALL 0x000284b0
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x00028470
POP EAX
PUSH dword ptr [ESP + 0x10]
MOV EDI,ESI
CALL 0x00028470
MOV EAX,dword ptr [EBP]
LEA EDX,[EAX + 0x10]
MOV EAX,ESI
CALL 0x0002f590
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x00028470
ADD ESP,0x10
JMP 0x00030091
SUB ESP,0x8
MOV ESI,dword ptr [EBP]
PUSH 0x14
PUSH 0x1
CALL 0x00019880
MOV EDX,EAX
MOV dword ptr [EAX],ESI
JMP 0x00030240
LEA EAX,[EBX + 0x334]
MOV ESI,dword ptr [EAX]
JMP 0x0002fd83
ADD ESP,0x1c
MOV EDX,EBP
MOV EAX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x0002f630
SUB ESP,0xc
PUSH dword ptr [EBP + 0x8]
CALL 0x00028420
ADD ESP,0x10
MOV ESI,EAX
JMP 0x000301e1
SUB ESP,0xc
PUSH dword ptr [EDX + 0x14]
CALL 0x00028420
MOV dword ptr [ESP + 0x14],EAX
ADD ESP,0x10
JMP 0x0003003d
LEA EAX,[EBX + 0x334]
SUB ESP,0xc
PUSH dword ptr [EAX]
CALL 0x00028420
ADD ESP,0x10
MOV ESI,EAX
JMP 0x0003028d
SUB ESP,0xc
PUSH EDI
CALL 0x00028470
POP EAX
PUSH dword ptr [ESP + 0x10]
CALL 0x00028470
POP EAX
PUSH dword ptr [ESP + 0x14]
CALL 0x00028470
POP EAX
PUSH dword ptr [ESP + 0xc]
CALL 0x00028470
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
JMP 0x0002ff42
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * __regparm3 FUN_0002fd40(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  \n  piVar8 = (int *)*param_1;\n  if ((char)param_1[4] == '\0') {\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }\n  else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }\n  piVar11[1] = 0;\n  piVar11[2] = 0;\n  piVar11[3] = 0;\n  *(undefined1 *)(piVar11 + 4) = 1;\n  return piVar11;\n}\n\n" comment (function_definition "int * __regparm3 FUN_0002fd40(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  \n  piVar8 = (int *)*param_1;\n  if ((char)param_1[4] == '\0') {\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }\n  else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }\n  piVar11[1] = 0;\n  piVar11[2] = 0;\n  piVar11[3] = 0;\n  *(undefined1 *)(piVar11 + 4) = 1;\n  return piVar11;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_0002fd40(int *param_1,int param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_0002fd40(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  \n  piVar8 = (int *)*param_1;\n  if ((char)param_1[4] == '\0') {\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }\n  else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }\n  piVar11[1] = 0;\n  piVar11[2] = 0;\n  piVar11[3] = 0;\n  *(undefined1 *)(piVar11 + 4) = 1;\n  return piVar11;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (expression_statement "piVar8 = (int *)*param_1;" (assignment_expression "piVar8 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((char)param_1[4] == '\0') {\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }\n  else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }" if (parenthesized_expression "((char)param_1[4] == '\0')" ( (binary_expression "(char)param_1[4] == '\0'" (cast_expression "(char)param_1[4]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[4]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }" { (expression_statement "iVar4 = *piVar8;" (assignment_expression "iVar4 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (if_statement "if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }" { (expression_statement "piVar8 = (int *)FUN_0002f630();" (assignment_expression "piVar8 = (int *)FUN_0002f630()" identifier = (cast_expression "(int *)FUN_0002f630()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002f630()" identifier (argument_list "()" ( ))))) ;) (return_statement "return piVar8;" return identifier ;) })) (if_statement "if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }" { (expression_statement "puVar12 = (undefined *)param_1[3];" (assignment_expression "puVar12 = (undefined *)param_1[3]" identifier = (cast_expression "(undefined *)param_1[3]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (if_statement "if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }" if (parenthesized_expression "((undefined *)param_1[3] == (undefined *)0x0)" ( (binary_expression "(undefined *)param_1[3] == (undefined *)0x0" (cast_expression "(undefined *)param_1[3]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar12 = PTR_DAT_0006f01c;\n      }" { (expression_statement "puVar12 = PTR_DAT_0006f01c;" (assignment_expression "puVar12 = PTR_DAT_0006f01c" identifier = identifier) ;) })) (expression_statement "uVar1 = FUN_0002f2f0();" (assignment_expression "uVar1 = FUN_0002f2f0()" identifier = (call_expression "FUN_0002f2f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar1 = FUN_000297a0(2);" (assignment_expression "uVar1 = FUN_000297a0(2)" identifier = (call_expression "FUN_000297a0(2)" identifier (argument_list "(2)" ( number_literal )))) ;) (expression_statement "uVar5 = FUN_0002f2f0();" (assignment_expression "uVar5 = FUN_0002f2f0()" identifier = (call_expression "FUN_0002f2f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "uVar5 = FUN_000297a0(4);" (assignment_expression "uVar5 = FUN_000297a0(4)" identifier = (call_expression "FUN_000297a0(4)" identifier (argument_list "(4)" ( number_literal )))) ;) (expression_statement "iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar5,*(undefined4 *)(*param_1 + 0x10))" ( identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (if_statement "if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }" { (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "FUN_00028470(iVar4);" (call_expression "FUN_00028470(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "piVar8 = (int *)0x0;" (assignment_expression "piVar8 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }" else (compound_statement "{\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }" { (expression_statement "uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_00028470(iVar6);" (call_expression "FUN_00028470(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "uVar2 = FUN_0002f2f0();" (assignment_expression "uVar2 = FUN_0002f2f0()" identifier = (call_expression "FUN_0002f2f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar8 = (int *)FUN_00019880(1,0x14);" (assignment_expression "piVar8 = (int *)FUN_00019880(1,0x14)" identifier = (cast_expression "(int *)FUN_00019880(1,0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019880(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar8 = iVar6;" (assignment_expression "*piVar8 = iVar6" (pointer_expression "*piVar8" * identifier) = identifier) ;) (expression_statement "piVar8[2] = 0;" (assignment_expression "piVar8[2] = 0" (subscript_expression "piVar8[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8[1] = iVar4;" (assignment_expression "piVar8[1] = iVar4" (subscript_expression "piVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8[3] = iVar7;" (assignment_expression "piVar8[3] = iVar7" (subscript_expression "piVar8[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(piVar8 + 4) = 0;" (assignment_expression "*(undefined1 *)(piVar8 + 4) = 0" (pointer_expression "*(undefined1 *)(piVar8 + 4)" * (cast_expression "(undefined1 *)(piVar8 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 4)" ( (binary_expression "piVar8 + 4" identifier + number_literal) )))) = number_literal) ;) }))) (return_statement "return piVar8;" return identifier ;) })) (expression_statement "iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);" (assignment_expression "iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020)" identifier = (call_expression "FUN_00028df0(param_1[2],PTR_DAT_0006f020)" identifier (argument_list "(param_1[2],PTR_DAT_0006f020)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }" { (expression_statement "uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_0002f510();" (assignment_expression "uVar1 = FUN_0002f510()" identifier = (call_expression "FUN_0002f510()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "uVar2 = FUN_0002f510();" (assignment_expression "uVar2 = FUN_0002f510()" identifier = (call_expression "FUN_0002f510()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "iVar4 = param_1[3];" (assignment_expression "iVar4 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (if_statement "if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }" { (if_statement "if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }" { (expression_statement "local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));" (assignment_expression "local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14))" identifier = (call_expression "FUN_00028420(*(undefined4 *)(*param_1 + 0x14))" identifier (argument_list "(*(undefined4 *)(*param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(*param_1 + 0x14)" * (cast_expression "(undefined4 *)(*param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x14)" ( (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) }) (else_clause "else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }" else (compound_statement "{\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }" { (expression_statement "uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));" (assignment_expression "local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(*param_1 + 0x14)" * (cast_expression "(undefined4 *)(*param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x14)" ( (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" * identifier) + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) }))) (expression_statement "uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar3 = FUN_0002f590();" (assignment_expression "uVar3 = FUN_0002f590()" identifier = (call_expression "FUN_0002f590()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_0002f2f0();" (assignment_expression "uVar1 = FUN_0002f2f0()" identifier = (call_expression "FUN_0002f2f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00028470(local_28);" (call_expression "FUN_00028470(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) }) (else_clause "else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }" else (compound_statement "{\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }" { (if_statement "if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }" { (expression_statement "uVar1 = FUN_00028420(PTR_DAT_0006f01c);" (assignment_expression "uVar1 = FUN_00028420(PTR_DAT_0006f01c)" identifier = (call_expression "FUN_00028420(PTR_DAT_0006f01c)" identifier (argument_list "(PTR_DAT_0006f01c)" ( identifier )))) ;) }) (else_clause "else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }" else (compound_statement "{\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }" { (expression_statement "uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) }))) (expression_statement "uVar3 = FUN_0002f2f0();" (assignment_expression "uVar3 = FUN_0002f2f0()" identifier = (call_expression "FUN_0002f2f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_0002f590();" (assignment_expression "uVar1 = FUN_0002f590()" identifier = (call_expression "FUN_0002f590()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar10);" (call_expression "FUN_00028470(uVar10)" identifier (argument_list "(uVar10)" ( identifier ))) ;) }))) (expression_statement "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar5 = FUN_0002f510();" (assignment_expression "uVar5 = FUN_0002f510()" identifier = (call_expression "FUN_0002f510()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_000297a0(8);" (assignment_expression "uVar1 = FUN_000297a0(8)" identifier = (call_expression "FUN_000297a0(8)" identifier (argument_list "(8)" ( number_literal )))) ;) (expression_statement "uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (if_statement "if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }" if (parenthesized_expression "(param_1[3] == 0)" ( (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        uVar1 = FUN_00028420(param_1[2]);\n      }" { (expression_statement "uVar1 = FUN_00028420(param_1[2]);" (assignment_expression "uVar1 = FUN_00028420(param_1[2])" identifier = (call_expression "FUN_00028420(param_1[2])" identifier (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) )))) ;) }) (else_clause "else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }" else (compound_statement "{\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }" { (expression_statement "uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (subscript_expression "param_1[3]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) }))) (expression_statement "iVar9 = FUN_0002f510();" (assignment_expression "iVar9 = FUN_0002f510()" identifier = (call_expression "FUN_0002f510()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "iVar7 = *param_1;" (assignment_expression "iVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar8 = (int *)FUN_00019880(1,0x14);" (assignment_expression "piVar8 = (int *)FUN_00019880(1,0x14)" identifier = (cast_expression "(int *)FUN_00019880(1,0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019880(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar8 = iVar7;" (assignment_expression "*piVar8 = iVar7" (pointer_expression "*piVar8" * identifier) = identifier) ;) (expression_statement "piVar8[1] = iVar4;" (assignment_expression "piVar8[1] = iVar4" (subscript_expression "piVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8[3] = iVar9;" (assignment_expression "piVar8[3] = iVar9" (subscript_expression "piVar8[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8[2] = iVar6;" (assignment_expression "piVar8[2] = iVar6" (subscript_expression "piVar8[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(piVar8 + 4) = 0;" (assignment_expression "*(undefined1 *)(piVar8 + 4) = 0" (pointer_expression "*(undefined1 *)(piVar8 + 4)" * (cast_expression "(undefined1 *)(piVar8 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 4)" ( (binary_expression "piVar8 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return piVar8;" return identifier ;) })) (expression_statement "iVar4 = *param_1;" (assignment_expression "iVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar11 = (int *)FUN_00019880(1,0x14);" (assignment_expression "piVar11 = (int *)FUN_00019880(1,0x14)" identifier = (cast_expression "(int *)FUN_00019880(1,0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019880(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar11 = iVar4;" (assignment_expression "*piVar11 = iVar4" (pointer_expression "*piVar11" * identifier) = identifier) ;) }) (else_clause "else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }" else (compound_statement "{\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }" { (expression_statement "piVar11 = (int *)FUN_00019880(1,0x14);" (assignment_expression "piVar11 = (int *)FUN_00019880(1,0x14)" identifier = (cast_expression "(int *)FUN_00019880(1,0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019880(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar11 = (int)piVar8;" (assignment_expression "*piVar11 = (int)piVar8" (pointer_expression "*piVar11" * identifier) = (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "piVar11[1] = 0;" (assignment_expression "piVar11[1] = 0" (subscript_expression "piVar11[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar11[2] = 0;" (assignment_expression "piVar11[2] = 0" (subscript_expression "piVar11[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar11[3] = 0;" (assignment_expression "piVar11[3] = 0" (subscript_expression "piVar11[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar11 + 4) = 1;" (assignment_expression "*(undefined1 *)(piVar11 + 4) = 1" (pointer_expression "*(undefined1 *)(piVar11 + 4)" * (cast_expression "(undefined1 *)(piVar11 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar11 + 4)" ( (binary_expression "piVar11 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return piVar11;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * __regparm2 ecp_double(ec_point *a,int aminus3)\n\n{\n  ec_curve *peVar1;\n  Bignum_conflict pBVar2;\n  Bignum_conflict pBVar3;\n  Bignum_conflict pBVar4;\n  Bignum_conflict pBVar5;\n  Bignum_conflict pBVar6;\n  Bignum_conflict q;\n  ec_point *peVar7;\n  int iVar8;\n  Bignum pvVar9;\n  Bignum_conflict local_28;\n  \n  peVar1 = a->curve;\n  if (a->infinity == '\0') {\n    if (peVar1->type == ADDRTYPE_IPV6) {\n      peVar7 = ecp_add(a,a,aminus3);\n      return peVar7;\n    }\n    if (peVar1->type != ADDRTYPE_UNSPEC) {\n      pBVar4 = (Bignum_conflict)a->z;\n      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar4 = One;\n      }\n      pBVar2 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&peVar1->p);\n      pBVar3 = modmul(pBVar2,pBVar2,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      pBVar4 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n      pBVar2 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = modmul(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);\n      pBVar5 = bignum_from_long(2);\n      pBVar6 = (Bignum_conflict)ecf_add((a->curve->field_5).w.a,pBVar5,(ec_curve *)&a->curve->p);\n      freebn(pBVar5);\n      pBVar5 = modsub(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      pBVar3 = modmul(pBVar6,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar6);\n      pBVar6 = bignum_from_long(4);\n      q = modinv(pBVar6,(Bignum_conflict)a->curve->p);\n      freebn(pBVar6);\n      if (q == (Bignum_conflict)0x0) {\n        freebn(pBVar3);\n        freebn(pBVar5);\n        freebn(pBVar4);\n        freebn(pBVar2);\n        peVar7 = (ec_point *)0x0;\n      }\n      else {\n        pBVar6 = modmul(pBVar3,q,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(q);\n        pBVar3 = (Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar2);\n        freebn(pBVar6);\n        pBVar2 = modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p);\n        freebn(pBVar5);\n        freebn(pBVar3);\n        peVar1 = a->curve;\n        peVar7 = (ec_point *)safemalloc(1,0x14);\n        peVar7->curve = peVar1;\n        peVar7->y = (Bignum)0x0;\n        peVar7->x = pBVar4;\n        peVar7->z = pBVar2;\n        peVar7->infinity = '\0';\n      }\n      return peVar7;\n    }\n    iVar8 = bignum_cmp((Bignum_conflict)a->y,Zero);\n    if (iVar8 != 0) {\n      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);\n      pBVar2 = modmul((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      freebn(pBVar2);\n      pBVar2 = (Bignum_conflict)ecf_double(pBVar4,(ec_curve *)&a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = (Bignum_conflict)a->z;\n      if (aminus3 == 0) {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          freebn(pBVar4);\n          local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p);\n          freebn(pBVar3);\n        }\n        pBVar4 = modmul((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p);\n        pBVar3 = (Bignum_conflict)ecf_treble(pBVar4,(ec_curve *)&a->curve->p);\n        freebn(pBVar4);\n        pBVar4 = (Bignum_conflict)ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p);\n        freebn(pBVar3);\n        freebn(local_28);\n      }\n      else {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          pBVar4 = copybn(One);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n        }\n        pBVar3 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p);\n        pBVar5 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n        freebn(pBVar4);\n        pBVar6 = modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(pBVar5);\n        pBVar4 = (Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar6);\n      }\n      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      pBVar5 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      pBVar6 = modsub(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      freebn(pBVar5);\n      pBVar3 = modsub(pBVar2,pBVar6,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      pBVar2 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      freebn(pBVar4);\n      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);\n      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = bignum_from_long(8);\n      pBVar5 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      freebn(pBVar3);\n      pBVar4 = modsub(pBVar2,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      freebn(pBVar5);\n      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar2 = copybn((Bignum_conflict)a->y);\n      }\n      else {\n        pBVar2 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p);\n      }\n      pvVar9 = ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      freebn(pBVar2);\n      peVar1 = a->curve;\n      peVar7 = (ec_point *)safemalloc(1,0x14);\n      peVar7->curve = peVar1;\n      peVar7->x = pBVar6;\n      peVar7->z = pvVar9;\n      peVar7->y = pBVar4;\n      peVar7->infinity = '\0';\n      return peVar7;\n    }\n    peVar1 = a->curve;\n    peVar7 = (ec_point *)safemalloc(1,0x14);\n    peVar7->curve = peVar1;\n  }\n  else {\n    peVar7 = (ec_point *)safemalloc(1,0x14);\n    peVar7->curve = peVar1;\n  }\n  peVar7->x = (Bignum)0x0;\n  peVar7->y = (Bignum)0x0;\n  peVar7->z = (Bignum)0x0;\n  peVar7->infinity = '\x01';\n  return peVar7;\n}\n\n" comment comment (ERROR "ec_point * __regparm2 ecp_double(ec_point *a,int aminus3)" (binary_expression "ec_point * __regparm2 ecp_double(ec_point *a,int aminus3)" identifier * (ERROR "__regparm2" identifier) (call_expression "ecp_double(ec_point *a,int aminus3)" identifier (argument_list "(ec_point *a,int aminus3)" ( (binary_expression "ec_point *a" identifier * identifier) , (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  ec_curve *peVar1;\n  Bignum_conflict pBVar2;\n  Bignum_conflict pBVar3;\n  Bignum_conflict pBVar4;\n  Bignum_conflict pBVar5;\n  Bignum_conflict pBVar6;\n  Bignum_conflict q;\n  ec_point *peVar7;\n  int iVar8;\n  Bignum pvVar9;\n  Bignum_conflict local_28;\n  \n  peVar1 = a->curve;\n  if (a->infinity == '\0') {\n    if (peVar1->type == ADDRTYPE_IPV6) {\n      peVar7 = ecp_add(a,a,aminus3);\n      return peVar7;\n    }\n    if (peVar1->type != ADDRTYPE_UNSPEC) {\n      pBVar4 = (Bignum_conflict)a->z;\n      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar4 = One;\n      }\n      pBVar2 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&peVar1->p);\n      pBVar3 = modmul(pBVar2,pBVar2,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      pBVar4 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n      pBVar2 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = modmul(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);\n      pBVar5 = bignum_from_long(2);\n      pBVar6 = (Bignum_conflict)ecf_add((a->curve->field_5).w.a,pBVar5,(ec_curve *)&a->curve->p);\n      freebn(pBVar5);\n      pBVar5 = modsub(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      pBVar3 = modmul(pBVar6,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar6);\n      pBVar6 = bignum_from_long(4);\n      q = modinv(pBVar6,(Bignum_conflict)a->curve->p);\n      freebn(pBVar6);\n      if (q == (Bignum_conflict)0x0) {\n        freebn(pBVar3);\n        freebn(pBVar5);\n        freebn(pBVar4);\n        freebn(pBVar2);\n        peVar7 = (ec_point *)0x0;\n      }\n      else {\n        pBVar6 = modmul(pBVar3,q,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(q);\n        pBVar3 = (Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar2);\n        freebn(pBVar6);\n        pBVar2 = modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p);\n        freebn(pBVar5);\n        freebn(pBVar3);\n        peVar1 = a->curve;\n        peVar7 = (ec_point *)safemalloc(1,0x14);\n        peVar7->curve = peVar1;\n        peVar7->y = (Bignum)0x0;\n        peVar7->x = pBVar4;\n        peVar7->z = pBVar2;\n        peVar7->infinity = '\0';\n      }\n      return peVar7;\n    }\n    iVar8 = bignum_cmp((Bignum_conflict)a->y,Zero);\n    if (iVar8 != 0) {\n      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);\n      pBVar2 = modmul((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      freebn(pBVar2);\n      pBVar2 = (Bignum_conflict)ecf_double(pBVar4,(ec_curve *)&a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = (Bignum_conflict)a->z;\n      if (aminus3 == 0) {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          freebn(pBVar4);\n          local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p);\n          freebn(pBVar3);\n        }\n        pBVar4 = modmul((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p);\n        pBVar3 = (Bignum_conflict)ecf_treble(pBVar4,(ec_curve *)&a->curve->p);\n        freebn(pBVar4);\n        pBVar4 = (Bignum_conflict)ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p);\n        freebn(pBVar3);\n        freebn(local_28);\n      }\n      else {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          pBVar4 = copybn(One);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n        }\n        pBVar3 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p);\n        pBVar5 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n        freebn(pBVar4);\n        pBVar6 = modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(pBVar5);\n        pBVar4 = (Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar6);\n      }\n      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      pBVar5 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      pBVar6 = modsub(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      freebn(pBVar5);\n      pBVar3 = modsub(pBVar2,pBVar6,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      pBVar2 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      freebn(pBVar4);\n      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);\n      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = bignum_from_long(8);\n      pBVar5 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      freebn(pBVar3);\n      pBVar4 = modsub(pBVar2,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      freebn(pBVar5);\n      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar2 = copybn((Bignum_conflict)a->y);\n      }\n      else {\n        pBVar2 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p);\n      }\n      pvVar9 = ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      freebn(pBVar2);\n      peVar1 = a->curve;\n      peVar7 = (ec_point *)safemalloc(1,0x14);\n      peVar7->curve = peVar1;\n      peVar7->x = pBVar6;\n      peVar7->z = pvVar9;\n      peVar7->y = pBVar4;\n      peVar7->infinity = '\0';\n      return peVar7;\n    }\n    peVar1 = a->curve;\n    peVar7 = (ec_point *)safemalloc(1,0x14);\n    peVar7->curve = peVar1;\n  }\n  else {\n    peVar7 = (ec_point *)safemalloc(1,0x14);\n    peVar7->curve = peVar1;\n  }\n  peVar7->x = (Bignum)0x0;\n  peVar7->y = (Bignum)0x0;\n  peVar7->z = (Bignum)0x0;\n  peVar7->infinity = '\x01';\n  return peVar7;\n}" { (declaration "ec_curve *peVar1;" type_identifier (pointer_declarator "*peVar1" * identifier) ;) (declaration "Bignum_conflict pBVar2;" type_identifier identifier ;) (declaration "Bignum_conflict pBVar3;" type_identifier identifier ;) (declaration "Bignum_conflict pBVar4;" type_identifier identifier ;) (declaration "Bignum_conflict pBVar5;" type_identifier identifier ;) (declaration "Bignum_conflict pBVar6;" type_identifier identifier ;) (declaration "Bignum_conflict q;" type_identifier identifier ;) (declaration "ec_point *peVar7;" type_identifier (pointer_declarator "*peVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "Bignum pvVar9;" type_identifier identifier ;) (declaration "Bignum_conflict local_28;" type_identifier identifier ;) (expression_statement "peVar1 = a->curve;" (assignment_expression "peVar1 = a->curve" identifier = (field_expression "a->curve" identifier -> field_identifier)) ;) (if_statement "if (a->infinity == '\0') {\n    if (peVar1->type == ADDRTYPE_IPV6) {\n      peVar7 = ecp_add(a,a,aminus3);\n      return peVar7;\n    }\n    if (peVar1->type != ADDRTYPE_UNSPEC) {\n      pBVar4 = (Bignum_conflict)a->z;\n      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar4 = One;\n      }\n      pBVar2 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&peVar1->p);\n      pBVar3 = modmul(pBVar2,pBVar2,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      pBVar4 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n      pBVar2 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = modmul(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);\n      pBVar5 = bignum_from_long(2);\n      pBVar6 = (Bignum_conflict)ecf_add((a->curve->field_5).w.a,pBVar5,(ec_curve *)&a->curve->p);\n      freebn(pBVar5);\n      pBVar5 = modsub(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      pBVar3 = modmul(pBVar6,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar6);\n      pBVar6 = bignum_from_long(4);\n      q = modinv(pBVar6,(Bignum_conflict)a->curve->p);\n      freebn(pBVar6);\n      if (q == (Bignum_conflict)0x0) {\n        freebn(pBVar3);\n        freebn(pBVar5);\n        freebn(pBVar4);\n        freebn(pBVar2);\n        peVar7 = (ec_point *)0x0;\n      }\n      else {\n        pBVar6 = modmul(pBVar3,q,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(q);\n        pBVar3 = (Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar2);\n        freebn(pBVar6);\n        pBVar2 = modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p);\n        freebn(pBVar5);\n        freebn(pBVar3);\n        peVar1 = a->curve;\n        peVar7 = (ec_point *)safemalloc(1,0x14);\n        peVar7->curve = peVar1;\n        peVar7->y = (Bignum)0x0;\n        peVar7->x = pBVar4;\n        peVar7->z = pBVar2;\n        peVar7->infinity = '\0';\n      }\n      return peVar7;\n    }\n    iVar8 = bignum_cmp((Bignum_conflict)a->y,Zero);\n    if (iVar8 != 0) {\n      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);\n      pBVar2 = modmul((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      freebn(pBVar2);\n      pBVar2 = (Bignum_conflict)ecf_double(pBVar4,(ec_curve *)&a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = (Bignum_conflict)a->z;\n      if (aminus3 == 0) {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          freebn(pBVar4);\n          local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p);\n          freebn(pBVar3);\n        }\n        pBVar4 = modmul((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p);\n        pBVar3 = (Bignum_conflict)ecf_treble(pBVar4,(ec_curve *)&a->curve->p);\n        freebn(pBVar4);\n        pBVar4 = (Bignum_conflict)ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p);\n        freebn(pBVar3);\n        freebn(local_28);\n      }\n      else {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          pBVar4 = copybn(One);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n        }\n        pBVar3 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p);\n        pBVar5 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n        freebn(pBVar4);\n        pBVar6 = modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(pBVar5);\n        pBVar4 = (Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar6);\n      }\n      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      pBVar5 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      pBVar6 = modsub(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      freebn(pBVar5);\n      pBVar3 = modsub(pBVar2,pBVar6,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      pBVar2 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      freebn(pBVar4);\n      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);\n      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = bignum_from_long(8);\n      pBVar5 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      freebn(pBVar3);\n      pBVar4 = modsub(pBVar2,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      freebn(pBVar5);\n      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar2 = copybn((Bignum_conflict)a->y);\n      }\n      else {\n        pBVar2 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p);\n      }\n      pvVar9 = ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      freebn(pBVar2);\n      peVar1 = a->curve;\n      peVar7 = (ec_point *)safemalloc(1,0x14);\n      peVar7->curve = peVar1;\n      peVar7->x = pBVar6;\n      peVar7->z = pvVar9;\n      peVar7->y = pBVar4;\n      peVar7->infinity = '\0';\n      return peVar7;\n    }\n    peVar1 = a->curve;\n    peVar7 = (ec_point *)safemalloc(1,0x14);\n    peVar7->curve = peVar1;\n  }\n  else {\n    peVar7 = (ec_point *)safemalloc(1,0x14);\n    peVar7->curve = peVar1;\n  }" if (parenthesized_expression "(a->infinity == '\0')" ( (binary_expression "a->infinity == '\0'" (field_expression "a->infinity" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (peVar1->type == ADDRTYPE_IPV6) {\n      peVar7 = ecp_add(a,a,aminus3);\n      return peVar7;\n    }\n    if (peVar1->type != ADDRTYPE_UNSPEC) {\n      pBVar4 = (Bignum_conflict)a->z;\n      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar4 = One;\n      }\n      pBVar2 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&peVar1->p);\n      pBVar3 = modmul(pBVar2,pBVar2,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      pBVar4 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n      pBVar2 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = modmul(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);\n      pBVar5 = bignum_from_long(2);\n      pBVar6 = (Bignum_conflict)ecf_add((a->curve->field_5).w.a,pBVar5,(ec_curve *)&a->curve->p);\n      freebn(pBVar5);\n      pBVar5 = modsub(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      pBVar3 = modmul(pBVar6,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar6);\n      pBVar6 = bignum_from_long(4);\n      q = modinv(pBVar6,(Bignum_conflict)a->curve->p);\n      freebn(pBVar6);\n      if (q == (Bignum_conflict)0x0) {\n        freebn(pBVar3);\n        freebn(pBVar5);\n        freebn(pBVar4);\n        freebn(pBVar2);\n        peVar7 = (ec_point *)0x0;\n      }\n      else {\n        pBVar6 = modmul(pBVar3,q,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(q);\n        pBVar3 = (Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar2);\n        freebn(pBVar6);\n        pBVar2 = modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p);\n        freebn(pBVar5);\n        freebn(pBVar3);\n        peVar1 = a->curve;\n        peVar7 = (ec_point *)safemalloc(1,0x14);\n        peVar7->curve = peVar1;\n        peVar7->y = (Bignum)0x0;\n        peVar7->x = pBVar4;\n        peVar7->z = pBVar2;\n        peVar7->infinity = '\0';\n      }\n      return peVar7;\n    }\n    iVar8 = bignum_cmp((Bignum_conflict)a->y,Zero);\n    if (iVar8 != 0) {\n      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);\n      pBVar2 = modmul((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      freebn(pBVar2);\n      pBVar2 = (Bignum_conflict)ecf_double(pBVar4,(ec_curve *)&a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = (Bignum_conflict)a->z;\n      if (aminus3 == 0) {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          freebn(pBVar4);\n          local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p);\n          freebn(pBVar3);\n        }\n        pBVar4 = modmul((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p);\n        pBVar3 = (Bignum_conflict)ecf_treble(pBVar4,(ec_curve *)&a->curve->p);\n        freebn(pBVar4);\n        pBVar4 = (Bignum_conflict)ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p);\n        freebn(pBVar3);\n        freebn(local_28);\n      }\n      else {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          pBVar4 = copybn(One);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n        }\n        pBVar3 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p);\n        pBVar5 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n        freebn(pBVar4);\n        pBVar6 = modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(pBVar5);\n        pBVar4 = (Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar6);\n      }\n      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      pBVar5 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      pBVar6 = modsub(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      freebn(pBVar5);\n      pBVar3 = modsub(pBVar2,pBVar6,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      pBVar2 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      freebn(pBVar4);\n      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);\n      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = bignum_from_long(8);\n      pBVar5 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      freebn(pBVar3);\n      pBVar4 = modsub(pBVar2,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      freebn(pBVar5);\n      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar2 = copybn((Bignum_conflict)a->y);\n      }\n      else {\n        pBVar2 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p);\n      }\n      pvVar9 = ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      freebn(pBVar2);\n      peVar1 = a->curve;\n      peVar7 = (ec_point *)safemalloc(1,0x14);\n      peVar7->curve = peVar1;\n      peVar7->x = pBVar6;\n      peVar7->z = pvVar9;\n      peVar7->y = pBVar4;\n      peVar7->infinity = '\0';\n      return peVar7;\n    }\n    peVar1 = a->curve;\n    peVar7 = (ec_point *)safemalloc(1,0x14);\n    peVar7->curve = peVar1;\n  }" { (if_statement "if (peVar1->type == ADDRTYPE_IPV6) {\n      peVar7 = ecp_add(a,a,aminus3);\n      return peVar7;\n    }" if (parenthesized_expression "(peVar1->type == ADDRTYPE_IPV6)" ( (binary_expression "peVar1->type == ADDRTYPE_IPV6" (field_expression "peVar1->type" identifier -> field_identifier) == identifier) )) (compound_statement "{\n      peVar7 = ecp_add(a,a,aminus3);\n      return peVar7;\n    }" { (expression_statement "peVar7 = ecp_add(a,a,aminus3);" (assignment_expression "peVar7 = ecp_add(a,a,aminus3)" identifier = (call_expression "ecp_add(a,a,aminus3)" identifier (argument_list "(a,a,aminus3)" ( identifier , identifier , identifier )))) ;) (return_statement "return peVar7;" return identifier ;) })) (if_statement "if (peVar1->type != ADDRTYPE_UNSPEC) {\n      pBVar4 = (Bignum_conflict)a->z;\n      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar4 = One;\n      }\n      pBVar2 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&peVar1->p);\n      pBVar3 = modmul(pBVar2,pBVar2,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      pBVar4 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n      pBVar2 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = modmul(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);\n      pBVar5 = bignum_from_long(2);\n      pBVar6 = (Bignum_conflict)ecf_add((a->curve->field_5).w.a,pBVar5,(ec_curve *)&a->curve->p);\n      freebn(pBVar5);\n      pBVar5 = modsub(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      pBVar3 = modmul(pBVar6,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar6);\n      pBVar6 = bignum_from_long(4);\n      q = modinv(pBVar6,(Bignum_conflict)a->curve->p);\n      freebn(pBVar6);\n      if (q == (Bignum_conflict)0x0) {\n        freebn(pBVar3);\n        freebn(pBVar5);\n        freebn(pBVar4);\n        freebn(pBVar2);\n        peVar7 = (ec_point *)0x0;\n      }\n      else {\n        pBVar6 = modmul(pBVar3,q,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(q);\n        pBVar3 = (Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar2);\n        freebn(pBVar6);\n        pBVar2 = modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p);\n        freebn(pBVar5);\n        freebn(pBVar3);\n        peVar1 = a->curve;\n        peVar7 = (ec_point *)safemalloc(1,0x14);\n        peVar7->curve = peVar1;\n        peVar7->y = (Bignum)0x0;\n        peVar7->x = pBVar4;\n        peVar7->z = pBVar2;\n        peVar7->infinity = '\0';\n      }\n      return peVar7;\n    }" if (parenthesized_expression "(peVar1->type != ADDRTYPE_UNSPEC)" ( (binary_expression "peVar1->type != ADDRTYPE_UNSPEC" (field_expression "peVar1->type" identifier -> field_identifier) != identifier) )) (compound_statement "{\n      pBVar4 = (Bignum_conflict)a->z;\n      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar4 = One;\n      }\n      pBVar2 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&peVar1->p);\n      pBVar3 = modmul(pBVar2,pBVar2,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      pBVar4 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n      pBVar2 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = modmul(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);\n      pBVar5 = bignum_from_long(2);\n      pBVar6 = (Bignum_conflict)ecf_add((a->curve->field_5).w.a,pBVar5,(ec_curve *)&a->curve->p);\n      freebn(pBVar5);\n      pBVar5 = modsub(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      pBVar3 = modmul(pBVar6,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar6);\n      pBVar6 = bignum_from_long(4);\n      q = modinv(pBVar6,(Bignum_conflict)a->curve->p);\n      freebn(pBVar6);\n      if (q == (Bignum_conflict)0x0) {\n        freebn(pBVar3);\n        freebn(pBVar5);\n        freebn(pBVar4);\n        freebn(pBVar2);\n        peVar7 = (ec_point *)0x0;\n      }\n      else {\n        pBVar6 = modmul(pBVar3,q,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(q);\n        pBVar3 = (Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar2);\n        freebn(pBVar6);\n        pBVar2 = modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p);\n        freebn(pBVar5);\n        freebn(pBVar3);\n        peVar1 = a->curve;\n        peVar7 = (ec_point *)safemalloc(1,0x14);\n        peVar7->curve = peVar1;\n        peVar7->y = (Bignum)0x0;\n        peVar7->x = pBVar4;\n        peVar7->z = pBVar2;\n        peVar7->infinity = '\0';\n      }\n      return peVar7;\n    }" { (expression_statement "pBVar4 = (Bignum_conflict)a->z;" (assignment_expression "pBVar4 = (Bignum_conflict)a->z" identifier = (cast_expression "(Bignum_conflict)a->z" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->z" identifier -> field_identifier))) ;) (if_statement "if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar4 = One;\n      }" if (parenthesized_expression "((Bignum_conflict)a->z == (Bignum_conflict)0x0)" ( (binary_expression "(Bignum_conflict)a->z == (Bignum_conflict)0x0" (cast_expression "(Bignum_conflict)a->z" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->z" identifier -> field_identifier)) == (cast_expression "(Bignum_conflict)0x0" ( (type_descriptor "Bignum_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n        pBVar4 = One;\n      }" { (expression_statement "pBVar4 = One;" (assignment_expression "pBVar4 = One" identifier = identifier) ;) })) (expression_statement "pBVar2 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&peVar1->p);" (assignment_expression "pBVar2 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&peVar1->p)" identifier = (cast_expression "(Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&peVar1->p)" ( (type_descriptor "Bignum_conflict" type_identifier) ) (call_expression "ecf_add(a->x,pBVar4,(ec_curve *)&peVar1->p)" identifier (argument_list "(a->x,pBVar4,(ec_curve *)&peVar1->p)" ( (field_expression "a->x" identifier -> field_identifier) , identifier , (cast_expression "(ec_curve *)&peVar1->p" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&peVar1->p" & (field_expression "peVar1->p" identifier -> field_identifier))) ))))) ;) (expression_statement "pBVar3 = modmul(pBVar2,pBVar2,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar3 = modmul(pBVar2,pBVar2,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar2,pBVar2,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar2,pBVar2,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar2);" (call_expression "freebn(pBVar2)" identifier (argument_list "(pBVar2)" ( identifier ))) ;) (expression_statement "pBVar4 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar4 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p)" identifier (argument_list "((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p)" ( (cast_expression "(Bignum_conflict)a->x" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->x" identifier -> field_identifier)) , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "pBVar2 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar2 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar4);" (call_expression "freebn(pBVar4)" identifier (argument_list "(pBVar4)" ( identifier ))) ;) (expression_statement "pBVar4 = modmul(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar4 = modmul(pBVar3,pBVar2,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar3,pBVar2,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar3,pBVar2,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "pBVar5 = bignum_from_long(2);" (assignment_expression "pBVar5 = bignum_from_long(2)" identifier = (call_expression "bignum_from_long(2)" identifier (argument_list "(2)" ( number_literal )))) ;) (expression_statement "pBVar6 = (Bignum_conflict)ecf_add((a->curve->field_5).w.a,pBVar5,(ec_curve *)&a->curve->p);" (assignment_expression "pBVar6 = (Bignum_conflict)ecf_add((a->curve->field_5).w.a,pBVar5,(ec_curve *)&a->curve->p)" identifier = (cast_expression "(Bignum_conflict)ecf_add((a->curve->field_5).w.a,pBVar5,(ec_curve *)&a->curve->p)" ( (type_descriptor "Bignum_conflict" type_identifier) ) (call_expression "ecf_add((a->curve->field_5).w.a,pBVar5,(ec_curve *)&a->curve->p)" identifier (argument_list "((a->curve->field_5).w.a,pBVar5,(ec_curve *)&a->curve->p)" ( (field_expression "(a->curve->field_5).w.a" (field_expression "(a->curve->field_5).w" (parenthesized_expression "(a->curve->field_5)" ( (field_expression "a->curve->field_5" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier) )) . field_identifier) . field_identifier) , identifier , (cast_expression "(ec_curve *)&a->curve->p" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&a->curve->p" & (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier))) ))))) ;) (expression_statement "freebn(pBVar5);" (call_expression "freebn(pBVar5)" identifier (argument_list "(pBVar5)" ( identifier ))) ;) (expression_statement "pBVar5 = modsub(pBVar3,pBVar2,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar5 = modsub(pBVar3,pBVar2,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modsub(pBVar3,pBVar2,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar3,pBVar2,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar3);" (call_expression "freebn(pBVar3)" identifier (argument_list "(pBVar3)" ( identifier ))) ;) (expression_statement "pBVar3 = modmul(pBVar6,pBVar5,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar3 = modmul(pBVar6,pBVar5,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar6,pBVar5,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar6,pBVar5,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar6);" (call_expression "freebn(pBVar6)" identifier (argument_list "(pBVar6)" ( identifier ))) ;) (expression_statement "pBVar6 = bignum_from_long(4);" (assignment_expression "pBVar6 = bignum_from_long(4)" identifier = (call_expression "bignum_from_long(4)" identifier (argument_list "(4)" ( number_literal )))) ;) (expression_statement "q = modinv(pBVar6,(Bignum_conflict)a->curve->p);" (assignment_expression "q = modinv(pBVar6,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modinv(pBVar6,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar6,(Bignum_conflict)a->curve->p)" ( identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar6);" (call_expression "freebn(pBVar6)" identifier (argument_list "(pBVar6)" ( identifier ))) ;) (if_statement "if (q == (Bignum_conflict)0x0) {\n        freebn(pBVar3);\n        freebn(pBVar5);\n        freebn(pBVar4);\n        freebn(pBVar2);\n        peVar7 = (ec_point *)0x0;\n      }\n      else {\n        pBVar6 = modmul(pBVar3,q,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(q);\n        pBVar3 = (Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar2);\n        freebn(pBVar6);\n        pBVar2 = modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p);\n        freebn(pBVar5);\n        freebn(pBVar3);\n        peVar1 = a->curve;\n        peVar7 = (ec_point *)safemalloc(1,0x14);\n        peVar7->curve = peVar1;\n        peVar7->y = (Bignum)0x0;\n        peVar7->x = pBVar4;\n        peVar7->z = pBVar2;\n        peVar7->infinity = '\0';\n      }" if (parenthesized_expression "(q == (Bignum_conflict)0x0)" ( (binary_expression "q == (Bignum_conflict)0x0" identifier == (cast_expression "(Bignum_conflict)0x0" ( (type_descriptor "Bignum_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n        freebn(pBVar3);\n        freebn(pBVar5);\n        freebn(pBVar4);\n        freebn(pBVar2);\n        peVar7 = (ec_point *)0x0;\n      }" { (expression_statement "freebn(pBVar3);" (call_expression "freebn(pBVar3)" identifier (argument_list "(pBVar3)" ( identifier ))) ;) (expression_statement "freebn(pBVar5);" (call_expression "freebn(pBVar5)" identifier (argument_list "(pBVar5)" ( identifier ))) ;) (expression_statement "freebn(pBVar4);" (call_expression "freebn(pBVar4)" identifier (argument_list "(pBVar4)" ( identifier ))) ;) (expression_statement "freebn(pBVar2);" (call_expression "freebn(pBVar2)" identifier (argument_list "(pBVar2)" ( identifier ))) ;) (expression_statement "peVar7 = (ec_point *)0x0;" (assignment_expression "peVar7 = (ec_point *)0x0" identifier = (cast_expression "(ec_point *)0x0" ( (type_descriptor "ec_point *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        pBVar6 = modmul(pBVar3,q,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(q);\n        pBVar3 = (Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar2);\n        freebn(pBVar6);\n        pBVar2 = modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p);\n        freebn(pBVar5);\n        freebn(pBVar3);\n        peVar1 = a->curve;\n        peVar7 = (ec_point *)safemalloc(1,0x14);\n        peVar7->curve = peVar1;\n        peVar7->y = (Bignum)0x0;\n        peVar7->x = pBVar4;\n        peVar7->z = pBVar2;\n        peVar7->infinity = '\0';\n      }" else (compound_statement "{\n        pBVar6 = modmul(pBVar3,q,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(q);\n        pBVar3 = (Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar2);\n        freebn(pBVar6);\n        pBVar2 = modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p);\n        freebn(pBVar5);\n        freebn(pBVar3);\n        peVar1 = a->curve;\n        peVar7 = (ec_point *)safemalloc(1,0x14);\n        peVar7->curve = peVar1;\n        peVar7->y = (Bignum)0x0;\n        peVar7->x = pBVar4;\n        peVar7->z = pBVar2;\n        peVar7->infinity = '\0';\n      }" { (expression_statement "pBVar6 = modmul(pBVar3,q,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar6 = modmul(pBVar3,q,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar3,q,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar3,q,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar3);" (call_expression "freebn(pBVar3)" identifier (argument_list "(pBVar3)" ( identifier ))) ;) (expression_statement "freebn(q);" (call_expression "freebn(q)" identifier (argument_list "(q)" ( identifier ))) ;) (expression_statement "pBVar3 = (Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p);" (assignment_expression "pBVar3 = (Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p)" identifier = (cast_expression "(Bignum_conflict)ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p)" ( (type_descriptor "Bignum_conflict" type_identifier) ) (call_expression "ecf_add(pBVar2,pBVar6,(ec_curve *)&a->curve->p)" identifier (argument_list "(pBVar2,pBVar6,(ec_curve *)&a->curve->p)" ( identifier , identifier , (cast_expression "(ec_curve *)&a->curve->p" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&a->curve->p" & (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier))) ))))) ;) (expression_statement "freebn(pBVar2);" (call_expression "freebn(pBVar2)" identifier (argument_list "(pBVar2)" ( identifier ))) ;) (expression_statement "freebn(pBVar6);" (call_expression "freebn(pBVar6)" identifier (argument_list "(pBVar6)" ( identifier ))) ;) (expression_statement "pBVar2 = modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar2 = modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar5,pBVar3,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar5,pBVar3,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar5);" (call_expression "freebn(pBVar5)" identifier (argument_list "(pBVar5)" ( identifier ))) ;) (expression_statement "freebn(pBVar3);" (call_expression "freebn(pBVar3)" identifier (argument_list "(pBVar3)" ( identifier ))) ;) (expression_statement "peVar1 = a->curve;" (assignment_expression "peVar1 = a->curve" identifier = (field_expression "a->curve" identifier -> field_identifier)) ;) (expression_statement "peVar7 = (ec_point *)safemalloc(1,0x14);" (assignment_expression "peVar7 = (ec_point *)safemalloc(1,0x14)" identifier = (cast_expression "(ec_point *)safemalloc(1,0x14)" ( (type_descriptor "ec_point *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "peVar7->curve = peVar1;" (assignment_expression "peVar7->curve = peVar1" (field_expression "peVar7->curve" identifier -> field_identifier) = identifier) ;) (expression_statement "peVar7->y = (Bignum)0x0;" (assignment_expression "peVar7->y = (Bignum)0x0" (field_expression "peVar7->y" identifier -> field_identifier) = (cast_expression "(Bignum)0x0" ( (type_descriptor "Bignum" type_identifier) ) number_literal)) ;) (expression_statement "peVar7->x = pBVar4;" (assignment_expression "peVar7->x = pBVar4" (field_expression "peVar7->x" identifier -> field_identifier) = identifier) ;) (expression_statement "peVar7->z = pBVar2;" (assignment_expression "peVar7->z = pBVar2" (field_expression "peVar7->z" identifier -> field_identifier) = identifier) ;) (expression_statement "peVar7->infinity = '\0';" (assignment_expression "peVar7->infinity = '\0'" (field_expression "peVar7->infinity" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }))) (return_statement "return peVar7;" return identifier ;) })) (expression_statement "iVar8 = bignum_cmp((Bignum_conflict)a->y,Zero);" (assignment_expression "iVar8 = bignum_cmp((Bignum_conflict)a->y,Zero)" identifier = (call_expression "bignum_cmp((Bignum_conflict)a->y,Zero)" identifier (argument_list "((Bignum_conflict)a->y,Zero)" ( (cast_expression "(Bignum_conflict)a->y" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->y" identifier -> field_identifier)) , identifier )))) ;) (if_statement "if (iVar8 != 0) {\n      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);\n      pBVar2 = modmul((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      freebn(pBVar2);\n      pBVar2 = (Bignum_conflict)ecf_double(pBVar4,(ec_curve *)&a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = (Bignum_conflict)a->z;\n      if (aminus3 == 0) {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          freebn(pBVar4);\n          local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p);\n          freebn(pBVar3);\n        }\n        pBVar4 = modmul((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p);\n        pBVar3 = (Bignum_conflict)ecf_treble(pBVar4,(ec_curve *)&a->curve->p);\n        freebn(pBVar4);\n        pBVar4 = (Bignum_conflict)ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p);\n        freebn(pBVar3);\n        freebn(local_28);\n      }\n      else {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          pBVar4 = copybn(One);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n        }\n        pBVar3 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p);\n        pBVar5 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n        freebn(pBVar4);\n        pBVar6 = modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(pBVar5);\n        pBVar4 = (Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar6);\n      }\n      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      pBVar5 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      pBVar6 = modsub(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      freebn(pBVar5);\n      pBVar3 = modsub(pBVar2,pBVar6,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      pBVar2 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      freebn(pBVar4);\n      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);\n      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = bignum_from_long(8);\n      pBVar5 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      freebn(pBVar3);\n      pBVar4 = modsub(pBVar2,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      freebn(pBVar5);\n      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar2 = copybn((Bignum_conflict)a->y);\n      }\n      else {\n        pBVar2 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p);\n      }\n      pvVar9 = ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      freebn(pBVar2);\n      peVar1 = a->curve;\n      peVar7 = (ec_point *)safemalloc(1,0x14);\n      peVar7->curve = peVar1;\n      peVar7->x = pBVar6;\n      peVar7->z = pvVar9;\n      peVar7->y = pBVar4;\n      peVar7->infinity = '\0';\n      return peVar7;\n    }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);\n      pBVar2 = modmul((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      freebn(pBVar2);\n      pBVar2 = (Bignum_conflict)ecf_double(pBVar4,(ec_curve *)&a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = (Bignum_conflict)a->z;\n      if (aminus3 == 0) {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          freebn(pBVar4);\n          local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p);\n          freebn(pBVar3);\n        }\n        pBVar4 = modmul((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p);\n        pBVar3 = (Bignum_conflict)ecf_treble(pBVar4,(ec_curve *)&a->curve->p);\n        freebn(pBVar4);\n        pBVar4 = (Bignum_conflict)ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p);\n        freebn(pBVar3);\n        freebn(local_28);\n      }\n      else {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          pBVar4 = copybn(One);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n        }\n        pBVar3 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p);\n        pBVar5 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n        freebn(pBVar4);\n        pBVar6 = modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(pBVar5);\n        pBVar4 = (Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar6);\n      }\n      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      pBVar5 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      pBVar6 = modsub(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      freebn(pBVar5);\n      pBVar3 = modsub(pBVar2,pBVar6,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      pBVar2 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);\n      freebn(pBVar3);\n      freebn(pBVar4);\n      pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);\n      pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      pBVar4 = bignum_from_long(8);\n      pBVar5 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);\n      freebn(pBVar4);\n      freebn(pBVar3);\n      pBVar4 = modsub(pBVar2,pBVar5,(Bignum_conflict)a->curve->p);\n      freebn(pBVar2);\n      freebn(pBVar5);\n      if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar2 = copybn((Bignum_conflict)a->y);\n      }\n      else {\n        pBVar2 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p);\n      }\n      pvVar9 = ecf_double(pBVar2,(ec_curve *)&a->curve->p);\n      freebn(pBVar2);\n      peVar1 = a->curve;\n      peVar7 = (ec_point *)safemalloc(1,0x14);\n      peVar7->curve = peVar1;\n      peVar7->x = pBVar6;\n      peVar7->z = pvVar9;\n      peVar7->y = pBVar4;\n      peVar7->infinity = '\0';\n      return peVar7;\n    }" { (expression_statement "pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p)" identifier (argument_list "((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p)" ( (cast_expression "(Bignum_conflict)a->y" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->y" identifier -> field_identifier)) , (cast_expression "(Bignum_conflict)a->y" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->y" identifier -> field_identifier)) , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "pBVar2 = modmul((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar2 = modmul((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p)" identifier (argument_list "((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p)" ( (cast_expression "(Bignum_conflict)a->x" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->x" identifier -> field_identifier)) , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar4);" (call_expression "freebn(pBVar4)" identifier (argument_list "(pBVar4)" ( identifier ))) ;) (expression_statement "pBVar4 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);" (assignment_expression "pBVar4 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p)" identifier = (cast_expression "(Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p)" ( (type_descriptor "Bignum_conflict" type_identifier) ) (call_expression "ecf_double(pBVar2,(ec_curve *)&a->curve->p)" identifier (argument_list "(pBVar2,(ec_curve *)&a->curve->p)" ( identifier , (cast_expression "(ec_curve *)&a->curve->p" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&a->curve->p" & (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier))) ))))) ;) (expression_statement "freebn(pBVar2);" (call_expression "freebn(pBVar2)" identifier (argument_list "(pBVar2)" ( identifier ))) ;) (expression_statement "pBVar2 = (Bignum_conflict)ecf_double(pBVar4,(ec_curve *)&a->curve->p);" (assignment_expression "pBVar2 = (Bignum_conflict)ecf_double(pBVar4,(ec_curve *)&a->curve->p)" identifier = (cast_expression "(Bignum_conflict)ecf_double(pBVar4,(ec_curve *)&a->curve->p)" ( (type_descriptor "Bignum_conflict" type_identifier) ) (call_expression "ecf_double(pBVar4,(ec_curve *)&a->curve->p)" identifier (argument_list "(pBVar4,(ec_curve *)&a->curve->p)" ( identifier , (cast_expression "(ec_curve *)&a->curve->p" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&a->curve->p" & (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier))) ))))) ;) (expression_statement "freebn(pBVar4);" (call_expression "freebn(pBVar4)" identifier (argument_list "(pBVar4)" ( identifier ))) ;) (expression_statement "pBVar4 = (Bignum_conflict)a->z;" (assignment_expression "pBVar4 = (Bignum_conflict)a->z" identifier = (cast_expression "(Bignum_conflict)a->z" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->z" identifier -> field_identifier))) ;) (if_statement "if (aminus3 == 0) {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          freebn(pBVar4);\n          local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p);\n          freebn(pBVar3);\n        }\n        pBVar4 = modmul((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p);\n        pBVar3 = (Bignum_conflict)ecf_treble(pBVar4,(ec_curve *)&a->curve->p);\n        freebn(pBVar4);\n        pBVar4 = (Bignum_conflict)ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p);\n        freebn(pBVar3);\n        freebn(local_28);\n      }\n      else {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          pBVar4 = copybn(One);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n        }\n        pBVar3 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p);\n        pBVar5 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n        freebn(pBVar4);\n        pBVar6 = modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(pBVar5);\n        pBVar4 = (Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar6);\n      }" if (parenthesized_expression "(aminus3 == 0)" ( (binary_expression "aminus3 == 0" identifier == number_literal) )) (compound_statement "{\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          freebn(pBVar4);\n          local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p);\n          freebn(pBVar3);\n        }\n        pBVar4 = modmul((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p);\n        pBVar3 = (Bignum_conflict)ecf_treble(pBVar4,(ec_curve *)&a->curve->p);\n        freebn(pBVar4);\n        pBVar4 = (Bignum_conflict)ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p);\n        freebn(pBVar3);\n        freebn(local_28);\n      }" { (if_statement "if (pBVar4 == (Bignum_conflict)0x0) {\n          local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          freebn(pBVar4);\n          local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p);\n          freebn(pBVar3);\n        }" if (parenthesized_expression "(pBVar4 == (Bignum_conflict)0x0)" ( (binary_expression "pBVar4 == (Bignum_conflict)0x0" identifier == (cast_expression "(Bignum_conflict)0x0" ( (type_descriptor "Bignum_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n          local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a);\n        }" { (expression_statement "local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a);" (assignment_expression "local_28 = copybn((Bignum_conflict)(a->curve->field_5).w.a)" identifier = (call_expression "copybn((Bignum_conflict)(a->curve->field_5).w.a)" identifier (argument_list "((Bignum_conflict)(a->curve->field_5).w.a)" ( (field_expression "(Bignum_conflict)(a->curve->field_5).w.a" (field_expression "(Bignum_conflict)(a->curve->field_5).w" (call_expression "(Bignum_conflict)(a->curve->field_5)" (parenthesized_expression "(Bignum_conflict)" ( identifier )) (argument_list "(a->curve->field_5)" ( (field_expression "a->curve->field_5" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier) ))) . field_identifier) . field_identifier) )))) ;) }) (else_clause "else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          freebn(pBVar4);\n          local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p);\n          freebn(pBVar3);\n        }" else (compound_statement "{\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n          freebn(pBVar4);\n          local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p);\n          freebn(pBVar3);\n        }" { (expression_statement "pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar4);" (call_expression "freebn(pBVar4)" identifier (argument_list "(pBVar4)" ( identifier ))) ;) (expression_statement "local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p);" (assignment_expression "local_28 = modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p)" identifier (argument_list "((Bignum_conflict)(a->curve->field_5).w.a,pBVar3,\n                            (Bignum_conflict)a->curve->p)" ( (field_expression "(Bignum_conflict)(a->curve->field_5).w.a" (field_expression "(Bignum_conflict)(a->curve->field_5).w" (call_expression "(Bignum_conflict)(a->curve->field_5)" (parenthesized_expression "(Bignum_conflict)" ( identifier )) (argument_list "(a->curve->field_5)" ( (field_expression "a->curve->field_5" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier) ))) . field_identifier) . field_identifier) , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar3);" (call_expression "freebn(pBVar3)" identifier (argument_list "(pBVar3)" ( identifier ))) ;) }))) (expression_statement "pBVar4 = modmul((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar4 = modmul((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p)" identifier (argument_list "((Bignum_conflict)a->x,(Bignum_conflict)a->x,(Bignum_conflict)a->curve->p)" ( (cast_expression "(Bignum_conflict)a->x" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->x" identifier -> field_identifier)) , (cast_expression "(Bignum_conflict)a->x" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->x" identifier -> field_identifier)) , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "pBVar3 = (Bignum_conflict)ecf_treble(pBVar4,(ec_curve *)&a->curve->p);" (assignment_expression "pBVar3 = (Bignum_conflict)ecf_treble(pBVar4,(ec_curve *)&a->curve->p)" identifier = (cast_expression "(Bignum_conflict)ecf_treble(pBVar4,(ec_curve *)&a->curve->p)" ( (type_descriptor "Bignum_conflict" type_identifier) ) (call_expression "ecf_treble(pBVar4,(ec_curve *)&a->curve->p)" identifier (argument_list "(pBVar4,(ec_curve *)&a->curve->p)" ( identifier , (cast_expression "(ec_curve *)&a->curve->p" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&a->curve->p" & (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier))) ))))) ;) (expression_statement "freebn(pBVar4);" (call_expression "freebn(pBVar4)" identifier (argument_list "(pBVar4)" ( identifier ))) ;) (expression_statement "pBVar4 = (Bignum_conflict)ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p);" (assignment_expression "pBVar4 = (Bignum_conflict)ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p)" identifier = (cast_expression "(Bignum_conflict)ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p)" ( (type_descriptor "Bignum_conflict" type_identifier) ) (call_expression "ecf_add(pBVar3,local_28,(ec_curve *)&a->curve->p)" identifier (argument_list "(pBVar3,local_28,(ec_curve *)&a->curve->p)" ( identifier , identifier , (cast_expression "(ec_curve *)&a->curve->p" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&a->curve->p" & (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier))) ))))) ;) (expression_statement "freebn(pBVar3);" (call_expression "freebn(pBVar3)" identifier (argument_list "(pBVar3)" ( identifier ))) ;) (expression_statement "freebn(local_28);" (call_expression "freebn(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) }) (else_clause "else {\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          pBVar4 = copybn(One);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n        }\n        pBVar3 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p);\n        pBVar5 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n        freebn(pBVar4);\n        pBVar6 = modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(pBVar5);\n        pBVar4 = (Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar6);\n      }" else (compound_statement "{\n        if (pBVar4 == (Bignum_conflict)0x0) {\n          pBVar4 = copybn(One);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n        }\n        pBVar3 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p);\n        pBVar5 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);\n        freebn(pBVar4);\n        pBVar6 = modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);\n        freebn(pBVar3);\n        freebn(pBVar5);\n        pBVar4 = (Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p);\n        freebn(pBVar6);\n      }" { (if_statement "if (pBVar4 == (Bignum_conflict)0x0) {\n          pBVar4 = copybn(One);\n        }\n        else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n        }" if (parenthesized_expression "(pBVar4 == (Bignum_conflict)0x0)" ( (binary_expression "pBVar4 == (Bignum_conflict)0x0" identifier == (cast_expression "(Bignum_conflict)0x0" ( (type_descriptor "Bignum_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n          pBVar4 = copybn(One);\n        }" { (expression_statement "pBVar4 = copybn(One);" (assignment_expression "pBVar4 = copybn(One)" identifier = (call_expression "copybn(One)" identifier (argument_list "(One)" ( identifier )))) ;) }) (else_clause "else {\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n        }" else (compound_statement "{\n          pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);\n        }" { (expression_statement "pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar4 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) }))) (expression_statement "pBVar3 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p);" (assignment_expression "pBVar3 = (Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p)" identifier = (cast_expression "(Bignum_conflict)ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p)" ( (type_descriptor "Bignum_conflict" type_identifier) ) (call_expression "ecf_add(a->x,pBVar4,(ec_curve *)&a->curve->p)" identifier (argument_list "(a->x,pBVar4,(ec_curve *)&a->curve->p)" ( (field_expression "a->x" identifier -> field_identifier) , identifier , (cast_expression "(ec_curve *)&a->curve->p" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&a->curve->p" & (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier))) ))))) ;) (expression_statement "pBVar5 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar5 = modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modsub((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p)" identifier (argument_list "((Bignum_conflict)a->x,pBVar4,(Bignum_conflict)a->curve->p)" ( (cast_expression "(Bignum_conflict)a->x" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->x" identifier -> field_identifier)) , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar4);" (call_expression "freebn(pBVar4)" identifier (argument_list "(pBVar4)" ( identifier ))) ;) (expression_statement "pBVar6 = modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar6 = modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar3,pBVar5,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar3,pBVar5,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar3);" (call_expression "freebn(pBVar3)" identifier (argument_list "(pBVar3)" ( identifier ))) ;) (expression_statement "freebn(pBVar5);" (call_expression "freebn(pBVar5)" identifier (argument_list "(pBVar5)" ( identifier ))) ;) (expression_statement "pBVar4 = (Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p);" (assignment_expression "pBVar4 = (Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p)" identifier = (cast_expression "(Bignum_conflict)ecf_treble(pBVar6,(ec_curve *)&a->curve->p)" ( (type_descriptor "Bignum_conflict" type_identifier) ) (call_expression "ecf_treble(pBVar6,(ec_curve *)&a->curve->p)" identifier (argument_list "(pBVar6,(ec_curve *)&a->curve->p)" ( identifier , (cast_expression "(ec_curve *)&a->curve->p" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&a->curve->p" & (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier))) ))))) ;) (expression_statement "freebn(pBVar6);" (call_expression "freebn(pBVar6)" identifier (argument_list "(pBVar6)" ( identifier ))) ;) }))) (expression_statement "pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "pBVar5 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p);" (assignment_expression "pBVar5 = (Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p)" identifier = (cast_expression "(Bignum_conflict)ecf_double(pBVar2,(ec_curve *)&a->curve->p)" ( (type_descriptor "Bignum_conflict" type_identifier) ) (call_expression "ecf_double(pBVar2,(ec_curve *)&a->curve->p)" identifier (argument_list "(pBVar2,(ec_curve *)&a->curve->p)" ( identifier , (cast_expression "(ec_curve *)&a->curve->p" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&a->curve->p" & (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier))) ))))) ;) (expression_statement "pBVar6 = modsub(pBVar3,pBVar5,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar6 = modsub(pBVar3,pBVar5,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modsub(pBVar3,pBVar5,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar3,pBVar5,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar3);" (call_expression "freebn(pBVar3)" identifier (argument_list "(pBVar3)" ( identifier ))) ;) (expression_statement "freebn(pBVar5);" (call_expression "freebn(pBVar5)" identifier (argument_list "(pBVar5)" ( identifier ))) ;) (expression_statement "pBVar3 = modsub(pBVar2,pBVar6,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar3 = modsub(pBVar2,pBVar6,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modsub(pBVar2,pBVar6,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar2,pBVar6,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar2);" (call_expression "freebn(pBVar2)" identifier (argument_list "(pBVar2)" ( identifier ))) ;) (expression_statement "pBVar2 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar2 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar4,pBVar3,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar3);" (call_expression "freebn(pBVar3)" identifier (argument_list "(pBVar3)" ( identifier ))) ;) (expression_statement "freebn(pBVar4);" (call_expression "freebn(pBVar4)" identifier (argument_list "(pBVar4)" ( identifier ))) ;) (expression_statement "pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar4 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p)" identifier (argument_list "((Bignum_conflict)a->y,(Bignum_conflict)a->y,(Bignum_conflict)a->curve->p)" ( (cast_expression "(Bignum_conflict)a->y" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->y" identifier -> field_identifier)) , (cast_expression "(Bignum_conflict)a->y" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->y" identifier -> field_identifier)) , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar3 = modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar4,pBVar4,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar4);" (call_expression "freebn(pBVar4)" identifier (argument_list "(pBVar4)" ( identifier ))) ;) (expression_statement "pBVar4 = bignum_from_long(8);" (assignment_expression "pBVar4 = bignum_from_long(8)" identifier = (call_expression "bignum_from_long(8)" identifier (argument_list "(8)" ( number_literal )))) ;) (expression_statement "pBVar5 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar5 = modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul(pBVar4,pBVar3,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar4,pBVar3,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar4);" (call_expression "freebn(pBVar4)" identifier (argument_list "(pBVar4)" ( identifier ))) ;) (expression_statement "freebn(pBVar3);" (call_expression "freebn(pBVar3)" identifier (argument_list "(pBVar3)" ( identifier ))) ;) (expression_statement "pBVar4 = modsub(pBVar2,pBVar5,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar4 = modsub(pBVar2,pBVar5,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modsub(pBVar2,pBVar5,(Bignum_conflict)a->curve->p)" identifier (argument_list "(pBVar2,pBVar5,(Bignum_conflict)a->curve->p)" ( identifier , identifier , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) (expression_statement "freebn(pBVar2);" (call_expression "freebn(pBVar2)" identifier (argument_list "(pBVar2)" ( identifier ))) ;) (expression_statement "freebn(pBVar5);" (call_expression "freebn(pBVar5)" identifier (argument_list "(pBVar5)" ( identifier ))) ;) (if_statement "if ((Bignum_conflict)a->z == (Bignum_conflict)0x0) {\n        pBVar2 = copybn((Bignum_conflict)a->y);\n      }\n      else {\n        pBVar2 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p);\n      }" if (parenthesized_expression "((Bignum_conflict)a->z == (Bignum_conflict)0x0)" ( (binary_expression "(Bignum_conflict)a->z == (Bignum_conflict)0x0" (cast_expression "(Bignum_conflict)a->z" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->z" identifier -> field_identifier)) == (cast_expression "(Bignum_conflict)0x0" ( (type_descriptor "Bignum_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n        pBVar2 = copybn((Bignum_conflict)a->y);\n      }" { (expression_statement "pBVar2 = copybn((Bignum_conflict)a->y);" (assignment_expression "pBVar2 = copybn((Bignum_conflict)a->y)" identifier = (call_expression "copybn((Bignum_conflict)a->y)" identifier (argument_list "((Bignum_conflict)a->y)" ( (cast_expression "(Bignum_conflict)a->y" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->y" identifier -> field_identifier)) )))) ;) }) (else_clause "else {\n        pBVar2 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p);\n      }" else (compound_statement "{\n        pBVar2 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p);\n      }" { (expression_statement "pBVar2 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p);" (assignment_expression "pBVar2 = modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p)" identifier = (call_expression "modmul((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p)" identifier (argument_list "((Bignum_conflict)a->y,(Bignum_conflict)a->z,(Bignum_conflict)a->curve->p)" ( (cast_expression "(Bignum_conflict)a->y" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->y" identifier -> field_identifier)) , (cast_expression "(Bignum_conflict)a->z" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->z" identifier -> field_identifier)) , (cast_expression "(Bignum_conflict)a->curve->p" ( (type_descriptor "Bignum_conflict" type_identifier) ) (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier)) )))) ;) }))) (expression_statement "pvVar9 = ecf_double(pBVar2,(ec_curve *)&a->curve->p);" (assignment_expression "pvVar9 = ecf_double(pBVar2,(ec_curve *)&a->curve->p)" identifier = (call_expression "ecf_double(pBVar2,(ec_curve *)&a->curve->p)" identifier (argument_list "(pBVar2,(ec_curve *)&a->curve->p)" ( identifier , (cast_expression "(ec_curve *)&a->curve->p" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&a->curve->p" & (field_expression "a->curve->p" (field_expression "a->curve" identifier -> field_identifier) -> field_identifier))) )))) ;) (expression_statement "freebn(pBVar2);" (call_expression "freebn(pBVar2)" identifier (argument_list "(pBVar2)" ( identifier ))) ;) (expression_statement "peVar1 = a->curve;" (assignment_expression "peVar1 = a->curve" identifier = (field_expression "a->curve" identifier -> field_identifier)) ;) (expression_statement "peVar7 = (ec_point *)safemalloc(1,0x14);" (assignment_expression "peVar7 = (ec_point *)safemalloc(1,0x14)" identifier = (cast_expression "(ec_point *)safemalloc(1,0x14)" ( (type_descriptor "ec_point *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "peVar7->curve = peVar1;" (assignment_expression "peVar7->curve = peVar1" (field_expression "peVar7->curve" identifier -> field_identifier) = identifier) ;) (expression_statement "peVar7->x = pBVar6;" (assignment_expression "peVar7->x = pBVar6" (field_expression "peVar7->x" identifier -> field_identifier) = identifier) ;) (expression_statement "peVar7->z = pvVar9;" (assignment_expression "peVar7->z = pvVar9" (field_expression "peVar7->z" identifier -> field_identifier) = identifier) ;) (expression_statement "peVar7->y = pBVar4;" (assignment_expression "peVar7->y = pBVar4" (field_expression "peVar7->y" identifier -> field_identifier) = identifier) ;) (expression_statement "peVar7->infinity = '\0';" (assignment_expression "peVar7->infinity = '\0'" (field_expression "peVar7->infinity" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return peVar7;" return identifier ;) })) (expression_statement "peVar1 = a->curve;" (assignment_expression "peVar1 = a->curve" identifier = (field_expression "a->curve" identifier -> field_identifier)) ;) (expression_statement "peVar7 = (ec_point *)safemalloc(1,0x14);" (assignment_expression "peVar7 = (ec_point *)safemalloc(1,0x14)" identifier = (cast_expression "(ec_point *)safemalloc(1,0x14)" ( (type_descriptor "ec_point *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "peVar7->curve = peVar1;" (assignment_expression "peVar7->curve = peVar1" (field_expression "peVar7->curve" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    peVar7 = (ec_point *)safemalloc(1,0x14);\n    peVar7->curve = peVar1;\n  }" else (compound_statement "{\n    peVar7 = (ec_point *)safemalloc(1,0x14);\n    peVar7->curve = peVar1;\n  }" { (expression_statement "peVar7 = (ec_point *)safemalloc(1,0x14);" (assignment_expression "peVar7 = (ec_point *)safemalloc(1,0x14)" identifier = (cast_expression "(ec_point *)safemalloc(1,0x14)" ( (type_descriptor "ec_point *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "peVar7->curve = peVar1;" (assignment_expression "peVar7->curve = peVar1" (field_expression "peVar7->curve" identifier -> field_identifier) = identifier) ;) }))) (expression_statement "peVar7->x = (Bignum)0x0;" (assignment_expression "peVar7->x = (Bignum)0x0" (field_expression "peVar7->x" identifier -> field_identifier) = (cast_expression "(Bignum)0x0" ( (type_descriptor "Bignum" type_identifier) ) number_literal)) ;) (expression_statement "peVar7->y = (Bignum)0x0;" (assignment_expression "peVar7->y = (Bignum)0x0" (field_expression "peVar7->y" identifier -> field_identifier) = (cast_expression "(Bignum)0x0" ( (type_descriptor "Bignum" type_identifier) ) number_literal)) ;) (expression_statement "peVar7->z = (Bignum)0x0;" (assignment_expression "peVar7->z = (Bignum)0x0" (field_expression "peVar7->z" identifier -> field_identifier) = (cast_expression "(Bignum)0x0" ( (type_descriptor "Bignum" type_identifier) ) number_literal)) ;) (expression_statement "peVar7->infinity = '\x01';" (assignment_expression "peVar7->infinity = '\x01'" (field_expression "peVar7->infinity" identifier -> field_identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) (return_statement "return peVar7;" return identifier ;) }))
(translation_unit "int * __regparm3 FUN_0002fd40(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  \n  piVar8 = (int *)*param_1;\n  if ((char)param_1[4] == '\0') {\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }\n  else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }\n  piVar11[1] = 0;\n  piVar11[2] = 0;\n  piVar11[3] = 0;\n  *(undefined1 *)(piVar11 + 4) = 1;\n  return piVar11;\n}\n\n" (function_definition "int * __regparm3 FUN_0002fd40(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  \n  piVar8 = (int *)*param_1;\n  if ((char)param_1[4] == '\0') {\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }\n  else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }\n  piVar11[1] = 0;\n  piVar11[2] = 0;\n  piVar11[3] = 0;\n  *(undefined1 *)(piVar11 + 4) = 1;\n  return piVar11;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_0002fd40(int *param_1,int param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_0002fd40(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  \n  piVar8 = (int *)*param_1;\n  if ((char)param_1[4] == '\0') {\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }\n  else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }\n  piVar11[1] = 0;\n  piVar11[2] = 0;\n  piVar11[3] = 0;\n  *(undefined1 *)(piVar11 + 4) = 1;\n  return piVar11;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (expression_statement "piVar8 = (int *)*param_1;" (assignment_expression "piVar8 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((char)param_1[4] == '\0') {\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }\n  else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }" if (parenthesized_expression "((char)param_1[4] == '\0')" ( (binary_expression "(char)param_1[4] == '\0'" (cast_expression "(char)param_1[4]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[4]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }" { (expression_statement "iVar4 = *piVar8;" (assignment_expression "iVar4 = *piVar8" identifier = (pointer_expression "*piVar8" * identifier)) ;) (if_statement "if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }" if (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) (compound_statement "{\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }" { (expression_statement "piVar8 = (int *)FUN_0002f630();" (assignment_expression "piVar8 = (int *)FUN_0002f630()" identifier = (cast_expression "(int *)FUN_0002f630()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002f630()" identifier (argument_list "()" ( ))))) ;) (return_statement "return piVar8;" return identifier ;) })) (if_statement "if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }" { (expression_statement "puVar12 = (undefined *)param_1[3];" (assignment_expression "puVar12 = (undefined *)param_1[3]" identifier = (cast_expression "(undefined *)param_1[3]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (if_statement "if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }" if (parenthesized_expression "((undefined *)param_1[3] == (undefined *)0x0)" ( (binary_expression "(undefined *)param_1[3] == (undefined *)0x0" (cast_expression "(undefined *)param_1[3]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar12 = PTR_DAT_0006f01c;\n      }" { (expression_statement "puVar12 = PTR_DAT_0006f01c;" (assignment_expression "puVar12 = PTR_DAT_0006f01c" identifier = identifier) ;) })) (expression_statement "uVar1 = FUN_0002f2f0();" (assignment_expression "uVar1 = FUN_0002f2f0()" identifier = (call_expression "FUN_0002f2f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar1 = FUN_000297a0(2);" (assignment_expression "uVar1 = FUN_000297a0(2)" identifier = (call_expression "FUN_000297a0(2)" identifier (argument_list "(2)" ( number_literal )))) ;) (expression_statement "uVar5 = FUN_0002f2f0();" (assignment_expression "uVar5 = FUN_0002f2f0()" identifier = (call_expression "FUN_0002f2f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "uVar5 = FUN_000297a0(4);" (assignment_expression "uVar5 = FUN_000297a0(4)" identifier = (call_expression "FUN_000297a0(4)" identifier (argument_list "(4)" ( number_literal )))) ;) (expression_statement "iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar5,*(undefined4 *)(*param_1 + 0x10))" ( identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (if_statement "if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }" { (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "FUN_00028470(iVar4);" (call_expression "FUN_00028470(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "piVar8 = (int *)0x0;" (assignment_expression "piVar8 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }" else (compound_statement "{\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }" { (expression_statement "uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_00028470(iVar6);" (call_expression "FUN_00028470(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "uVar2 = FUN_0002f2f0();" (assignment_expression "uVar2 = FUN_0002f2f0()" identifier = (call_expression "FUN_0002f2f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar8 = (int *)FUN_00019880(1,0x14);" (assignment_expression "piVar8 = (int *)FUN_00019880(1,0x14)" identifier = (cast_expression "(int *)FUN_00019880(1,0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019880(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar8 = iVar6;" (assignment_expression "*piVar8 = iVar6" (pointer_expression "*piVar8" * identifier) = identifier) ;) (expression_statement "piVar8[2] = 0;" (assignment_expression "piVar8[2] = 0" (subscript_expression "piVar8[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar8[1] = iVar4;" (assignment_expression "piVar8[1] = iVar4" (subscript_expression "piVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8[3] = iVar7;" (assignment_expression "piVar8[3] = iVar7" (subscript_expression "piVar8[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(piVar8 + 4) = 0;" (assignment_expression "*(undefined1 *)(piVar8 + 4) = 0" (pointer_expression "*(undefined1 *)(piVar8 + 4)" * (cast_expression "(undefined1 *)(piVar8 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 4)" ( (binary_expression "piVar8 + 4" identifier + number_literal) )))) = number_literal) ;) }))) (return_statement "return piVar8;" return identifier ;) })) (expression_statement "iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);" (assignment_expression "iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020)" identifier = (call_expression "FUN_00028df0(param_1[2],PTR_DAT_0006f020)" identifier (argument_list "(param_1[2],PTR_DAT_0006f020)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }" { (expression_statement "uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_0002f510();" (assignment_expression "uVar1 = FUN_0002f510()" identifier = (call_expression "FUN_0002f510()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "uVar2 = FUN_0002f510();" (assignment_expression "uVar2 = FUN_0002f510()" identifier = (call_expression "FUN_0002f510()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "iVar4 = param_1[3];" (assignment_expression "iVar4 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (if_statement "if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }" { (if_statement "if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }" { (expression_statement "local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));" (assignment_expression "local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14))" identifier = (call_expression "FUN_00028420(*(undefined4 *)(*param_1 + 0x14))" identifier (argument_list "(*(undefined4 *)(*param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(*param_1 + 0x14)" * (cast_expression "(undefined4 *)(*param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x14)" ( (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) }) (else_clause "else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }" else (compound_statement "{\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }" { (expression_statement "uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));" (assignment_expression "local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(*param_1 + 0x14)" * (cast_expression "(undefined4 *)(*param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x14)" ( (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" * identifier) + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) }))) (expression_statement "uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar3 = FUN_0002f590();" (assignment_expression "uVar3 = FUN_0002f590()" identifier = (call_expression "FUN_0002f590()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_0002f2f0();" (assignment_expression "uVar1 = FUN_0002f2f0()" identifier = (call_expression "FUN_0002f2f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00028470(local_28);" (call_expression "FUN_00028470(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) }) (else_clause "else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }" else (compound_statement "{\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }" { (if_statement "if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }" { (expression_statement "uVar1 = FUN_00028420(PTR_DAT_0006f01c);" (assignment_expression "uVar1 = FUN_00028420(PTR_DAT_0006f01c)" identifier = (call_expression "FUN_00028420(PTR_DAT_0006f01c)" identifier (argument_list "(PTR_DAT_0006f01c)" ( identifier )))) ;) }) (else_clause "else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }" else (compound_statement "{\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }" { (expression_statement "uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) }))) (expression_statement "uVar3 = FUN_0002f2f0();" (assignment_expression "uVar3 = FUN_0002f2f0()" identifier = (call_expression "FUN_0002f2f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_0002f590();" (assignment_expression "uVar1 = FUN_0002f590()" identifier = (call_expression "FUN_0002f590()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar10);" (call_expression "FUN_00028470(uVar10)" identifier (argument_list "(uVar10)" ( identifier ))) ;) }))) (expression_statement "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar5 = FUN_0002f510();" (assignment_expression "uVar5 = FUN_0002f510()" identifier = (call_expression "FUN_0002f510()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = FUN_000297a0(8);" (assignment_expression "uVar1 = FUN_000297a0(8)" identifier = (call_expression "FUN_000297a0(8)" identifier (argument_list "(8)" ( number_literal )))) ;) (expression_statement "uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (if_statement "if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }" if (parenthesized_expression "(param_1[3] == 0)" ( (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        uVar1 = FUN_00028420(param_1[2]);\n      }" { (expression_statement "uVar1 = FUN_00028420(param_1[2]);" (assignment_expression "uVar1 = FUN_00028420(param_1[2])" identifier = (call_expression "FUN_00028420(param_1[2])" identifier (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) )))) ;) }) (else_clause "else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }" else (compound_statement "{\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }" { (expression_statement "uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10))" identifier = (call_expression "FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10))" identifier (argument_list "(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10))" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (subscript_expression "param_1[3]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) )))) ;) }))) (expression_statement "iVar9 = FUN_0002f510();" (assignment_expression "iVar9 = FUN_0002f510()" identifier = (call_expression "FUN_0002f510()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "iVar7 = *param_1;" (assignment_expression "iVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar8 = (int *)FUN_00019880(1,0x14);" (assignment_expression "piVar8 = (int *)FUN_00019880(1,0x14)" identifier = (cast_expression "(int *)FUN_00019880(1,0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019880(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar8 = iVar7;" (assignment_expression "*piVar8 = iVar7" (pointer_expression "*piVar8" * identifier) = identifier) ;) (expression_statement "piVar8[1] = iVar4;" (assignment_expression "piVar8[1] = iVar4" (subscript_expression "piVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8[3] = iVar9;" (assignment_expression "piVar8[3] = iVar9" (subscript_expression "piVar8[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar8[2] = iVar6;" (assignment_expression "piVar8[2] = iVar6" (subscript_expression "piVar8[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(piVar8 + 4) = 0;" (assignment_expression "*(undefined1 *)(piVar8 + 4) = 0" (pointer_expression "*(undefined1 *)(piVar8 + 4)" * (cast_expression "(undefined1 *)(piVar8 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 4)" ( (binary_expression "piVar8 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return piVar8;" return identifier ;) })) (expression_statement "iVar4 = *param_1;" (assignment_expression "iVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar11 = (int *)FUN_00019880(1,0x14);" (assignment_expression "piVar11 = (int *)FUN_00019880(1,0x14)" identifier = (cast_expression "(int *)FUN_00019880(1,0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019880(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar11 = iVar4;" (assignment_expression "*piVar11 = iVar4" (pointer_expression "*piVar11" * identifier) = identifier) ;) }) (else_clause "else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }" else (compound_statement "{\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }" { (expression_statement "piVar11 = (int *)FUN_00019880(1,0x14);" (assignment_expression "piVar11 = (int *)FUN_00019880(1,0x14)" identifier = (cast_expression "(int *)FUN_00019880(1,0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019880(1,0x14)" identifier (argument_list "(1,0x14)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar11 = (int)piVar8;" (assignment_expression "*piVar11 = (int)piVar8" (pointer_expression "*piVar11" * identifier) = (cast_expression "(int)piVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "piVar11[1] = 0;" (assignment_expression "piVar11[1] = 0" (subscript_expression "piVar11[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar11[2] = 0;" (assignment_expression "piVar11[2] = 0" (subscript_expression "piVar11[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar11[3] = 0;" (assignment_expression "piVar11[3] = 0" (subscript_expression "piVar11[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar11 + 4) = 1;" (assignment_expression "*(undefined1 *)(piVar11 + 4) = 1" (pointer_expression "*(undefined1 *)(piVar11 + 4)" * (cast_expression "(undefined1 *)(piVar11 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar11 + 4)" ( (binary_expression "piVar11 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return piVar11;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' escape_sequence ')) )) (compound_statement { (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 ( ))))) ;) (return_statement return 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 *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (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 *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) )))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "int * __regparm3 FUN_0002fd40(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  \n  piVar8 = (int *)*param_1;\n  if ((char)param_1[4] == '\0') {\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }\n  else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }\n  piVar11[1] = 0;\n  piVar11[2] = 0;\n  piVar11[3] = 0;\n  *(undefined1 *)(piVar11 + 4) = 1;\n  return piVar11;\n}" (primitive_type "int") (pointer_declarator "* __regparm3 FUN_0002fd40(int *param_1,int param_2)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0002fd40(int *param_1,int param_2)" (identifier "FUN_0002fd40") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int *piVar8;\n  int iVar9;\n  undefined4 uVar10;\n  int *piVar11;\n  undefined *puVar12;\n  undefined4 local_28;\n  \n  piVar8 = (int *)*param_1;\n  if ((char)param_1[4] == '\0') {\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }\n  else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }\n  piVar11[1] = 0;\n  piVar11[2] = 0;\n  piVar11[3] = 0;\n  *(undefined1 *)(piVar11 + 4) = 1;\n  return piVar11;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "undefined *puVar12;" (type_identifier "undefined") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (expression_statement "piVar8 = (int *)*param_1;" (assignment_expression "piVar8 = (int *)*param_1" (identifier "piVar8") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if ((char)param_1[4] == '\0') {\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }\n  else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }" (if "if") (parenthesized_expression "((char)param_1[4] == '\0')" (( "(") (binary_expression "(char)param_1[4] == '\0'" (cast_expression "(char)param_1[4]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar4 = *piVar8;\n    if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }\n    if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }\n    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);\n    if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }\n    iVar4 = *param_1;\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = iVar4;\n  }" ({ "{") (expression_statement "iVar4 = *piVar8;" (assignment_expression "iVar4 = *piVar8" (identifier "iVar4") (= "=") (pointer_expression "*piVar8" (* "*") (identifier "piVar8"))) (; ";")) (if_statement "if (iVar4 == 2) {\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }" (if "if") (parenthesized_expression "(iVar4 == 2)" (( "(") (binary_expression "iVar4 == 2" (identifier "iVar4") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      piVar8 = (int *)FUN_0002f630();\n      return piVar8;\n    }" ({ "{") (expression_statement "piVar8 = (int *)FUN_0002f630();" (assignment_expression "piVar8 = (int *)FUN_0002f630()" (identifier "piVar8") (= "=") (cast_expression "(int *)FUN_0002f630()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0002f630()" (identifier "FUN_0002f630") (argument_list "()" (( "(") () ")"))))) (; ";")) (return_statement "return piVar8;" (return "return") (identifier "piVar8") (; ";")) (} "}"))) (if_statement "if (iVar4 != 0) {\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar12 = (undefined *)param_1[3];\n      if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }\n      uVar1 = FUN_0002f2f0();\n      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      uVar1 = FUN_000297a0(2);\n      uVar5 = FUN_0002f2f0();\n      FUN_00028470(uVar1);\n      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      uVar5 = FUN_000297a0(4);\n      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar5);\n      if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }\n      return piVar8;\n    }" ({ "{") (expression_statement "puVar12 = (undefined *)param_1[3];" (assignment_expression "puVar12 = (undefined *)param_1[3]" (identifier "puVar12") (= "=") (cast_expression "(undefined *)param_1[3]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if ((undefined *)param_1[3] == (undefined *)0x0) {\n        puVar12 = PTR_DAT_0006f01c;\n      }" (if "if") (parenthesized_expression "((undefined *)param_1[3] == (undefined *)0x0)" (( "(") (binary_expression "(undefined *)param_1[3] == (undefined *)0x0" (cast_expression "(undefined *)param_1[3]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        puVar12 = PTR_DAT_0006f01c;\n      }" ({ "{") (expression_statement "puVar12 = PTR_DAT_0006f01c;" (assignment_expression "puVar12 = PTR_DAT_0006f01c" (identifier "puVar12") (= "=") (identifier "PTR_DAT_0006f01c")) (; ";")) (} "}"))) (expression_statement "uVar1 = FUN_0002f2f0();" (assignment_expression "uVar1 = FUN_0002f2f0()" (identifier "uVar1") (= "=") (call_expression "FUN_0002f2f0()" (identifier "FUN_0002f2f0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar2") (= "=") (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar1") (, ",") (identifier "uVar1") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_00029f00") (argument_list "(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10))" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "puVar12") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar3") (= "=") (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar1") (, ",") (identifier "uVar1") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" (identifier "iVar4") (= "=") (call_expression "FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar2") (, ",") (identifier "uVar3") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar1 = FUN_000297a0(2);" (assignment_expression "uVar1 = FUN_000297a0(2)" (identifier "uVar1") (= "=") (call_expression "FUN_000297a0(2)" (identifier "FUN_000297a0") (argument_list "(2)" (( "(") (number_literal "2") () ")")))) (; ";")) (expression_statement "uVar5 = FUN_0002f2f0();" (assignment_expression "uVar5 = FUN_0002f2f0()" (identifier "uVar5") (= "=") (call_expression "FUN_0002f2f0()" (identifier "FUN_0002f2f0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_00029f00") (argument_list "(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar2") (, ",") (identifier "uVar3") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" (identifier "FUN_00028470") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar2") (= "=") (call_expression "FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar5") (, ",") (identifier "uVar1") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" (identifier "FUN_00028470") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "uVar5 = FUN_000297a0(4);" (assignment_expression "uVar5 = FUN_000297a0(4)" (identifier "uVar5") (= "=") (call_expression "FUN_000297a0(4)" (identifier "FUN_000297a0") (argument_list "(4)" (( "(") (number_literal "4") () ")")))) (; ";")) (expression_statement "iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10))" (identifier "iVar6") (= "=") (call_expression "FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_0002a0d0") (argument_list "(uVar5,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar5") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" (identifier "FUN_00028470") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (if_statement "if (iVar6 == 0) {\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }\n      else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00028470(uVar2);\n        FUN_00028470(uVar1);\n        FUN_00028470(iVar4);\n        FUN_00028470(uVar3);\n        piVar8 = (int *)0x0;\n      }" ({ "{") (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" (identifier "FUN_00028470") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "FUN_00028470(iVar4);" (call_expression "FUN_00028470(iVar4)" (identifier "FUN_00028470") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" (identifier "FUN_00028470") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "piVar8 = (int *)0x0;" (assignment_expression "piVar8 = (int *)0x0" (identifier "piVar8") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }" (else "else") (compound_statement "{\n        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar2);\n        FUN_00028470(iVar6);\n        uVar2 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        FUN_00028470(uVar2);\n        iVar6 = *param_1;\n        piVar8 = (int *)FUN_00019880(1,0x14);\n        *piVar8 = iVar6;\n        piVar8[2] = 0;\n        piVar8[1] = iVar4;\n        piVar8[3] = iVar7;\n        *(undefined1 *)(piVar8 + 4) = 0;\n      }" ({ "{") (expression_statement "uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar5") (= "=") (call_expression "FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar2") (, ",") (identifier "iVar6") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" (identifier "FUN_00028470") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "FUN_00028470(iVar6);" (call_expression "FUN_00028470(iVar6)" (identifier "FUN_00028470") (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (expression_statement "uVar2 = FUN_0002f2f0();" (assignment_expression "uVar2 = FUN_0002f2f0()" (identifier "uVar2") (= "=") (call_expression "FUN_0002f2f0()" (identifier "FUN_0002f2f0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" (identifier "FUN_00028470") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" (identifier "FUN_00028470") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10))" (identifier "iVar7") (= "=") (call_expression "FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar1") (, ",") (identifier "uVar2") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" (identifier "FUN_00028470") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" (identifier "iVar6") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "piVar8 = (int *)FUN_00019880(1,0x14);" (assignment_expression "piVar8 = (int *)FUN_00019880(1,0x14)" (identifier "piVar8") (= "=") (cast_expression "(int *)FUN_00019880(1,0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019880(1,0x14)" (identifier "FUN_00019880") (argument_list "(1,0x14)" (( "(") (number_literal "1") (, ",") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "*piVar8 = iVar6;" (assignment_expression "*piVar8 = iVar6" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "piVar8[2] = 0;" (assignment_expression "piVar8[2] = 0" (subscript_expression "piVar8[2]" (identifier "piVar8") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar8[1] = iVar4;" (assignment_expression "piVar8[1] = iVar4" (subscript_expression "piVar8[1]" (identifier "piVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "piVar8[3] = iVar7;" (assignment_expression "piVar8[3] = iVar7" (subscript_expression "piVar8[3]" (identifier "piVar8") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "*(undefined1 *)(piVar8 + 4) = 0;" (assignment_expression "*(undefined1 *)(piVar8 + 4) = 0" (pointer_expression "*(undefined1 *)(piVar8 + 4)" (* "*") (cast_expression "(undefined1 *)(piVar8 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar8 + 4)" (( "(") (binary_expression "piVar8 + 4" (identifier "piVar8") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")))) (return_statement "return piVar8;" (return "return") (identifier "piVar8") (; ";")) (} "}"))) (expression_statement "iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);" (assignment_expression "iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020)" (identifier "iVar4") (= "=") (call_expression "FUN_00028df0(param_1[2],PTR_DAT_0006f020)" (identifier "FUN_00028df0") (argument_list "(param_1[2],PTR_DAT_0006f020)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "PTR_DAT_0006f020") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_0002f510();\n      FUN_00028470(uVar2);\n      uVar2 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar4 = param_1[3];\n      if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      uVar5 = FUN_0002f510();\n      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar5);\n      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar3);\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));\n      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      uVar1 = FUN_000297a0(8);\n      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar1);\n      FUN_00028470(uVar3);\n      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));\n      FUN_00028470(uVar2);\n      FUN_00028470(uVar5);\n      if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }\n      iVar9 = FUN_0002f510();\n      FUN_00028470(uVar1);\n      iVar7 = *param_1;\n      piVar8 = (int *)FUN_00019880(1,0x14);\n      *piVar8 = iVar7;\n      piVar8[1] = iVar4;\n      piVar8[3] = iVar9;\n      piVar8[2] = iVar6;\n      *(undefined1 *)(piVar8 + 4) = 0;\n      return piVar8;\n    }" ({ "{") (expression_statement "uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar2") (= "=") (call_expression "FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "uVar1") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "uVar1 = FUN_0002f510();" (assignment_expression "uVar1 = FUN_0002f510()" (identifier "uVar1") (= "=") (call_expression "FUN_0002f510()" (identifier "FUN_0002f510") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" (identifier "FUN_00028470") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "uVar2 = FUN_0002f510();" (assignment_expression "uVar2 = FUN_0002f510()" (identifier "uVar2") (= "=") (call_expression "FUN_0002f510()" (identifier "FUN_0002f510") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "iVar4 = param_1[3];" (assignment_expression "iVar4 = param_1[3]" (identifier "iVar4") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (param_2 == 0) {\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }\n      else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }\n        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));\n        uVar3 = FUN_0002f590();\n        FUN_00028470(uVar1);\n        uVar1 = FUN_0002f2f0();\n        FUN_00028470(uVar3);\n        FUN_00028470(local_28);\n      }" ({ "{") (if_statement "if (iVar4 == 0) {\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));\n        }" ({ "{") (expression_statement "local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));" (assignment_expression "local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14))" (identifier "local_28") (= "=") (call_expression "FUN_00028420(*(undefined4 *)(*param_1 + 0x14))" (identifier "FUN_00028420") (argument_list "(*(undefined4 *)(*param_1 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(*param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x14)" (( "(") (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")")))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }" (else "else") (compound_statement "{\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar1);\n          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));\n          FUN_00028470(uVar3);\n        }" ({ "{") (expression_statement "uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "iVar4") (, ",") (identifier "iVar4") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar3") (= "=") (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar1") (, ",") (identifier "uVar1") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10));" (assignment_expression "local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10))" (identifier "local_28") (= "=") (call_expression "FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(*(undefined4 *)(*param_1 + 0x14),uVar3,\n                                  *(undefined4 *)(*param_1 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(*param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x14)" (( "(") (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")")))) (, ",") (identifier "uVar3") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" (identifier "FUN_00028470") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (} "}")))) (expression_statement "uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10))" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar3 = FUN_0002f590();" (assignment_expression "uVar3 = FUN_0002f590()" (identifier "uVar3") (= "=") (call_expression "FUN_0002f590()" (identifier "FUN_0002f590") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "uVar1 = FUN_0002f2f0();" (assignment_expression "uVar1 = FUN_0002f2f0()" (identifier "uVar1") (= "=") (call_expression "FUN_0002f2f0()" (identifier "FUN_0002f2f0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" (identifier "FUN_00028470") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "FUN_00028470(local_28);" (call_expression "FUN_00028470(local_28)" (identifier "FUN_00028470") (argument_list "(local_28)" (( "(") (identifier "local_28") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }" (else "else") (compound_statement "{\n        if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }\n        uVar3 = FUN_0002f2f0();\n        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar1);\n        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));\n        FUN_00028470(uVar3);\n        FUN_00028470(uVar5);\n        uVar1 = FUN_0002f590();\n        FUN_00028470(uVar10);\n      }" ({ "{") (if_statement "if (iVar4 == 0) {\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }\n        else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar1 = FUN_00028420(PTR_DAT_0006f01c);\n        }" ({ "{") (expression_statement "uVar1 = FUN_00028420(PTR_DAT_0006f01c);" (assignment_expression "uVar1 = FUN_00028420(PTR_DAT_0006f01c)" (identifier "uVar1") (= "=") (call_expression "FUN_00028420(PTR_DAT_0006f01c)" (identifier "FUN_00028420") (argument_list "(PTR_DAT_0006f01c)" (( "(") (identifier "PTR_DAT_0006f01c") () ")")))) (; ";")) (} "}")) (else_clause "else {\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }" (else "else") (compound_statement "{\n          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));\n        }" ({ "{") (expression_statement "uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "iVar4") (, ",") (identifier "iVar4") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (} "}")))) (expression_statement "uVar3 = FUN_0002f2f0();" (assignment_expression "uVar3 = FUN_0002f2f0()" (identifier "uVar3") (= "=") (call_expression "FUN_0002f2f0()" (identifier "FUN_0002f2f0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar5") (= "=") (call_expression "FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_00029f00") (argument_list "(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10))" (( "(") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "uVar1") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar10") (= "=") (call_expression "FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar3") (, ",") (identifier "uVar5") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" (identifier "FUN_00028470") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" (identifier "FUN_00028470") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "uVar1 = FUN_0002f590();" (assignment_expression "uVar1 = FUN_0002f590()" (identifier "uVar1") (= "=") (call_expression "FUN_0002f590()" (identifier "FUN_0002f590") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar10);" (call_expression "FUN_00028470(uVar10)" (identifier "FUN_00028470") (argument_list "(uVar10)" (( "(") (identifier "uVar10") () ")"))) (; ";")) (} "}")))) (expression_statement "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar3") (= "=") (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar1") (, ",") (identifier "uVar1") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar5 = FUN_0002f510();" (assignment_expression "uVar5 = FUN_0002f510()" (identifier "uVar5") (= "=") (call_expression "FUN_0002f510()" (identifier "FUN_0002f510") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" (identifier "iVar4") (= "=") (call_expression "FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_00029f00") (argument_list "(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar3") (, ",") (identifier "uVar5") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" (identifier "FUN_00028470") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" (identifier "FUN_00028470") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar3") (= "=") (call_expression "FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_00029f00") (argument_list "(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar2") (, ",") (identifier "iVar4") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" (identifier "FUN_00028470") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar2") (= "=") (call_expression "FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar1") (, ",") (identifier "uVar3") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" (identifier "FUN_00028470") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10))" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar3") (= "=") (call_expression "FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar1") (, ",") (identifier "uVar1") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "uVar1 = FUN_000297a0(8);" (assignment_expression "uVar1 = FUN_000297a0(8)" (identifier "uVar1") (= "=") (call_expression "FUN_000297a0(8)" (identifier "FUN_000297a0") (argument_list "(8)" (( "(") (number_literal "8") () ")")))) (; ";")) (expression_statement "uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar5") (= "=") (call_expression "FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar1") (, ",") (identifier "uVar3") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "FUN_00028470(uVar3);" (call_expression "FUN_00028470(uVar3)" (identifier "FUN_00028470") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10))" (identifier "iVar6") (= "=") (call_expression "FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_00029f00") (argument_list "(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10))" (( "(") (identifier "uVar2") (, ",") (identifier "uVar5") (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar2);" (call_expression "FUN_00028470(uVar2)" (identifier "FUN_00028470") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "FUN_00028470(uVar5);" (call_expression "FUN_00028470(uVar5)" (identifier "FUN_00028470") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (if_statement "if (param_1[3] == 0) {\n        uVar1 = FUN_00028420(param_1[2]);\n      }\n      else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }" (if "if") (parenthesized_expression "(param_1[3] == 0)" (( "(") (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar1 = FUN_00028420(param_1[2]);\n      }" ({ "{") (expression_statement "uVar1 = FUN_00028420(param_1[2]);" (assignment_expression "uVar1 = FUN_00028420(param_1[2])" (identifier "uVar1") (= "=") (call_expression "FUN_00028420(param_1[2])" (identifier "FUN_00028420") (argument_list "(param_1[2])" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }" (else "else") (compound_statement "{\n        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));\n      }" ({ "{") (expression_statement "uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));" (assignment_expression "uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10))" (identifier "uVar1") (= "=") (call_expression "FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10))" (identifier "FUN_000284b0") (argument_list "(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10))" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (} "}")))) (expression_statement "iVar9 = FUN_0002f510();" (assignment_expression "iVar9 = FUN_0002f510()" (identifier "iVar9") (= "=") (call_expression "FUN_0002f510()" (identifier "FUN_0002f510") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00028470(uVar1);" (call_expression "FUN_00028470(uVar1)" (identifier "FUN_00028470") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "iVar7 = *param_1;" (assignment_expression "iVar7 = *param_1" (identifier "iVar7") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "piVar8 = (int *)FUN_00019880(1,0x14);" (assignment_expression "piVar8 = (int *)FUN_00019880(1,0x14)" (identifier "piVar8") (= "=") (cast_expression "(int *)FUN_00019880(1,0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019880(1,0x14)" (identifier "FUN_00019880") (argument_list "(1,0x14)" (( "(") (number_literal "1") (, ",") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "*piVar8 = iVar7;" (assignment_expression "*piVar8 = iVar7" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "piVar8[1] = iVar4;" (assignment_expression "piVar8[1] = iVar4" (subscript_expression "piVar8[1]" (identifier "piVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "piVar8[3] = iVar9;" (assignment_expression "piVar8[3] = iVar9" (subscript_expression "piVar8[3]" (identifier "piVar8") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "piVar8[2] = iVar6;" (assignment_expression "piVar8[2] = iVar6" (subscript_expression "piVar8[2]" (identifier "piVar8") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*(undefined1 *)(piVar8 + 4) = 0;" (assignment_expression "*(undefined1 *)(piVar8 + 4) = 0" (pointer_expression "*(undefined1 *)(piVar8 + 4)" (* "*") (cast_expression "(undefined1 *)(piVar8 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar8 + 4)" (( "(") (binary_expression "piVar8 + 4" (identifier "piVar8") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return piVar8;" (return "return") (identifier "piVar8") (; ";")) (} "}"))) (expression_statement "iVar4 = *param_1;" (assignment_expression "iVar4 = *param_1" (identifier "iVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "piVar11 = (int *)FUN_00019880(1,0x14);" (assignment_expression "piVar11 = (int *)FUN_00019880(1,0x14)" (identifier "piVar11") (= "=") (cast_expression "(int *)FUN_00019880(1,0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019880(1,0x14)" (identifier "FUN_00019880") (argument_list "(1,0x14)" (( "(") (number_literal "1") (, ",") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "*piVar11 = iVar4;" (assignment_expression "*piVar11 = iVar4" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (= "=") (identifier "iVar4")) (; ";")) (} "}")) (else_clause "else {\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }" (else "else") (compound_statement "{\n    piVar11 = (int *)FUN_00019880(1,0x14);\n    *piVar11 = (int)piVar8;\n  }" ({ "{") (expression_statement "piVar11 = (int *)FUN_00019880(1,0x14);" (assignment_expression "piVar11 = (int *)FUN_00019880(1,0x14)" (identifier "piVar11") (= "=") (cast_expression "(int *)FUN_00019880(1,0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019880(1,0x14)" (identifier "FUN_00019880") (argument_list "(1,0x14)" (( "(") (number_literal "1") (, ",") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "*piVar11 = (int)piVar8;" (assignment_expression "*piVar11 = (int)piVar8" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (= "=") (cast_expression "(int)piVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar8"))) (; ";")) (} "}")))) (expression_statement "piVar11[1] = 0;" (assignment_expression "piVar11[1] = 0" (subscript_expression "piVar11[1]" (identifier "piVar11") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar11[2] = 0;" (assignment_expression "piVar11[2] = 0" (subscript_expression "piVar11[2]" (identifier "piVar11") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar11[3] = 0;" (assignment_expression "piVar11[3] = 0" (subscript_expression "piVar11[3]" (identifier "piVar11") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(piVar11 + 4) = 1;" (assignment_expression "*(undefined1 *)(piVar11 + 4) = 1" (pointer_expression "*(undefined1 *)(piVar11 + 4)" (* "*") (cast_expression "(undefined1 *)(piVar11 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar11 + 4)" (( "(") (binary_expression "piVar11 + 4" (identifier "piVar11") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return piVar11;" (return "return") (identifier "piVar11") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_3 * __regparm2 ecp_double(type_3 *a,int var_15)

{
  type_1 *peVar1;
  type_2 pBVar2;
  type_2 pBVar3;
  type_2 var_16;
  type_2 pBVar5;
  type_2 pBVar6;
  type_2 var_10;
  type_3 *peVar7;
  int var_13;
  type_4 pvVar9;
  type_2 local_28;
  
  peVar1 = a->curve;
  if (a->infinity == '\0') {
    if (peVar1->type == var_1) {
      peVar7 = var_2(a,a,var_15);
      return peVar7;
    }
    if (peVar1->type != var_3) {
      var_16 = (type_2)a->z;
      if ((type_2)a->z == (type_2)0x0) {
        var_16 = One;
      }
      pBVar2 = (type_2)var_4(a->x,var_16,(type_1 *)&peVar1->p);
      pBVar3 = var_5(pBVar2,pBVar2,(type_2)a->curve->p);
      var_6(pBVar2);
      var_16 = var_7((type_2)a->x,var_16,(type_2)a->curve->p);
      pBVar2 = var_5(var_16,var_16,(type_2)a->curve->p);
      var_6(var_16);
      var_16 = var_5(pBVar3,pBVar2,(type_2)a->curve->p);
      pBVar5 = var_8(2);
      pBVar6 = (type_2)var_4((a->curve->field_5).w.a,pBVar5,(type_1 *)&a->curve->p);
      var_6(pBVar5);
      pBVar5 = var_7(pBVar3,pBVar2,(type_2)a->curve->p);
      var_6(pBVar3);
      pBVar3 = var_5(pBVar6,pBVar5,(type_2)a->curve->p);
      var_6(pBVar6);
      pBVar6 = var_8(4);
      var_10 = var_9(pBVar6,(type_2)a->curve->p);
      var_6(pBVar6);
      if (var_10 == (type_2)0x0) {
        var_6(pBVar3);
        var_6(pBVar5);
        var_6(var_16);
        var_6(pBVar2);
        peVar7 = (type_3 *)0x0;
      }
      else {
        pBVar6 = var_5(pBVar3,var_10,(type_2)a->curve->p);
        var_6(pBVar3);
        var_6(var_10);
        pBVar3 = (type_2)var_4(pBVar2,pBVar6,(type_1 *)&a->curve->p);
        var_6(pBVar2);
        var_6(pBVar6);
        pBVar2 = var_5(pBVar5,pBVar3,(type_2)a->curve->p);
        var_6(pBVar5);
        var_6(pBVar3);
        peVar1 = a->curve;
        peVar7 = (type_3 *)var_11(1,0x14);
        peVar7->curve = peVar1;
        peVar7->y = (type_4)0x0;
        peVar7->x = var_16;
        peVar7->z = pBVar2;
        peVar7->infinity = '\0';
      }
      return peVar7;
    }
    var_13 = var_12((type_2)a->y,Zero);
    if (var_13 != 0) {
      var_16 = var_5((type_2)a->y,(type_2)a->y,(type_2)a->curve->p);
      pBVar2 = var_5((type_2)a->x,var_16,(type_2)a->curve->p);
      var_6(var_16);
      var_16 = (type_2)var_14(pBVar2,(type_1 *)&a->curve->p);
      var_6(pBVar2);
      pBVar2 = (type_2)var_14(var_16,(type_1 *)&a->curve->p);
      var_6(var_16);
      var_16 = (type_2)a->z;
      if (var_15 == 0) {
        if (var_16 == (type_2)0x0) {
          local_28 = var_17((type_2)(a->curve->field_5).w.a);
        }
        else {
          var_16 = var_5(var_16,var_16,(type_2)a->curve->p);
          pBVar3 = var_5(var_16,var_16,(type_2)a->curve->p);
          var_6(var_16);
          local_28 = var_5((type_2)(a->curve->field_5).w.a,pBVar3,
                            (type_2)a->curve->p);
          var_6(pBVar3);
        }
        var_16 = var_5((type_2)a->x,(type_2)a->x,(type_2)a->curve->p);
        pBVar3 = (type_2)var_18(var_16,(type_1 *)&a->curve->p);
        var_6(var_16);
        var_16 = (type_2)var_4(pBVar3,local_28,(type_1 *)&a->curve->p);
        var_6(pBVar3);
        var_6(local_28);
      }
      else {
        if (var_16 == (type_2)0x0) {
          var_16 = var_17(One);
        }
        else {
          var_16 = var_5(var_16,var_16,(type_2)a->curve->p);
        }
        pBVar3 = (type_2)var_4(a->x,var_16,(type_1 *)&a->curve->p);
        pBVar5 = var_7((type_2)a->x,var_16,(type_2)a->curve->p);
        var_6(var_16);
        pBVar6 = var_5(pBVar3,pBVar5,(type_2)a->curve->p);
        var_6(pBVar3);
        var_6(pBVar5);
        var_16 = (type_2)var_18(pBVar6,(type_1 *)&a->curve->p);
        var_6(pBVar6);
      }
      pBVar3 = var_5(var_16,var_16,(type_2)a->curve->p);
      pBVar5 = (type_2)var_14(pBVar2,(type_1 *)&a->curve->p);
      pBVar6 = var_7(pBVar3,pBVar5,(type_2)a->curve->p);
      var_6(pBVar3);
      var_6(pBVar5);
      pBVar3 = var_7(pBVar2,pBVar6,(type_2)a->curve->p);
      var_6(pBVar2);
      pBVar2 = var_5(var_16,pBVar3,(type_2)a->curve->p);
      var_6(pBVar3);
      var_6(var_16);
      var_16 = var_5((type_2)a->y,(type_2)a->y,(type_2)a->curve->p);
      pBVar3 = var_5(var_16,var_16,(type_2)a->curve->p);
      var_6(var_16);
      var_16 = var_8(8);
      pBVar5 = var_5(var_16,pBVar3,(type_2)a->curve->p);
      var_6(var_16);
      var_6(pBVar3);
      var_16 = var_7(pBVar2,pBVar5,(type_2)a->curve->p);
      var_6(pBVar2);
      var_6(pBVar5);
      if ((type_2)a->z == (type_2)0x0) {
        pBVar2 = var_17((type_2)a->y);
      }
      else {
        pBVar2 = var_5((type_2)a->y,(type_2)a->z,(type_2)a->curve->p);
      }
      pvVar9 = var_14(pBVar2,(type_1 *)&a->curve->p);
      var_6(pBVar2);
      peVar1 = a->curve;
      peVar7 = (type_3 *)var_11(1,0x14);
      peVar7->curve = peVar1;
      peVar7->x = pBVar6;
      peVar7->z = pvVar9;
      peVar7->y = var_16;
      peVar7->infinity = '\0';
      return peVar7;
    }
    peVar1 = a->curve;
    peVar7 = (type_3 *)var_11(1,0x14);
    peVar7->curve = peVar1;
  }
  else {
    peVar7 = (type_3 *)var_11(1,0x14);
    peVar7->curve = peVar1;
  }
  peVar7->x = (type_4)0x0;
  peVar7->y = (type_4)0x0;
  peVar7->z = (type_4)0x0;
  peVar7->infinity = '\x01';
  return peVar7;
}


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

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

int * __regparm3 MASKED(int *param_1,int param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  int *piVar8;
  int iVar9;
  undefined4 uVar10;
  int *piVar11;
  undefined *puVar12;
  undefined4 local_28;
  
  piVar8 = (int *)*param_1;
  if ((char)param_1[4] == '\0') {
    iVar4 = *piVar8;
    if (iVar4 == 2) {
      piVar8 = (int *)FUN_0002f630();
      return piVar8;
    }
    if (iVar4 != 0) {
      puVar12 = (undefined *)param_1[3];
      if ((undefined *)param_1[3] == (undefined *)0x0) {
        puVar12 = PTR_DAT_0006f01c;
      }
      uVar1 = FUN_0002f2f0();
      uVar2 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar1);
      uVar1 = FUN_00029f00(param_1[1],puVar12,*(undefined4 *)(*param_1 + 0x10));
      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar1);
      iVar4 = FUN_000284b0(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));
      uVar1 = FUN_000297a0(2);
      uVar5 = FUN_0002f2f0();
      FUN_00028470(uVar1);
      uVar1 = FUN_00029f00(uVar2,uVar3,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar2);
      uVar2 = FUN_000284b0(uVar5,uVar1,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar5);
      uVar5 = FUN_000297a0(4);
      iVar6 = FUN_0002a0d0(uVar5,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar5);
      if (iVar6 == 0) {
        FUN_00028470(uVar2);
        FUN_00028470(uVar1);
        FUN_00028470(iVar4);
        FUN_00028470(uVar3);
        piVar8 = (int *)0x0;
      }
      else {
        uVar5 = FUN_000284b0(uVar2,iVar6,*(undefined4 *)(*param_1 + 0x10));
        FUN_00028470(uVar2);
        FUN_00028470(iVar6);
        uVar2 = FUN_0002f2f0();
        FUN_00028470(uVar3);
        FUN_00028470(uVar5);
        iVar7 = FUN_000284b0(uVar1,uVar2,*(undefined4 *)(*param_1 + 0x10));
        FUN_00028470(uVar1);
        FUN_00028470(uVar2);
        iVar6 = *param_1;
        piVar8 = (int *)FUN_00019880(1,0x14);
        *piVar8 = iVar6;
        piVar8[2] = 0;
        piVar8[1] = iVar4;
        piVar8[3] = iVar7;
        *(undefined1 *)(piVar8 + 4) = 0;
      }
      return piVar8;
    }
    iVar4 = FUN_00028df0(param_1[2],PTR_DAT_0006f020);
    if (iVar4 != 0) {
      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));
      uVar2 = FUN_000284b0(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar1);
      uVar1 = FUN_0002f510();
      FUN_00028470(uVar2);
      uVar2 = FUN_0002f510();
      FUN_00028470(uVar1);
      iVar4 = param_1[3];
      if (param_2 == 0) {
        if (iVar4 == 0) {
          local_28 = FUN_00028420(*(undefined4 *)(*param_1 + 0x14));
        }
        else {
          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));
          uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));
          FUN_00028470(uVar1);
          local_28 = FUN_000284b0(*(undefined4 *)(*param_1 + 0x14),uVar3,
                                  *(undefined4 *)(*param_1 + 0x10));
          FUN_00028470(uVar3);
        }
        uVar1 = FUN_000284b0(param_1[1],param_1[1],*(undefined4 *)(*param_1 + 0x10));
        uVar3 = FUN_0002f590();
        FUN_00028470(uVar1);
        uVar1 = FUN_0002f2f0();
        FUN_00028470(uVar3);
        FUN_00028470(local_28);
      }
      else {
        if (iVar4 == 0) {
          uVar1 = FUN_00028420(PTR_DAT_0006f01c);
        }
        else {
          uVar1 = FUN_000284b0(iVar4,iVar4,*(undefined4 *)(*param_1 + 0x10));
        }
        uVar3 = FUN_0002f2f0();
        uVar5 = FUN_00029f00(param_1[1],uVar1,*(undefined4 *)(*param_1 + 0x10));
        FUN_00028470(uVar1);
        uVar10 = FUN_000284b0(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));
        FUN_00028470(uVar3);
        FUN_00028470(uVar5);
        uVar1 = FUN_0002f590();
        FUN_00028470(uVar10);
      }
      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));
      uVar5 = FUN_0002f510();
      iVar4 = FUN_00029f00(uVar3,uVar5,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar3);
      FUN_00028470(uVar5);
      uVar3 = FUN_00029f00(uVar2,iVar4,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar2);
      uVar2 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar3);
      FUN_00028470(uVar1);
      uVar1 = FUN_000284b0(param_1[2],param_1[2],*(undefined4 *)(*param_1 + 0x10));
      uVar3 = FUN_000284b0(uVar1,uVar1,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar1);
      uVar1 = FUN_000297a0(8);
      uVar5 = FUN_000284b0(uVar1,uVar3,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar1);
      FUN_00028470(uVar3);
      iVar6 = FUN_00029f00(uVar2,uVar5,*(undefined4 *)(*param_1 + 0x10));
      FUN_00028470(uVar2);
      FUN_00028470(uVar5);
      if (param_1[3] == 0) {
        uVar1 = FUN_00028420(param_1[2]);
      }
      else {
        uVar1 = FUN_000284b0(param_1[2],param_1[3],*(undefined4 *)(*param_1 + 0x10));
      }
      iVar9 = FUN_0002f510();
      FUN_00028470(uVar1);
      iVar7 = *param_1;
      piVar8 = (int *)FUN_00019880(1,0x14);
      *piVar8 = iVar7;
      piVar8[1] = iVar4;
      piVar8[3] = iVar9;
      piVar8[2] = iVar6;
      *(undefined1 *)(piVar8 + 4) = 0;
      return piVar8;
    }
    iVar4 = *param_1;
    piVar11 = (int *)FUN_00019880(1,0x14);
    *piVar11 = iVar4;
  }
  else {
    piVar11 = (int *)FUN_00019880(1,0x14);
    *piVar11 = (int)piVar8;
  }
  piVar11[1] = 0;
  piVar11[2] = 0;
  piVar11[3] = 0;
  *(undefined1 *)(piVar11 + 4) = 1;
  return piVar11;
}

