
Window * __regparm3 sqlite3WindowDup(sqlite3 *db,Expr *pOwner,Window *p)

{
  Window *pWVar1;
  char *pcVar2;
  char *pcVar3;
  Expr *pEVar4;
  ExprList *pEVar5;
  ExprList *pEVar6;
  Expr *in_stack_ffffffd8;
  int in_stack_ffffffdc;
  u8 **ppuVar7;
  u64 in_stack_ffffffe4;
  
  if (p != (Window *)0x0) {
    pWVar1 = (Window *)sqlite3DbMallocZero(db,in_stack_ffffffe4);
    if (pWVar1 != (Window *)0x0) {
      pcVar2 = sqlite3DbStrDup(db,p->zName);
      pcVar3 = p->zBase;
      pWVar1->zName = pcVar2;
      ppuVar7 = (u8 **)0x533c0;
      pcVar3 = sqlite3DbStrDup(db,pcVar3);
      pWVar1->zBase = pcVar3;
      pEVar4 = p->pFilter;
      if (pEVar4 != (Expr *)0x0) {
        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);
      }
      pWVar1->pFilter = pEVar4;
      pEVar6 = p->pPartition;
      pWVar1->pFunc = p->pFunc;
      pEVar5 = sqlite3ExprListDup(db,pEVar6,0);
      pEVar6 = p->pOrderBy;
      pWVar1->pPartition = pEVar5;
      ppuVar7 = (u8 **)0x53401;
      pEVar6 = sqlite3ExprListDup(db,pEVar6,0);
      pWVar1->pOrderBy = pEVar6;
      pWVar1->eFrmType = p->eFrmType;
      pWVar1->eEnd = p->eEnd;
      pWVar1->eStart = p->eStart;
      pWVar1->eExclude = p->eExclude;
      pWVar1->regResult = p->regResult;
      pWVar1->regAccum = p->regAccum;
      pWVar1->iArgCol = p->iArgCol;
      pWVar1->iEphCsr = p->iEphCsr;
      pWVar1->bExprArgs = p->bExprArgs;
      pEVar4 = p->pStart;
      if (pEVar4 != (Expr *)0x0) {
        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);
      }
      pWVar1->pStart = pEVar4;
      pEVar4 = p->pEnd;
      if (pEVar4 != (Expr *)0x0) {
        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);
      }
      pWVar1->pEnd = pEVar4;
      pWVar1->pOwner = pOwner;
      pWVar1->bImplicitFrame = p->bImplicitFrame;
      return pWVar1;
    }
  }
  return (Window *)0x0;
}



undefined4 * __regparm3 FUN_00053380(undefined4 param_1,undefined4 param_2,int param_3)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  int iVar3;
  
  if (param_3 != 0) {
    puVar1 = (undefined4 *)FUN_0002e5b0();
    if (puVar1 != (undefined4 *)0x0) {
      uVar2 = FUN_0002eba0();
      *puVar1 = uVar2;
      uVar2 = FUN_0002eba0();
      puVar1[1] = uVar2;
      iVar3 = *(int *)(param_3 + 0x28);
      if (iVar3 != 0) {
        iVar3 = FUN_00052c60(0);
      }
      puVar1[10] = iVar3;
      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);
      uVar2 = FUN_00053100();
      puVar1[2] = uVar2;
      uVar2 = FUN_00053100();
      puVar1[3] = uVar2;
      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);
      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);
      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);
      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);
      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);
      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);
      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);
      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);
      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);
      iVar3 = *(int *)(param_3 + 0x18);
      if (iVar3 != 0) {
        iVar3 = FUN_00052c60(0);
      }
      puVar1[6] = iVar3;
      iVar3 = *(int *)(param_3 + 0x1c);
      if (iVar3 != 0) {
        iVar3 = FUN_00052c60(0);
      }
      puVar1[7] = iVar3;
      puVar1[0x12] = param_2;
      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);
      return puVar1;
    }
  }
  return (undefined4 *)0x0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
