
void vdbeChangeP4Full(Vdbe *p,Op *pOp,char *zP4,int n)

{
  char *pcVar1;
  undefined1 *puVar2;
  undefined4 in_stack_ffffffe4;
  
  puVar2 = &_gp;
  if (pOp->p4type != 0) {
    freeP4(p->db,(int)pOp->p4type,(pOp->p4).p);
    pOp->p4type = '\0';
    (pOp->p4).i = 0;
  }
  if (n < 0) {
    sqlite3VdbeChangeP4(p,((int)pOp - (int)p->aOp >> 3) * -0x55555555,zP4,n);
    return;
  }
  if ((n == 0) && (zP4 != (char *)0x0)) {
    (**(code **)(puVar2 + -0x7ba0))(zP4);
  }
  pcVar1 = sqlite3DbStrNDup(p->db,zP4,CONCAT44(puVar2,in_stack_ffffffe4));
  (pOp->p4).z = pcVar1;
  pOp->p4type = -7;
  return;
}



void FUN_00067b10(undefined4 *param_1,int param_2,int param_3,uint param_4)

{
  undefined4 uVar1;
  int iVar2;
  
  if (*(char *)(param_2 + 1) != 0) {
    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));
    *(undefined1 *)(param_2 + 1) = 0;
    *(undefined4 *)(param_2 + 0x10) = 0;
  }
  if ((int)param_4 < 0) {
    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);
    return;
  }
  iVar2 = (int)param_4 >> 0x1f;
  if (param_4 == 0) {
    if (param_3 == 0) {
      iVar2 = 0;
      param_4 = 0;
    }
    else {
      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);
      param_4 = param_4 & 0x3fffffff;
      iVar2 = 0;
    }
  }
  uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);
  *(undefined4 *)(param_2 + 0x10) = uVar1;
  *(undefined1 *)(param_2 + 1) = 0xf9;
  return;
}


