
Vdbe * sqlite3VdbeCreate(Parse *pParse)

{
  sqlite3 *db;
  Vdbe *p;
  Vdbe *pVVar1;
  ulong uVar2;
  undefined8 *puVar3;
  byte bVar4;
  
  bVar4 = 0;
  db = pParse->db;
  if (db->mallocFailed == '\0') {
    p = (Vdbe *)dbMallocRawFinish(db,0x128);
    if (p != (Vdbe *)0x0) {
      p->aOp = (Op *)0x0;
      p->pAuxData = (AuxData *)0x0;
      puVar3 = (undefined8 *)((ulong)&p->nOp & 0xfffffffffffffff8);
      uVar2 = (ulong)(((int)p - (int)puVar3) + 0x128U >> 3);
      for (; uVar2 != 0; uVar2 = uVar2 - 1) {
        *puVar3 = 0;
        puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;
      }
      p->db = db;
      pVVar1 = db->pVdbe;
      if (pVVar1 != (Vdbe *)0x0) {
        pVVar1->pPrev = p;
        pVVar1 = db->pVdbe;
      }
      p->pNext = pVVar1;
      p->pPrev = (Vdbe *)0x0;
      db->pVdbe = p;
      p->pParse = pParse;
      p->magic = 0x16bceaa5;
      pParse->pVdbe = p;
      sqlite3VdbeAddOp3(p,0x3d,0,1,0);
      return p;
    }
  }
  return (Vdbe *)0x0;
}



long * FUN_0013b6f0(long *param_1)

