
int newDatabase(BtShared *pBt)

{
  u8 uVar1;
  undefined2 uVar2;
  undefined *puVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  u8 *puVar8;
  MemPage *pMVar9;
  
  pMVar9 = pBt->pPage1;
  puVar8 = pMVar9->aData;
  iVar4 = sqlite3PagerWrite(pMVar9->pDbPage);
  puVar3 = PTR_memset_00190d58;
  if (iVar4 == 0) {
    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);
    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);
    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);
    *(undefined4 *)puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);
    *(undefined4 *)(puVar8 + 4) = uVar7;
    *(undefined4 *)(puVar8 + 8) = uVar6;
    *(undefined4 *)(puVar8 + 0xc) = uVar5;
    puVar8[0x10] = (u8)(pBt->pageSize >> 8);
    uVar2 = *(undefined2 *)&pBt->pageSize;
    puVar8[0x12] = '\x01';
    puVar8[0x13] = '\x01';
    puVar8[0x11] = (u8)uVar2;
    puVar8[0x14] = (char)pBt->pageSize - (char)pBt->usableSize;
    puVar8[0x16] = ' ';
    puVar8[0x17] = ' ';
    puVar8[0x15] = '@';
    (*(code *)puVar3)(puVar8 + 0x18,0,0x4c);
    (*(code *)(PTR_LAB_00190bdc + -0x3030))(pMVar9,0xd);
    uVar1 = pBt->autoVacuum;
    pBt->btsFlags = pBt->btsFlags | 2;
    puVar8[0x34] = '\0';
    puVar8[0x35] = '\0';
    puVar8[0x36] = '\0';
    puVar8[0x37] = uVar1;
    uVar1 = pBt->incrVacuum;
    puVar8[0x40] = '\0';
    puVar8[0x41] = '\0';
    puVar8[0x42] = '\0';
    puVar8[0x43] = uVar1;
    pBt->nPage = 1;
    puVar8[0x1f] = '\x01';
  }
  return iVar4;
}



int FUN_000c77cc(int param_1)

{
  undefined1 uVar1;
  undefined2 uVar2;
  undefined *puVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  undefined4 *puVar8;
  int iVar9;
  
  iVar9 = *(int *)(param_1 + 0xc);
  puVar8 = *(undefined4 **)(iVar9 + 0x38);
  iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));
  puVar3 = PTR_memset_00190d58;
  if (iVar4 == 0) {
    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);
    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);
    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);
    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);
    puVar8[1] = uVar7;
    puVar8[2] = uVar6;
    puVar8[3] = uVar5;
    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);
    uVar2 = *(undefined2 *)(param_1 + 0x20);
    *(undefined1 *)((int)puVar8 + 0x12) = 1;
    *(undefined1 *)((int)puVar8 + 0x13) = 1;
    *(char *)((int)puVar8 + 0x11) = (char)uVar2;
    *(char *)(puVar8 + 5) =
         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);
    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;
    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;
    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;
    (*(code *)puVar3)(puVar8 + 6,0,0x4c);
    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);
    uVar1 = *(undefined1 *)(param_1 + 0x11);
    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;
    *(undefined1 *)(puVar8 + 0xd) = 0;
    *(undefined1 *)((int)puVar8 + 0x35) = 0;
    *(undefined1 *)((int)puVar8 + 0x36) = 0;
    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;
    uVar1 = *(undefined1 *)(param_1 + 0x12);
    *(undefined1 *)(puVar8 + 0x10) = 0;
    *(undefined1 *)((int)puVar8 + 0x41) = 0;
    *(undefined1 *)((int)puVar8 + 0x42) = 0;
    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;
    *(undefined4 *)(param_1 + 0x2c) = 1;
    *(undefined1 *)((int)puVar8 + 0x1f) = 1;
  }
  return iVar4;
}