lui gp,0x13
addiu gp,gp,0xe10
addu gp,gp,t9
addiu sp,sp,-0x30
sw s2,0x28(sp)
or s2,a0,zero
sw s1,0x24(sp)
sw s0,0x20(sp)
or s0,a1,zero
sw gp,0x10(sp)
sw ra,0x2c(sp)
lb a1,0x1(a1)
bne a1,zero,0x00067bac
_or s1,a2,zero
bltz a3,0x00067bd8
_nop
bne a3,zero,0x00067b74
_sra a2,a3,0x1f
beq s1,zero,0x00067c18
_lw t9,-0x7ba0(gp)
jalr t9
_or a0,s1,zero
lw gp,0x10(sp)
ext a3,v0,0x0,0x1e
sra a2,a3,0x1f
lw t9,-0x7d78(gp)
or a1,s1,zero
addiu t9,t9,0x10e8
bal 0x000510e8
_lw a0,0x0(s2)
sw v0,0x10(s0)
li v0,-0x7
sb v0,0x1(s0)
lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x7d7c(gp)
lw a2,0x10(s0)
lw a0,0x0(a0)
addiu t9,t9,-0x314c
bal 0x0005ceb4
_sw a3,0x1c(sp)
lw a3,0x1c(sp)
lw gp,0x10(sp)
sb zero,0x1(s0)
bgez a3,0x00067b50
_sw zero,0x10(s0)
lw a1,0x68(s2)
or a2,s1,zero
lw t9,-0x7d7c(gp)
or a0,s2,zero
lw ra,0x2c(sp)
subu s0,s0,a1
lw s2,0x28(sp)
lui a1,0xaaaa
lw s1,0x24(sp)
sra s0,s0,0x3
ori a1,a1,0xaaab
mul a1,s0,a1
lw s0,0x20(sp)
addiu t9,t9,0x7a3c
b 0x00067a3c
_addiu sp,sp,0x30
or a2,zero,zero
b 0x00067b74
_or a3,zero,zero
(translation_unit "void FUN_00067b10(undefined4 *param_1,int param_2,int param_3,uint param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (*(char *)(param_2 + 1) != 0) {\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }\n  if ((int)param_4 < 0) {\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }\n  iVar2 = (int)param_4 >> 0x1f;\n  if (param_4 == 0) {\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }\n  uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);\n  *(undefined4 *)(param_2 + 0x10) = uVar1;\n  *(undefined1 *)(param_2 + 1) = 0xf9;\n  return;\n}\n\n" (function_definition "void FUN_00067b10(undefined4 *param_1,int param_2,int param_3,uint param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (*(char *)(param_2 + 1) != 0) {\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }\n  if ((int)param_4 < 0) {\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }\n  iVar2 = (int)param_4 >> 0x1f;\n  if (param_4 == 0) {\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }\n  uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);\n  *(undefined4 *)(param_2 + 0x10) = uVar1;\n  *(undefined1 *)(param_2 + 1) = 0xf9;\n  return;\n}" primitive_type (function_declarator "FUN_00067b10(undefined4 *param_1,int param_2,int param_3,uint param_4)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3,uint param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (*(char *)(param_2 + 1) != 0) {\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }\n  if ((int)param_4 < 0) {\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }\n  iVar2 = (int)param_4 >> 0x1f;\n  if (param_4 == 0) {\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }\n  uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);\n  *(undefined4 *)(param_2 + 0x10) = uVar1;\n  *(undefined1 *)(param_2 + 1) = 0xf9;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (*(char *)(param_2 + 1) != 0) {\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }" if (parenthesized_expression "(*(char *)(param_2 + 1) != 0)" ( (binary_expression "*(char *)(param_2 + 1) != 0" (pointer_expression "*(char *)(param_2 + 1)" * (cast_expression "(char *)(param_2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }" { (expression_statement "FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));" (call_expression "FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10))" identifier (argument_list "(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10))" ( (pointer_expression "*param_1" * identifier) , (cast_expression "(int)*(char *)(param_2 + 1)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(param_2 + 1)" * (cast_expression "(char *)(param_2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) ))))) , (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined1 *)(param_2 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 1) = 0" (pointer_expression "*(undefined1 *)(param_2 + 1)" * (cast_expression "(undefined1 *)(param_2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = number_literal) ;) })) (if_statement "if ((int)param_4 < 0) {\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }" if (parenthesized_expression "((int)param_4 < 0)" ( (binary_expression "(int)param_4 < 0" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }" { (expression_statement "FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);" (call_expression "FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3)" identifier (argument_list "(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3)" ( identifier , (binary_expression "(param_2 - param_1[0x1a] >> 3) * -0x55555555" (parenthesized_expression "(param_2 - param_1[0x1a] >> 3)" ( (binary_expression "param_2 - param_1[0x1a] >> 3" (binary_expression "param_2 - param_1[0x1a]" identifier - (subscript_expression "param_1[0x1a]" identifier [ number_literal ])) >> number_literal) )) * number_literal) , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = (int)param_4 >> 0x1f;" (assignment_expression "iVar2 = (int)param_4 >> 0x1f" identifier = (binary_expression "(int)param_4 >> 0x1f" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if (param_4 == 0) {\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }" { (if_statement "if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar2 = 0;\n      param_4 = 0;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "param_4 = 0;" (assignment_expression "param_4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }" else (compound_statement "{\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }" { (expression_statement "param_4 = (*(code *)PTR_strlen_00190d80)(param_3);" (assignment_expression "param_4 = (*(code *)PTR_strlen_00190d80)(param_3)" identifier = (call_expression "(*(code *)PTR_strlen_00190d80)(param_3)" (parenthesized_expression "(*(code *)PTR_strlen_00190d80)" ( (pointer_expression "*(code *)PTR_strlen_00190d80" * (cast_expression "(code *)PTR_strlen_00190d80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "param_4 = param_4 & 0x3fffffff;" (assignment_expression "param_4 = param_4 & 0x3fffffff" identifier = (binary_expression "param_4 & 0x3fffffff" identifier & number_literal)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }))) })) (expression_statement "uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);" (assignment_expression "uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4)" identifier = (call_expression "FUN_000510e8(*param_1,param_3,iVar2,param_4)" identifier (argument_list "(*param_1,param_3,iVar2,param_4)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x10) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_2 + 1) = 0xf9;" (assignment_expression "*(undefined1 *)(param_2 + 1) = 0xf9" (pointer_expression "*(undefined1 *)(param_2 + 1)" * (cast_expression "(undefined1 *)(param_2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void vdbeChangeP4Full(Vdbe *p,Op *pOp,char *zP4,int n)\n\n{\n  char *pcVar1;\n  undefined1 *puVar2;\n  undefined4 in_stack_ffffffe4;\n  \n  puVar2 = &_gp;\n  if (pOp->p4type != 0) {\n    freeP4(p->db,(int)pOp->p4type,(pOp->p4).p);\n    pOp->p4type = '\0';\n    (pOp->p4).i = 0;\n  }\n  if (n < 0) {\n    sqlite3VdbeChangeP4(p,((int)pOp - (int)p->aOp >> 3) * -0x55555555,zP4,n);\n    return;\n  }\n  if ((n == 0) && (zP4 != (char *)0x0)) {\n    (**(code **)(puVar2 + -0x7ba0))(zP4);\n  }\n  pcVar1 = sqlite3DbStrNDup(p->db,zP4,CONCAT44(puVar2,in_stack_ffffffe4));\n  (pOp->p4).z = pcVar1;\n  pOp->p4type = -7;\n  return;\n}\n\n" (function_definition "void vdbeChangeP4Full(Vdbe *p,Op *pOp,char *zP4,int n)\n\n{\n  char *pcVar1;\n  undefined1 *puVar2;\n  undefined4 in_stack_ffffffe4;\n  \n  puVar2 = &_gp;\n  if (pOp->p4type != 0) {\n    freeP4(p->db,(int)pOp->p4type,(pOp->p4).p);\n    pOp->p4type = '\0';\n    (pOp->p4).i = 0;\n  }\n  if (n < 0) {\n    sqlite3VdbeChangeP4(p,((int)pOp - (int)p->aOp >> 3) * -0x55555555,zP4,n);\n    return;\n  }\n  if ((n == 0) && (zP4 != (char *)0x0)) {\n    (**(code **)(puVar2 + -0x7ba0))(zP4);\n  }\n  pcVar1 = sqlite3DbStrNDup(p->db,zP4,CONCAT44(puVar2,in_stack_ffffffe4));\n  (pOp->p4).z = pcVar1;\n  pOp->p4type = -7;\n  return;\n}" primitive_type (function_declarator "vdbeChangeP4Full(Vdbe *p,Op *pOp,char *zP4,int n)" identifier (parameter_list "(Vdbe *p,Op *pOp,char *zP4,int n)" ( (parameter_declaration "Vdbe *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "Op *pOp" type_identifier (pointer_declarator "*pOp" * identifier)) , (parameter_declaration "char *zP4" primitive_type (pointer_declarator "*zP4" * identifier)) , (parameter_declaration "int n" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  undefined1 *puVar2;\n  undefined4 in_stack_ffffffe4;\n  \n  puVar2 = &_gp;\n  if (pOp->p4type != 0) {\n    freeP4(p->db,(int)pOp->p4type,(pOp->p4).p);\n    pOp->p4type = '\0';\n    (pOp->p4).i = 0;\n  }\n  if (n < 0) {\n    sqlite3VdbeChangeP4(p,((int)pOp - (int)p->aOp >> 3) * -0x55555555,zP4,n);\n    return;\n  }\n  if ((n == 0) && (zP4 != (char *)0x0)) {\n    (**(code **)(puVar2 + -0x7ba0))(zP4);\n  }\n  pcVar1 = sqlite3DbStrNDup(p->db,zP4,CONCAT44(puVar2,in_stack_ffffffe4));\n  (pOp->p4).z = pcVar1;\n  pOp->p4type = -7;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 in_stack_ffffffe4;" type_identifier identifier ;) (expression_statement "puVar2 = &_gp;" (assignment_expression "puVar2 = &_gp" identifier = (pointer_expression "&_gp" & identifier)) ;) (if_statement "if (pOp->p4type != 0) {\n    freeP4(p->db,(int)pOp->p4type,(pOp->p4).p);\n    pOp->p4type = '\0';\n    (pOp->p4).i = 0;\n  }" if (parenthesized_expression "(pOp->p4type != 0)" ( (binary_expression "pOp->p4type != 0" (field_expression "pOp->p4type" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    freeP4(p->db,(int)pOp->p4type,(pOp->p4).p);\n    pOp->p4type = '\0';\n    (pOp->p4).i = 0;\n  }" { (expression_statement "freeP4(p->db,(int)pOp->p4type,(pOp->p4).p);" (call_expression "freeP4(p->db,(int)pOp->p4type,(pOp->p4).p)" identifier (argument_list "(p->db,(int)pOp->p4type,(pOp->p4).p)" ( (field_expression "p->db" identifier -> field_identifier) , (cast_expression "(int)pOp->p4type" ( (type_descriptor "int" primitive_type) ) (field_expression "pOp->p4type" identifier -> field_identifier)) , (field_expression "(pOp->p4).p" (parenthesized_expression "(pOp->p4)" ( (field_expression "pOp->p4" identifier -> field_identifier) )) . field_identifier) ))) ;) (expression_statement "pOp->p4type = '\0';" (assignment_expression "pOp->p4type = '\0'" (field_expression "pOp->p4type" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "(pOp->p4).i = 0;" (assignment_expression "(pOp->p4).i = 0" (field_expression "(pOp->p4).i" (parenthesized_expression "(pOp->p4)" ( (field_expression "pOp->p4" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) })) (if_statement "if (n < 0) {\n    sqlite3VdbeChangeP4(p,((int)pOp - (int)p->aOp >> 3) * -0x55555555,zP4,n);\n    return;\n  }" if (parenthesized_expression "(n < 0)" ( (binary_expression "n < 0" identifier < number_literal) )) (compound_statement "{\n    sqlite3VdbeChangeP4(p,((int)pOp - (int)p->aOp >> 3) * -0x55555555,zP4,n);\n    return;\n  }" { (expression_statement "sqlite3VdbeChangeP4(p,((int)pOp - (int)p->aOp >> 3) * -0x55555555,zP4,n);" (call_expression "sqlite3VdbeChangeP4(p,((int)pOp - (int)p->aOp >> 3) * -0x55555555,zP4,n)" identifier (argument_list "(p,((int)pOp - (int)p->aOp >> 3) * -0x55555555,zP4,n)" ( identifier , (binary_expression "((int)pOp - (int)p->aOp >> 3) * -0x55555555" (parenthesized_expression "((int)pOp - (int)p->aOp >> 3)" ( (binary_expression "(int)pOp - (int)p->aOp >> 3" (binary_expression "(int)pOp - (int)p->aOp" (cast_expression "(int)pOp" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)p->aOp" ( (type_descriptor "int" primitive_type) ) (field_expression "p->aOp" identifier -> field_identifier))) >> number_literal) )) * number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((n == 0) && (zP4 != (char *)0x0)) {\n    (**(code **)(puVar2 + -0x7ba0))(zP4);\n  }" if (parenthesized_expression "((n == 0) && (zP4 != (char *)0x0))" ( (binary_expression "(n == 0) && (zP4 != (char *)0x0)" (parenthesized_expression "(n == 0)" ( (binary_expression "n == 0" identifier == number_literal) )) && (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    (**(code **)(puVar2 + -0x7ba0))(zP4);\n  }" { (expression_statement "(**(code **)(puVar2 + -0x7ba0))(zP4);" (call_expression "(**(code **)(puVar2 + -0x7ba0))(zP4)" (parenthesized_expression "(**(code **)(puVar2 + -0x7ba0))" ( (pointer_expression "**(code **)(puVar2 + -0x7ba0)" * (pointer_expression "*(code **)(puVar2 + -0x7ba0)" * (cast_expression "(code **)(puVar2 + -0x7ba0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + -0x7ba0)" ( (binary_expression "puVar2 + -0x7ba0" identifier + number_literal) ))))) )) (argument_list "(zP4)" ( identifier ))) ;) })) (expression_statement "pcVar1 = sqlite3DbStrNDup(p->db,zP4,CONCAT44(puVar2,in_stack_ffffffe4));" (assignment_expression "pcVar1 = sqlite3DbStrNDup(p->db,zP4,CONCAT44(puVar2,in_stack_ffffffe4))" identifier = (call_expression "sqlite3DbStrNDup(p->db,zP4,CONCAT44(puVar2,in_stack_ffffffe4))" identifier (argument_list "(p->db,zP4,CONCAT44(puVar2,in_stack_ffffffe4))" ( (field_expression "p->db" identifier -> field_identifier) , identifier , (call_expression "CONCAT44(puVar2,in_stack_ffffffe4)" identifier (argument_list "(puVar2,in_stack_ffffffe4)" ( identifier , identifier ))) )))) ;) (expression_statement "(pOp->p4).z = pcVar1;" (assignment_expression "(pOp->p4).z = pcVar1" (field_expression "(pOp->p4).z" (parenthesized_expression "(pOp->p4)" ( (field_expression "pOp->p4" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pOp->p4type = -7;" (assignment_expression "pOp->p4type = -7" (field_expression "pOp->p4type" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00067b10(undefined4 *param_1,int param_2,int param_3,uint param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (*(char *)(param_2 + 1) != 0) {\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }\n  if ((int)param_4 < 0) {\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }\n  iVar2 = (int)param_4 >> 0x1f;\n  if (param_4 == 0) {\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }\n  uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);\n  *(undefined4 *)(param_2 + 0x10) = uVar1;\n  *(undefined1 *)(param_2 + 1) = 0xf9;\n  return;\n}\n\n" (function_definition "void FUN_00067b10(undefined4 *param_1,int param_2,int param_3,uint param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (*(char *)(param_2 + 1) != 0) {\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }\n  if ((int)param_4 < 0) {\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }\n  iVar2 = (int)param_4 >> 0x1f;\n  if (param_4 == 0) {\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }\n  uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);\n  *(undefined4 *)(param_2 + 0x10) = uVar1;\n  *(undefined1 *)(param_2 + 1) = 0xf9;\n  return;\n}" primitive_type (function_declarator "FUN_00067b10(undefined4 *param_1,int param_2,int param_3,uint param_4)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3,uint param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (*(char *)(param_2 + 1) != 0) {\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }\n  if ((int)param_4 < 0) {\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }\n  iVar2 = (int)param_4 >> 0x1f;\n  if (param_4 == 0) {\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }\n  uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);\n  *(undefined4 *)(param_2 + 0x10) = uVar1;\n  *(undefined1 *)(param_2 + 1) = 0xf9;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (*(char *)(param_2 + 1) != 0) {\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }" if (parenthesized_expression "(*(char *)(param_2 + 1) != 0)" ( (binary_expression "*(char *)(param_2 + 1) != 0" (pointer_expression "*(char *)(param_2 + 1)" * (cast_expression "(char *)(param_2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }" { (expression_statement "FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));" (call_expression "FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10))" identifier (argument_list "(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10))" ( (pointer_expression "*param_1" * identifier) , (cast_expression "(int)*(char *)(param_2 + 1)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(param_2 + 1)" * (cast_expression "(char *)(param_2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) ))))) , (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined1 *)(param_2 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 1) = 0" (pointer_expression "*(undefined1 *)(param_2 + 1)" * (cast_expression "(undefined1 *)(param_2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = number_literal) ;) })) (if_statement "if ((int)param_4 < 0) {\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }" if (parenthesized_expression "((int)param_4 < 0)" ( (binary_expression "(int)param_4 < 0" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }" { (expression_statement "FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);" (call_expression "FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3)" identifier (argument_list "(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3)" ( identifier , (binary_expression "(param_2 - param_1[0x1a] >> 3) * -0x55555555" (parenthesized_expression "(param_2 - param_1[0x1a] >> 3)" ( (binary_expression "param_2 - param_1[0x1a] >> 3" (binary_expression "param_2 - param_1[0x1a]" identifier - (subscript_expression "param_1[0x1a]" identifier [ number_literal ])) >> number_literal) )) * number_literal) , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = (int)param_4 >> 0x1f;" (assignment_expression "iVar2 = (int)param_4 >> 0x1f" identifier = (binary_expression "(int)param_4 >> 0x1f" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if (param_4 == 0) {\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }" { (if_statement "if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar2 = 0;\n      param_4 = 0;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "param_4 = 0;" (assignment_expression "param_4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }" else (compound_statement "{\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }" { (expression_statement "param_4 = (*(code *)PTR_strlen_00190d80)(param_3);" (assignment_expression "param_4 = (*(code *)PTR_strlen_00190d80)(param_3)" identifier = (call_expression "(*(code *)PTR_strlen_00190d80)(param_3)" (parenthesized_expression "(*(code *)PTR_strlen_00190d80)" ( (pointer_expression "*(code *)PTR_strlen_00190d80" * (cast_expression "(code *)PTR_strlen_00190d80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "param_4 = param_4 & 0x3fffffff;" (assignment_expression "param_4 = param_4 & 0x3fffffff" identifier = (binary_expression "param_4 & 0x3fffffff" identifier & number_literal)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }))) })) (expression_statement "uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);" (assignment_expression "uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4)" identifier = (call_expression "FUN_000510e8(*param_1,param_3,iVar2,param_4)" identifier (argument_list "(*param_1,param_3,iVar2,param_4)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x10) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(param_2 + 1) = 0xf9;" (assignment_expression "*(undefined1 *)(param_2 + 1) = 0xf9" (pointer_expression "*(undefined1 *)(param_2 + 1)" * (cast_expression "(undefined1 *)(param_2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - (subscript_expression IDENT [ LIT ])) >> LIT) )) * LIT) , IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00067b10(undefined4 *param_1,int param_2,int param_3,uint param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (*(char *)(param_2 + 1) != 0) {\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }\n  if ((int)param_4 < 0) {\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }\n  iVar2 = (int)param_4 >> 0x1f;\n  if (param_4 == 0) {\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }\n  uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);\n  *(undefined4 *)(param_2 + 0x10) = uVar1;\n  *(undefined1 *)(param_2 + 1) = 0xf9;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00067b10(undefined4 *param_1,int param_2,int param_3,uint param_4)" (identifier "FUN_00067b10") (parameter_list "(undefined4 *param_1,int param_2,int param_3,uint param_4)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (*(char *)(param_2 + 1) != 0) {\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }\n  if ((int)param_4 < 0) {\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }\n  iVar2 = (int)param_4 >> 0x1f;\n  if (param_4 == 0) {\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }\n  uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);\n  *(undefined4 *)(param_2 + 0x10) = uVar1;\n  *(undefined1 *)(param_2 + 1) = 0xf9;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (*(char *)(param_2 + 1) != 0) {\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_2 + 1) != 0)" (( "(") (binary_expression "*(char *)(param_2 + 1) != 0" (pointer_expression "*(char *)(param_2 + 1)" (* "*") (cast_expression "(char *)(param_2 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 1)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));\n    *(undefined1 *)(param_2 + 1) = 0;\n    *(undefined4 *)(param_2 + 0x10) = 0;\n  }" ({ "{") (expression_statement "FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));" (call_expression "FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10))" (identifier "FUN_0005ceb4") (argument_list "(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10))" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (cast_expression "(int)*(char *)(param_2 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)(param_2 + 1)" (* "*") (cast_expression "(char *)(param_2 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 1)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")"))))) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined1 *)(param_2 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 1) = 0" (pointer_expression "*(undefined1 *)(param_2 + 1)" (* "*") (cast_expression "(undefined1 *)(param_2 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 1)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if ((int)param_4 < 0) {\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }" (if "if") (parenthesized_expression "((int)param_4 < 0)" (( "(") (binary_expression "(int)param_4 < 0" (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);\n    return;\n  }" ({ "{") (expression_statement "FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);" (call_expression "FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3)" (identifier "FUN_00067a3c") (argument_list "(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3)" (( "(") (identifier "param_1") (, ",") (binary_expression "(param_2 - param_1[0x1a] >> 3) * -0x55555555" (parenthesized_expression "(param_2 - param_1[0x1a] >> 3)" (( "(") (binary_expression "param_2 - param_1[0x1a] >> 3" (binary_expression "param_2 - param_1[0x1a]" (identifier "param_2") (- "-") (subscript_expression "param_1[0x1a]" (identifier "param_1") ([ "[") (number_literal "0x1a") (] "]"))) (>> ">>") (number_literal "3")) () ")")) (* "*") (number_literal "-0x55555555")) (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = (int)param_4 >> 0x1f;" (assignment_expression "iVar2 = (int)param_4 >> 0x1f" (identifier "iVar2") (= "=") (binary_expression "(int)param_4 >> 0x1f" (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (>> ">>") (number_literal "0x1f"))) (; ";")) (if_statement "if (param_4 == 0) {\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }\n  }" ({ "{") (if_statement "if (param_3 == 0) {\n      iVar2 = 0;\n      param_4 = 0;\n    }\n    else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = 0;\n      param_4 = 0;\n    }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_4 = 0;" (assignment_expression "param_4 = 0" (identifier "param_4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }" (else "else") (compound_statement "{\n      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);\n      param_4 = param_4 & 0x3fffffff;\n      iVar2 = 0;\n    }" ({ "{") (expression_statement "param_4 = (*(code *)PTR_strlen_00190d80)(param_3);" (assignment_expression "param_4 = (*(code *)PTR_strlen_00190d80)(param_3)" (identifier "param_4") (= "=") (call_expression "(*(code *)PTR_strlen_00190d80)(param_3)" (parenthesized_expression "(*(code *)PTR_strlen_00190d80)" (( "(") (pointer_expression "*(code *)PTR_strlen_00190d80" (* "*") (cast_expression "(code *)PTR_strlen_00190d80" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00190d80"))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (expression_statement "param_4 = param_4 & 0x3fffffff;" (assignment_expression "param_4 = param_4 & 0x3fffffff" (identifier "param_4") (= "=") (binary_expression "param_4 & 0x3fffffff" (identifier "param_4") (& "&") (number_literal "0x3fffffff"))) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}"))) (expression_statement "uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);" (assignment_expression "uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4)" (identifier "uVar1") (= "=") (call_expression "FUN_000510e8(*param_1,param_3,iVar2,param_4)" (identifier "FUN_000510e8") (argument_list "(*param_1,param_3,iVar2,param_4)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "param_3") (, ",") (identifier "iVar2") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x10) = uVar1;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = uVar1" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined1 *)(param_2 + 1) = 0xf9;" (assignment_expression "*(undefined1 *)(param_2 + 1) = 0xf9" (pointer_expression "*(undefined1 *)(param_2 + 1)" (* "*") (cast_expression "(undefined1 *)(param_2 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 1)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0xf9")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *p,type_2 *pOp,char *var_4,int var_2)

{
  char *pcVar1;
  type_3 *var_5;
  type_4 in_stack_ffffffe4;
  
  var_5 = &_gp;
  if (pOp->p4type != 0) {
    var_1(p->db,(int)pOp->p4type,(pOp->p4).p);
    pOp->p4type = '\0';
    (pOp->p4).i = 0;
  }
  if (var_2 < 0) {
    var_3(p,((int)pOp - (int)p->aOp >> 3) * -0x55555555,var_4,var_2);
    return;
  }
  if ((var_2 == 0) && (var_4 != (char *)0x0)) {
    (**(type_5 **)(var_5 + -0x7ba0))(var_4);
  }
  pcVar1 = var_6(p->db,var_4,var_7(var_5,in_stack_ffffffe4));
  (pOp->p4).z = pcVar1;
  pOp->p4type = -7;
  return;
}


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

void MASKED(undefined4 *param_1,int param_2,int param_3,uint param_4)

{
  undefined4 uVar1;
  int iVar2;
  
  if (*(char *)(param_2 + 1) != 0) {
    FUN_0005ceb4(*param_1,(int)*(char *)(param_2 + 1),*(undefined4 *)(param_2 + 0x10));
    *(undefined1 *)(param_2 + 1) = 0;
    *(undefined4 *)(param_2 + 0x10) = 0;
  }
  if ((int)param_4 < 0) {
    FUN_00067a3c(param_1,(param_2 - param_1[0x1a] >> 3) * -0x55555555,param_3);
    return;
  }
  iVar2 = (int)param_4 >> 0x1f;
  if (param_4 == 0) {
    if (param_3 == 0) {
      iVar2 = 0;
      param_4 = 0;
    }
    else {
      param_4 = (*(code *)PTR_strlen_00190d80)(param_3);
      param_4 = param_4 & 0x3fffffff;
      iVar2 = 0;
    }
  }
  uVar1 = FUN_000510e8(*param_1,param_3,iVar2,param_4);
  *(undefined4 *)(param_2 + 0x10) = uVar1;
  *(undefined1 *)(param_2 + 1) = 0xf9;
  return;
}

