
/* DWARF original prototype: int sqlite3VdbeAddFunctionCall(Parse * pParse, int p1, int p2, int p3,
   int nArg, FuncDef * pFunc, int eCallCtx, Parse * pParse) */

int __regparm3
sqlite3VdbeAddFunctionCall
          (Parse *pParse,int p1,int p2,int p3,int nArg,FuncDef *pFunc,int eCallCtx,Parse *pParse_1)

{
  char *zP4;
  int addr;
  u64 in_stack_ffffffe4;
  
  zP4 = (char *)sqlite3DbMallocRawNN(pParse->db,in_stack_ffffffe4);
  if (zP4 == (char *)0x0) {
    addr = 0;
    if ((*(byte *)(eCallCtx + 4) & 0x10) != 0) {
      sqlite3DbFreeNN(pParse->db,(void *)eCallCtx);
    }
  }
  else {
    zP4[0] = '\0';
    zP4[1] = '\0';
    zP4[2] = '\0';
    zP4[3] = '\0';
    zP4[0x14] = '\0';
    zP4[0x15] = '\0';
    zP4[0x16] = '\0';
    zP4[0x17] = '\0';
    zP4[0xc] = '\0';
    zP4[0xd] = '\0';
    zP4[0xe] = '\0';
    zP4[0xf] = '\0';
    *(int *)(zP4 + 4) = eCallCtx;
    zP4[0x19] = (char)pFunc;
    *(undefined4 *)(zP4 + 0x10) = *(undefined4 *)(p1 + 0x68);
    addr = sqlite3VdbeAddOp3((Vdbe *)p1,(pParse_1 == (Parse *)0x0) + 0x3f,p2,p3,nArg);
    sqlite3VdbeChangeP4((Vdbe *)p1,addr,zP4,-0x10);
    if (0 < *(int *)(p1 + 0x68)) {
      *(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12) = (ushort)pParse_1 & 0x2e
      ;
    }
  }
  return addr;
}