TEST ECX,ECX
JZ 0x00053490
MOV EBX,ECX
MOV EDI,EDX
XOR ECX,ECX
MOV EDX,0x64
MOV EBP,EAX
CALL 0x0002e5b0
TEST EAX,EAX
MOV ESI,EAX
JZ 0x00053490
MOV EDX,dword ptr [EBX]
MOV EAX,EBP
CALL 0x0002eba0
MOV EDX,dword ptr [EBX + 0x4]
MOV dword ptr [ESI],EAX
MOV EAX,EBP
CALL 0x0002eba0
MOV dword ptr [ESI + 0x4],EAX
MOV EAX,dword ptr [EBX + 0x28]
TEST EAX,EAX
JZ 0x000533dd
SUB ESP,0xc
MOV EDX,EAX
XOR ECX,ECX
PUSH 0x0
MOV EAX,EBP
CALL 0x00052c60
ADD ESP,0x10
MOV dword ptr [ESI + 0x28],EAX
MOV EAX,dword ptr [EBX + 0x2c]
XOR ECX,ECX
MOV EDX,dword ptr [EBX + 0x8]
MOV dword ptr [ESI + 0x2c],EAX
MOV EAX,EBP
CALL 0x00053100
MOV EDX,dword ptr [EBX + 0xc]
MOV dword ptr [ESI + 0x8],EAX
XOR ECX,ECX
MOV EAX,EBP
CALL 0x00053100
MOV dword ptr [ESI + 0xc],EAX
MOVZX EAX,byte ptr [EBX + 0x10]
MOV byte ptr [ESI + 0x10],AL
MOVZX EAX,byte ptr [EBX + 0x12]
MOV byte ptr [ESI + 0x12],AL
MOVZX EAX,byte ptr [EBX + 0x11]
MOV byte ptr [ESI + 0x11],AL
MOVZX EAX,byte ptr [EBX + 0x14]
MOV byte ptr [ESI + 0x14],AL
MOV EAX,dword ptr [EBX + 0x38]
MOV dword ptr [ESI + 0x38],EAX
MOV EAX,dword ptr [EBX + 0x34]
MOV dword ptr [ESI + 0x34],EAX
MOV EAX,dword ptr [EBX + 0x50]
MOV dword ptr [ESI + 0x50],EAX
MOV EAX,dword ptr [EBX + 0x30]
MOV dword ptr [ESI + 0x30],EAX
MOVZX EAX,byte ptr [EBX + 0x60]
MOV byte ptr [ESI + 0x60],AL
MOV EAX,dword ptr [EBX + 0x18]
TEST EAX,EAX
JZ 0x00053459
SUB ESP,0xc
MOV EDX,EAX
XOR ECX,ECX
PUSH 0x0
MOV EAX,EBP
CALL 0x00052c60
ADD ESP,0x10
MOV dword ptr [ESI + 0x18],EAX
MOV EAX,dword ptr [EBX + 0x1c]
TEST EAX,EAX
JZ 0x00053476
SUB ESP,0xc
MOV EDX,EAX
XOR ECX,ECX
PUSH 0x0
MOV EAX,EBP
CALL 0x00052c60
ADD ESP,0x10
MOV dword ptr [ESI + 0x1c],EAX
MOV dword ptr [ESI + 0x48],EDI
MOVZX EAX,byte ptr [EBX + 0x13]
MOV byte ptr [ESI + 0x13],AL
ADD ESP,0xc
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0xc
XOR ESI,ESI
POP EBX
MOV EAX,ESI
POP ESI
POP EDI
POP EBP
RET
(translation_unit "undefined4 * __regparm3 FUN_00053380(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_3 != 0) {\n    puVar1 = (undefined4 *)FUN_0002e5b0();\n    if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }\n  }\n  return (undefined4 *)0x0;\n}\n\n" (ERROR "undefined4 * __regparm3 FUN_00053380(undefined4 param_1,undefined4 param_2,int param_3)" (binary_expression "undefined4 * __regparm3 FUN_00053380(undefined4 param_1,undefined4 param_2,int param_3)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_00053380(undefined4 param_1,undefined4 param_2,int param_3)" identifier (argument_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( identifier (ERROR "param_1" identifier) , identifier (ERROR "param_2" identifier) , (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_3 != 0) {\n    puVar1 = (undefined4 *)FUN_0002e5b0();\n    if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_3 != 0) {\n    puVar1 = (undefined4 *)FUN_0002e5b0();\n    if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar1 = (undefined4 *)FUN_0002e5b0();\n    if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }\n  }" { (expression_statement "puVar1 = (undefined4 *)FUN_0002e5b0();" (assignment_expression "puVar1 = (undefined4 *)FUN_0002e5b0()" identifier = (cast_expression "(undefined4 *)FUN_0002e5b0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002e5b0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }" { (expression_statement "uVar2 = FUN_0002eba0();" (assignment_expression "uVar2 = FUN_0002eba0()" identifier = (call_expression "FUN_0002eba0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "uVar2 = FUN_0002eba0();" (assignment_expression "uVar2 = FUN_0002eba0()" identifier = (call_expression "FUN_0002eba0()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1[1] = uVar2;" (assignment_expression "puVar1[1] = uVar2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = *(int *)(param_3 + 0x28);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x28)" identifier = (pointer_expression "*(int *)(param_3 + 0x28)" * (cast_expression "(int *)(param_3 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar3 = FUN_00052c60(0);\n      }" { (expression_statement "iVar3 = FUN_00052c60(0);" (assignment_expression "iVar3 = FUN_00052c60(0)" identifier = (call_expression "FUN_00052c60(0)" identifier (argument_list "(0)" ( number_literal )))) ;) })) (expression_statement "puVar1[10] = iVar3;" (assignment_expression "puVar1[10] = iVar3" (subscript_expression "puVar1[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);" (assignment_expression "puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c)" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_3 + 0x2c)" * (cast_expression "(undefined4 *)(param_3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2c)" ( (binary_expression "param_3 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = FUN_00053100();" (assignment_expression "uVar2 = FUN_00053100()" identifier = (call_expression "FUN_00053100()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1[2] = uVar2;" (assignment_expression "puVar1[2] = uVar2" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = FUN_00053100();" (assignment_expression "uVar2 = FUN_00053100()" identifier = (call_expression "FUN_00053100()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1[3] = uVar2;" (assignment_expression "puVar1[3] = uVar2" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);" (assignment_expression "*(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10)" (pointer_expression "*(undefined1 *)(puVar1 + 4)" * (cast_expression "(undefined1 *)(puVar1 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(param_3 + 0x10)" * (cast_expression "(undefined1 *)(param_3 + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x10)" ( (binary_expression "param_3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12)" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x12)" * (cast_expression "(undefined1 *)((int)puVar1 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 0x12)" ( (binary_expression "(int)puVar1 + 0x12" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined1 *)(param_3 + 0x12)" * (cast_expression "(undefined1 *)(param_3 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x12)" ( (binary_expression "param_3 + 0x12" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11)" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x11)" * (cast_expression "(undefined1 *)((int)puVar1 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 0x11)" ( (binary_expression "(int)puVar1 + 0x11" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined1 *)(param_3 + 0x11)" * (cast_expression "(undefined1 *)(param_3 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x11)" ( (binary_expression "param_3 + 0x11" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);" (assignment_expression "*(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14)" (pointer_expression "*(undefined1 *)(puVar1 + 5)" * (cast_expression "(undefined1 *)(puVar1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 5)" ( (binary_expression "puVar1 + 5" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(param_3 + 0x14)" * (cast_expression "(undefined1 *)(param_3 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);" (assignment_expression "puVar1[0xe] = *(undefined4 *)(param_3 + 0x38)" (subscript_expression "puVar1[0xe]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_3 + 0x38)" * (cast_expression "(undefined4 *)(param_3 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);" (assignment_expression "puVar1[0xd] = *(undefined4 *)(param_3 + 0x34)" (subscript_expression "puVar1[0xd]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_3 + 0x34)" * (cast_expression "(undefined4 *)(param_3 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x34)" ( (binary_expression "param_3 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);" (assignment_expression "puVar1[0x14] = *(undefined4 *)(param_3 + 0x50)" (subscript_expression "puVar1[0x14]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_3 + 0x50)" * (cast_expression "(undefined4 *)(param_3 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);" (assignment_expression "puVar1[0xc] = *(undefined4 *)(param_3 + 0x30)" (subscript_expression "puVar1[0xc]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_3 + 0x30)" * (cast_expression "(undefined4 *)(param_3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x30)" ( (binary_expression "param_3 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);" (assignment_expression "*(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60)" (pointer_expression "*(undefined1 *)(puVar1 + 0x18)" * (cast_expression "(undefined1 *)(puVar1 + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x18)" ( (binary_expression "puVar1 + 0x18" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(param_3 + 0x60)" * (cast_expression "(undefined1 *)(param_3 + 0x60)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x60)" ( (binary_expression "param_3 + 0x60" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_3 + 0x18);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x18)" identifier = (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar3 = FUN_00052c60(0);\n      }" { (expression_statement "iVar3 = FUN_00052c60(0);" (assignment_expression "iVar3 = FUN_00052c60(0)" identifier = (call_expression "FUN_00052c60(0)" identifier (argument_list "(0)" ( number_literal )))) ;) })) (expression_statement "puVar1[6] = iVar3;" (assignment_expression "puVar1[6] = iVar3" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = *(int *)(param_3 + 0x1c);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x1c)" identifier = (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar3 = FUN_00052c60(0);\n      }" { (expression_statement "iVar3 = FUN_00052c60(0);" (assignment_expression "iVar3 = FUN_00052c60(0)" identifier = (call_expression "FUN_00052c60(0)" identifier (argument_list "(0)" ( number_literal )))) ;) })) (expression_statement "puVar1[7] = iVar3;" (assignment_expression "puVar1[7] = iVar3" (subscript_expression "puVar1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[0x12] = param_2;" (assignment_expression "puVar1[0x12] = param_2" (subscript_expression "puVar1[0x12]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13)" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x13)" * (cast_expression "(undefined1 *)((int)puVar1 + 0x13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 0x13)" ( (binary_expression "(int)puVar1 + 0x13" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined1 *)(param_3 + 0x13)" * (cast_expression "(undefined1 *)(param_3 + 0x13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x13)" ( (binary_expression "param_3 + 0x13" identifier + number_literal) ))))) ;) (return_statement "return puVar1;" return identifier ;) })) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "Window * __regparm3 sqlite3WindowDup(sqlite3 *db,Expr *pOwner,Window *p)\n\n{\n  Window *pWVar1;\n  char *pcVar2;\n  char *pcVar3;\n  Expr *pEVar4;\n  ExprList *pEVar5;\n  ExprList *pEVar6;\n  Expr *in_stack_ffffffd8;\n  int in_stack_ffffffdc;\n  u8 **ppuVar7;\n  u64 in_stack_ffffffe4;\n  \n  if (p != (Window *)0x0) {\n    pWVar1 = (Window *)sqlite3DbMallocZero(db,in_stack_ffffffe4);\n    if (pWVar1 != (Window *)0x0) {\n      pcVar2 = sqlite3DbStrDup(db,p->zName);\n      pcVar3 = p->zBase;\n      pWVar1->zName = pcVar2;\n      ppuVar7 = (u8 **)0x533c0;\n      pcVar3 = sqlite3DbStrDup(db,pcVar3);\n      pWVar1->zBase = pcVar3;\n      pEVar4 = p->pFilter;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pFilter = pEVar4;\n      pEVar6 = p->pPartition;\n      pWVar1->pFunc = p->pFunc;\n      pEVar5 = sqlite3ExprListDup(db,pEVar6,0);\n      pEVar6 = p->pOrderBy;\n      pWVar1->pPartition = pEVar5;\n      ppuVar7 = (u8 **)0x53401;\n      pEVar6 = sqlite3ExprListDup(db,pEVar6,0);\n      pWVar1->pOrderBy = pEVar6;\n      pWVar1->eFrmType = p->eFrmType;\n      pWVar1->eEnd = p->eEnd;\n      pWVar1->eStart = p->eStart;\n      pWVar1->eExclude = p->eExclude;\n      pWVar1->regResult = p->regResult;\n      pWVar1->regAccum = p->regAccum;\n      pWVar1->iArgCol = p->iArgCol;\n      pWVar1->iEphCsr = p->iEphCsr;\n      pWVar1->bExprArgs = p->bExprArgs;\n      pEVar4 = p->pStart;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pStart = pEVar4;\n      pEVar4 = p->pEnd;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pEnd = pEVar4;\n      pWVar1->pOwner = pOwner;\n      pWVar1->bImplicitFrame = p->bImplicitFrame;\n      return pWVar1;\n    }\n  }\n  return (Window *)0x0;\n}\n\n" (ERROR "Window * __regparm3 sqlite3WindowDup(sqlite3 *db,Expr *pOwner,Window *p)" (binary_expression "Window * __regparm3 sqlite3WindowDup(sqlite3 *db,Expr *pOwner,Window *p)" identifier * (ERROR "__regparm3" identifier) (call_expression "sqlite3WindowDup(sqlite3 *db,Expr *pOwner,Window *p)" identifier (argument_list "(sqlite3 *db,Expr *pOwner,Window *p)" ( (binary_expression "sqlite3 *db" identifier * identifier) , (binary_expression "Expr *pOwner" identifier * identifier) , (binary_expression "Window *p" identifier * identifier) ))))) (compound_statement "{\n  Window *pWVar1;\n  char *pcVar2;\n  char *pcVar3;\n  Expr *pEVar4;\n  ExprList *pEVar5;\n  ExprList *pEVar6;\n  Expr *in_stack_ffffffd8;\n  int in_stack_ffffffdc;\n  u8 **ppuVar7;\n  u64 in_stack_ffffffe4;\n  \n  if (p != (Window *)0x0) {\n    pWVar1 = (Window *)sqlite3DbMallocZero(db,in_stack_ffffffe4);\n    if (pWVar1 != (Window *)0x0) {\n      pcVar2 = sqlite3DbStrDup(db,p->zName);\n      pcVar3 = p->zBase;\n      pWVar1->zName = pcVar2;\n      ppuVar7 = (u8 **)0x533c0;\n      pcVar3 = sqlite3DbStrDup(db,pcVar3);\n      pWVar1->zBase = pcVar3;\n      pEVar4 = p->pFilter;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pFilter = pEVar4;\n      pEVar6 = p->pPartition;\n      pWVar1->pFunc = p->pFunc;\n      pEVar5 = sqlite3ExprListDup(db,pEVar6,0);\n      pEVar6 = p->pOrderBy;\n      pWVar1->pPartition = pEVar5;\n      ppuVar7 = (u8 **)0x53401;\n      pEVar6 = sqlite3ExprListDup(db,pEVar6,0);\n      pWVar1->pOrderBy = pEVar6;\n      pWVar1->eFrmType = p->eFrmType;\n      pWVar1->eEnd = p->eEnd;\n      pWVar1->eStart = p->eStart;\n      pWVar1->eExclude = p->eExclude;\n      pWVar1->regResult = p->regResult;\n      pWVar1->regAccum = p->regAccum;\n      pWVar1->iArgCol = p->iArgCol;\n      pWVar1->iEphCsr = p->iEphCsr;\n      pWVar1->bExprArgs = p->bExprArgs;\n      pEVar4 = p->pStart;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pStart = pEVar4;\n      pEVar4 = p->pEnd;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pEnd = pEVar4;\n      pWVar1->pOwner = pOwner;\n      pWVar1->bImplicitFrame = p->bImplicitFrame;\n      return pWVar1;\n    }\n  }\n  return (Window *)0x0;\n}" { (declaration "Window *pWVar1;" type_identifier (pointer_declarator "*pWVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "Expr *pEVar4;" type_identifier (pointer_declarator "*pEVar4" * identifier) ;) (declaration "ExprList *pEVar5;" type_identifier (pointer_declarator "*pEVar5" * identifier) ;) (declaration "ExprList *pEVar6;" type_identifier (pointer_declarator "*pEVar6" * identifier) ;) (declaration "Expr *in_stack_ffffffd8;" type_identifier (pointer_declarator "*in_stack_ffffffd8" * identifier) ;) (declaration "int in_stack_ffffffdc;" primitive_type identifier ;) (declaration "u8 **ppuVar7;" type_identifier (pointer_declarator "**ppuVar7" * (pointer_declarator "*ppuVar7" * identifier)) ;) (declaration "u64 in_stack_ffffffe4;" type_identifier identifier ;) (if_statement "if (p != (Window *)0x0) {\n    pWVar1 = (Window *)sqlite3DbMallocZero(db,in_stack_ffffffe4);\n    if (pWVar1 != (Window *)0x0) {\n      pcVar2 = sqlite3DbStrDup(db,p->zName);\n      pcVar3 = p->zBase;\n      pWVar1->zName = pcVar2;\n      ppuVar7 = (u8 **)0x533c0;\n      pcVar3 = sqlite3DbStrDup(db,pcVar3);\n      pWVar1->zBase = pcVar3;\n      pEVar4 = p->pFilter;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pFilter = pEVar4;\n      pEVar6 = p->pPartition;\n      pWVar1->pFunc = p->pFunc;\n      pEVar5 = sqlite3ExprListDup(db,pEVar6,0);\n      pEVar6 = p->pOrderBy;\n      pWVar1->pPartition = pEVar5;\n      ppuVar7 = (u8 **)0x53401;\n      pEVar6 = sqlite3ExprListDup(db,pEVar6,0);\n      pWVar1->pOrderBy = pEVar6;\n      pWVar1->eFrmType = p->eFrmType;\n      pWVar1->eEnd = p->eEnd;\n      pWVar1->eStart = p->eStart;\n      pWVar1->eExclude = p->eExclude;\n      pWVar1->regResult = p->regResult;\n      pWVar1->regAccum = p->regAccum;\n      pWVar1->iArgCol = p->iArgCol;\n      pWVar1->iEphCsr = p->iEphCsr;\n      pWVar1->bExprArgs = p->bExprArgs;\n      pEVar4 = p->pStart;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pStart = pEVar4;\n      pEVar4 = p->pEnd;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pEnd = pEVar4;\n      pWVar1->pOwner = pOwner;\n      pWVar1->bImplicitFrame = p->bImplicitFrame;\n      return pWVar1;\n    }\n  }" if (parenthesized_expression "(p != (Window *)0x0)" ( (binary_expression "p != (Window *)0x0" identifier != (cast_expression "(Window *)0x0" ( (type_descriptor "Window *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pWVar1 = (Window *)sqlite3DbMallocZero(db,in_stack_ffffffe4);\n    if (pWVar1 != (Window *)0x0) {\n      pcVar2 = sqlite3DbStrDup(db,p->zName);\n      pcVar3 = p->zBase;\n      pWVar1->zName = pcVar2;\n      ppuVar7 = (u8 **)0x533c0;\n      pcVar3 = sqlite3DbStrDup(db,pcVar3);\n      pWVar1->zBase = pcVar3;\n      pEVar4 = p->pFilter;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pFilter = pEVar4;\n      pEVar6 = p->pPartition;\n      pWVar1->pFunc = p->pFunc;\n      pEVar5 = sqlite3ExprListDup(db,pEVar6,0);\n      pEVar6 = p->pOrderBy;\n      pWVar1->pPartition = pEVar5;\n      ppuVar7 = (u8 **)0x53401;\n      pEVar6 = sqlite3ExprListDup(db,pEVar6,0);\n      pWVar1->pOrderBy = pEVar6;\n      pWVar1->eFrmType = p->eFrmType;\n      pWVar1->eEnd = p->eEnd;\n      pWVar1->eStart = p->eStart;\n      pWVar1->eExclude = p->eExclude;\n      pWVar1->regResult = p->regResult;\n      pWVar1->regAccum = p->regAccum;\n      pWVar1->iArgCol = p->iArgCol;\n      pWVar1->iEphCsr = p->iEphCsr;\n      pWVar1->bExprArgs = p->bExprArgs;\n      pEVar4 = p->pStart;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pStart = pEVar4;\n      pEVar4 = p->pEnd;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pEnd = pEVar4;\n      pWVar1->pOwner = pOwner;\n      pWVar1->bImplicitFrame = p->bImplicitFrame;\n      return pWVar1;\n    }\n  }" { (expression_statement "pWVar1 = (Window *)sqlite3DbMallocZero(db,in_stack_ffffffe4);" (assignment_expression "pWVar1 = (Window *)sqlite3DbMallocZero(db,in_stack_ffffffe4)" identifier = (cast_expression "(Window *)sqlite3DbMallocZero(db,in_stack_ffffffe4)" ( (type_descriptor "Window *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3DbMallocZero(db,in_stack_ffffffe4)" identifier (argument_list "(db,in_stack_ffffffe4)" ( identifier , identifier ))))) ;) (if_statement "if (pWVar1 != (Window *)0x0) {\n      pcVar2 = sqlite3DbStrDup(db,p->zName);\n      pcVar3 = p->zBase;\n      pWVar1->zName = pcVar2;\n      ppuVar7 = (u8 **)0x533c0;\n      pcVar3 = sqlite3DbStrDup(db,pcVar3);\n      pWVar1->zBase = pcVar3;\n      pEVar4 = p->pFilter;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pFilter = pEVar4;\n      pEVar6 = p->pPartition;\n      pWVar1->pFunc = p->pFunc;\n      pEVar5 = sqlite3ExprListDup(db,pEVar6,0);\n      pEVar6 = p->pOrderBy;\n      pWVar1->pPartition = pEVar5;\n      ppuVar7 = (u8 **)0x53401;\n      pEVar6 = sqlite3ExprListDup(db,pEVar6,0);\n      pWVar1->pOrderBy = pEVar6;\n      pWVar1->eFrmType = p->eFrmType;\n      pWVar1->eEnd = p->eEnd;\n      pWVar1->eStart = p->eStart;\n      pWVar1->eExclude = p->eExclude;\n      pWVar1->regResult = p->regResult;\n      pWVar1->regAccum = p->regAccum;\n      pWVar1->iArgCol = p->iArgCol;\n      pWVar1->iEphCsr = p->iEphCsr;\n      pWVar1->bExprArgs = p->bExprArgs;\n      pEVar4 = p->pStart;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pStart = pEVar4;\n      pEVar4 = p->pEnd;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pEnd = pEVar4;\n      pWVar1->pOwner = pOwner;\n      pWVar1->bImplicitFrame = p->bImplicitFrame;\n      return pWVar1;\n    }" if (parenthesized_expression "(pWVar1 != (Window *)0x0)" ( (binary_expression "pWVar1 != (Window *)0x0" identifier != (cast_expression "(Window *)0x0" ( (type_descriptor "Window *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar2 = sqlite3DbStrDup(db,p->zName);\n      pcVar3 = p->zBase;\n      pWVar1->zName = pcVar2;\n      ppuVar7 = (u8 **)0x533c0;\n      pcVar3 = sqlite3DbStrDup(db,pcVar3);\n      pWVar1->zBase = pcVar3;\n      pEVar4 = p->pFilter;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pFilter = pEVar4;\n      pEVar6 = p->pPartition;\n      pWVar1->pFunc = p->pFunc;\n      pEVar5 = sqlite3ExprListDup(db,pEVar6,0);\n      pEVar6 = p->pOrderBy;\n      pWVar1->pPartition = pEVar5;\n      ppuVar7 = (u8 **)0x53401;\n      pEVar6 = sqlite3ExprListDup(db,pEVar6,0);\n      pWVar1->pOrderBy = pEVar6;\n      pWVar1->eFrmType = p->eFrmType;\n      pWVar1->eEnd = p->eEnd;\n      pWVar1->eStart = p->eStart;\n      pWVar1->eExclude = p->eExclude;\n      pWVar1->regResult = p->regResult;\n      pWVar1->regAccum = p->regAccum;\n      pWVar1->iArgCol = p->iArgCol;\n      pWVar1->iEphCsr = p->iEphCsr;\n      pWVar1->bExprArgs = p->bExprArgs;\n      pEVar4 = p->pStart;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pStart = pEVar4;\n      pEVar4 = p->pEnd;\n      if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }\n      pWVar1->pEnd = pEVar4;\n      pWVar1->pOwner = pOwner;\n      pWVar1->bImplicitFrame = p->bImplicitFrame;\n      return pWVar1;\n    }" { (expression_statement "pcVar2 = sqlite3DbStrDup(db,p->zName);" (assignment_expression "pcVar2 = sqlite3DbStrDup(db,p->zName)" identifier = (call_expression "sqlite3DbStrDup(db,p->zName)" identifier (argument_list "(db,p->zName)" ( identifier , (field_expression "p->zName" identifier -> field_identifier) )))) ;) (expression_statement "pcVar3 = p->zBase;" (assignment_expression "pcVar3 = p->zBase" identifier = (field_expression "p->zBase" identifier -> field_identifier)) ;) (expression_statement "pWVar1->zName = pcVar2;" (assignment_expression "pWVar1->zName = pcVar2" (field_expression "pWVar1->zName" identifier -> field_identifier) = identifier) ;) (expression_statement "ppuVar7 = (u8 **)0x533c0;" (assignment_expression "ppuVar7 = (u8 **)0x533c0" identifier = (cast_expression "(u8 **)0x533c0" ( (type_descriptor "u8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "pcVar3 = sqlite3DbStrDup(db,pcVar3);" (assignment_expression "pcVar3 = sqlite3DbStrDup(db,pcVar3)" identifier = (call_expression "sqlite3DbStrDup(db,pcVar3)" identifier (argument_list "(db,pcVar3)" ( identifier , identifier )))) ;) (expression_statement "pWVar1->zBase = pcVar3;" (assignment_expression "pWVar1->zBase = pcVar3" (field_expression "pWVar1->zBase" identifier -> field_identifier) = identifier) ;) (expression_statement "pEVar4 = p->pFilter;" (assignment_expression "pEVar4 = p->pFilter" identifier = (field_expression "p->pFilter" identifier -> field_identifier)) ;) (if_statement "if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }" if (parenthesized_expression "(pEVar4 != (Expr *)0x0)" ( (binary_expression "pEVar4 != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }" { (expression_statement "pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);" (assignment_expression "pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7)" identifier = (call_expression "exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7)" identifier (argument_list "((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7)" ( (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , identifier , identifier )))) ;) })) (expression_statement "pWVar1->pFilter = pEVar4;" (assignment_expression "pWVar1->pFilter = pEVar4" (field_expression "pWVar1->pFilter" identifier -> field_identifier) = identifier) ;) (expression_statement "pEVar6 = p->pPartition;" (assignment_expression "pEVar6 = p->pPartition" identifier = (field_expression "p->pPartition" identifier -> field_identifier)) ;) (expression_statement "pWVar1->pFunc = p->pFunc;" (assignment_expression "pWVar1->pFunc = p->pFunc" (field_expression "pWVar1->pFunc" identifier -> field_identifier) = (field_expression "p->pFunc" identifier -> field_identifier)) ;) (expression_statement "pEVar5 = sqlite3ExprListDup(db,pEVar6,0);" (assignment_expression "pEVar5 = sqlite3ExprListDup(db,pEVar6,0)" identifier = (call_expression "sqlite3ExprListDup(db,pEVar6,0)" identifier (argument_list "(db,pEVar6,0)" ( identifier , identifier , number_literal )))) ;) (expression_statement "pEVar6 = p->pOrderBy;" (assignment_expression "pEVar6 = p->pOrderBy" identifier = (field_expression "p->pOrderBy" identifier -> field_identifier)) ;) (expression_statement "pWVar1->pPartition = pEVar5;" (assignment_expression "pWVar1->pPartition = pEVar5" (field_expression "pWVar1->pPartition" identifier -> field_identifier) = identifier) ;) (expression_statement "ppuVar7 = (u8 **)0x53401;" (assignment_expression "ppuVar7 = (u8 **)0x53401" identifier = (cast_expression "(u8 **)0x53401" ( (type_descriptor "u8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "pEVar6 = sqlite3ExprListDup(db,pEVar6,0);" (assignment_expression "pEVar6 = sqlite3ExprListDup(db,pEVar6,0)" identifier = (call_expression "sqlite3ExprListDup(db,pEVar6,0)" identifier (argument_list "(db,pEVar6,0)" ( identifier , identifier , number_literal )))) ;) (expression_statement "pWVar1->pOrderBy = pEVar6;" (assignment_expression "pWVar1->pOrderBy = pEVar6" (field_expression "pWVar1->pOrderBy" identifier -> field_identifier) = identifier) ;) (expression_statement "pWVar1->eFrmType = p->eFrmType;" (assignment_expression "pWVar1->eFrmType = p->eFrmType" (field_expression "pWVar1->eFrmType" identifier -> field_identifier) = (field_expression "p->eFrmType" identifier -> field_identifier)) ;) (expression_statement "pWVar1->eEnd = p->eEnd;" (assignment_expression "pWVar1->eEnd = p->eEnd" (field_expression "pWVar1->eEnd" identifier -> field_identifier) = (field_expression "p->eEnd" identifier -> field_identifier)) ;) (expression_statement "pWVar1->eStart = p->eStart;" (assignment_expression "pWVar1->eStart = p->eStart" (field_expression "pWVar1->eStart" identifier -> field_identifier) = (field_expression "p->eStart" identifier -> field_identifier)) ;) (expression_statement "pWVar1->eExclude = p->eExclude;" (assignment_expression "pWVar1->eExclude = p->eExclude" (field_expression "pWVar1->eExclude" identifier -> field_identifier) = (field_expression "p->eExclude" identifier -> field_identifier)) ;) (expression_statement "pWVar1->regResult = p->regResult;" (assignment_expression "pWVar1->regResult = p->regResult" (field_expression "pWVar1->regResult" identifier -> field_identifier) = (field_expression "p->regResult" identifier -> field_identifier)) ;) (expression_statement "pWVar1->regAccum = p->regAccum;" (assignment_expression "pWVar1->regAccum = p->regAccum" (field_expression "pWVar1->regAccum" identifier -> field_identifier) = (field_expression "p->regAccum" identifier -> field_identifier)) ;) (expression_statement "pWVar1->iArgCol = p->iArgCol;" (assignment_expression "pWVar1->iArgCol = p->iArgCol" (field_expression "pWVar1->iArgCol" identifier -> field_identifier) = (field_expression "p->iArgCol" identifier -> field_identifier)) ;) (expression_statement "pWVar1->iEphCsr = p->iEphCsr;" (assignment_expression "pWVar1->iEphCsr = p->iEphCsr" (field_expression "pWVar1->iEphCsr" identifier -> field_identifier) = (field_expression "p->iEphCsr" identifier -> field_identifier)) ;) (expression_statement "pWVar1->bExprArgs = p->bExprArgs;" (assignment_expression "pWVar1->bExprArgs = p->bExprArgs" (field_expression "pWVar1->bExprArgs" identifier -> field_identifier) = (field_expression "p->bExprArgs" identifier -> field_identifier)) ;) (expression_statement "pEVar4 = p->pStart;" (assignment_expression "pEVar4 = p->pStart" identifier = (field_expression "p->pStart" identifier -> field_identifier)) ;) (if_statement "if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }" if (parenthesized_expression "(pEVar4 != (Expr *)0x0)" ( (binary_expression "pEVar4 != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }" { (expression_statement "pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);" (assignment_expression "pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7)" identifier = (call_expression "exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7)" identifier (argument_list "((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7)" ( (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , identifier , identifier )))) ;) })) (expression_statement "pWVar1->pStart = pEVar4;" (assignment_expression "pWVar1->pStart = pEVar4" (field_expression "pWVar1->pStart" identifier -> field_identifier) = identifier) ;) (expression_statement "pEVar4 = p->pEnd;" (assignment_expression "pEVar4 = p->pEnd" identifier = (field_expression "p->pEnd" identifier -> field_identifier)) ;) (if_statement "if (pEVar4 != (Expr *)0x0) {\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }" if (parenthesized_expression "(pEVar4 != (Expr *)0x0)" ( (binary_expression "pEVar4 != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);\n      }" { (expression_statement "pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);" (assignment_expression "pEVar4 = exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7)" identifier = (call_expression "exprDup((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7)" identifier (argument_list "((sqlite3 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7)" ( (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , identifier , identifier )))) ;) })) (expression_statement "pWVar1->pEnd = pEVar4;" (assignment_expression "pWVar1->pEnd = pEVar4" (field_expression "pWVar1->pEnd" identifier -> field_identifier) = identifier) ;) (expression_statement "pWVar1->pOwner = pOwner;" (assignment_expression "pWVar1->pOwner = pOwner" (field_expression "pWVar1->pOwner" identifier -> field_identifier) = identifier) ;) (expression_statement "pWVar1->bImplicitFrame = p->bImplicitFrame;" (assignment_expression "pWVar1->bImplicitFrame = p->bImplicitFrame" (field_expression "pWVar1->bImplicitFrame" identifier -> field_identifier) = (field_expression "p->bImplicitFrame" identifier -> field_identifier)) ;) (return_statement "return pWVar1;" return identifier ;) })) })) (return_statement "return (Window *)0x0;" return (cast_expression "(Window *)0x0" ( (type_descriptor "Window *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "undefined4 * __regparm3 FUN_00053380(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_3 != 0) {\n    puVar1 = (undefined4 *)FUN_0002e5b0();\n    if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }\n  }\n  return (undefined4 *)0x0;\n}\n\n" (ERROR "undefined4 * __regparm3 FUN_00053380(undefined4 param_1,undefined4 param_2,int param_3)" (binary_expression "undefined4 * __regparm3 FUN_00053380(undefined4 param_1,undefined4 param_2,int param_3)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_00053380(undefined4 param_1,undefined4 param_2,int param_3)" identifier (argument_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( identifier (ERROR "param_1" identifier) , identifier (ERROR "param_2" identifier) , (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_3 != 0) {\n    puVar1 = (undefined4 *)FUN_0002e5b0();\n    if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_3 != 0) {\n    puVar1 = (undefined4 *)FUN_0002e5b0();\n    if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar1 = (undefined4 *)FUN_0002e5b0();\n    if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }\n  }" { (expression_statement "puVar1 = (undefined4 *)FUN_0002e5b0();" (assignment_expression "puVar1 = (undefined4 *)FUN_0002e5b0()" identifier = (cast_expression "(undefined4 *)FUN_0002e5b0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002e5b0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }" { (expression_statement "uVar2 = FUN_0002eba0();" (assignment_expression "uVar2 = FUN_0002eba0()" identifier = (call_expression "FUN_0002eba0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "uVar2 = FUN_0002eba0();" (assignment_expression "uVar2 = FUN_0002eba0()" identifier = (call_expression "FUN_0002eba0()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1[1] = uVar2;" (assignment_expression "puVar1[1] = uVar2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = *(int *)(param_3 + 0x28);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x28)" identifier = (pointer_expression "*(int *)(param_3 + 0x28)" * (cast_expression "(int *)(param_3 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x28)" ( (binary_expression "param_3 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar3 = FUN_00052c60(0);\n      }" { (expression_statement "iVar3 = FUN_00052c60(0);" (assignment_expression "iVar3 = FUN_00052c60(0)" identifier = (call_expression "FUN_00052c60(0)" identifier (argument_list "(0)" ( number_literal )))) ;) })) (expression_statement "puVar1[10] = iVar3;" (assignment_expression "puVar1[10] = iVar3" (subscript_expression "puVar1[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);" (assignment_expression "puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c)" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_3 + 0x2c)" * (cast_expression "(undefined4 *)(param_3 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x2c)" ( (binary_expression "param_3 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = FUN_00053100();" (assignment_expression "uVar2 = FUN_00053100()" identifier = (call_expression "FUN_00053100()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1[2] = uVar2;" (assignment_expression "puVar1[2] = uVar2" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = FUN_00053100();" (assignment_expression "uVar2 = FUN_00053100()" identifier = (call_expression "FUN_00053100()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1[3] = uVar2;" (assignment_expression "puVar1[3] = uVar2" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);" (assignment_expression "*(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10)" (pointer_expression "*(undefined1 *)(puVar1 + 4)" * (cast_expression "(undefined1 *)(puVar1 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(param_3 + 0x10)" * (cast_expression "(undefined1 *)(param_3 + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x10)" ( (binary_expression "param_3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12)" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x12)" * (cast_expression "(undefined1 *)((int)puVar1 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 0x12)" ( (binary_expression "(int)puVar1 + 0x12" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined1 *)(param_3 + 0x12)" * (cast_expression "(undefined1 *)(param_3 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x12)" ( (binary_expression "param_3 + 0x12" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11)" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x11)" * (cast_expression "(undefined1 *)((int)puVar1 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 0x11)" ( (binary_expression "(int)puVar1 + 0x11" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined1 *)(param_3 + 0x11)" * (cast_expression "(undefined1 *)(param_3 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x11)" ( (binary_expression "param_3 + 0x11" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);" (assignment_expression "*(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14)" (pointer_expression "*(undefined1 *)(puVar1 + 5)" * (cast_expression "(undefined1 *)(puVar1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 5)" ( (binary_expression "puVar1 + 5" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(param_3 + 0x14)" * (cast_expression "(undefined1 *)(param_3 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);" (assignment_expression "puVar1[0xe] = *(undefined4 *)(param_3 + 0x38)" (subscript_expression "puVar1[0xe]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_3 + 0x38)" * (cast_expression "(undefined4 *)(param_3 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);" (assignment_expression "puVar1[0xd] = *(undefined4 *)(param_3 + 0x34)" (subscript_expression "puVar1[0xd]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_3 + 0x34)" * (cast_expression "(undefined4 *)(param_3 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x34)" ( (binary_expression "param_3 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);" (assignment_expression "puVar1[0x14] = *(undefined4 *)(param_3 + 0x50)" (subscript_expression "puVar1[0x14]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_3 + 0x50)" * (cast_expression "(undefined4 *)(param_3 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x50)" ( (binary_expression "param_3 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);" (assignment_expression "puVar1[0xc] = *(undefined4 *)(param_3 + 0x30)" (subscript_expression "puVar1[0xc]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_3 + 0x30)" * (cast_expression "(undefined4 *)(param_3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x30)" ( (binary_expression "param_3 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);" (assignment_expression "*(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60)" (pointer_expression "*(undefined1 *)(puVar1 + 0x18)" * (cast_expression "(undefined1 *)(puVar1 + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x18)" ( (binary_expression "puVar1 + 0x18" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(param_3 + 0x60)" * (cast_expression "(undefined1 *)(param_3 + 0x60)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x60)" ( (binary_expression "param_3 + 0x60" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_3 + 0x18);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x18)" identifier = (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar3 = FUN_00052c60(0);\n      }" { (expression_statement "iVar3 = FUN_00052c60(0);" (assignment_expression "iVar3 = FUN_00052c60(0)" identifier = (call_expression "FUN_00052c60(0)" identifier (argument_list "(0)" ( number_literal )))) ;) })) (expression_statement "puVar1[6] = iVar3;" (assignment_expression "puVar1[6] = iVar3" (subscript_expression "puVar1[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = *(int *)(param_3 + 0x1c);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x1c)" identifier = (pointer_expression "*(int *)(param_3 + 0x1c)" * (cast_expression "(int *)(param_3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar3 = FUN_00052c60(0);\n      }" { (expression_statement "iVar3 = FUN_00052c60(0);" (assignment_expression "iVar3 = FUN_00052c60(0)" identifier = (call_expression "FUN_00052c60(0)" identifier (argument_list "(0)" ( number_literal )))) ;) })) (expression_statement "puVar1[7] = iVar3;" (assignment_expression "puVar1[7] = iVar3" (subscript_expression "puVar1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[0x12] = param_2;" (assignment_expression "puVar1[0x12] = param_2" (subscript_expression "puVar1[0x12]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13)" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x13)" * (cast_expression "(undefined1 *)((int)puVar1 + 0x13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 0x13)" ( (binary_expression "(int)puVar1 + 0x13" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined1 *)(param_3 + 0x13)" * (cast_expression "(undefined1 *)(param_3 + 0x13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x13)" ( (binary_expression "param_3 + 0x13" identifier + number_literal) ))))) ;) (return_statement "return puVar1;" return identifier ;) })) })) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit (ERROR (binary_expression IDENT * (ERROR IDENT) (call_expression IDENT (argument_list ( IDENT (ERROR IDENT) , IDENT (ERROR IDENT) , (ERROR IDENT) IDENT ))))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE 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 ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (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) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return IDENT ;) })) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) }))
(ERROR "undefined4 * __regparm3 FUN_00053380(undefined4 param_1,undefined4 param_2,int param_3)" (binary_expression "undefined4 * __regparm3 FUN_00053380(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "undefined4") (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (call_expression "FUN_00053380(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "FUN_00053380") (argument_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (identifier "undefined4") (ERROR "param_1" (identifier "param_1")) (, ",") (identifier "undefined4") (ERROR "param_2" (identifier "param_2")) (, ",") (ERROR "int" (identifier "int")) (identifier "param_3") () ")"))))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if (param_3 != 0) {\n    puVar1 = (undefined4 *)FUN_0002e5b0();\n    if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }\n  }\n  return (undefined4 *)0x0;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if (param_3 != 0) {\n    puVar1 = (undefined4 *)FUN_0002e5b0();\n    if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar1 = (undefined4 *)FUN_0002e5b0();\n    if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }\n  }" ({ "{") (expression_statement "puVar1 = (undefined4 *)FUN_0002e5b0();" (assignment_expression "puVar1 = (undefined4 *)FUN_0002e5b0()" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_0002e5b0()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0002e5b0()" (identifier "FUN_0002e5b0") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }" (if "if") (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      uVar2 = FUN_0002eba0();\n      *puVar1 = uVar2;\n      uVar2 = FUN_0002eba0();\n      puVar1[1] = uVar2;\n      iVar3 = *(int *)(param_3 + 0x28);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[10] = iVar3;\n      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);\n      uVar2 = FUN_00053100();\n      puVar1[2] = uVar2;\n      uVar2 = FUN_00053100();\n      puVar1[3] = uVar2;\n      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);\n      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);\n      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);\n      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);\n      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);\n      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);\n      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);\n      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);\n      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);\n      iVar3 = *(int *)(param_3 + 0x18);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[6] = iVar3;\n      iVar3 = *(int *)(param_3 + 0x1c);\n      if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }\n      puVar1[7] = iVar3;\n      puVar1[0x12] = param_2;\n      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);\n      return puVar1;\n    }" ({ "{") (expression_statement "uVar2 = FUN_0002eba0();" (assignment_expression "uVar2 = FUN_0002eba0()" (identifier "uVar2") (= "=") (call_expression "FUN_0002eba0()" (identifier "FUN_0002eba0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = FUN_0002eba0();" (assignment_expression "uVar2 = FUN_0002eba0()" (identifier "uVar2") (= "=") (call_expression "FUN_0002eba0()" (identifier "FUN_0002eba0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar1[1] = uVar2;" (assignment_expression "puVar1[1] = uVar2" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "iVar3 = *(int *)(param_3 + 0x28);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x28)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_3 + 0x28)" (* "*") (cast_expression "(int *)(param_3 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x28)" (( "(") (binary_expression "param_3 + 0x28" (identifier "param_3") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar3 = FUN_00052c60(0);\n      }" ({ "{") (expression_statement "iVar3 = FUN_00052c60(0);" (assignment_expression "iVar3 = FUN_00052c60(0)" (identifier "iVar3") (= "=") (call_expression "FUN_00052c60(0)" (identifier "FUN_00052c60") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (} "}"))) (expression_statement "puVar1[10] = iVar3;" (assignment_expression "puVar1[10] = iVar3" (subscript_expression "puVar1[10]" (identifier "puVar1") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);" (assignment_expression "puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c)" (subscript_expression "puVar1[0xb]" (identifier "puVar1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_3 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x2c)" (( "(") (binary_expression "param_3 + 0x2c" (identifier "param_3") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "uVar2 = FUN_00053100();" (assignment_expression "uVar2 = FUN_00053100()" (identifier "uVar2") (= "=") (call_expression "FUN_00053100()" (identifier "FUN_00053100") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar1[2] = uVar2;" (assignment_expression "puVar1[2] = uVar2" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = FUN_00053100();" (assignment_expression "uVar2 = FUN_00053100()" (identifier "uVar2") (= "=") (call_expression "FUN_00053100()" (identifier "FUN_00053100") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar1[3] = uVar2;" (assignment_expression "puVar1[3] = uVar2" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);" (assignment_expression "*(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10)" (pointer_expression "*(undefined1 *)(puVar1 + 4)" (* "*") (cast_expression "(undefined1 *)(puVar1 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 4)" (( "(") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(param_3 + 0x10)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x10)" (( "(") (binary_expression "param_3 + 0x10" (identifier "param_3") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12)" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x12)" (* "*") (cast_expression "(undefined1 *)((int)puVar1 + 0x12)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + 0x12)" (( "(") (binary_expression "(int)puVar1 + 0x12" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (number_literal "0x12")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(param_3 + 0x12)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x12)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x12)" (( "(") (binary_expression "param_3 + 0x12" (identifier "param_3") (+ "+") (number_literal "0x12")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11)" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x11)" (* "*") (cast_expression "(undefined1 *)((int)puVar1 + 0x11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + 0x11)" (( "(") (binary_expression "(int)puVar1 + 0x11" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (number_literal "0x11")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(param_3 + 0x11)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x11)" (( "(") (binary_expression "param_3 + 0x11" (identifier "param_3") (+ "+") (number_literal "0x11")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);" (assignment_expression "*(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14)" (pointer_expression "*(undefined1 *)(puVar1 + 5)" (* "*") (cast_expression "(undefined1 *)(puVar1 + 5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 5)" (( "(") (binary_expression "puVar1 + 5" (identifier "puVar1") (+ "+") (number_literal "5")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(param_3 + 0x14)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x14)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);" (assignment_expression "puVar1[0xe] = *(undefined4 *)(param_3 + 0x38)" (subscript_expression "puVar1[0xe]" (identifier "puVar1") ([ "[") (number_literal "0xe") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_3 + 0x38)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x38)" (( "(") (binary_expression "param_3 + 0x38" (identifier "param_3") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);" (assignment_expression "puVar1[0xd] = *(undefined4 *)(param_3 + 0x34)" (subscript_expression "puVar1[0xd]" (identifier "puVar1") ([ "[") (number_literal "0xd") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_3 + 0x34)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x34)" (( "(") (binary_expression "param_3 + 0x34" (identifier "param_3") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);" (assignment_expression "puVar1[0x14] = *(undefined4 *)(param_3 + 0x50)" (subscript_expression "puVar1[0x14]" (identifier "puVar1") ([ "[") (number_literal "0x14") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_3 + 0x50)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x50)" (( "(") (binary_expression "param_3 + 0x50" (identifier "param_3") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);" (assignment_expression "puVar1[0xc] = *(undefined4 *)(param_3 + 0x30)" (subscript_expression "puVar1[0xc]" (identifier "puVar1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_3 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x30)" (( "(") (binary_expression "param_3 + 0x30" (identifier "param_3") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);" (assignment_expression "*(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60)" (pointer_expression "*(undefined1 *)(puVar1 + 0x18)" (* "*") (cast_expression "(undefined1 *)(puVar1 + 0x18)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x18)" (( "(") (binary_expression "puVar1 + 0x18" (identifier "puVar1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(param_3 + 0x60)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x60)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x60)" (( "(") (binary_expression "param_3 + 0x60" (identifier "param_3") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(param_3 + 0x18);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x18)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar3 = FUN_00052c60(0);\n      }" ({ "{") (expression_statement "iVar3 = FUN_00052c60(0);" (assignment_expression "iVar3 = FUN_00052c60(0)" (identifier "iVar3") (= "=") (call_expression "FUN_00052c60(0)" (identifier "FUN_00052c60") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (} "}"))) (expression_statement "puVar1[6] = iVar3;" (assignment_expression "puVar1[6] = iVar3" (subscript_expression "puVar1[6]" (identifier "puVar1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar3 = *(int *)(param_3 + 0x1c);" (assignment_expression "iVar3 = *(int *)(param_3 + 0x1c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_3 + 0x1c)" (* "*") (cast_expression "(int *)(param_3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n        iVar3 = FUN_00052c60(0);\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar3 = FUN_00052c60(0);\n      }" ({ "{") (expression_statement "iVar3 = FUN_00052c60(0);" (assignment_expression "iVar3 = FUN_00052c60(0)" (identifier "iVar3") (= "=") (call_expression "FUN_00052c60(0)" (identifier "FUN_00052c60") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (} "}"))) (expression_statement "puVar1[7] = iVar3;" (assignment_expression "puVar1[7] = iVar3" (subscript_expression "puVar1[7]" (identifier "puVar1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "puVar1[0x12] = param_2;" (assignment_expression "puVar1[0x12] = param_2" (subscript_expression "puVar1[0x12]" (identifier "puVar1") ([ "[") (number_literal "0x12") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13)" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x13)" (* "*") (cast_expression "(undefined1 *)((int)puVar1 + 0x13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + 0x13)" (( "(") (binary_expression "(int)puVar1 + 0x13" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (number_literal "0x13")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(param_3 + 0x13)" (* "*") (cast_expression "(undefined1 *)(param_3 + 0x13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x13)" (( "(") (binary_expression "param_3 + 0x13" (identifier "param_3") (+ "+") (number_literal "0x13")) () ")"))))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (} "}"))) (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))

type_1 * __regparm3 sqlite3WindowDup(type_6 *db,type_2 *pOwner,type_1 *var_1)

{
  type_1 *var_3;
  char *pcVar2;
  char *pcVar3;
  type_2 *var_5;
  type_3 *pEVar5;
  type_3 *pEVar6;
  type_2 *in_stack_ffffffd8;
  int in_stack_ffffffdc;
  type_4 **ppuVar7;
  type_5 in_stack_ffffffe4;
  
  if (var_1 != (type_1 *)0x0) {
    var_3 = (type_1 *)var_2(db,in_stack_ffffffe4);
    if (var_3 != (type_1 *)0x0) {
      pcVar2 = var_4(db,var_1->zName);
      pcVar3 = var_1->zBase;
      var_3->zName = pcVar2;
      ppuVar7 = (type_4 **)0x533c0;
      pcVar3 = var_4(db,pcVar3);
      var_3->zBase = pcVar3;
      var_5 = var_1->pFilter;
      if (var_5 != (type_2 *)0x0) {
        var_5 = var_6((type_6 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);
      }
      var_3->pFilter = var_5;
      pEVar6 = var_1->pPartition;
      var_3->pFunc = var_1->pFunc;
      pEVar5 = var_7(db,pEVar6,0);
      pEVar6 = var_1->pOrderBy;
      var_3->pPartition = pEVar5;
      ppuVar7 = (type_4 **)0x53401;
      pEVar6 = var_7(db,pEVar6,0);
      var_3->pOrderBy = pEVar6;
      var_3->eFrmType = var_1->eFrmType;
      var_3->eEnd = var_1->eEnd;
      var_3->eStart = var_1->eStart;
      var_3->eExclude = var_1->eExclude;
      var_3->regResult = var_1->regResult;
      var_3->regAccum = var_1->regAccum;
      var_3->iArgCol = var_1->iArgCol;
      var_3->iEphCsr = var_1->iEphCsr;
      var_3->bExprArgs = var_1->bExprArgs;
      var_5 = var_1->pStart;
      if (var_5 != (type_2 *)0x0) {
        var_5 = var_6((type_6 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);
      }
      var_3->pStart = var_5;
      var_5 = var_1->pEnd;
      if (var_5 != (type_2 *)0x0) {
        var_5 = var_6((type_6 *)0x0,in_stack_ffffffd8,in_stack_ffffffdc,ppuVar7);
      }
      var_3->pEnd = var_5;
      var_3->pOwner = pOwner;
      var_3->bImplicitFrame = var_1->bImplicitFrame;
      return var_3;
    }
  }
  return (type_1 *)0x0;
}


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

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

{
  undefined4 *puVar1;
  undefined4 uVar2;
  int iVar3;
  
  if (param_3 != 0) {
    puVar1 = (undefined4 *)FUN_0002e5b0();
    if (puVar1 != (undefined4 *)0x0) {
      uVar2 = FUN_0002eba0();
      *puVar1 = uVar2;
      uVar2 = FUN_0002eba0();
      puVar1[1] = uVar2;
      iVar3 = *(int *)(param_3 + 0x28);
      if (iVar3 != 0) {
        iVar3 = FUN_00052c60(0);
      }
      puVar1[10] = iVar3;
      puVar1[0xb] = *(undefined4 *)(param_3 + 0x2c);
      uVar2 = FUN_00053100();
      puVar1[2] = uVar2;
      uVar2 = FUN_00053100();
      puVar1[3] = uVar2;
      *(undefined1 *)(puVar1 + 4) = *(undefined1 *)(param_3 + 0x10);
      *(undefined1 *)((int)puVar1 + 0x12) = *(undefined1 *)(param_3 + 0x12);
      *(undefined1 *)((int)puVar1 + 0x11) = *(undefined1 *)(param_3 + 0x11);
      *(undefined1 *)(puVar1 + 5) = *(undefined1 *)(param_3 + 0x14);
      puVar1[0xe] = *(undefined4 *)(param_3 + 0x38);
      puVar1[0xd] = *(undefined4 *)(param_3 + 0x34);
      puVar1[0x14] = *(undefined4 *)(param_3 + 0x50);
      puVar1[0xc] = *(undefined4 *)(param_3 + 0x30);
      *(undefined1 *)(puVar1 + 0x18) = *(undefined1 *)(param_3 + 0x60);
      iVar3 = *(int *)(param_3 + 0x18);
      if (iVar3 != 0) {
        iVar3 = FUN_00052c60(0);
      }
      puVar1[6] = iVar3;
      iVar3 = *(int *)(param_3 + 0x1c);
      if (iVar3 != 0) {
        iVar3 = FUN_00052c60(0);
      }
      puVar1[7] = iVar3;
      puVar1[0x12] = param_2;
      *(undefined1 *)((int)puVar1 + 0x13) = *(undefined1 *)(param_3 + 0x13);
      return puVar1;
    }
  }
  return (undefined4 *)0x0;
}