{
  long lVar1;
  long *plVar2;
  long lVar3;
  ulong uVar4;
  undefined8 *puVar5;
  byte bVar6;
  
  bVar6 = 0;
  lVar1 = *param_1;
  if (*(char *)(lVar1 + 0x61) == '\0') {
    plVar2 = (long *)FUN_0011b880(lVar1,0x128);
    if (plVar2 != (long *)0x0) {
      plVar2[0x11] = 0;
      plVar2[0x24] = 0;
      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);
      for (uVar4 = (ulong)(((int)plVar2 -
                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +
                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {
        *puVar5 = 0;
        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;
      }
      *plVar2 = lVar1;
      lVar3 = *(long *)(lVar1 + 8);
      if (lVar3 != 0) {
        *(long **)(lVar3 + 8) = plVar2;
        lVar3 = *(long *)(lVar1 + 8);
      }
      plVar2[2] = lVar3;
      plVar2[1] = 0;
      *(long **)(lVar1 + 8) = plVar2;
      plVar2[3] = (long)param_1;
      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;
      param_1[2] = (long)plVar2;
      FUN_0013b690(plVar2,0x3d,0,1,0);
      return plVar2;
    }
  }
  return (long *)0x0;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBP,qword ptr [RDI]
CMP byte ptr [RBP + 0x61],0x0
JNZ 0x0013b7a8
MOV R12,RDI
MOV ESI,0x128
MOV RDI,RBP
CALL 0x0011b880
MOV RBX,RAX
TEST RAX,RAX
JZ 0x0013b7a8
LEA RDI,[RAX + 0x90]
MOV qword ptr [RAX + 0x88],0x0
MOV qword ptr [RAX + 0x120],0x0
AND RDI,-0x8
SUB EAX,EDI
LEA ECX,[RAX + 0x128]
XOR EAX,EAX
SHR ECX,0x3
STOSQ.REP RDI
MOV qword ptr [RBX],RBP
MOV RAX,qword ptr [RBP + 0x8]
TEST RAX,RAX
JZ 0x0013b762
MOV qword ptr [RAX + 0x8],RBX
MOV RAX,qword ptr [RBP + 0x8]
MOV qword ptr [RBX + 0x10],RAX
MOV RDI,RBX
XOR R8D,R8D
MOV ECX,0x1
MOV qword ptr [RBX + 0x8],0x0
XOR EDX,EDX
MOV ESI,0x3d
MOV qword ptr [RBP + 0x8],RBX
MOV qword ptr [RBX + 0x18],R12
MOV dword ptr [RBX + 0x24],0x16bceaa5
MOV qword ptr [R12 + 0x10],RBX
CALL 0x0013b690
MOV RAX,RBX
POP RBX
POP RBP
POP R12
RET
XOR EBX,EBX
MOV RAX,RBX
POP RBX
POP RBP
POP R12
RET
(translation_unit "long * FUN_0013b6f0(long *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 *puVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  lVar1 = *param_1;\n  if (*(char *)(lVar1 + 0x61) == '\0') {\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }\n  return (long *)0x0;\n}\n\n" (function_definition "long * FUN_0013b6f0(long *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 *puVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  lVar1 = *param_1;\n  if (*(char *)(lVar1 + 0x61) == '\0') {\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }\n  return (long *)0x0;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_0013b6f0(long *param_1)" * (function_declarator "FUN_0013b6f0(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 *puVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  lVar1 = *param_1;\n  if (*(char *)(lVar1 + 0x61) == '\0') {\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }\n  return (long *)0x0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "byte bVar6;" type_identifier identifier ;) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(char *)(lVar1 + 0x61) == '\0') {\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }" if (parenthesized_expression "(*(char *)(lVar1 + 0x61) == '\0')" ( (binary_expression "*(char *)(lVar1 + 0x61) == '\0'" (pointer_expression "*(char *)(lVar1 + 0x61)" * (cast_expression "(char *)(lVar1 + 0x61)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x61)" ( (binary_expression "lVar1 + 0x61" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }" { (expression_statement "plVar2 = (long *)FUN_0011b880(lVar1,0x128);" (assignment_expression "plVar2 = (long *)FUN_0011b880(lVar1,0x128)" identifier = (cast_expression "(long *)FUN_0011b880(lVar1,0x128)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0011b880(lVar1,0x128)" identifier (argument_list "(lVar1,0x128)" ( identifier , number_literal ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }" { (expression_statement "plVar2[0x11] = 0;" (assignment_expression "plVar2[0x11] = 0" (subscript_expression "plVar2[0x11]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar2[0x24] = 0;" (assignment_expression "plVar2[0x24] = 0" (subscript_expression "plVar2[0x24]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);" (assignment_expression "puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(plVar2 + 0x12) & 0xfffffffffffffff8" (call_expression "(ulong)(plVar2 + 0x12)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(plVar2 + 0x12)" ( (binary_expression "plVar2 + 0x12" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }" for ( (assignment_expression "uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3)" identifier = (call_expression "(ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3)" ( (binary_expression "((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3" (binary_expression "((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U" (parenthesized_expression "((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8))" ( (binary_expression "(int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" (cast_expression "(int)plVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(plVar2 + 0x12) & 0xfffffffffffffff8" (call_expression "(ulong)(plVar2 + 0x12)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(plVar2 + 0x12)" ( (binary_expression "plVar2 + 0x12" identifier + number_literal) ))) & number_literal) ))))) )) + number_literal) >> number_literal) )))) ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }" { (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (ulong)bVar6 * -2 + 1" identifier = (binary_expression "puVar5 + (ulong)bVar6 * -2 + 1" (binary_expression "puVar5 + (ulong)bVar6 * -2" identifier + (binary_expression "(ulong)bVar6 * -2" (cast_expression "(ulong)bVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "*plVar2 = lVar1;" (assignment_expression "*plVar2 = lVar1" (pointer_expression "*plVar2" * identifier) = identifier) ;) (expression_statement "lVar3 = *(long *)(lVar1 + 8);" (assignment_expression "lVar3 = *(long *)(lVar1 + 8)" identifier = (pointer_expression "*(long *)(lVar1 + 8)" * (cast_expression "(long *)(lVar1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }" { (expression_statement "*(long **)(lVar3 + 8) = plVar2;" (assignment_expression "*(long **)(lVar3 + 8) = plVar2" (pointer_expression "*(long **)(lVar3 + 8)" * (cast_expression "(long **)(lVar3 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 8)" ( (binary_expression "lVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar3 = *(long *)(lVar1 + 8);" (assignment_expression "lVar3 = *(long *)(lVar1 + 8)" identifier = (pointer_expression "*(long *)(lVar1 + 8)" * (cast_expression "(long *)(lVar1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) ))))) ;) })) (expression_statement "plVar2[2] = lVar3;" (assignment_expression "plVar2[2] = lVar3" (subscript_expression "plVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "plVar2[1] = 0;" (assignment_expression "plVar2[1] = 0" (subscript_expression "plVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(long **)(lVar1 + 8) = plVar2;" (assignment_expression "*(long **)(lVar1 + 8) = plVar2" (pointer_expression "*(long **)(lVar1 + 8)" * (cast_expression "(long **)(lVar1 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "plVar2[3] = (long)param_1;" (assignment_expression "plVar2[3] = (long)param_1" (subscript_expression "plVar2[3]" identifier [ number_literal ]) = (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "*(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;" (assignment_expression "*(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5" (pointer_expression "*(undefined4 *)((long)plVar2 + 0x24)" * (cast_expression "(undefined4 *)((long)plVar2 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar2 + 0x24)" ( (binary_expression "(long)plVar2 + 0x24" (cast_expression "(long)plVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "param_1[2] = (long)plVar2;" (assignment_expression "param_1[2] = (long)plVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)plVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "FUN_0013b690(plVar2,0x3d,0,1,0);" (call_expression "FUN_0013b690(plVar2,0x3d,0,1,0)" identifier (argument_list "(plVar2,0x3d,0,1,0)" ( identifier , number_literal , number_literal , number_literal , number_literal ))) ;) (return_statement "return plVar2;" return identifier ;) })) })) (return_statement "return (long *)0x0;" return (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "Vdbe * sqlite3VdbeCreate(Parse *pParse)\n\n{\n  sqlite3 *db;\n  Vdbe *p;\n  Vdbe *pVVar1;\n  ulong uVar2;\n  undefined8 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  db = pParse->db;\n  if (db->mallocFailed == '\0') {\n    p = (Vdbe *)dbMallocRawFinish(db,0x128);\n    if (p != (Vdbe *)0x0) {\n      p->aOp = (Op *)0x0;\n      p->pAuxData = (AuxData *)0x0;\n      puVar3 = (undefined8 *)((ulong)&p->nOp & 0xfffffffffffffff8);\n      uVar2 = (ulong)(((int)p - (int)puVar3) + 0x128U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar3 = 0;\n        puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;\n      }\n      p->db = db;\n      pVVar1 = db->pVdbe;\n      if (pVVar1 != (Vdbe *)0x0) {\n        pVVar1->pPrev = p;\n        pVVar1 = db->pVdbe;\n      }\n      p->pNext = pVVar1;\n      p->pPrev = (Vdbe *)0x0;\n      db->pVdbe = p;\n      p->pParse = pParse;\n      p->magic = 0x16bceaa5;\n      pParse->pVdbe = p;\n      sqlite3VdbeAddOp3(p,0x3d,0,1,0);\n      return p;\n    }\n  }\n  return (Vdbe *)0x0;\n}\n\n" (function_definition "Vdbe * sqlite3VdbeCreate(Parse *pParse)\n\n{\n  sqlite3 *db;\n  Vdbe *p;\n  Vdbe *pVVar1;\n  ulong uVar2;\n  undefined8 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  db = pParse->db;\n  if (db->mallocFailed == '\0') {\n    p = (Vdbe *)dbMallocRawFinish(db,0x128);\n    if (p != (Vdbe *)0x0) {\n      p->aOp = (Op *)0x0;\n      p->pAuxData = (AuxData *)0x0;\n      puVar3 = (undefined8 *)((ulong)&p->nOp & 0xfffffffffffffff8);\n      uVar2 = (ulong)(((int)p - (int)puVar3) + 0x128U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar3 = 0;\n        puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;\n      }\n      p->db = db;\n      pVVar1 = db->pVdbe;\n      if (pVVar1 != (Vdbe *)0x0) {\n        pVVar1->pPrev = p;\n        pVVar1 = db->pVdbe;\n      }\n      p->pNext = pVVar1;\n      p->pPrev = (Vdbe *)0x0;\n      db->pVdbe = p;\n      p->pParse = pParse;\n      p->magic = 0x16bceaa5;\n      pParse->pVdbe = p;\n      sqlite3VdbeAddOp3(p,0x3d,0,1,0);\n      return p;\n    }\n  }\n  return (Vdbe *)0x0;\n}" type_identifier (pointer_declarator "* sqlite3VdbeCreate(Parse *pParse)" * (function_declarator "sqlite3VdbeCreate(Parse *pParse)" identifier (parameter_list "(Parse *pParse)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) )))) (compound_statement "{\n  sqlite3 *db;\n  Vdbe *p;\n  Vdbe *pVVar1;\n  ulong uVar2;\n  undefined8 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  db = pParse->db;\n  if (db->mallocFailed == '\0') {\n    p = (Vdbe *)dbMallocRawFinish(db,0x128);\n    if (p != (Vdbe *)0x0) {\n      p->aOp = (Op *)0x0;\n      p->pAuxData = (AuxData *)0x0;\n      puVar3 = (undefined8 *)((ulong)&p->nOp & 0xfffffffffffffff8);\n      uVar2 = (ulong)(((int)p - (int)puVar3) + 0x128U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar3 = 0;\n        puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;\n      }\n      p->db = db;\n      pVVar1 = db->pVdbe;\n      if (pVVar1 != (Vdbe *)0x0) {\n        pVVar1->pPrev = p;\n        pVVar1 = db->pVdbe;\n      }\n      p->pNext = pVVar1;\n      p->pPrev = (Vdbe *)0x0;\n      db->pVdbe = p;\n      p->pParse = pParse;\n      p->magic = 0x16bceaa5;\n      pParse->pVdbe = p;\n      sqlite3VdbeAddOp3(p,0x3d,0,1,0);\n      return p;\n    }\n  }\n  return (Vdbe *)0x0;\n}" { (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "Vdbe *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "Vdbe *pVVar1;" type_identifier (pointer_declarator "*pVVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "db = pParse->db;" (assignment_expression "db = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (if_statement "if (db->mallocFailed == '\0') {\n    p = (Vdbe *)dbMallocRawFinish(db,0x128);\n    if (p != (Vdbe *)0x0) {\n      p->aOp = (Op *)0x0;\n      p->pAuxData = (AuxData *)0x0;\n      puVar3 = (undefined8 *)((ulong)&p->nOp & 0xfffffffffffffff8);\n      uVar2 = (ulong)(((int)p - (int)puVar3) + 0x128U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar3 = 0;\n        puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;\n      }\n      p->db = db;\n      pVVar1 = db->pVdbe;\n      if (pVVar1 != (Vdbe *)0x0) {\n        pVVar1->pPrev = p;\n        pVVar1 = db->pVdbe;\n      }\n      p->pNext = pVVar1;\n      p->pPrev = (Vdbe *)0x0;\n      db->pVdbe = p;\n      p->pParse = pParse;\n      p->magic = 0x16bceaa5;\n      pParse->pVdbe = p;\n      sqlite3VdbeAddOp3(p,0x3d,0,1,0);\n      return p;\n    }\n  }" if (parenthesized_expression "(db->mallocFailed == '\0')" ( (binary_expression "db->mallocFailed == '\0'" (field_expression "db->mallocFailed" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    p = (Vdbe *)dbMallocRawFinish(db,0x128);\n    if (p != (Vdbe *)0x0) {\n      p->aOp = (Op *)0x0;\n      p->pAuxData = (AuxData *)0x0;\n      puVar3 = (undefined8 *)((ulong)&p->nOp & 0xfffffffffffffff8);\n      uVar2 = (ulong)(((int)p - (int)puVar3) + 0x128U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar3 = 0;\n        puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;\n      }\n      p->db = db;\n      pVVar1 = db->pVdbe;\n      if (pVVar1 != (Vdbe *)0x0) {\n        pVVar1->pPrev = p;\n        pVVar1 = db->pVdbe;\n      }\n      p->pNext = pVVar1;\n      p->pPrev = (Vdbe *)0x0;\n      db->pVdbe = p;\n      p->pParse = pParse;\n      p->magic = 0x16bceaa5;\n      pParse->pVdbe = p;\n      sqlite3VdbeAddOp3(p,0x3d,0,1,0);\n      return p;\n    }\n  }" { (expression_statement "p = (Vdbe *)dbMallocRawFinish(db,0x128);" (assignment_expression "p = (Vdbe *)dbMallocRawFinish(db,0x128)" identifier = (cast_expression "(Vdbe *)dbMallocRawFinish(db,0x128)" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dbMallocRawFinish(db,0x128)" identifier (argument_list "(db,0x128)" ( identifier , number_literal ))))) ;) (if_statement "if (p != (Vdbe *)0x0) {\n      p->aOp = (Op *)0x0;\n      p->pAuxData = (AuxData *)0x0;\n      puVar3 = (undefined8 *)((ulong)&p->nOp & 0xfffffffffffffff8);\n      uVar2 = (ulong)(((int)p - (int)puVar3) + 0x128U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar3 = 0;\n        puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;\n      }\n      p->db = db;\n      pVVar1 = db->pVdbe;\n      if (pVVar1 != (Vdbe *)0x0) {\n        pVVar1->pPrev = p;\n        pVVar1 = db->pVdbe;\n      }\n      p->pNext = pVVar1;\n      p->pPrev = (Vdbe *)0x0;\n      db->pVdbe = p;\n      p->pParse = pParse;\n      p->magic = 0x16bceaa5;\n      pParse->pVdbe = p;\n      sqlite3VdbeAddOp3(p,0x3d,0,1,0);\n      return p;\n    }" if (parenthesized_expression "(p != (Vdbe *)0x0)" ( (binary_expression "p != (Vdbe *)0x0" identifier != (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      p->aOp = (Op *)0x0;\n      p->pAuxData = (AuxData *)0x0;\n      puVar3 = (undefined8 *)((ulong)&p->nOp & 0xfffffffffffffff8);\n      uVar2 = (ulong)(((int)p - (int)puVar3) + 0x128U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar3 = 0;\n        puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;\n      }\n      p->db = db;\n      pVVar1 = db->pVdbe;\n      if (pVVar1 != (Vdbe *)0x0) {\n        pVVar1->pPrev = p;\n        pVVar1 = db->pVdbe;\n      }\n      p->pNext = pVVar1;\n      p->pPrev = (Vdbe *)0x0;\n      db->pVdbe = p;\n      p->pParse = pParse;\n      p->magic = 0x16bceaa5;\n      pParse->pVdbe = p;\n      sqlite3VdbeAddOp3(p,0x3d,0,1,0);\n      return p;\n    }" { (expression_statement "p->aOp = (Op *)0x0;" (assignment_expression "p->aOp = (Op *)0x0" (field_expression "p->aOp" identifier -> field_identifier) = (cast_expression "(Op *)0x0" ( (type_descriptor "Op *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "p->pAuxData = (AuxData *)0x0;" (assignment_expression "p->pAuxData = (AuxData *)0x0" (field_expression "p->pAuxData" identifier -> field_identifier) = (cast_expression "(AuxData *)0x0" ( (type_descriptor "AuxData *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar3 = (undefined8 *)((ulong)&p->nOp & 0xfffffffffffffff8);" (assignment_expression "puVar3 = (undefined8 *)((ulong)&p->nOp & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)&p->nOp & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)&p->nOp & 0xfffffffffffffff8)" ( (binary_expression "(ulong)&p->nOp & 0xfffffffffffffff8" (binary_expression "(ulong)&p->nOp" (parenthesized_expression "(ulong)" ( identifier )) & (field_expression "p->nOp" identifier -> field_identifier)) & number_literal) )))) ;) (expression_statement "uVar2 = (ulong)(((int)p - (int)puVar3) + 0x128U >> 3);" (assignment_expression "uVar2 = (ulong)(((int)p - (int)puVar3) + 0x128U >> 3)" identifier = (call_expression "(ulong)(((int)p - (int)puVar3) + 0x128U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)p - (int)puVar3) + 0x128U >> 3)" ( (binary_expression "((int)p - (int)puVar3) + 0x128U >> 3" (binary_expression "((int)p - (int)puVar3) + 0x128U" (parenthesized_expression "((int)p - (int)puVar3)" ( (binary_expression "(int)p - (int)puVar3" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal) >> number_literal) )))) ;) (for_statement "for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar3 = 0;\n        puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;\n      }" for ( ; (binary_expression "uVar2 != 0" identifier != number_literal) ; (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ) (compound_statement "{\n        *puVar3 = 0;\n        puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;\n      }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + (ulong)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (ulong)bVar4 * -2 + 1" identifier = (binary_expression "puVar3 + (ulong)bVar4 * -2 + 1" (binary_expression "puVar3 + (ulong)bVar4 * -2" identifier + (binary_expression "(ulong)bVar4 * -2" (cast_expression "(ulong)bVar4" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "p->db = db;" (assignment_expression "p->db = db" (field_expression "p->db" identifier -> field_identifier) = identifier) ;) (expression_statement "pVVar1 = db->pVdbe;" (assignment_expression "pVVar1 = db->pVdbe" identifier = (field_expression "db->pVdbe" identifier -> field_identifier)) ;) (if_statement "if (pVVar1 != (Vdbe *)0x0) {\n        pVVar1->pPrev = p;\n        pVVar1 = db->pVdbe;\n      }" if (parenthesized_expression "(pVVar1 != (Vdbe *)0x0)" ( (binary_expression "pVVar1 != (Vdbe *)0x0" identifier != (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pVVar1->pPrev = p;\n        pVVar1 = db->pVdbe;\n      }" { (expression_statement "pVVar1->pPrev = p;" (assignment_expression "pVVar1->pPrev = p" (field_expression "pVVar1->pPrev" identifier -> field_identifier) = identifier) ;) (expression_statement "pVVar1 = db->pVdbe;" (assignment_expression "pVVar1 = db->pVdbe" identifier = (field_expression "db->pVdbe" identifier -> field_identifier)) ;) })) (expression_statement "p->pNext = pVVar1;" (assignment_expression "p->pNext = pVVar1" (field_expression "p->pNext" identifier -> field_identifier) = identifier) ;) (expression_statement "p->pPrev = (Vdbe *)0x0;" (assignment_expression "p->pPrev = (Vdbe *)0x0" (field_expression "p->pPrev" identifier -> field_identifier) = (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "db->pVdbe = p;" (assignment_expression "db->pVdbe = p" (field_expression "db->pVdbe" identifier -> field_identifier) = identifier) ;) (expression_statement "p->pParse = pParse;" (assignment_expression "p->pParse = pParse" (field_expression "p->pParse" identifier -> field_identifier) = identifier) ;) (expression_statement "p->magic = 0x16bceaa5;" (assignment_expression "p->magic = 0x16bceaa5" (field_expression "p->magic" identifier -> field_identifier) = number_literal) ;) (expression_statement "pParse->pVdbe = p;" (assignment_expression "pParse->pVdbe = p" (field_expression "pParse->pVdbe" identifier -> field_identifier) = identifier) ;) (expression_statement "sqlite3VdbeAddOp3(p,0x3d,0,1,0);" (call_expression "sqlite3VdbeAddOp3(p,0x3d,0,1,0)" identifier (argument_list "(p,0x3d,0,1,0)" ( identifier , number_literal , number_literal , number_literal , number_literal ))) ;) (return_statement "return p;" return identifier ;) })) })) (return_statement "return (Vdbe *)0x0;" return (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "long * FUN_0013b6f0(long *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 *puVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  lVar1 = *param_1;\n  if (*(char *)(lVar1 + 0x61) == '\0') {\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }\n  return (long *)0x0;\n}\n\n" (function_definition "long * FUN_0013b6f0(long *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 *puVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  lVar1 = *param_1;\n  if (*(char *)(lVar1 + 0x61) == '\0') {\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }\n  return (long *)0x0;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_0013b6f0(long *param_1)" * (function_declarator "FUN_0013b6f0(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 *puVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  lVar1 = *param_1;\n  if (*(char *)(lVar1 + 0x61) == '\0') {\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }\n  return (long *)0x0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "byte bVar6;" type_identifier identifier ;) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(char *)(lVar1 + 0x61) == '\0') {\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }" if (parenthesized_expression "(*(char *)(lVar1 + 0x61) == '\0')" ( (binary_expression "*(char *)(lVar1 + 0x61) == '\0'" (pointer_expression "*(char *)(lVar1 + 0x61)" * (cast_expression "(char *)(lVar1 + 0x61)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x61)" ( (binary_expression "lVar1 + 0x61" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }" { (expression_statement "plVar2 = (long *)FUN_0011b880(lVar1,0x128);" (assignment_expression "plVar2 = (long *)FUN_0011b880(lVar1,0x128)" identifier = (cast_expression "(long *)FUN_0011b880(lVar1,0x128)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0011b880(lVar1,0x128)" identifier (argument_list "(lVar1,0x128)" ( identifier , number_literal ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }" { (expression_statement "plVar2[0x11] = 0;" (assignment_expression "plVar2[0x11] = 0" (subscript_expression "plVar2[0x11]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar2[0x24] = 0;" (assignment_expression "plVar2[0x24] = 0" (subscript_expression "plVar2[0x24]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);" (assignment_expression "puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(plVar2 + 0x12) & 0xfffffffffffffff8" (call_expression "(ulong)(plVar2 + 0x12)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(plVar2 + 0x12)" ( (binary_expression "plVar2 + 0x12" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }" for ( (assignment_expression "uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3)" identifier = (call_expression "(ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3)" ( (binary_expression "((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3" (binary_expression "((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U" (parenthesized_expression "((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8))" ( (binary_expression "(int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" (cast_expression "(int)plVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(plVar2 + 0x12) & 0xfffffffffffffff8" (call_expression "(ulong)(plVar2 + 0x12)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(plVar2 + 0x12)" ( (binary_expression "plVar2 + 0x12" identifier + number_literal) ))) & number_literal) ))))) )) + number_literal) >> number_literal) )))) ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }" { (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (ulong)bVar6 * -2 + 1" identifier = (binary_expression "puVar5 + (ulong)bVar6 * -2 + 1" (binary_expression "puVar5 + (ulong)bVar6 * -2" identifier + (binary_expression "(ulong)bVar6 * -2" (cast_expression "(ulong)bVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "*plVar2 = lVar1;" (assignment_expression "*plVar2 = lVar1" (pointer_expression "*plVar2" * identifier) = identifier) ;) (expression_statement "lVar3 = *(long *)(lVar1 + 8);" (assignment_expression "lVar3 = *(long *)(lVar1 + 8)" identifier = (pointer_expression "*(long *)(lVar1 + 8)" * (cast_expression "(long *)(lVar1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }" { (expression_statement "*(long **)(lVar3 + 8) = plVar2;" (assignment_expression "*(long **)(lVar3 + 8) = plVar2" (pointer_expression "*(long **)(lVar3 + 8)" * (cast_expression "(long **)(lVar3 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 8)" ( (binary_expression "lVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar3 = *(long *)(lVar1 + 8);" (assignment_expression "lVar3 = *(long *)(lVar1 + 8)" identifier = (pointer_expression "*(long *)(lVar1 + 8)" * (cast_expression "(long *)(lVar1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) ))))) ;) })) (expression_statement "plVar2[2] = lVar3;" (assignment_expression "plVar2[2] = lVar3" (subscript_expression "plVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "plVar2[1] = 0;" (assignment_expression "plVar2[1] = 0" (subscript_expression "plVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(long **)(lVar1 + 8) = plVar2;" (assignment_expression "*(long **)(lVar1 + 8) = plVar2" (pointer_expression "*(long **)(lVar1 + 8)" * (cast_expression "(long **)(lVar1 + 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "plVar2[3] = (long)param_1;" (assignment_expression "plVar2[3] = (long)param_1" (subscript_expression "plVar2[3]" identifier [ number_literal ]) = (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "*(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;" (assignment_expression "*(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5" (pointer_expression "*(undefined4 *)((long)plVar2 + 0x24)" * (cast_expression "(undefined4 *)((long)plVar2 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar2 + 0x24)" ( (binary_expression "(long)plVar2 + 0x24" (cast_expression "(long)plVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "param_1[2] = (long)plVar2;" (assignment_expression "param_1[2] = (long)plVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)plVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "FUN_0013b690(plVar2,0x3d,0,1,0);" (call_expression "FUN_0013b690(plVar2,0x3d,0,1,0)" identifier (argument_list "(plVar2,0x3d,0,1,0)" ( identifier , number_literal , number_literal , number_literal , number_literal ))) ;) (return_statement "return plVar2;" return identifier ;) })) })) (return_statement "return (long *)0x0;" return (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) )))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) ))))) )) + LIT) >> LIT) )))) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT , LIT ))) ;) (return_statement return IDENT ;) })) })) (return_statement return (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT) ;) })))
(function_definition "long * FUN_0013b6f0(long *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 *puVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  lVar1 = *param_1;\n  if (*(char *)(lVar1 + 0x61) == '\0') {\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }\n  return (long *)0x0;\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* FUN_0013b6f0(long *param_1)" (* "*") (function_declarator "FUN_0013b6f0(long *param_1)" (identifier "FUN_0013b6f0") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  undefined8 *puVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  lVar1 = *param_1;\n  if (*(char *)(lVar1 + 0x61) == '\0') {\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }\n  return (long *)0x0;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "undefined8 *puVar5;" (type_identifier "undefined8") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "byte bVar6;" (type_identifier "byte") (identifier "bVar6") (; ";")) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" (identifier "bVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" (identifier "lVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (*(char *)(lVar1 + 0x61) == '\0') {\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)(lVar1 + 0x61) == '\0')" (( "(") (binary_expression "*(char *)(lVar1 + 0x61) == '\0'" (pointer_expression "*(char *)(lVar1 + 0x61)" (* "*") (cast_expression "(char *)(lVar1 + 0x61)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x61)" (( "(") (binary_expression "lVar1 + 0x61" (identifier "lVar1") (+ "+") (number_literal "0x61")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    plVar2 = (long *)FUN_0011b880(lVar1,0x128);\n    if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }\n  }" ({ "{") (expression_statement "plVar2 = (long *)FUN_0011b880(lVar1,0x128);" (assignment_expression "plVar2 = (long *)FUN_0011b880(lVar1,0x128)" (identifier "plVar2") (= "=") (cast_expression "(long *)FUN_0011b880(lVar1,0x128)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0011b880(lVar1,0x128)" (identifier "FUN_0011b880") (argument_list "(lVar1,0x128)" (( "(") (identifier "lVar1") (, ",") (number_literal "0x128") () ")"))))) (; ";")) (if_statement "if (plVar2 != (long *)0x0) {\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }" (if "if") (parenthesized_expression "(plVar2 != (long *)0x0)" (( "(") (binary_expression "plVar2 != (long *)0x0" (identifier "plVar2") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      plVar2[0x11] = 0;\n      plVar2[0x24] = 0;\n      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);\n      for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }\n      *plVar2 = lVar1;\n      lVar3 = *(long *)(lVar1 + 8);\n      if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }\n      plVar2[2] = lVar3;\n      plVar2[1] = 0;\n      *(long **)(lVar1 + 8) = plVar2;\n      plVar2[3] = (long)param_1;\n      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;\n      param_1[2] = (long)plVar2;\n      FUN_0013b690(plVar2,0x3d,0,1,0);\n      return plVar2;\n    }" ({ "{") (expression_statement "plVar2[0x11] = 0;" (assignment_expression "plVar2[0x11] = 0" (subscript_expression "plVar2[0x11]" (identifier "plVar2") ([ "[") (number_literal "0x11") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar2[0x24] = 0;" (assignment_expression "plVar2[0x24] = 0" (subscript_expression "plVar2[0x24]" (identifier "plVar2") ([ "[") (number_literal "0x24") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);" (assignment_expression "puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" (identifier "puVar5") (= "=") (cast_expression "(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" (( "(") (binary_expression "(ulong)(plVar2 + 0x12) & 0xfffffffffffffff8" (call_expression "(ulong)(plVar2 + 0x12)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(plVar2 + 0x12)" (( "(") (binary_expression "plVar2 + 0x12" (identifier "plVar2") (+ "+") (number_literal "0x12")) () ")"))) (& "&") (number_literal "0xfffffffffffffff8")) () ")")))) (; ";")) (for_statement "for (uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }" (for "for") (( "(") (assignment_expression "uVar4 = (ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3)" (identifier "uVar4") (= "=") (call_expression "(ulong)(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3)" (( "(") (binary_expression "((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U >> 3" (binary_expression "((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +\n                           0x128U" (parenthesized_expression "((int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8))" (( "(") (binary_expression "(int)plVar2 -\n                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" (cast_expression "(int)plVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "plVar2")) (- "-") (cast_expression "(int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)" (( "(") (binary_expression "(ulong)(plVar2 + 0x12) & 0xfffffffffffffff8" (call_expression "(ulong)(plVar2 + 0x12)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(plVar2 + 0x12)" (( "(") (binary_expression "plVar2 + 0x12" (identifier "plVar2") (+ "+") (number_literal "0x12")) () ")"))) (& "&") (number_literal "0xfffffffffffffff8")) () ")"))))) () ")")) (+ "+") (number_literal "0x128U")) (>> ">>") (number_literal "3")) () ")")))) (; ";") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar4 = uVar4 - 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 - 1" (identifier "uVar4") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n        *puVar5 = 0;\n        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;\n      }" ({ "{") (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;" (assignment_expression "puVar5 = puVar5 + (ulong)bVar6 * -2 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + (ulong)bVar6 * -2 + 1" (binary_expression "puVar5 + (ulong)bVar6 * -2" (identifier "puVar5") (+ "+") (binary_expression "(ulong)bVar6 * -2" (cast_expression "(ulong)bVar6" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar6")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*plVar2 = lVar1;" (assignment_expression "*plVar2 = lVar1" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (= "=") (identifier "lVar1")) (; ";")) (expression_statement "lVar3 = *(long *)(lVar1 + 8);" (assignment_expression "lVar3 = *(long *)(lVar1 + 8)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(lVar1 + 8)" (* "*") (cast_expression "(long *)(lVar1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 8)" (( "(") (binary_expression "lVar1 + 8" (identifier "lVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (lVar3 != 0) {\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }" (if "if") (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        *(long **)(lVar3 + 8) = plVar2;\n        lVar3 = *(long *)(lVar1 + 8);\n      }" ({ "{") (expression_statement "*(long **)(lVar3 + 8) = plVar2;" (assignment_expression "*(long **)(lVar3 + 8) = plVar2" (pointer_expression "*(long **)(lVar3 + 8)" (* "*") (cast_expression "(long **)(lVar3 + 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar3 + 8)" (( "(") (binary_expression "lVar3 + 8" (identifier "lVar3") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "plVar2")) (; ";")) (expression_statement "lVar3 = *(long *)(lVar1 + 8);" (assignment_expression "lVar3 = *(long *)(lVar1 + 8)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(lVar1 + 8)" (* "*") (cast_expression "(long *)(lVar1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 8)" (( "(") (binary_expression "lVar1 + 8" (identifier "lVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (expression_statement "plVar2[2] = lVar3;" (assignment_expression "plVar2[2] = lVar3" (subscript_expression "plVar2[2]" (identifier "plVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "lVar3")) (; ";")) (expression_statement "plVar2[1] = 0;" (assignment_expression "plVar2[1] = 0" (subscript_expression "plVar2[1]" (identifier "plVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(long **)(lVar1 + 8) = plVar2;" (assignment_expression "*(long **)(lVar1 + 8) = plVar2" (pointer_expression "*(long **)(lVar1 + 8)" (* "*") (cast_expression "(long **)(lVar1 + 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 8)" (( "(") (binary_expression "lVar1 + 8" (identifier "lVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "plVar2")) (; ";")) (expression_statement "plVar2[3] = (long)param_1;" (assignment_expression "plVar2[3] = (long)param_1" (subscript_expression "plVar2[3]" (identifier "plVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1"))) (; ";")) (expression_statement "*(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;" (assignment_expression "*(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5" (pointer_expression "*(undefined4 *)((long)plVar2 + 0x24)" (* "*") (cast_expression "(undefined4 *)((long)plVar2 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)plVar2 + 0x24)" (( "(") (binary_expression "(long)plVar2 + 0x24" (cast_expression "(long)plVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar2")) (+ "+") (number_literal "0x24")) () ")")))) (= "=") (number_literal "0x16bceaa5")) (; ";")) (expression_statement "param_1[2] = (long)plVar2;" (assignment_expression "param_1[2] = (long)plVar2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(long)plVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar2"))) (; ";")) (expression_statement "FUN_0013b690(plVar2,0x3d,0,1,0);" (call_expression "FUN_0013b690(plVar2,0x3d,0,1,0)" (identifier "FUN_0013b690") (argument_list "(plVar2,0x3d,0,1,0)" (( "(") (identifier "plVar2") (, ",") (number_literal "0x3d") (, ",") (number_literal "0") (, ",") (number_literal "1") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return plVar2;" (return "return") (identifier "plVar2") (; ";")) (} "}"))) (} "}"))) (return_statement "return (long *)0x0;" (return "return") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))

type_1 * function_1(type_2 *pParse)

{
  type_3 *db;
  type_1 *var_2;
  type_1 *var_5;
  type_4 var_3;
  type_5 *var_4;
  type_6 bVar4;
  
  bVar4 = 0;
  db = pParse->db;
  if (db->mallocFailed == '\0') {
    var_2 = (type_1 *)var_1(db,0x128);
    if (var_2 != (type_1 *)0x0) {
      var_2->aOp = (type_7 *)0x0;
      var_2->pAuxData = (type_8 *)0x0;
      var_4 = (type_5 *)((type_4)&var_2->nOp & 0xfffffffffffffff8);
      var_3 = (type_4)(((int)var_2 - (int)var_4) + 0x128U >> 3);
      for (; var_3 != 0; var_3 = var_3 - 1) {
        *var_4 = 0;
        var_4 = var_4 + (type_4)bVar4 * -2 + 1;
      }
      var_2->db = db;
      var_5 = db->pVdbe;
      if (var_5 != (type_1 *)0x0) {
        var_5->pPrev = var_2;
        var_5 = db->pVdbe;
      }
      var_2->pNext = var_5;
      var_2->pPrev = (type_1 *)0x0;
      db->pVdbe = var_2;
      var_2->pParse = pParse;
      var_2->magic = 0x16bceaa5;
      pParse->pVdbe = var_2;
      var_6(var_2,0x3d,0,1,0);
      return var_2;
    }
  }
  return (type_1 *)0x0;
}


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

long * MASKED(long *param_1)

{
  long lVar1;
  long *plVar2;
  long lVar3;
  ulong uVar4;
  undefined8 *puVar5;
  byte bVar6;
  
  bVar6 = 0;
  lVar1 = *param_1;
  if (*(char *)(lVar1 + 0x61) == '\0') {
    plVar2 = (long *)FUN_0011b880(lVar1,0x128);
    if (plVar2 != (long *)0x0) {
      plVar2[0x11] = 0;
      plVar2[0x24] = 0;
      puVar5 = (undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8);
      for (uVar4 = (ulong)(((int)plVar2 -
                           (int)(undefined8 *)((ulong)(plVar2 + 0x12) & 0xfffffffffffffff8)) +
                           0x128U >> 3); uVar4 != 0; uVar4 = uVar4 - 1) {
        *puVar5 = 0;
        puVar5 = puVar5 + (ulong)bVar6 * -2 + 1;
      }
      *plVar2 = lVar1;
      lVar3 = *(long *)(lVar1 + 8);
      if (lVar3 != 0) {
        *(long **)(lVar3 + 8) = plVar2;
        lVar3 = *(long *)(lVar1 + 8);
      }
      plVar2[2] = lVar3;
      plVar2[1] = 0;
      *(long **)(lVar1 + 8) = plVar2;
      plVar2[3] = (long)param_1;
      *(undefined4 *)((long)plVar2 + 0x24) = 0x16bceaa5;
      param_1[2] = (long)plVar2;
      FUN_0013b690(plVar2,0x3d,0,1,0);
      return plVar2;
    }
  }
  return (long *)0x0;
}