undefined4 __regparm2
FUN_00032670(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5
            ,int param_6,ushort param_7)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  
  puVar1 = (undefined4 *)FUN_0002e2d0();
  if (puVar1 == (undefined4 *)0x0) {
    uVar2 = 0;
    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {
      FUN_00024720();
    }
  }
  else {
    *puVar1 = 0;
    puVar1[5] = 0;
    puVar1[3] = 0;
    puVar1[1] = param_6;
    *(undefined1 *)((int)puVar1 + 0x19) = param_5;
    puVar1[4] = *(undefined4 *)(param_2 + 0x68);
    uVar2 = FUN_000315c0(param_3,param_4);
    FUN_00032090(0xfffffff0);
    if (0 < *(int *)(param_2 + 0x68)) {
      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =
           param_7 & 0x2e;
    }
  }
  return uVar2;
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
MOV ESI,EDX
MOV EBP,ECX
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x28]
LEA EDX,[EAX*0x4 + 0x1c]
MOV EAX,dword ptr [EDI]
MOV ECX,EDX
SAR ECX,0x1f
CALL 0x0002e2d0
TEST EAX,EAX
JZ 0x00032728
MOV dword ptr [EAX],0x0
MOV EBX,EAX
MOV EAX,dword ptr [ESP + 0x2c]
MOV ECX,dword ptr [ESP + 0x30]
MOV dword ptr [EBX + 0x14],0x0
XOR EDX,EDX
MOV dword ptr [EBX + 0xc],0x0
MOV dword ptr [EBX + 0x4],EAX
MOVZX EAX,byte ptr [ESP + 0x28]
TEST ECX,ECX
MOV ECX,EBP
SETZ DL
SUB ESP,0x8
ADD EDX,0x3f
MOV byte ptr [EBX + 0x19],AL
MOV EAX,dword ptr [ESI + 0x68]
MOV dword ptr [EBX + 0x10],EAX
PUSH dword ptr [ESP + 0x2c]
MOV EAX,ESI
PUSH dword ptr [ESP + 0x2c]
CALL 0x000315c0
MOV ECX,EBX
MOV EDX,EAX
MOV EBP,EAX
MOV EAX,ESI
MOV dword ptr [ESP],0xfffffff0
CALL 0x00032090
MOV EAX,dword ptr [ESI + 0x68]
ADD ESP,0x10
TEST EAX,EAX
JLE 0x0003271b
LEA EDX,[EAX + EAX*0x4]
MOV EAX,dword ptr [ESI + 0x64]
LEA EDX,[EAX + EDX*0x4]
MOV EAX,dword ptr [ESP + 0x30]
AND EAX,0x2e
MOV word ptr [EDX + -0x12],AX
ADD ESP,0xc
MOV EAX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x2c]
XOR EBP,EBP
TEST byte ptr [EAX + 0x4],0x10
JZ 0x0003271b
MOV EDX,EAX
MOV EAX,dword ptr [EDI]
CALL 0x00024720
JMP 0x0003271b
(translation_unit "undefined4 __regparm2\nFUN_00032670(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,int param_6,ushort param_7)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0002e2d0();\n  if (puVar1 == (undefined4 *)0x0) {\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }\n  else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 __regparm2\nFUN_00032670(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,int param_6,ushort param_7)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0002e2d0();\n  if (puVar1 == (undefined4 *)0x0) {\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }\n  else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }\n  return uVar2;\n}" type_identifier (ERROR "__regparm2" identifier) (function_declarator "FUN_00032670(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,int param_6,ushort param_7)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,int param_6,ushort param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined1 param_5" type_identifier identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "ushort param_7" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0002e2d0();\n  if (puVar1 == (undefined4 *)0x0) {\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }\n  else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }\n  return uVar2;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)FUN_0002e2d0();" (assignment_expression "puVar1 = (undefined4 *)FUN_0002e2d0()" identifier = (cast_expression "(undefined4 *)FUN_0002e2d0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002e2d0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (puVar1 == (undefined4 *)0x0) {\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }\n  else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }" if (parenthesized_expression "(puVar1 == (undefined4 *)0x0)" ( (binary_expression "puVar1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }" if (parenthesized_expression "((*(byte *)(param_6 + 4) & 0x10) != 0)" ( (binary_expression "(*(byte *)(param_6 + 4) & 0x10) != 0" (parenthesized_expression "(*(byte *)(param_6 + 4) & 0x10)" ( (binary_expression "*(byte *)(param_6 + 4) & 0x10" (pointer_expression "*(byte *)(param_6 + 4)" * (cast_expression "(byte *)(param_6 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 4)" ( (binary_expression "param_6 + 4" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      FUN_00024720();\n    }" { (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" identifier (argument_list "()" ( ))) ;) })) }) (else_clause "else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }" else (compound_statement "{\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }" { (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[5] = 0;" (assignment_expression "puVar1[5] = 0" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[1] = param_6;" (assignment_expression "puVar1[1] = param_6" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 0x19) = param_5;" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x19) = param_5" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x19)" * (cast_expression "(undefined1 *)((int)puVar1 + 0x19)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 0x19)" ( (binary_expression "(int)puVar1 + 0x19" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar1[4] = *(undefined4 *)(param_2 + 0x68);" (assignment_expression "puVar1[4] = *(undefined4 *)(param_2 + 0x68)" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 0x68)" * (cast_expression "(undefined4 *)(param_2 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = FUN_000315c0(param_3,param_4);" (assignment_expression "uVar2 = FUN_000315c0(param_3,param_4)" identifier = (call_expression "FUN_000315c0(param_3,param_4)" identifier (argument_list "(param_3,param_4)" ( identifier , identifier )))) ;) (expression_statement "FUN_00032090(0xfffffff0);" (call_expression "FUN_00032090(0xfffffff0)" identifier (argument_list "(0xfffffff0)" ( number_literal ))) ;) (if_statement "if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }" if (parenthesized_expression "(0 < *(int *)(param_2 + 0x68))" ( (binary_expression "0 < *(int *)(param_2 + 0x68)" number_literal < (pointer_expression "*(int *)(param_2 + 0x68)" * (cast_expression "(int *)(param_2 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) ))))) )) (compound_statement "{\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }" { (expression_statement "*(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;" (assignment_expression "*(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e" (pointer_expression "*(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12)" * (cast_expression "(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12)" ( (binary_expression "*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12" (binary_expression "*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14" (pointer_expression "*(int *)(param_2 + 100)" * (cast_expression "(int *)(param_2 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 100)" ( (binary_expression "param_2 + 100" identifier + number_literal) )))) + (binary_expression "*(int *)(param_2 + 0x68) * 0x14" (pointer_expression "*(int *)(param_2 + 0x68)" * (cast_expression "(int *)(param_2 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) )))) * number_literal)) + number_literal) )))) = (binary_expression "param_7 & 0x2e" identifier & number_literal)) ;) })) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: int sqlite3VdbeAddFunctionCall(Parse * pParse, int p1, int p2, int p3,\n   int nArg, FuncDef * pFunc, int eCallCtx, Parse * pParse) */\n\nint __regparm3\nsqlite3VdbeAddFunctionCall\n          (Parse *pParse,int p1,int p2,int p3,int nArg,FuncDef *pFunc,int eCallCtx,Parse *pParse_1)\n\n{\n  char *zP4;\n  int addr;\n  u64 in_stack_ffffffe4;\n  \n  zP4 = (char *)sqlite3DbMallocRawNN(pParse->db,in_stack_ffffffe4);\n  if (zP4 == (char *)0x0) {\n    addr = 0;\n    if ((*(byte *)(eCallCtx + 4) & 0x10) != 0) {\n      sqlite3DbFreeNN(pParse->db,(void *)eCallCtx);\n    }\n  }\n  else {\n    zP4[0] = '\0';\n    zP4[1] = '\0';\n    zP4[2] = '\0';\n    zP4[3] = '\0';\n    zP4[0x14] = '\0';\n    zP4[0x15] = '\0';\n    zP4[0x16] = '\0';\n    zP4[0x17] = '\0';\n    zP4[0xc] = '\0';\n    zP4[0xd] = '\0';\n    zP4[0xe] = '\0';\n    zP4[0xf] = '\0';\n    *(int *)(zP4 + 4) = eCallCtx;\n    zP4[0x19] = (char)pFunc;\n    *(undefined4 *)(zP4 + 0x10) = *(undefined4 *)(p1 + 0x68);\n    addr = sqlite3VdbeAddOp3((Vdbe *)p1,(pParse_1 == (Parse *)0x0) + 0x3f,p2,p3,nArg);\n    sqlite3VdbeChangeP4((Vdbe *)p1,addr,zP4,-0x10);\n    if (0 < *(int *)(p1 + 0x68)) {\n      *(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12) = (ushort)pParse_1 & 0x2e\n      ;\n    }\n  }\n  return addr;\n}\n\n" comment (function_definition "int __regparm3\nsqlite3VdbeAddFunctionCall\n          (Parse *pParse,int p1,int p2,int p3,int nArg,FuncDef *pFunc,int eCallCtx,Parse *pParse_1)\n\n{\n  char *zP4;\n  int addr;\n  u64 in_stack_ffffffe4;\n  \n  zP4 = (char *)sqlite3DbMallocRawNN(pParse->db,in_stack_ffffffe4);\n  if (zP4 == (char *)0x0) {\n    addr = 0;\n    if ((*(byte *)(eCallCtx + 4) & 0x10) != 0) {\n      sqlite3DbFreeNN(pParse->db,(void *)eCallCtx);\n    }\n  }\n  else {\n    zP4[0] = '\0';\n    zP4[1] = '\0';\n    zP4[2] = '\0';\n    zP4[3] = '\0';\n    zP4[0x14] = '\0';\n    zP4[0x15] = '\0';\n    zP4[0x16] = '\0';\n    zP4[0x17] = '\0';\n    zP4[0xc] = '\0';\n    zP4[0xd] = '\0';\n    zP4[0xe] = '\0';\n    zP4[0xf] = '\0';\n    *(int *)(zP4 + 4) = eCallCtx;\n    zP4[0x19] = (char)pFunc;\n    *(undefined4 *)(zP4 + 0x10) = *(undefined4 *)(p1 + 0x68);\n    addr = sqlite3VdbeAddOp3((Vdbe *)p1,(pParse_1 == (Parse *)0x0) + 0x3f,p2,p3,nArg);\n    sqlite3VdbeChangeP4((Vdbe *)p1,addr,zP4,-0x10);\n    if (0 < *(int *)(p1 + 0x68)) {\n      *(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12) = (ushort)pParse_1 & 0x2e\n      ;\n    }\n  }\n  return addr;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "sqlite3VdbeAddFunctionCall\n          (Parse *pParse,int p1,int p2,int p3,int nArg,FuncDef *pFunc,int eCallCtx,Parse *pParse_1)" identifier (parameter_list "(Parse *pParse,int p1,int p2,int p3,int nArg,FuncDef *pFunc,int eCallCtx,Parse *pParse_1)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "int p1" primitive_type identifier) , (parameter_declaration "int p2" primitive_type identifier) , (parameter_declaration "int p3" primitive_type identifier) , (parameter_declaration "int nArg" primitive_type identifier) , (parameter_declaration "FuncDef *pFunc" type_identifier (pointer_declarator "*pFunc" * identifier)) , (parameter_declaration "int eCallCtx" primitive_type identifier) , (parameter_declaration "Parse *pParse_1" type_identifier (pointer_declarator "*pParse_1" * identifier)) ))) (compound_statement "{\n  char *zP4;\n  int addr;\n  u64 in_stack_ffffffe4;\n  \n  zP4 = (char *)sqlite3DbMallocRawNN(pParse->db,in_stack_ffffffe4);\n  if (zP4 == (char *)0x0) {\n    addr = 0;\n    if ((*(byte *)(eCallCtx + 4) & 0x10) != 0) {\n      sqlite3DbFreeNN(pParse->db,(void *)eCallCtx);\n    }\n  }\n  else {\n    zP4[0] = '\0';\n    zP4[1] = '\0';\n    zP4[2] = '\0';\n    zP4[3] = '\0';\n    zP4[0x14] = '\0';\n    zP4[0x15] = '\0';\n    zP4[0x16] = '\0';\n    zP4[0x17] = '\0';\n    zP4[0xc] = '\0';\n    zP4[0xd] = '\0';\n    zP4[0xe] = '\0';\n    zP4[0xf] = '\0';\n    *(int *)(zP4 + 4) = eCallCtx;\n    zP4[0x19] = (char)pFunc;\n    *(undefined4 *)(zP4 + 0x10) = *(undefined4 *)(p1 + 0x68);\n    addr = sqlite3VdbeAddOp3((Vdbe *)p1,(pParse_1 == (Parse *)0x0) + 0x3f,p2,p3,nArg);\n    sqlite3VdbeChangeP4((Vdbe *)p1,addr,zP4,-0x10);\n    if (0 < *(int *)(p1 + 0x68)) {\n      *(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12) = (ushort)pParse_1 & 0x2e\n      ;\n    }\n  }\n  return addr;\n}" { (declaration "char *zP4;" primitive_type (pointer_declarator "*zP4" * identifier) ;) (declaration "int addr;" primitive_type identifier ;) (declaration "u64 in_stack_ffffffe4;" type_identifier identifier ;) (expression_statement "zP4 = (char *)sqlite3DbMallocRawNN(pParse->db,in_stack_ffffffe4);" (assignment_expression "zP4 = (char *)sqlite3DbMallocRawNN(pParse->db,in_stack_ffffffe4)" identifier = (cast_expression "(char *)sqlite3DbMallocRawNN(pParse->db,in_stack_ffffffe4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3DbMallocRawNN(pParse->db,in_stack_ffffffe4)" identifier (argument_list "(pParse->db,in_stack_ffffffe4)" ( (field_expression "pParse->db" identifier -> field_identifier) , identifier ))))) ;) (if_statement "if (zP4 == (char *)0x0) {\n    addr = 0;\n    if ((*(byte *)(eCallCtx + 4) & 0x10) != 0) {\n      sqlite3DbFreeNN(pParse->db,(void *)eCallCtx);\n    }\n  }\n  else {\n    zP4[0] = '\0';\n    zP4[1] = '\0';\n    zP4[2] = '\0';\n    zP4[3] = '\0';\n    zP4[0x14] = '\0';\n    zP4[0x15] = '\0';\n    zP4[0x16] = '\0';\n    zP4[0x17] = '\0';\n    zP4[0xc] = '\0';\n    zP4[0xd] = '\0';\n    zP4[0xe] = '\0';\n    zP4[0xf] = '\0';\n    *(int *)(zP4 + 4) = eCallCtx;\n    zP4[0x19] = (char)pFunc;\n    *(undefined4 *)(zP4 + 0x10) = *(undefined4 *)(p1 + 0x68);\n    addr = sqlite3VdbeAddOp3((Vdbe *)p1,(pParse_1 == (Parse *)0x0) + 0x3f,p2,p3,nArg);\n    sqlite3VdbeChangeP4((Vdbe *)p1,addr,zP4,-0x10);\n    if (0 < *(int *)(p1 + 0x68)) {\n      *(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12) = (ushort)pParse_1 & 0x2e\n      ;\n    }\n  }" if (parenthesized_expression "(zP4 == (char *)0x0)" ( (binary_expression "zP4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    addr = 0;\n    if ((*(byte *)(eCallCtx + 4) & 0x10) != 0) {\n      sqlite3DbFreeNN(pParse->db,(void *)eCallCtx);\n    }\n  }" { (expression_statement "addr = 0;" (assignment_expression "addr = 0" identifier = number_literal) ;) (if_statement "if ((*(byte *)(eCallCtx + 4) & 0x10) != 0) {\n      sqlite3DbFreeNN(pParse->db,(void *)eCallCtx);\n    }" if (parenthesized_expression "((*(byte *)(eCallCtx + 4) & 0x10) != 0)" ( (binary_expression "(*(byte *)(eCallCtx + 4) & 0x10) != 0" (parenthesized_expression "(*(byte *)(eCallCtx + 4) & 0x10)" ( (binary_expression "*(byte *)(eCallCtx + 4) & 0x10" (pointer_expression "*(byte *)(eCallCtx + 4)" * (cast_expression "(byte *)(eCallCtx + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(eCallCtx + 4)" ( (binary_expression "eCallCtx + 4" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      sqlite3DbFreeNN(pParse->db,(void *)eCallCtx);\n    }" { (expression_statement "sqlite3DbFreeNN(pParse->db,(void *)eCallCtx);" (call_expression "sqlite3DbFreeNN(pParse->db,(void *)eCallCtx)" identifier (argument_list "(pParse->db,(void *)eCallCtx)" ( (field_expression "pParse->db" identifier -> field_identifier) , (cast_expression "(void *)eCallCtx" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) })) }) (else_clause "else {\n    zP4[0] = '\0';\n    zP4[1] = '\0';\n    zP4[2] = '\0';\n    zP4[3] = '\0';\n    zP4[0x14] = '\0';\n    zP4[0x15] = '\0';\n    zP4[0x16] = '\0';\n    zP4[0x17] = '\0';\n    zP4[0xc] = '\0';\n    zP4[0xd] = '\0';\n    zP4[0xe] = '\0';\n    zP4[0xf] = '\0';\n    *(int *)(zP4 + 4) = eCallCtx;\n    zP4[0x19] = (char)pFunc;\n    *(undefined4 *)(zP4 + 0x10) = *(undefined4 *)(p1 + 0x68);\n    addr = sqlite3VdbeAddOp3((Vdbe *)p1,(pParse_1 == (Parse *)0x0) + 0x3f,p2,p3,nArg);\n    sqlite3VdbeChangeP4((Vdbe *)p1,addr,zP4,-0x10);\n    if (0 < *(int *)(p1 + 0x68)) {\n      *(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12) = (ushort)pParse_1 & 0x2e\n      ;\n    }\n  }" else (compound_statement "{\n    zP4[0] = '\0';\n    zP4[1] = '\0';\n    zP4[2] = '\0';\n    zP4[3] = '\0';\n    zP4[0x14] = '\0';\n    zP4[0x15] = '\0';\n    zP4[0x16] = '\0';\n    zP4[0x17] = '\0';\n    zP4[0xc] = '\0';\n    zP4[0xd] = '\0';\n    zP4[0xe] = '\0';\n    zP4[0xf] = '\0';\n    *(int *)(zP4 + 4) = eCallCtx;\n    zP4[0x19] = (char)pFunc;\n    *(undefined4 *)(zP4 + 0x10) = *(undefined4 *)(p1 + 0x68);\n    addr = sqlite3VdbeAddOp3((Vdbe *)p1,(pParse_1 == (Parse *)0x0) + 0x3f,p2,p3,nArg);\n    sqlite3VdbeChangeP4((Vdbe *)p1,addr,zP4,-0x10);\n    if (0 < *(int *)(p1 + 0x68)) {\n      *(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12) = (ushort)pParse_1 & 0x2e\n      ;\n    }\n  }" { (expression_statement "zP4[0] = '\0';" (assignment_expression "zP4[0] = '\0'" (subscript_expression "zP4[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "zP4[1] = '\0';" (assignment_expression "zP4[1] = '\0'" (subscript_expression "zP4[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "zP4[2] = '\0';" (assignment_expression "zP4[2] = '\0'" (subscript_expression "zP4[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "zP4[3] = '\0';" (assignment_expression "zP4[3] = '\0'" (subscript_expression "zP4[3]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "zP4[0x14] = '\0';" (assignment_expression "zP4[0x14] = '\0'" (subscript_expression "zP4[0x14]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "zP4[0x15] = '\0';" (assignment_expression "zP4[0x15] = '\0'" (subscript_expression "zP4[0x15]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "zP4[0x16] = '\0';" (assignment_expression "zP4[0x16] = '\0'" (subscript_expression "zP4[0x16]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "zP4[0x17] = '\0';" (assignment_expression "zP4[0x17] = '\0'" (subscript_expression "zP4[0x17]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "zP4[0xc] = '\0';" (assignment_expression "zP4[0xc] = '\0'" (subscript_expression "zP4[0xc]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "zP4[0xd] = '\0';" (assignment_expression "zP4[0xd] = '\0'" (subscript_expression "zP4[0xd]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "zP4[0xe] = '\0';" (assignment_expression "zP4[0xe] = '\0'" (subscript_expression "zP4[0xe]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "zP4[0xf] = '\0';" (assignment_expression "zP4[0xf] = '\0'" (subscript_expression "zP4[0xf]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "*(int *)(zP4 + 4) = eCallCtx;" (assignment_expression "*(int *)(zP4 + 4) = eCallCtx" (pointer_expression "*(int *)(zP4 + 4)" * (cast_expression "(int *)(zP4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(zP4 + 4)" ( (binary_expression "zP4 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "zP4[0x19] = (char)pFunc;" (assignment_expression "zP4[0x19] = (char)pFunc" (subscript_expression "zP4[0x19]" identifier [ number_literal ]) = (cast_expression "(char)pFunc" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*(undefined4 *)(zP4 + 0x10) = *(undefined4 *)(p1 + 0x68);" (assignment_expression "*(undefined4 *)(zP4 + 0x10) = *(undefined4 *)(p1 + 0x68)" (pointer_expression "*(undefined4 *)(zP4 + 0x10)" * (cast_expression "(undefined4 *)(zP4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(zP4 + 0x10)" ( (binary_expression "zP4 + 0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(p1 + 0x68)" * (cast_expression "(undefined4 *)(p1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p1 + 0x68)" ( (binary_expression "p1 + 0x68" identifier + number_literal) ))))) ;) (expression_statement "addr = sqlite3VdbeAddOp3((Vdbe *)p1,(pParse_1 == (Parse *)0x0) + 0x3f,p2,p3,nArg);" (assignment_expression "addr = sqlite3VdbeAddOp3((Vdbe *)p1,(pParse_1 == (Parse *)0x0) + 0x3f,p2,p3,nArg)" identifier = (call_expression "sqlite3VdbeAddOp3((Vdbe *)p1,(pParse_1 == (Parse *)0x0) + 0x3f,p2,p3,nArg)" identifier (argument_list "((Vdbe *)p1,(pParse_1 == (Parse *)0x0) + 0x3f,p2,p3,nArg)" ( (cast_expression "(Vdbe *)p1" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (binary_expression "(pParse_1 == (Parse *)0x0) + 0x3f" (parenthesized_expression "(pParse_1 == (Parse *)0x0)" ( (binary_expression "pParse_1 == (Parse *)0x0" identifier == (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) + number_literal) , identifier , identifier , identifier )))) ;) (expression_statement "sqlite3VdbeChangeP4((Vdbe *)p1,addr,zP4,-0x10);" (call_expression "sqlite3VdbeChangeP4((Vdbe *)p1,addr,zP4,-0x10)" identifier (argument_list "((Vdbe *)p1,addr,zP4,-0x10)" ( (cast_expression "(Vdbe *)p1" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , number_literal ))) ;) (if_statement "if (0 < *(int *)(p1 + 0x68)) {\n      *(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12) = (ushort)pParse_1 & 0x2e\n      ;\n    }" if (parenthesized_expression "(0 < *(int *)(p1 + 0x68))" ( (binary_expression "0 < *(int *)(p1 + 0x68)" number_literal < (pointer_expression "*(int *)(p1 + 0x68)" * (cast_expression "(int *)(p1 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p1 + 0x68)" ( (binary_expression "p1 + 0x68" identifier + number_literal) ))))) )) (compound_statement "{\n      *(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12) = (ushort)pParse_1 & 0x2e\n      ;\n    }" { (expression_statement "*(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12) = (ushort)pParse_1 & 0x2e\n      ;" (assignment_expression "*(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12) = (ushort)pParse_1 & 0x2e" (pointer_expression "*(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12)" * (cast_expression "(ushort *)(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12)" ( (binary_expression "*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14 + -0x12" (binary_expression "*(int *)(p1 + 100) + *(int *)(p1 + 0x68) * 0x14" (pointer_expression "*(int *)(p1 + 100)" * (cast_expression "(int *)(p1 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p1 + 100)" ( (binary_expression "p1 + 100" identifier + number_literal) )))) + (binary_expression "*(int *)(p1 + 0x68) * 0x14" (pointer_expression "*(int *)(p1 + 0x68)" * (cast_expression "(int *)(p1 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p1 + 0x68)" ( (binary_expression "p1 + 0x68" identifier + number_literal) )))) * number_literal)) + number_literal) )))) = (binary_expression "(ushort)pParse_1 & 0x2e" (cast_expression "(ushort)pParse_1" ( (type_descriptor "ushort" type_identifier) ) identifier) & number_literal)) ;) })) }))) (return_statement "return addr;" return identifier ;) })))
(translation_unit "undefined4 __regparm2\nFUN_00032670(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,int param_6,ushort param_7)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0002e2d0();\n  if (puVar1 == (undefined4 *)0x0) {\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }\n  else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 __regparm2\nFUN_00032670(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,int param_6,ushort param_7)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0002e2d0();\n  if (puVar1 == (undefined4 *)0x0) {\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }\n  else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }\n  return uVar2;\n}" type_identifier (ERROR "__regparm2" identifier) (function_declarator "FUN_00032670(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,int param_6,ushort param_7)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,int param_6,ushort param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined1 param_5" type_identifier identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "ushort param_7" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0002e2d0();\n  if (puVar1 == (undefined4 *)0x0) {\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }\n  else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }\n  return uVar2;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)FUN_0002e2d0();" (assignment_expression "puVar1 = (undefined4 *)FUN_0002e2d0()" identifier = (cast_expression "(undefined4 *)FUN_0002e2d0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002e2d0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (puVar1 == (undefined4 *)0x0) {\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }\n  else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }" if (parenthesized_expression "(puVar1 == (undefined4 *)0x0)" ( (binary_expression "puVar1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }" if (parenthesized_expression "((*(byte *)(param_6 + 4) & 0x10) != 0)" ( (binary_expression "(*(byte *)(param_6 + 4) & 0x10) != 0" (parenthesized_expression "(*(byte *)(param_6 + 4) & 0x10)" ( (binary_expression "*(byte *)(param_6 + 4) & 0x10" (pointer_expression "*(byte *)(param_6 + 4)" * (cast_expression "(byte *)(param_6 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 4)" ( (binary_expression "param_6 + 4" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      FUN_00024720();\n    }" { (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" identifier (argument_list "()" ( ))) ;) })) }) (else_clause "else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }" else (compound_statement "{\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }" { (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[5] = 0;" (assignment_expression "puVar1[5] = 0" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[1] = param_6;" (assignment_expression "puVar1[1] = param_6" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 0x19) = param_5;" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x19) = param_5" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x19)" * (cast_expression "(undefined1 *)((int)puVar1 + 0x19)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 0x19)" ( (binary_expression "(int)puVar1 + 0x19" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar1[4] = *(undefined4 *)(param_2 + 0x68);" (assignment_expression "puVar1[4] = *(undefined4 *)(param_2 + 0x68)" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 0x68)" * (cast_expression "(undefined4 *)(param_2 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = FUN_000315c0(param_3,param_4);" (assignment_expression "uVar2 = FUN_000315c0(param_3,param_4)" identifier = (call_expression "FUN_000315c0(param_3,param_4)" identifier (argument_list "(param_3,param_4)" ( identifier , identifier )))) ;) (expression_statement "FUN_00032090(0xfffffff0);" (call_expression "FUN_00032090(0xfffffff0)" identifier (argument_list "(0xfffffff0)" ( number_literal ))) ;) (if_statement "if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }" if (parenthesized_expression "(0 < *(int *)(param_2 + 0x68))" ( (binary_expression "0 < *(int *)(param_2 + 0x68)" number_literal < (pointer_expression "*(int *)(param_2 + 0x68)" * (cast_expression "(int *)(param_2 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) ))))) )) (compound_statement "{\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }" { (expression_statement "*(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;" (assignment_expression "*(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e" (pointer_expression "*(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12)" * (cast_expression "(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12)" ( (binary_expression "*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12" (binary_expression "*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14" (pointer_expression "*(int *)(param_2 + 100)" * (cast_expression "(int *)(param_2 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 100)" ( (binary_expression "param_2 + 100" identifier + number_literal) )))) + (binary_expression "*(int *)(param_2 + 0x68) * 0x14" (pointer_expression "*(int *)(param_2 + 0x68)" * (cast_expression "(int *)(param_2 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x68)" ( (binary_expression "param_2 + 0x68" identifier + number_literal) )))) * number_literal)) + number_literal) )))) = (binary_expression "param_7 & 0x2e" identifier & number_literal)) ;) })) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_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)) + LIT) )))) = (binary_expression IDENT & LIT)) ;) })) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 __regparm2\nFUN_00032670(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,int param_6,ushort param_7)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0002e2d0();\n  if (puVar1 == (undefined4 *)0x0) {\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }\n  else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_00032670(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,int param_6,ushort param_7)" (identifier "FUN_00032670") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,int param_6,ushort param_7)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined1 param_5" (type_identifier "undefined1") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "ushort param_7" (type_identifier "ushort") (identifier "param_7")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_0002e2d0();\n  if (puVar1 == (undefined4 *)0x0) {\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }\n  else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }\n  return uVar2;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_0002e2d0();" (assignment_expression "puVar1 = (undefined4 *)FUN_0002e2d0()" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_0002e2d0()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0002e2d0()" (identifier "FUN_0002e2d0") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (puVar1 == (undefined4 *)0x0) {\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }\n  else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }" (if "if") (parenthesized_expression "(puVar1 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 == (undefined4 *)0x0" (identifier "puVar1") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar2 = 0;\n    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((*(byte *)(param_6 + 4) & 0x10) != 0) {\n      FUN_00024720();\n    }" (if "if") (parenthesized_expression "((*(byte *)(param_6 + 4) & 0x10) != 0)" (( "(") (binary_expression "(*(byte *)(param_6 + 4) & 0x10) != 0" (parenthesized_expression "(*(byte *)(param_6 + 4) & 0x10)" (( "(") (binary_expression "*(byte *)(param_6 + 4) & 0x10" (pointer_expression "*(byte *)(param_6 + 4)" (* "*") (cast_expression "(byte *)(param_6 + 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_6 + 4)" (( "(") (binary_expression "param_6 + 4" (identifier "param_6") (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00024720();\n    }" ({ "{") (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" (identifier "FUN_00024720") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }" (else "else") (compound_statement "{\n    *puVar1 = 0;\n    puVar1[5] = 0;\n    puVar1[3] = 0;\n    puVar1[1] = param_6;\n    *(undefined1 *)((int)puVar1 + 0x19) = param_5;\n    puVar1[4] = *(undefined4 *)(param_2 + 0x68);\n    uVar2 = FUN_000315c0(param_3,param_4);\n    FUN_00032090(0xfffffff0);\n    if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }\n  }" ({ "{") (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[5] = 0;" (assignment_expression "puVar1[5] = 0" (subscript_expression "puVar1[5]" (identifier "puVar1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[1] = param_6;" (assignment_expression "puVar1[1] = param_6" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_6")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar1 + 0x19) = param_5;" (assignment_expression "*(undefined1 *)((int)puVar1 + 0x19) = param_5" (pointer_expression "*(undefined1 *)((int)puVar1 + 0x19)" (* "*") (cast_expression "(undefined1 *)((int)puVar1 + 0x19)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + 0x19)" (( "(") (binary_expression "(int)puVar1 + 0x19" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (number_literal "0x19")) () ")")))) (= "=") (identifier "param_5")) (; ";")) (expression_statement "puVar1[4] = *(undefined4 *)(param_2 + 0x68);" (assignment_expression "puVar1[4] = *(undefined4 *)(param_2 + 0x68)" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x68)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x68)" (( "(") (binary_expression "param_2 + 0x68" (identifier "param_2") (+ "+") (number_literal "0x68")) () ")"))))) (; ";")) (expression_statement "uVar2 = FUN_000315c0(param_3,param_4);" (assignment_expression "uVar2 = FUN_000315c0(param_3,param_4)" (identifier "uVar2") (= "=") (call_expression "FUN_000315c0(param_3,param_4)" (identifier "FUN_000315c0") (argument_list "(param_3,param_4)" (( "(") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "FUN_00032090(0xfffffff0);" (call_expression "FUN_00032090(0xfffffff0)" (identifier "FUN_00032090") (argument_list "(0xfffffff0)" (( "(") (number_literal "0xfffffff0") () ")"))) (; ";")) (if_statement "if (0 < *(int *)(param_2 + 0x68)) {\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }" (if "if") (parenthesized_expression "(0 < *(int *)(param_2 + 0x68))" (( "(") (binary_expression "0 < *(int *)(param_2 + 0x68)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_2 + 0x68)" (* "*") (cast_expression "(int *)(param_2 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x68)" (( "(") (binary_expression "param_2 + 0x68" (identifier "param_2") (+ "+") (number_literal "0x68")) () ")"))))) () ")")) (compound_statement "{\n      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;\n    }" ({ "{") (expression_statement "*(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e;" (assignment_expression "*(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =\n           param_7 & 0x2e" (pointer_expression "*(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12)" (* "*") (cast_expression "(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12)" (( "(") (binary_expression "*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12" (binary_expression "*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14" (pointer_expression "*(int *)(param_2 + 100)" (* "*") (cast_expression "(int *)(param_2 + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 100)" (( "(") (binary_expression "param_2 + 100" (identifier "param_2") (+ "+") (number_literal "100")) () ")")))) (+ "+") (binary_expression "*(int *)(param_2 + 0x68) * 0x14" (pointer_expression "*(int *)(param_2 + 0x68)" (* "*") (cast_expression "(int *)(param_2 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x68)" (( "(") (binary_expression "param_2 + 0x68" (identifier "param_2") (+ "+") (number_literal "0x68")) () ")")))) (* "*") (number_literal "0x14"))) (+ "+") (number_literal "-0x12")) () ")")))) (= "=") (binary_expression "param_7 & 0x2e" (identifier "param_7") (& "&") (number_literal "0x2e"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

/* DWARF original prototype: int sqlite3VdbeAddFunctionCall(Parse * pParse, int p1, int p2, int p3,
   int nArg, FuncDef * pFunc, int eCallCtx, Parse * pParse) */

int __regparm3
function_1
          (type_1 *pParse,int var_5,int p2,int p3,int nArg,type_2 *pFunc,int var_3,type_1 *var_7)

{
  char *var_2;
  int addr;
  type_3 in_stack_ffffffe4;
  
  var_2 = (char *)var_1(pParse->db,in_stack_ffffffe4);
  if (var_2 == (char *)0x0) {
    addr = 0;
    if ((*(type_4 *)(var_3 + 4) & 0x10) != 0) {
      var_4(pParse->db,(void *)var_3);
    }
  }
  else {
    var_2[0] = '\0';
    var_2[1] = '\0';
    var_2[2] = '\0';
    var_2[3] = '\0';
    var_2[0x14] = '\0';
    var_2[0x15] = '\0';
    var_2[0x16] = '\0';
    var_2[0x17] = '\0';
    var_2[0xc] = '\0';
    var_2[0xd] = '\0';
    var_2[0xe] = '\0';
    var_2[0xf] = '\0';
    *(int *)(var_2 + 4) = var_3;
    var_2[0x19] = (char)pFunc;
    *(type_5 *)(var_2 + 0x10) = *(type_5 *)(var_5 + 0x68);
    addr = var_6((type_6 *)var_5,(var_7 == (type_1 *)0x0) + 0x3f,p2,p3,nArg);
    var_8((type_6 *)var_5,addr,var_2,-0x10);
    if (0 < *(int *)(var_5 + 0x68)) {
      *(type_7 *)(*(int *)(var_5 + 100) + *(int *)(var_5 + 0x68) * 0x14 + -0x12) = (type_7)var_7 & 0x2e
      ;
    }
  }
  return addr;
}


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

undefined4 __regparm2
MASKED(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5
            ,int param_6,ushort param_7)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  
  puVar1 = (undefined4 *)FUN_0002e2d0();
  if (puVar1 == (undefined4 *)0x0) {
    uVar2 = 0;
    if ((*(byte *)(param_6 + 4) & 0x10) != 0) {
      FUN_00024720();
    }
  }
  else {
    *puVar1 = 0;
    puVar1[5] = 0;
    puVar1[3] = 0;
    puVar1[1] = param_6;
    *(undefined1 *)((int)puVar1 + 0x19) = param_5;
    puVar1[4] = *(undefined4 *)(param_2 + 0x68);
    uVar2 = FUN_000315c0(param_3,param_4);
    FUN_00032090(0xfffffff0);
    if (0 < *(int *)(param_2 + 0x68)) {
      *(ushort *)(*(int *)(param_2 + 100) + *(int *)(param_2 + 0x68) * 0x14 + -0x12) =
           param_7 & 0x2e;
    }
  }
  return uVar2;
}