lui gp,0xd
addiu gp,gp,0x1154
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7d54(gp)
sw gp,0x10(sp)
addiu t9,t9,0x3260
sw s3,0x28(sp)
sw s1,0x20(sp)
or s1,a0,zero
sw ra,0x2c(sp)
sw s2,0x24(sp)
sw s0,0x1c(sp)
lw s2,0xc(a0)
lw a0,0x48(s2)
bal 0x000c3260
_lw s0,0x38(s2)
lw gp,0x10(sp)
bne v0,zero,0x000c7904
_or s3,v0,zero
lw a0,-0x7d8c(gp)
li a3,0x1
li v1,0x20
lw t9,-0x7bc8(gp)
li a2,0x4c
addiu v0,a0,-0x3eec
lw t2,-0x3eec(a0)
or a1,zero,zero
addiu a0,s0,0x18
lw t1,0x4(v0)
lw t0,0x8(v0)
lw v0,0xc(v0)
swl t2,0x0(s0)
swr t2,0x3(s0)
swl t1,0x4(s0)
swr t1,0x7(s0)
swl t0,0x8(s0)
swr t0,0xb(s0)
swl v0,0xc(s0)
swr v0,0xf(s0)
lw v0,0x20(s1)
srl v0,v0,0x8
sb v0,0x10(s0)
lhu v0,0x20(s1)
sb a3,0x12(s0)
sb a3,0x13(s0)
sb v0,0x11(s0)
lw a3,0x24(s1)
lw v0,0x20(s1)
subu v0,v0,a3
sb v0,0x14(s0)
li v0,0x40
sb v1,0x16(s0)
sb v1,0x17(s0)
jalr t9
_sb v0,0x15(s0)
li a1,0xd
lw gp,0x10(sp)
lw t9,-0x7d44(gp)
addiu t9,t9,-0x3030
jalr t9
_or a0,s2,zero
li v1,0x1
lhu v0,0x16(s1)
lbu a0,0x11(s1)
ori v0,v0,0x2
sh v0,0x16(s1)
sb zero,0x34(s0)
sb zero,0x35(s0)
sb zero,0x36(s0)
sb a0,0x37(s0)
lbu v0,0x12(s1)
sb zero,0x40(s0)
sb zero,0x41(s0)
sb zero,0x42(s0)
sb v0,0x43(s0)
sw v1,0x2c(s1)
sb v1,0x1f(s0)
lw ra,0x2c(sp)
or v0,s3,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "int FUN_000c77cc(int param_1)\n\n{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar9 = *(int *)(param_1 + 0xc);\n  puVar8 = *(undefined4 **)(iVar9 + 0x38);\n  iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));\n  puVar3 = PTR_memset_00190d58;\n  if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }\n  return iVar4;\n}\n\n" (function_definition "int FUN_000c77cc(int param_1)\n\n{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar9 = *(int *)(param_1 + 0xc);\n  puVar8 = *(undefined4 **)(iVar9 + 0x38);\n  iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));\n  puVar3 = PTR_memset_00190d58;\n  if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }\n  return iVar4;\n}" primitive_type (function_declarator "FUN_000c77cc(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar9 = *(int *)(param_1 + 0xc);\n  puVar8 = *(undefined4 **)(iVar9 + 0x38);\n  iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));\n  puVar3 = PTR_memset_00190d58;\n  if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }\n  return iVar4;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined2 uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "iVar9 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar9 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "puVar8 = *(undefined4 **)(iVar9 + 0x38);" (assignment_expression "puVar8 = *(undefined4 **)(iVar9 + 0x38)" identifier = (pointer_expression "*(undefined4 **)(iVar9 + 0x38)" * (cast_expression "(undefined4 **)(iVar9 + 0x38)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0x38)" ( (binary_expression "iVar9 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));" (assignment_expression "iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48))" identifier = (call_expression "FUN_000c3260(*(undefined4 *)(iVar9 + 0x48))" identifier (argument_list "(*(undefined4 *)(iVar9 + 0x48))" ( (pointer_expression "*(undefined4 *)(iVar9 + 0x48)" * (cast_expression "(undefined4 *)(iVar9 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x48)" ( (binary_expression "iVar9 + 0x48" identifier + number_literal) )))) )))) ;) (expression_statement "puVar3 = PTR_memset_00190d58;" (assignment_expression "puVar3 = PTR_memset_00190d58" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }" { (expression_statement "uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);" (assignment_expression "uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8)" * (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190b94 + -0x3ee8)" ( (binary_expression "PTR_DAT_00190b94 + -0x3ee8" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);" (assignment_expression "uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4)" * (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190b94 + -0x3ee4)" ( (binary_expression "PTR_DAT_00190b94 + -0x3ee4" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);" (assignment_expression "uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0)" * (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190b94 + -0x3ee0)" ( (binary_expression "PTR_DAT_00190b94 + -0x3ee0" identifier + number_literal) ))))) ;) (expression_statement "*puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);" (assignment_expression "*puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec)" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3eec)" * (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3eec)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190b94 + -0x3eec)" ( (binary_expression "PTR_DAT_00190b94 + -0x3eec" identifier + number_literal) ))))) ;) (expression_statement "puVar8[1] = uVar7;" (assignment_expression "puVar8[1] = uVar7" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar8[2] = uVar6;" (assignment_expression "puVar8[2] = uVar6" (subscript_expression "puVar8[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar8[3] = uVar5;" (assignment_expression "puVar8[3] = uVar5" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);" (assignment_expression "*(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8)" (pointer_expression "*(char *)(puVar8 + 4)" * (cast_expression "(char *)(puVar8 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 4)" ( (binary_expression "puVar8 + 4" identifier + number_literal) )))) = (cast_expression "(char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)*(undefined4 *)(param_1 + 0x20) >> 8)" ( (binary_expression "(uint)*(undefined4 *)(param_1 + 0x20) >> 8" (binary_expression "(uint)*(undefined4 *)(param_1 + 0x20)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) >> number_literal) )))) ;) (expression_statement "uVar2 = *(undefined2 *)(param_1 + 0x20);" (assignment_expression "uVar2 = *(undefined2 *)(param_1 + 0x20)" identifier = (pointer_expression "*(undefined2 *)(param_1 + 0x20)" * (cast_expression "(undefined2 *)(param_1 + 0x20)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x12) = 1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x12) = 1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x12)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x12)" ( (binary_expression "(int)puVar8 + 0x12" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x13) = 1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x13) = 1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x13)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x13)" ( (binary_expression "(int)puVar8 + 0x13" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(char *)((int)puVar8 + 0x11) = (char)uVar2;" (assignment_expression "*(char *)((int)puVar8 + 0x11) = (char)uVar2" (pointer_expression "*(char *)((int)puVar8 + 0x11)" * (cast_expression "(char *)((int)puVar8 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x11)" ( (binary_expression "(int)puVar8 + 0x11" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)uVar2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);" (assignment_expression "*(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24)" (pointer_expression "*(char *)(puVar8 + 5)" * (cast_expression "(char *)(puVar8 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 5)" ( (binary_expression "puVar8 + 5" identifier + number_literal) )))) = (binary_expression "(char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24)" (cast_expression "(char)*(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) - (cast_expression "(char)*(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))))) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x16) = 0x20;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x16) = 0x20" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x16)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x16)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x16)" ( (binary_expression "(int)puVar8 + 0x16" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x17) = 0x20;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x17) = 0x20" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x17)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x17)" ( (binary_expression "(int)puVar8 + 0x17" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x15) = 0x40;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x15) = 0x40" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x15)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x15)" ( (binary_expression "(int)puVar8 + 0x15" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar3)(puVar8 + 6,0,0x4c);" (call_expression "(*(code *)puVar3)(puVar8 + 6,0,0x4c)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8 + 6,0,0x4c)" ( (binary_expression "puVar8 + 6" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "(*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);" (call_expression "(*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + -0x3030))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + -0x3030)" * (cast_expression "(code *)(PTR_LAB_00190bdc + -0x3030)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + -0x3030)" ( (binary_expression "PTR_LAB_00190bdc + -0x3030" identifier + number_literal) )))) )) (argument_list "(iVar9,0xd)" ( identifier , number_literal ))) ;) (expression_statement "uVar1 = *(undefined1 *)(param_1 + 0x11);" (assignment_expression "uVar1 = *(undefined1 *)(param_1 + 0x11)" identifier = (pointer_expression "*(undefined1 *)(param_1 + 0x11)" * (cast_expression "(undefined1 *)(param_1 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x11)" ( (binary_expression "param_1 + 0x11" identifier + number_literal) ))))) ;) (expression_statement "*(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;" (assignment_expression "*(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2" (pointer_expression "*(ushort *)(param_1 + 0x16)" * (cast_expression "(ushort *)(param_1 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x16)" ( (binary_expression "param_1 + 0x16" identifier + number_literal) )))) = (binary_expression "*(ushort *)(param_1 + 0x16) | 2" (pointer_expression "*(ushort *)(param_1 + 0x16)" * (cast_expression "(ushort *)(param_1 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x16)" ( (binary_expression "param_1 + 0x16" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(undefined1 *)(puVar8 + 0xd) = 0;" (assignment_expression "*(undefined1 *)(puVar8 + 0xd) = 0" (pointer_expression "*(undefined1 *)(puVar8 + 0xd)" * (cast_expression "(undefined1 *)(puVar8 + 0xd)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xd)" ( (binary_expression "puVar8 + 0xd" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x35) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x35) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x35)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x35)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x35)" ( (binary_expression "(int)puVar8 + 0x35" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x36) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x36) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x36)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x36)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x36)" ( (binary_expression "(int)puVar8 + 0x36" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x37) = uVar1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x37) = uVar1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x37)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x37)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x37)" ( (binary_expression "(int)puVar8 + 0x37" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined1 *)(param_1 + 0x12);" (assignment_expression "uVar1 = *(undefined1 *)(param_1 + 0x12)" identifier = (pointer_expression "*(undefined1 *)(param_1 + 0x12)" * (cast_expression "(undefined1 *)(param_1 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x12)" ( (binary_expression "param_1 + 0x12" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(puVar8 + 0x10) = 0;" (assignment_expression "*(undefined1 *)(puVar8 + 0x10) = 0" (pointer_expression "*(undefined1 *)(puVar8 + 0x10)" * (cast_expression "(undefined1 *)(puVar8 + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x10)" ( (binary_expression "puVar8 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x41) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x41) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x41)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x41)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x41)" ( (binary_expression "(int)puVar8 + 0x41" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x42) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x42) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x42)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x42)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x42)" ( (binary_expression "(int)puVar8 + 0x42" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x43) = uVar1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x43) = uVar1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x43)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x43)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x43)" ( (binary_expression "(int)puVar8 + 0x43" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x2c) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x2c) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x1f) = 1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x1f) = 1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x1f)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x1f)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x1f)" ( (binary_expression "(int)puVar8 + 0x1f" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "int newDatabase(BtShared *pBt)\n\n{\n  u8 uVar1;\n  undefined2 uVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  u8 *puVar8;\n  MemPage *pMVar9;\n  \n  pMVar9 = pBt->pPage1;\n  puVar8 = pMVar9->aData;\n  iVar4 = sqlite3PagerWrite(pMVar9->pDbPage);\n  puVar3 = PTR_memset_00190d58;\n  if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *(undefined4 *)puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    *(undefined4 *)(puVar8 + 4) = uVar7;\n    *(undefined4 *)(puVar8 + 8) = uVar6;\n    *(undefined4 *)(puVar8 + 0xc) = uVar5;\n    puVar8[0x10] = (u8)(pBt->pageSize >> 8);\n    uVar2 = *(undefined2 *)&pBt->pageSize;\n    puVar8[0x12] = '\x01';\n    puVar8[0x13] = '\x01';\n    puVar8[0x11] = (u8)uVar2;\n    puVar8[0x14] = (char)pBt->pageSize - (char)pBt->usableSize;\n    puVar8[0x16] = ' ';\n    puVar8[0x17] = ' ';\n    puVar8[0x15] = '@';\n    (*(code *)puVar3)(puVar8 + 0x18,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(pMVar9,0xd);\n    uVar1 = pBt->autoVacuum;\n    pBt->btsFlags = pBt->btsFlags | 2;\n    puVar8[0x34] = '\0';\n    puVar8[0x35] = '\0';\n    puVar8[0x36] = '\0';\n    puVar8[0x37] = uVar1;\n    uVar1 = pBt->incrVacuum;\n    puVar8[0x40] = '\0';\n    puVar8[0x41] = '\0';\n    puVar8[0x42] = '\0';\n    puVar8[0x43] = uVar1;\n    pBt->nPage = 1;\n    puVar8[0x1f] = '\x01';\n  }\n  return iVar4;\n}\n\n" (function_definition "int newDatabase(BtShared *pBt)\n\n{\n  u8 uVar1;\n  undefined2 uVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  u8 *puVar8;\n  MemPage *pMVar9;\n  \n  pMVar9 = pBt->pPage1;\n  puVar8 = pMVar9->aData;\n  iVar4 = sqlite3PagerWrite(pMVar9->pDbPage);\n  puVar3 = PTR_memset_00190d58;\n  if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *(undefined4 *)puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    *(undefined4 *)(puVar8 + 4) = uVar7;\n    *(undefined4 *)(puVar8 + 8) = uVar6;\n    *(undefined4 *)(puVar8 + 0xc) = uVar5;\n    puVar8[0x10] = (u8)(pBt->pageSize >> 8);\n    uVar2 = *(undefined2 *)&pBt->pageSize;\n    puVar8[0x12] = '\x01';\n    puVar8[0x13] = '\x01';\n    puVar8[0x11] = (u8)uVar2;\n    puVar8[0x14] = (char)pBt->pageSize - (char)pBt->usableSize;\n    puVar8[0x16] = ' ';\n    puVar8[0x17] = ' ';\n    puVar8[0x15] = '@';\n    (*(code *)puVar3)(puVar8 + 0x18,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(pMVar9,0xd);\n    uVar1 = pBt->autoVacuum;\n    pBt->btsFlags = pBt->btsFlags | 2;\n    puVar8[0x34] = '\0';\n    puVar8[0x35] = '\0';\n    puVar8[0x36] = '\0';\n    puVar8[0x37] = uVar1;\n    uVar1 = pBt->incrVacuum;\n    puVar8[0x40] = '\0';\n    puVar8[0x41] = '\0';\n    puVar8[0x42] = '\0';\n    puVar8[0x43] = uVar1;\n    pBt->nPage = 1;\n    puVar8[0x1f] = '\x01';\n  }\n  return iVar4;\n}" primitive_type (function_declarator "newDatabase(BtShared *pBt)" identifier (parameter_list "(BtShared *pBt)" ( (parameter_declaration "BtShared *pBt" type_identifier (pointer_declarator "*pBt" * identifier)) ))) (compound_statement "{\n  u8 uVar1;\n  undefined2 uVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  u8 *puVar8;\n  MemPage *pMVar9;\n  \n  pMVar9 = pBt->pPage1;\n  puVar8 = pMVar9->aData;\n  iVar4 = sqlite3PagerWrite(pMVar9->pDbPage);\n  puVar3 = PTR_memset_00190d58;\n  if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *(undefined4 *)puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    *(undefined4 *)(puVar8 + 4) = uVar7;\n    *(undefined4 *)(puVar8 + 8) = uVar6;\n    *(undefined4 *)(puVar8 + 0xc) = uVar5;\n    puVar8[0x10] = (u8)(pBt->pageSize >> 8);\n    uVar2 = *(undefined2 *)&pBt->pageSize;\n    puVar8[0x12] = '\x01';\n    puVar8[0x13] = '\x01';\n    puVar8[0x11] = (u8)uVar2;\n    puVar8[0x14] = (char)pBt->pageSize - (char)pBt->usableSize;\n    puVar8[0x16] = ' ';\n    puVar8[0x17] = ' ';\n    puVar8[0x15] = '@';\n    (*(code *)puVar3)(puVar8 + 0x18,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(pMVar9,0xd);\n    uVar1 = pBt->autoVacuum;\n    pBt->btsFlags = pBt->btsFlags | 2;\n    puVar8[0x34] = '\0';\n    puVar8[0x35] = '\0';\n    puVar8[0x36] = '\0';\n    puVar8[0x37] = uVar1;\n    uVar1 = pBt->incrVacuum;\n    puVar8[0x40] = '\0';\n    puVar8[0x41] = '\0';\n    puVar8[0x42] = '\0';\n    puVar8[0x43] = uVar1;\n    pBt->nPage = 1;\n    puVar8[0x1f] = '\x01';\n  }\n  return iVar4;\n}" { (declaration "u8 uVar1;" type_identifier identifier ;) (declaration "undefined2 uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "u8 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "MemPage *pMVar9;" type_identifier (pointer_declarator "*pMVar9" * identifier) ;) (expression_statement "pMVar9 = pBt->pPage1;" (assignment_expression "pMVar9 = pBt->pPage1" identifier = (field_expression "pBt->pPage1" identifier -> field_identifier)) ;) (expression_statement "puVar8 = pMVar9->aData;" (assignment_expression "puVar8 = pMVar9->aData" identifier = (field_expression "pMVar9->aData" identifier -> field_identifier)) ;) (expression_statement "iVar4 = sqlite3PagerWrite(pMVar9->pDbPage);" (assignment_expression "iVar4 = sqlite3PagerWrite(pMVar9->pDbPage)" identifier = (call_expression "sqlite3PagerWrite(pMVar9->pDbPage)" identifier (argument_list "(pMVar9->pDbPage)" ( (field_expression "pMVar9->pDbPage" identifier -> field_identifier) )))) ;) (expression_statement "puVar3 = PTR_memset_00190d58;" (assignment_expression "puVar3 = PTR_memset_00190d58" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *(undefined4 *)puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    *(undefined4 *)(puVar8 + 4) = uVar7;\n    *(undefined4 *)(puVar8 + 8) = uVar6;\n    *(undefined4 *)(puVar8 + 0xc) = uVar5;\n    puVar8[0x10] = (u8)(pBt->pageSize >> 8);\n    uVar2 = *(undefined2 *)&pBt->pageSize;\n    puVar8[0x12] = '\x01';\n    puVar8[0x13] = '\x01';\n    puVar8[0x11] = (u8)uVar2;\n    puVar8[0x14] = (char)pBt->pageSize - (char)pBt->usableSize;\n    puVar8[0x16] = ' ';\n    puVar8[0x17] = ' ';\n    puVar8[0x15] = '@';\n    (*(code *)puVar3)(puVar8 + 0x18,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(pMVar9,0xd);\n    uVar1 = pBt->autoVacuum;\n    pBt->btsFlags = pBt->btsFlags | 2;\n    puVar8[0x34] = '\0';\n    puVar8[0x35] = '\0';\n    puVar8[0x36] = '\0';\n    puVar8[0x37] = uVar1;\n    uVar1 = pBt->incrVacuum;\n    puVar8[0x40] = '\0';\n    puVar8[0x41] = '\0';\n    puVar8[0x42] = '\0';\n    puVar8[0x43] = uVar1;\n    pBt->nPage = 1;\n    puVar8[0x1f] = '\x01';\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *(undefined4 *)puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    *(undefined4 *)(puVar8 + 4) = uVar7;\n    *(undefined4 *)(puVar8 + 8) = uVar6;\n    *(undefined4 *)(puVar8 + 0xc) = uVar5;\n    puVar8[0x10] = (u8)(pBt->pageSize >> 8);\n    uVar2 = *(undefined2 *)&pBt->pageSize;\n    puVar8[0x12] = '\x01';\n    puVar8[0x13] = '\x01';\n    puVar8[0x11] = (u8)uVar2;\n    puVar8[0x14] = (char)pBt->pageSize - (char)pBt->usableSize;\n    puVar8[0x16] = ' ';\n    puVar8[0x17] = ' ';\n    puVar8[0x15] = '@';\n    (*(code *)puVar3)(puVar8 + 0x18,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(pMVar9,0xd);\n    uVar1 = pBt->autoVacuum;\n    pBt->btsFlags = pBt->btsFlags | 2;\n    puVar8[0x34] = '\0';\n    puVar8[0x35] = '\0';\n    puVar8[0x36] = '\0';\n    puVar8[0x37] = uVar1;\n    uVar1 = pBt->incrVacuum;\n    puVar8[0x40] = '\0';\n    puVar8[0x41] = '\0';\n    puVar8[0x42] = '\0';\n    puVar8[0x43] = uVar1;\n    pBt->nPage = 1;\n    puVar8[0x1f] = '\x01';\n  }" { (expression_statement "uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);" (assignment_expression "uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8)" * (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190b94 + -0x3ee8)" ( (binary_expression "PTR_DAT_00190b94 + -0x3ee8" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);" (assignment_expression "uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4)" * (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190b94 + -0x3ee4)" ( (binary_expression "PTR_DAT_00190b94 + -0x3ee4" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);" (assignment_expression "uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0)" * (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190b94 + -0x3ee0)" ( (binary_expression "PTR_DAT_00190b94 + -0x3ee0" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);" (assignment_expression "*(undefined4 *)puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec)" (pointer_expression "*(undefined4 *)puVar8" * (cast_expression "(undefined4 *)puVar8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3eec)" * (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3eec)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190b94 + -0x3eec)" ( (binary_expression "PTR_DAT_00190b94 + -0x3eec" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + 4) = uVar7;" (assignment_expression "*(undefined4 *)(puVar8 + 4) = uVar7" (pointer_expression "*(undefined4 *)(puVar8 + 4)" * (cast_expression "(undefined4 *)(puVar8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 4)" ( (binary_expression "puVar8 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + 8) = uVar6;" (assignment_expression "*(undefined4 *)(puVar8 + 8) = uVar6" (pointer_expression "*(undefined4 *)(puVar8 + 8)" * (cast_expression "(undefined4 *)(puVar8 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 8)" ( (binary_expression "puVar8 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + 0xc) = uVar5;" (assignment_expression "*(undefined4 *)(puVar8 + 0xc) = uVar5" (pointer_expression "*(undefined4 *)(puVar8 + 0xc)" * (cast_expression "(undefined4 *)(puVar8 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xc)" ( (binary_expression "puVar8 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar8[0x10] = (u8)(pBt->pageSize >> 8);" (assignment_expression "puVar8[0x10] = (u8)(pBt->pageSize >> 8)" (subscript_expression "puVar8[0x10]" identifier [ number_literal ]) = (call_expression "(u8)(pBt->pageSize >> 8)" (parenthesized_expression "(u8)" ( identifier )) (argument_list "(pBt->pageSize >> 8)" ( (binary_expression "pBt->pageSize >> 8" (field_expression "pBt->pageSize" identifier -> field_identifier) >> number_literal) )))) ;) (expression_statement "uVar2 = *(undefined2 *)&pBt->pageSize;" (assignment_expression "uVar2 = *(undefined2 *)&pBt->pageSize" identifier = (pointer_expression "*(undefined2 *)&pBt->pageSize" * (cast_expression "(undefined2 *)&pBt->pageSize" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pBt->pageSize" & (field_expression "pBt->pageSize" identifier -> field_identifier))))) ;) (expression_statement "puVar8[0x12] = '\x01';" (assignment_expression "puVar8[0x12] = '\x01'" (subscript_expression "puVar8[0x12]" identifier [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "puVar8[0x13] = '\x01';" (assignment_expression "puVar8[0x13] = '\x01'" (subscript_expression "puVar8[0x13]" identifier [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "puVar8[0x11] = (u8)uVar2;" (assignment_expression "puVar8[0x11] = (u8)uVar2" (subscript_expression "puVar8[0x11]" identifier [ number_literal ]) = (cast_expression "(u8)uVar2" ( (type_descriptor "u8" type_identifier) ) identifier)) ;) (expression_statement "puVar8[0x14] = (char)pBt->pageSize - (char)pBt->usableSize;" (assignment_expression "puVar8[0x14] = (char)pBt->pageSize - (char)pBt->usableSize" (subscript_expression "puVar8[0x14]" identifier [ number_literal ]) = (binary_expression "(char)pBt->pageSize - (char)pBt->usableSize" (cast_expression "(char)pBt->pageSize" ( (type_descriptor "char" primitive_type) ) (field_expression "pBt->pageSize" identifier -> field_identifier)) - (cast_expression "(char)pBt->usableSize" ( (type_descriptor "char" primitive_type) ) (field_expression "pBt->usableSize" identifier -> field_identifier)))) ;) (expression_statement "puVar8[0x16] = ' ';" (assignment_expression "puVar8[0x16] = ' '" (subscript_expression "puVar8[0x16]" identifier [ number_literal ]) = (char_literal "' '" ' character ')) ;) (expression_statement "puVar8[0x17] = ' ';" (assignment_expression "puVar8[0x17] = ' '" (subscript_expression "puVar8[0x17]" identifier [ number_literal ]) = (char_literal "' '" ' character ')) ;) (expression_statement "puVar8[0x15] = '@';" (assignment_expression "puVar8[0x15] = '@'" (subscript_expression "puVar8[0x15]" identifier [ number_literal ]) = (char_literal "'@'" ' character ')) ;) (expression_statement "(*(code *)puVar3)(puVar8 + 0x18,0,0x4c);" (call_expression "(*(code *)puVar3)(puVar8 + 0x18,0,0x4c)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8 + 0x18,0,0x4c)" ( (binary_expression "puVar8 + 0x18" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "(*(code *)(PTR_LAB_00190bdc + -0x3030))(pMVar9,0xd);" (call_expression "(*(code *)(PTR_LAB_00190bdc + -0x3030))(pMVar9,0xd)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + -0x3030))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + -0x3030)" * (cast_expression "(code *)(PTR_LAB_00190bdc + -0x3030)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + -0x3030)" ( (binary_expression "PTR_LAB_00190bdc + -0x3030" identifier + number_literal) )))) )) (argument_list "(pMVar9,0xd)" ( identifier , number_literal ))) ;) (expression_statement "uVar1 = pBt->autoVacuum;" (assignment_expression "uVar1 = pBt->autoVacuum" identifier = (field_expression "pBt->autoVacuum" identifier -> field_identifier)) ;) (expression_statement "pBt->btsFlags = pBt->btsFlags | 2;" (assignment_expression "pBt->btsFlags = pBt->btsFlags | 2" (field_expression "pBt->btsFlags" identifier -> field_identifier) = (binary_expression "pBt->btsFlags | 2" (field_expression "pBt->btsFlags" identifier -> field_identifier) | number_literal)) ;) (expression_statement "puVar8[0x34] = '\0';" (assignment_expression "puVar8[0x34] = '\0'" (subscript_expression "puVar8[0x34]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar8[0x35] = '\0';" (assignment_expression "puVar8[0x35] = '\0'" (subscript_expression "puVar8[0x35]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar8[0x36] = '\0';" (assignment_expression "puVar8[0x36] = '\0'" (subscript_expression "puVar8[0x36]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar8[0x37] = uVar1;" (assignment_expression "puVar8[0x37] = uVar1" (subscript_expression "puVar8[0x37]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar1 = pBt->incrVacuum;" (assignment_expression "uVar1 = pBt->incrVacuum" identifier = (field_expression "pBt->incrVacuum" identifier -> field_identifier)) ;) (expression_statement "puVar8[0x40] = '\0';" (assignment_expression "puVar8[0x40] = '\0'" (subscript_expression "puVar8[0x40]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar8[0x41] = '\0';" (assignment_expression "puVar8[0x41] = '\0'" (subscript_expression "puVar8[0x41]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar8[0x42] = '\0';" (assignment_expression "puVar8[0x42] = '\0'" (subscript_expression "puVar8[0x42]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "puVar8[0x43] = uVar1;" (assignment_expression "puVar8[0x43] = uVar1" (subscript_expression "puVar8[0x43]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pBt->nPage = 1;" (assignment_expression "pBt->nPage = 1" (field_expression "pBt->nPage" identifier -> field_identifier) = number_literal) ;) (expression_statement "puVar8[0x1f] = '\x01';" (assignment_expression "puVar8[0x1f] = '\x01'" (subscript_expression "puVar8[0x1f]" identifier [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) })) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "int FUN_000c77cc(int param_1)\n\n{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar9 = *(int *)(param_1 + 0xc);\n  puVar8 = *(undefined4 **)(iVar9 + 0x38);\n  iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));\n  puVar3 = PTR_memset_00190d58;\n  if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }\n  return iVar4;\n}\n\n" (function_definition "int FUN_000c77cc(int param_1)\n\n{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar9 = *(int *)(param_1 + 0xc);\n  puVar8 = *(undefined4 **)(iVar9 + 0x38);\n  iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));\n  puVar3 = PTR_memset_00190d58;\n  if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }\n  return iVar4;\n}" primitive_type (function_declarator "FUN_000c77cc(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar9 = *(int *)(param_1 + 0xc);\n  puVar8 = *(undefined4 **)(iVar9 + 0x38);\n  iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));\n  puVar3 = PTR_memset_00190d58;\n  if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }\n  return iVar4;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined2 uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "iVar9 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar9 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "puVar8 = *(undefined4 **)(iVar9 + 0x38);" (assignment_expression "puVar8 = *(undefined4 **)(iVar9 + 0x38)" identifier = (pointer_expression "*(undefined4 **)(iVar9 + 0x38)" * (cast_expression "(undefined4 **)(iVar9 + 0x38)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0x38)" ( (binary_expression "iVar9 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));" (assignment_expression "iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48))" identifier = (call_expression "FUN_000c3260(*(undefined4 *)(iVar9 + 0x48))" identifier (argument_list "(*(undefined4 *)(iVar9 + 0x48))" ( (pointer_expression "*(undefined4 *)(iVar9 + 0x48)" * (cast_expression "(undefined4 *)(iVar9 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x48)" ( (binary_expression "iVar9 + 0x48" identifier + number_literal) )))) )))) ;) (expression_statement "puVar3 = PTR_memset_00190d58;" (assignment_expression "puVar3 = PTR_memset_00190d58" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }" { (expression_statement "uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);" (assignment_expression "uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8)" * (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190b94 + -0x3ee8)" ( (binary_expression "PTR_DAT_00190b94 + -0x3ee8" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);" (assignment_expression "uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4)" * (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190b94 + -0x3ee4)" ( (binary_expression "PTR_DAT_00190b94 + -0x3ee4" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);" (assignment_expression "uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0)" identifier = (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0)" * (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190b94 + -0x3ee0)" ( (binary_expression "PTR_DAT_00190b94 + -0x3ee0" identifier + number_literal) ))))) ;) (expression_statement "*puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);" (assignment_expression "*puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec)" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3eec)" * (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3eec)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190b94 + -0x3eec)" ( (binary_expression "PTR_DAT_00190b94 + -0x3eec" identifier + number_literal) ))))) ;) (expression_statement "puVar8[1] = uVar7;" (assignment_expression "puVar8[1] = uVar7" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar8[2] = uVar6;" (assignment_expression "puVar8[2] = uVar6" (subscript_expression "puVar8[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar8[3] = uVar5;" (assignment_expression "puVar8[3] = uVar5" (subscript_expression "puVar8[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);" (assignment_expression "*(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8)" (pointer_expression "*(char *)(puVar8 + 4)" * (cast_expression "(char *)(puVar8 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 4)" ( (binary_expression "puVar8 + 4" identifier + number_literal) )))) = (cast_expression "(char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)*(undefined4 *)(param_1 + 0x20) >> 8)" ( (binary_expression "(uint)*(undefined4 *)(param_1 + 0x20) >> 8" (binary_expression "(uint)*(undefined4 *)(param_1 + 0x20)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) >> number_literal) )))) ;) (expression_statement "uVar2 = *(undefined2 *)(param_1 + 0x20);" (assignment_expression "uVar2 = *(undefined2 *)(param_1 + 0x20)" identifier = (pointer_expression "*(undefined2 *)(param_1 + 0x20)" * (cast_expression "(undefined2 *)(param_1 + 0x20)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x12) = 1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x12) = 1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x12)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x12)" ( (binary_expression "(int)puVar8 + 0x12" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x13) = 1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x13) = 1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x13)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x13)" ( (binary_expression "(int)puVar8 + 0x13" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(char *)((int)puVar8 + 0x11) = (char)uVar2;" (assignment_expression "*(char *)((int)puVar8 + 0x11) = (char)uVar2" (pointer_expression "*(char *)((int)puVar8 + 0x11)" * (cast_expression "(char *)((int)puVar8 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x11)" ( (binary_expression "(int)puVar8 + 0x11" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)uVar2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);" (assignment_expression "*(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24)" (pointer_expression "*(char *)(puVar8 + 5)" * (cast_expression "(char *)(puVar8 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 5)" ( (binary_expression "puVar8 + 5" identifier + number_literal) )))) = (binary_expression "(char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24)" (cast_expression "(char)*(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) - (cast_expression "(char)*(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))))) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x16) = 0x20;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x16) = 0x20" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x16)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x16)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x16)" ( (binary_expression "(int)puVar8 + 0x16" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x17) = 0x20;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x17) = 0x20" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x17)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x17)" ( (binary_expression "(int)puVar8 + 0x17" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x15) = 0x40;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x15) = 0x40" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x15)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x15)" ( (binary_expression "(int)puVar8 + 0x15" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar3)(puVar8 + 6,0,0x4c);" (call_expression "(*(code *)puVar3)(puVar8 + 6,0,0x4c)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8 + 6,0,0x4c)" ( (binary_expression "puVar8 + 6" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "(*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);" (call_expression "(*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + -0x3030))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + -0x3030)" * (cast_expression "(code *)(PTR_LAB_00190bdc + -0x3030)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + -0x3030)" ( (binary_expression "PTR_LAB_00190bdc + -0x3030" identifier + number_literal) )))) )) (argument_list "(iVar9,0xd)" ( identifier , number_literal ))) ;) (expression_statement "uVar1 = *(undefined1 *)(param_1 + 0x11);" (assignment_expression "uVar1 = *(undefined1 *)(param_1 + 0x11)" identifier = (pointer_expression "*(undefined1 *)(param_1 + 0x11)" * (cast_expression "(undefined1 *)(param_1 + 0x11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x11)" ( (binary_expression "param_1 + 0x11" identifier + number_literal) ))))) ;) (expression_statement "*(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;" (assignment_expression "*(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2" (pointer_expression "*(ushort *)(param_1 + 0x16)" * (cast_expression "(ushort *)(param_1 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x16)" ( (binary_expression "param_1 + 0x16" identifier + number_literal) )))) = (binary_expression "*(ushort *)(param_1 + 0x16) | 2" (pointer_expression "*(ushort *)(param_1 + 0x16)" * (cast_expression "(ushort *)(param_1 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x16)" ( (binary_expression "param_1 + 0x16" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(undefined1 *)(puVar8 + 0xd) = 0;" (assignment_expression "*(undefined1 *)(puVar8 + 0xd) = 0" (pointer_expression "*(undefined1 *)(puVar8 + 0xd)" * (cast_expression "(undefined1 *)(puVar8 + 0xd)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xd)" ( (binary_expression "puVar8 + 0xd" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x35) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x35) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x35)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x35)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x35)" ( (binary_expression "(int)puVar8 + 0x35" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x36) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x36) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x36)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x36)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x36)" ( (binary_expression "(int)puVar8 + 0x36" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x37) = uVar1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x37) = uVar1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x37)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x37)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x37)" ( (binary_expression "(int)puVar8 + 0x37" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined1 *)(param_1 + 0x12);" (assignment_expression "uVar1 = *(undefined1 *)(param_1 + 0x12)" identifier = (pointer_expression "*(undefined1 *)(param_1 + 0x12)" * (cast_expression "(undefined1 *)(param_1 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x12)" ( (binary_expression "param_1 + 0x12" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(puVar8 + 0x10) = 0;" (assignment_expression "*(undefined1 *)(puVar8 + 0x10) = 0" (pointer_expression "*(undefined1 *)(puVar8 + 0x10)" * (cast_expression "(undefined1 *)(puVar8 + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x10)" ( (binary_expression "puVar8 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x41) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x41) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x41)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x41)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x41)" ( (binary_expression "(int)puVar8 + 0x41" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x42) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x42) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x42)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x42)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x42)" ( (binary_expression "(int)puVar8 + 0x42" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x43) = uVar1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x43) = uVar1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x43)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x43)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x43)" ( (binary_expression "(int)puVar8 + 0x43" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x2c) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x2c) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar8 + 0x1f) = 1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x1f) = 1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x1f)" * (cast_expression "(undefined1 *)((int)puVar8 + 0x1f)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x1f)" ( (binary_expression "(int)puVar8 + 0x1f" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (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) )))) = 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) )))) = 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) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) - (cast_expression ( (type_descriptor TYPE) ) (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) )))) = 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) )))) = 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) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , LIT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (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) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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) )))) = 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) )))) = 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) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (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) )))) = 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) )))) = 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) )))) = 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) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_000c77cc(int param_1)\n\n{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar9 = *(int *)(param_1 + 0xc);\n  puVar8 = *(undefined4 **)(iVar9 + 0x38);\n  iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));\n  puVar3 = PTR_memset_00190d58;\n  if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }\n  return iVar4;\n}" (primitive_type "int") (function_declarator "FUN_000c77cc(int param_1)" (identifier "FUN_000c77cc") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  undefined2 uVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  \n  iVar9 = *(int *)(param_1 + 0xc);\n  puVar8 = *(undefined4 **)(iVar9 + 0x38);\n  iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));\n  puVar3 = PTR_memset_00190d58;\n  if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }\n  return iVar4;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "undefined2 uVar2;" (type_identifier "undefined2") (identifier "uVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (expression_statement "iVar9 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar9 = *(int *)(param_1 + 0xc)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "puVar8 = *(undefined4 **)(iVar9 + 0x38);" (assignment_expression "puVar8 = *(undefined4 **)(iVar9 + 0x38)" (identifier "puVar8") (= "=") (pointer_expression "*(undefined4 **)(iVar9 + 0x38)" (* "*") (cast_expression "(undefined4 **)(iVar9 + 0x38)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar9 + 0x38)" (( "(") (binary_expression "iVar9 + 0x38" (identifier "iVar9") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));" (assignment_expression "iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48))" (identifier "iVar4") (= "=") (call_expression "FUN_000c3260(*(undefined4 *)(iVar9 + 0x48))" (identifier "FUN_000c3260") (argument_list "(*(undefined4 *)(iVar9 + 0x48))" (( "(") (pointer_expression "*(undefined4 *)(iVar9 + 0x48)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x48)" (( "(") (binary_expression "iVar9 + 0x48" (identifier "iVar9") (+ "+") (number_literal "0x48")) () ")")))) () ")")))) (; ";")) (expression_statement "puVar3 = PTR_memset_00190d58;" (assignment_expression "puVar3 = PTR_memset_00190d58" (identifier "puVar3") (= "=") (identifier "PTR_memset_00190d58")) (; ";")) (if_statement "if (iVar4 == 0) {\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);\n    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);\n    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);\n    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);\n    puVar8[1] = uVar7;\n    puVar8[2] = uVar6;\n    puVar8[3] = uVar5;\n    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);\n    uVar2 = *(undefined2 *)(param_1 + 0x20);\n    *(undefined1 *)((int)puVar8 + 0x12) = 1;\n    *(undefined1 *)((int)puVar8 + 0x13) = 1;\n    *(char *)((int)puVar8 + 0x11) = (char)uVar2;\n    *(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);\n    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;\n    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;\n    (*(code *)puVar3)(puVar8 + 6,0,0x4c);\n    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);\n    uVar1 = *(undefined1 *)(param_1 + 0x11);\n    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;\n    *(undefined1 *)(puVar8 + 0xd) = 0;\n    *(undefined1 *)((int)puVar8 + 0x35) = 0;\n    *(undefined1 *)((int)puVar8 + 0x36) = 0;\n    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;\n    uVar1 = *(undefined1 *)(param_1 + 0x12);\n    *(undefined1 *)(puVar8 + 0x10) = 0;\n    *(undefined1 *)((int)puVar8 + 0x41) = 0;\n    *(undefined1 *)((int)puVar8 + 0x42) = 0;\n    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;\n    *(undefined4 *)(param_1 + 0x2c) = 1;\n    *(undefined1 *)((int)puVar8 + 0x1f) = 1;\n  }" ({ "{") (expression_statement "uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);" (assignment_expression "uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8)" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00190b94 + -0x3ee8)" (( "(") (binary_expression "PTR_DAT_00190b94 + -0x3ee8" (identifier "PTR_DAT_00190b94") (+ "+") (number_literal "-0x3ee8")) () ")"))))) (; ";")) (expression_statement "uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);" (assignment_expression "uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00190b94 + -0x3ee4)" (( "(") (binary_expression "PTR_DAT_00190b94 + -0x3ee4" (identifier "PTR_DAT_00190b94") (+ "+") (number_literal "-0x3ee4")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);" (assignment_expression "uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00190b94 + -0x3ee0)" (( "(") (binary_expression "PTR_DAT_00190b94 + -0x3ee0" (identifier "PTR_DAT_00190b94") (+ "+") (number_literal "-0x3ee0")) () ")"))))) (; ";")) (expression_statement "*puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);" (assignment_expression "*puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec)" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_00190b94 + -0x3eec)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_00190b94 + -0x3eec)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00190b94 + -0x3eec)" (( "(") (binary_expression "PTR_DAT_00190b94 + -0x3eec" (identifier "PTR_DAT_00190b94") (+ "+") (number_literal "-0x3eec")) () ")"))))) (; ";")) (expression_statement "puVar8[1] = uVar7;" (assignment_expression "puVar8[1] = uVar7" (subscript_expression "puVar8[1]" (identifier "puVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "puVar8[2] = uVar6;" (assignment_expression "puVar8[2] = uVar6" (subscript_expression "puVar8[2]" (identifier "puVar8") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "puVar8[3] = uVar5;" (assignment_expression "puVar8[3] = uVar5" (subscript_expression "puVar8[3]" (identifier "puVar8") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "*(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);" (assignment_expression "*(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8)" (pointer_expression "*(char *)(puVar8 + 4)" (* "*") (cast_expression "(char *)(puVar8 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 4)" (( "(") (binary_expression "puVar8 + 4" (identifier "puVar8") (+ "+") (number_literal "4")) () ")")))) (= "=") (cast_expression "(char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uint)*(undefined4 *)(param_1 + 0x20) >> 8)" (( "(") (binary_expression "(uint)*(undefined4 *)(param_1 + 0x20) >> 8" (binary_expression "(uint)*(undefined4 *)(param_1 + 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "uVar2 = *(undefined2 *)(param_1 + 0x20);" (assignment_expression "uVar2 = *(undefined2 *)(param_1 + 0x20)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined2 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined2 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + 0x12) = 1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x12) = 1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x12)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + 0x12)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x12)" (( "(") (binary_expression "(int)puVar8 + 0x12" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x12")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + 0x13) = 1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x13) = 1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x13)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + 0x13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x13)" (( "(") (binary_expression "(int)puVar8 + 0x13" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x13")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(char *)((int)puVar8 + 0x11) = (char)uVar2;" (assignment_expression "*(char *)((int)puVar8 + 0x11) = (char)uVar2" (pointer_expression "*(char *)((int)puVar8 + 0x11)" (* "*") (cast_expression "(char *)((int)puVar8 + 0x11)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x11)" (( "(") (binary_expression "(int)puVar8 + 0x11" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x11")) () ")")))) (= "=") (cast_expression "(char)uVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar2"))) (; ";")) (expression_statement "*(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);" (assignment_expression "*(char *)(puVar8 + 5) =\n         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24)" (pointer_expression "*(char *)(puVar8 + 5)" (* "*") (cast_expression "(char *)(puVar8 + 5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 5)" (( "(") (binary_expression "puVar8 + 5" (identifier "puVar8") (+ "+") (number_literal "5")) () ")")))) (= "=") (binary_expression "(char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24)" (cast_expression "(char)*(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (- "-") (cast_expression "(char)*(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(undefined4 *)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))))) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + 0x16) = 0x20;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x16) = 0x20" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x16)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + 0x16)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x16)" (( "(") (binary_expression "(int)puVar8 + 0x16" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x16")) () ")")))) (= "=") (number_literal "0x20")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + 0x17) = 0x20;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x17) = 0x20" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x17)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + 0x17)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x17)" (( "(") (binary_expression "(int)puVar8 + 0x17" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x17")) () ")")))) (= "=") (number_literal "0x20")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + 0x15) = 0x40;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x15) = 0x40" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x15)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + 0x15)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x15)" (( "(") (binary_expression "(int)puVar8 + 0x15" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x15")) () ")")))) (= "=") (number_literal "0x40")) (; ";")) (expression_statement "(*(code *)puVar3)(puVar8 + 6,0,0x4c);" (call_expression "(*(code *)puVar3)(puVar8 + 6,0,0x4c)" (parenthesized_expression "(*(code *)puVar3)" (( "(") (pointer_expression "*(code *)puVar3" (* "*") (cast_expression "(code *)puVar3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")")) (argument_list "(puVar8 + 6,0,0x4c)" (( "(") (binary_expression "puVar8 + 6" (identifier "puVar8") (+ "+") (number_literal "6")) (, ",") (number_literal "0") (, ",") (number_literal "0x4c") () ")"))) (; ";")) (expression_statement "(*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);" (call_expression "(*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + -0x3030))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190bdc + -0x3030)" (* "*") (cast_expression "(code *)(PTR_LAB_00190bdc + -0x3030)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190bdc + -0x3030)" (( "(") (binary_expression "PTR_LAB_00190bdc + -0x3030" (identifier "PTR_LAB_00190bdc") (+ "+") (number_literal "-0x3030")) () ")")))) () ")")) (argument_list "(iVar9,0xd)" (( "(") (identifier "iVar9") (, ",") (number_literal "0xd") () ")"))) (; ";")) (expression_statement "uVar1 = *(undefined1 *)(param_1 + 0x11);" (assignment_expression "uVar1 = *(undefined1 *)(param_1 + 0x11)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined1 *)(param_1 + 0x11)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x11)" (( "(") (binary_expression "param_1 + 0x11" (identifier "param_1") (+ "+") (number_literal "0x11")) () ")"))))) (; ";")) (expression_statement "*(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;" (assignment_expression "*(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2" (pointer_expression "*(ushort *)(param_1 + 0x16)" (* "*") (cast_expression "(ushort *)(param_1 + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x16)" (( "(") (binary_expression "param_1 + 0x16" (identifier "param_1") (+ "+") (number_literal "0x16")) () ")")))) (= "=") (binary_expression "*(ushort *)(param_1 + 0x16) | 2" (pointer_expression "*(ushort *)(param_1 + 0x16)" (* "*") (cast_expression "(ushort *)(param_1 + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x16)" (( "(") (binary_expression "param_1 + 0x16" (identifier "param_1") (+ "+") (number_literal "0x16")) () ")")))) (| "|") (number_literal "2"))) (; ";")) (expression_statement "*(undefined1 *)(puVar8 + 0xd) = 0;" (assignment_expression "*(undefined1 *)(puVar8 + 0xd) = 0" (pointer_expression "*(undefined1 *)(puVar8 + 0xd)" (* "*") (cast_expression "(undefined1 *)(puVar8 + 0xd)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0xd)" (( "(") (binary_expression "puVar8 + 0xd" (identifier "puVar8") (+ "+") (number_literal "0xd")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + 0x35) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x35) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x35)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + 0x35)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x35)" (( "(") (binary_expression "(int)puVar8 + 0x35" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x35")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + 0x36) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x36) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x36)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + 0x36)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x36)" (( "(") (binary_expression "(int)puVar8 + 0x36" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x36")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + 0x37) = uVar1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x37) = uVar1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x37)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + 0x37)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x37)" (( "(") (binary_expression "(int)puVar8 + 0x37" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x37")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = *(undefined1 *)(param_1 + 0x12);" (assignment_expression "uVar1 = *(undefined1 *)(param_1 + 0x12)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined1 *)(param_1 + 0x12)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x12)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x12)" (( "(") (binary_expression "param_1 + 0x12" (identifier "param_1") (+ "+") (number_literal "0x12")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(puVar8 + 0x10) = 0;" (assignment_expression "*(undefined1 *)(puVar8 + 0x10) = 0" (pointer_expression "*(undefined1 *)(puVar8 + 0x10)" (* "*") (cast_expression "(undefined1 *)(puVar8 + 0x10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0x10)" (( "(") (binary_expression "puVar8 + 0x10" (identifier "puVar8") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + 0x41) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x41) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x41)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + 0x41)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x41)" (( "(") (binary_expression "(int)puVar8 + 0x41" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x41")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + 0x42) = 0;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x42) = 0" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x42)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + 0x42)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x42)" (( "(") (binary_expression "(int)puVar8 + 0x42" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x42")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + 0x43) = uVar1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x43) = uVar1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x43)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + 0x43)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x43)" (( "(") (binary_expression "(int)puVar8 + 0x43" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x43")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x2c) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x2c) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar8 + 0x1f) = 1;" (assignment_expression "*(undefined1 *)((int)puVar8 + 0x1f) = 1" (pointer_expression "*(undefined1 *)((int)puVar8 + 0x1f)" (* "*") (cast_expression "(undefined1 *)((int)puVar8 + 0x1f)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x1f)" (( "(") (binary_expression "(int)puVar8 + 0x1f" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x1f")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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: (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (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: (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: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (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: (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: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (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)))))) arguments: (argument_list (identifier) (number_literal)))) (expression_statement (assignment_expression left: (identifier) 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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (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: (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: (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: (identifier))) (expression_statement (assignment_expression left: (identifier) 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: (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: (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: (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: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (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: (number_literal))))) (return_statement (identifier)))))

int MASKED(int param_1)

{
  undefined1 uVar1;
  undefined2 uVar2;
  undefined *puVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  undefined4 *puVar8;
  int iVar9;
  
  iVar9 = *(int *)(param_1 + 0xc);
  puVar8 = *(undefined4 **)(iVar9 + 0x38);
  iVar4 = FUN_000c3260(*(undefined4 *)(iVar9 + 0x48));
  puVar3 = PTR_memset_00190d58;
  if (iVar4 == 0) {
    uVar7 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee8);
    uVar6 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee4);
    uVar5 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3ee0);
    *puVar8 = *(undefined4 *)(PTR_DAT_00190b94 + -0x3eec);
    puVar8[1] = uVar7;
    puVar8[2] = uVar6;
    puVar8[3] = uVar5;
    *(char *)(puVar8 + 4) = (char)((uint)*(undefined4 *)(param_1 + 0x20) >> 8);
    uVar2 = *(undefined2 *)(param_1 + 0x20);
    *(undefined1 *)((int)puVar8 + 0x12) = 1;
    *(undefined1 *)((int)puVar8 + 0x13) = 1;
    *(char *)((int)puVar8 + 0x11) = (char)uVar2;
    *(char *)(puVar8 + 5) =
         (char)*(undefined4 *)(param_1 + 0x20) - (char)*(undefined4 *)(param_1 + 0x24);
    *(undefined1 *)((int)puVar8 + 0x16) = 0x20;
    *(undefined1 *)((int)puVar8 + 0x17) = 0x20;
    *(undefined1 *)((int)puVar8 + 0x15) = 0x40;
    (*(code *)puVar3)(puVar8 + 6,0,0x4c);
    (*(code *)(PTR_LAB_00190bdc + -0x3030))(iVar9,0xd);
    uVar1 = *(undefined1 *)(param_1 + 0x11);
    *(ushort *)(param_1 + 0x16) = *(ushort *)(param_1 + 0x16) | 2;
    *(undefined1 *)(puVar8 + 0xd) = 0;
    *(undefined1 *)((int)puVar8 + 0x35) = 0;
    *(undefined1 *)((int)puVar8 + 0x36) = 0;
    *(undefined1 *)((int)puVar8 + 0x37) = uVar1;
    uVar1 = *(undefined1 *)(param_1 + 0x12);
    *(undefined1 *)(puVar8 + 0x10) = 0;
    *(undefined1 *)((int)puVar8 + 0x41) = 0;
    *(undefined1 *)((int)puVar8 + 0x42) = 0;
    *(undefined1 *)((int)puVar8 + 0x43) = uVar1;
    *(undefined4 *)(param_1 + 0x2c) = 1;
    *(undefined1 *)((int)puVar8 + 0x1f) = 1;
  }
  return iVar4;
}

