
void __regparm3 codeDistinct(Parse *pParse,int iTab,int addrRepeat,int N,int iMem)

{
  Vdbe *p;
  byte bVar1;
  int p3;
  
  p = pParse->pVdbe;
  if (pParse->nTempReg == '\0') {
    p3 = pParse->nMem + 1;
    pParse->nMem = p3;
  }
  else {
    bVar1 = pParse->nTempReg - 1;
    pParse->nTempReg = bVar1;
    p3 = pParse->aTempReg[bVar1];
  }
  sqlite3VdbeAddOp4Int(p,0x1d,iTab,addrRepeat,iMem,N);
  sqlite3VdbeAddOp3(p,0x66,iMem,N,p3);
  sqlite3VdbeAddOp4Int(p,0x84,iTab,p3,iMem,N);
  if (0 < p->nOp) {
    p->aOp[p->nOp + -1].p5 = 0x10;
  }
  if (p3 != 0) {
    sqlite3ReleaseTempReg(pParse,p3);
    return;
  }
  return;
}



void __regparm3
FUN_0004abb0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5
            )

{
  int iVar1;
  int iVar2;
  byte bVar3;
  int iVar4;
  
  iVar1 = *(int *)(param_1 + 8);
  if (*(char *)(param_1 + 0x13) == '\0') {
    iVar4 = *(int *)(param_1 + 0x2c) + 1;
    *(int *)(param_1 + 0x2c) = iVar4;
  }
  else {
    bVar3 = *(char *)(param_1 + 0x13) - 1;
    *(byte *)(param_1 + 0x13) = bVar3;
    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);
  }
  FUN_00049940(param_3,param_5,param_4);
  FUN_000497a0(param_4,iVar4);
  FUN_00049940(iVar4,param_5,param_4);
  iVar2 = *(int *)(iVar1 + 0x68);
  if (0 < iVar2) {
    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;
  }
  if (iVar4 != 0) {
    FUN_0002f640();
    return;
  }
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EBX,dword ptr [EDI + 0x8]
MOV EAX,dword ptr [ESP + 0x34]
MOV EBP,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0xc],EDX
MOV dword ptr [ESP + 0x8],EAX
MOVZX EAX,byte ptr [EDI + 0x13]
TEST AL,AL
JZ 0x0004ac70
SUB EAX,0x1
MOV byte ptr [EDI + 0x13],AL
MOVZX EAX,AL
MOV ESI,dword ptr [EDI + EAX*0x4 + 0x90]
SUB ESP,0x4
MOV EDX,0x1d
MOV EAX,EBX
PUSH EBP
PUSH dword ptr [ESP + 0x10]
PUSH ECX
MOV ECX,dword ptr [ESP + 0x1c]
CALL 0x00049940
POP EAX
POP EDX
PUSH ESI
PUSH EBP
MOV ECX,dword ptr [ESP + 0x18]
MOV EDX,0x66
MOV EAX,EBX
CALL 0x000497a0
ADD ESP,0xc
MOV EDX,0x84
MOV EAX,EBX
PUSH EBP
PUSH dword ptr [ESP + 0x10]
PUSH ESI
MOV ECX,dword ptr [ESP + 0x1c]
CALL 0x00049940
MOV EAX,dword ptr [EBX + 0x68]
ADD ESP,0x10
TEST EAX,EAX
JLE 0x0004ac4a
MOV EDX,dword ptr [EBX + 0x64]
LEA EAX,[EAX + EAX*0x4]
MOV ECX,0x10
LEA EAX,[EDX + EAX*0x4]
MOV word ptr [EAX + -0x12],CX
TEST ESI,ESI
JZ 0x0004ac60
ADD ESP,0x1c
MOV EDX,ESI
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x0002f640
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EDI + 0x2c]
LEA ESI,[EAX + 0x1]
MOV dword ptr [EDI + 0x2c],ESI
JMP 0x0004abe8
(translation_unit "void __regparm3\nFUN_0004abb0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n            )\n\n{\n  int iVar1;\n  int iVar2;\n  byte bVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 8);\n  if (*(char *)(param_1 + 0x13) == '\0') {\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }\n  else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }\n  FUN_00049940(param_3,param_5,param_4);\n  FUN_000497a0(param_4,iVar4);\n  FUN_00049940(iVar4,param_5,param_4);\n  iVar2 = *(int *)(iVar1 + 0x68);\n  if (0 < iVar2) {\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }\n  if (iVar4 != 0) {\n    FUN_0002f640();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3\nFUN_0004abb0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n            )\n\n{\n  int iVar1;\n  int iVar2;\n  byte bVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 8);\n  if (*(char *)(param_1 + 0x13) == '\0') {\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }\n  else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }\n  FUN_00049940(param_3,param_5,param_4);\n  FUN_000497a0(param_4,iVar4);\n  FUN_00049940(iVar4,param_5,param_4);\n  iVar2 = *(int *)(iVar1 + 0x68);\n  if (0 < iVar2) {\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }\n  if (iVar4 != 0) {\n    FUN_0002f640();\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0004abb0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n            )" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n            )" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  byte bVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 8);\n  if (*(char *)(param_1 + 0x13) == '\0') {\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }\n  else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }\n  FUN_00049940(param_3,param_5,param_4);\n  FUN_000497a0(param_4,iVar4);\n  FUN_00049940(iVar4,param_5,param_4);\n  iVar2 = *(int *)(iVar1 + 0x68);\n  if (0 < iVar2) {\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }\n  if (iVar4 != 0) {\n    FUN_0002f640();\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 8);" (assignment_expression "iVar1 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(param_1 + 0x13) == '\0') {\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }\n  else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x13) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x13) == '\0'" (pointer_expression "*(char *)(param_1 + 0x13)" * (cast_expression "(char *)(param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13)" ( (binary_expression "param_1 + 0x13" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }" { (expression_statement "iVar4 = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "iVar4 = *(int *)(param_1 + 0x2c) + 1" identifier = (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x2c) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x2c) = iVar4" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }" else (compound_statement "{\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }" { (expression_statement "bVar3 = *(char *)(param_1 + 0x13) - 1;" (assignment_expression "bVar3 = *(char *)(param_1 + 0x13) - 1" identifier = (binary_expression "*(char *)(param_1 + 0x13) - 1" (pointer_expression "*(char *)(param_1 + 0x13)" * (cast_expression "(char *)(param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13)" ( (binary_expression "param_1 + 0x13" identifier + number_literal) )))) - number_literal)) ;) (expression_statement "*(byte *)(param_1 + 0x13) = bVar3;" (assignment_expression "*(byte *)(param_1 + 0x13) = bVar3" (pointer_expression "*(byte *)(param_1 + 0x13)" * (cast_expression "(byte *)(param_1 + 0x13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13)" ( (binary_expression "param_1 + 0x13" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4)" identifier = (pointer_expression "*(int *)(param_1 + 0x90 + (uint)bVar3 * 4)" * (cast_expression "(int *)(param_1 + 0x90 + (uint)bVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90 + (uint)bVar3 * 4)" ( (binary_expression "param_1 + 0x90 + (uint)bVar3 * 4" (binary_expression "param_1 + 0x90" identifier + number_literal) + (binary_expression "(uint)bVar3 * 4" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) ))))) ;) }))) (expression_statement "FUN_00049940(param_3,param_5,param_4);" (call_expression "FUN_00049940(param_3,param_5,param_4)" identifier (argument_list "(param_3,param_5,param_4)" ( identifier , identifier , identifier ))) ;) (expression_statement "FUN_000497a0(param_4,iVar4);" (call_expression "FUN_000497a0(param_4,iVar4)" identifier (argument_list "(param_4,iVar4)" ( identifier , identifier ))) ;) (expression_statement "FUN_00049940(iVar4,param_5,param_4);" (call_expression "FUN_00049940(iVar4,param_5,param_4)" identifier (argument_list "(iVar4,param_5,param_4)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar2 = *(int *)(iVar1 + 0x68);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x68)" identifier = (pointer_expression "*(int *)(iVar1 + 0x68)" * (cast_expression "(int *)(iVar1 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x68)" ( (binary_expression "iVar1 + 0x68" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar2) {\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }" { (expression_statement "*(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;" (assignment_expression "*(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10" (pointer_expression "*(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12)" * (cast_expression "(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12)" ( (binary_expression "*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12" (binary_expression "*(int *)(iVar1 + 100) + iVar2 * 0x14" (pointer_expression "*(int *)(iVar1 + 100)" * (cast_expression "(int *)(iVar1 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 100)" ( (binary_expression "iVar1 + 100" identifier + number_literal) )))) + (binary_expression "iVar2 * 0x14" identifier * number_literal)) + number_literal) )))) = number_literal) ;) })) (if_statement "if (iVar4 != 0) {\n    FUN_0002f640();\n    return;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0002f640();\n    return;\n  }" { (expression_statement "FUN_0002f640();" (call_expression "FUN_0002f640()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 codeDistinct(Parse *pParse,int iTab,int addrRepeat,int N,int iMem)\n\n{\n  Vdbe *p;\n  byte bVar1;\n  int p3;\n  \n  p = pParse->pVdbe;\n  if (pParse->nTempReg == '\0') {\n    p3 = pParse->nMem + 1;\n    pParse->nMem = p3;\n  }\n  else {\n    bVar1 = pParse->nTempReg - 1;\n    pParse->nTempReg = bVar1;\n    p3 = pParse->aTempReg[bVar1];\n  }\n  sqlite3VdbeAddOp4Int(p,0x1d,iTab,addrRepeat,iMem,N);\n  sqlite3VdbeAddOp3(p,0x66,iMem,N,p3);\n  sqlite3VdbeAddOp4Int(p,0x84,iTab,p3,iMem,N);\n  if (0 < p->nOp) {\n    p->aOp[p->nOp + -1].p5 = 0x10;\n  }\n  if (p3 != 0) {\n    sqlite3ReleaseTempReg(pParse,p3);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 codeDistinct(Parse *pParse,int iTab,int addrRepeat,int N,int iMem)\n\n{\n  Vdbe *p;\n  byte bVar1;\n  int p3;\n  \n  p = pParse->pVdbe;\n  if (pParse->nTempReg == '\0') {\n    p3 = pParse->nMem + 1;\n    pParse->nMem = p3;\n  }\n  else {\n    bVar1 = pParse->nTempReg - 1;\n    pParse->nTempReg = bVar1;\n    p3 = pParse->aTempReg[bVar1];\n  }\n  sqlite3VdbeAddOp4Int(p,0x1d,iTab,addrRepeat,iMem,N);\n  sqlite3VdbeAddOp3(p,0x66,iMem,N,p3);\n  sqlite3VdbeAddOp4Int(p,0x84,iTab,p3,iMem,N);\n  if (0 < p->nOp) {\n    p->aOp[p->nOp + -1].p5 = 0x10;\n  }\n  if (p3 != 0) {\n    sqlite3ReleaseTempReg(pParse,p3);\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "codeDistinct(Parse *pParse,int iTab,int addrRepeat,int N,int iMem)" identifier (parameter_list "(Parse *pParse,int iTab,int addrRepeat,int N,int iMem)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "int iTab" primitive_type identifier) , (parameter_declaration "int addrRepeat" primitive_type identifier) , (parameter_declaration "int N" primitive_type identifier) , (parameter_declaration "int iMem" primitive_type identifier) ))) (compound_statement "{\n  Vdbe *p;\n  byte bVar1;\n  int p3;\n  \n  p = pParse->pVdbe;\n  if (pParse->nTempReg == '\0') {\n    p3 = pParse->nMem + 1;\n    pParse->nMem = p3;\n  }\n  else {\n    bVar1 = pParse->nTempReg - 1;\n    pParse->nTempReg = bVar1;\n    p3 = pParse->aTempReg[bVar1];\n  }\n  sqlite3VdbeAddOp4Int(p,0x1d,iTab,addrRepeat,iMem,N);\n  sqlite3VdbeAddOp3(p,0x66,iMem,N,p3);\n  sqlite3VdbeAddOp4Int(p,0x84,iTab,p3,iMem,N);\n  if (0 < p->nOp) {\n    p->aOp[p->nOp + -1].p5 = 0x10;\n  }\n  if (p3 != 0) {\n    sqlite3ReleaseTempReg(pParse,p3);\n    return;\n  }\n  return;\n}" { (declaration "Vdbe *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int p3;" primitive_type identifier ;) (expression_statement "p = pParse->pVdbe;" (assignment_expression "p = pParse->pVdbe" identifier = (field_expression "pParse->pVdbe" identifier -> field_identifier)) ;) (if_statement "if (pParse->nTempReg == '\0') {\n    p3 = pParse->nMem + 1;\n    pParse->nMem = p3;\n  }\n  else {\n    bVar1 = pParse->nTempReg - 1;\n    pParse->nTempReg = bVar1;\n    p3 = pParse->aTempReg[bVar1];\n  }" if (parenthesized_expression "(pParse->nTempReg == '\0')" ( (binary_expression "pParse->nTempReg == '\0'" (field_expression "pParse->nTempReg" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    p3 = pParse->nMem + 1;\n    pParse->nMem = p3;\n  }" { (expression_statement "p3 = pParse->nMem + 1;" (assignment_expression "p3 = pParse->nMem + 1" identifier = (binary_expression "pParse->nMem + 1" (field_expression "pParse->nMem" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pParse->nMem = p3;" (assignment_expression "pParse->nMem = p3" (field_expression "pParse->nMem" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    bVar1 = pParse->nTempReg - 1;\n    pParse->nTempReg = bVar1;\n    p3 = pParse->aTempReg[bVar1];\n  }" else (compound_statement "{\n    bVar1 = pParse->nTempReg - 1;\n    pParse->nTempReg = bVar1;\n    p3 = pParse->aTempReg[bVar1];\n  }" { (expression_statement "bVar1 = pParse->nTempReg - 1;" (assignment_expression "bVar1 = pParse->nTempReg - 1" identifier = (binary_expression "pParse->nTempReg - 1" (field_expression "pParse->nTempReg" identifier -> field_identifier) - number_literal)) ;) (expression_statement "pParse->nTempReg = bVar1;" (assignment_expression "pParse->nTempReg = bVar1" (field_expression "pParse->nTempReg" identifier -> field_identifier) = identifier) ;) (expression_statement "p3 = pParse->aTempReg[bVar1];" (assignment_expression "p3 = pParse->aTempReg[bVar1]" identifier = (subscript_expression "pParse->aTempReg[bVar1]" (field_expression "pParse->aTempReg" identifier -> field_identifier) [ identifier ])) ;) }))) (expression_statement "sqlite3VdbeAddOp4Int(p,0x1d,iTab,addrRepeat,iMem,N);" (call_expression "sqlite3VdbeAddOp4Int(p,0x1d,iTab,addrRepeat,iMem,N)" identifier (argument_list "(p,0x1d,iTab,addrRepeat,iMem,N)" ( identifier , number_literal , identifier , identifier , identifier , identifier ))) ;) (expression_statement "sqlite3VdbeAddOp3(p,0x66,iMem,N,p3);" (call_expression "sqlite3VdbeAddOp3(p,0x66,iMem,N,p3)" identifier (argument_list "(p,0x66,iMem,N,p3)" ( identifier , number_literal , identifier , identifier , identifier ))) ;) (expression_statement "sqlite3VdbeAddOp4Int(p,0x84,iTab,p3,iMem,N);" (call_expression "sqlite3VdbeAddOp4Int(p,0x84,iTab,p3,iMem,N)" identifier (argument_list "(p,0x84,iTab,p3,iMem,N)" ( identifier , number_literal , identifier , identifier , identifier , identifier ))) ;) (if_statement "if (0 < p->nOp) {\n    p->aOp[p->nOp + -1].p5 = 0x10;\n  }" if (parenthesized_expression "(0 < p->nOp)" ( (binary_expression "0 < p->nOp" number_literal < (field_expression "p->nOp" identifier -> field_identifier)) )) (compound_statement "{\n    p->aOp[p->nOp + -1].p5 = 0x10;\n  }" { (expression_statement "p->aOp[p->nOp + -1].p5 = 0x10;" (assignment_expression "p->aOp[p->nOp + -1].p5 = 0x10" (field_expression "p->aOp[p->nOp + -1].p5" (subscript_expression "p->aOp[p->nOp + -1]" (field_expression "p->aOp" identifier -> field_identifier) [ (binary_expression "p->nOp + -1" (field_expression "p->nOp" identifier -> field_identifier) + number_literal) ]) . field_identifier) = number_literal) ;) })) (if_statement "if (p3 != 0) {\n    sqlite3ReleaseTempReg(pParse,p3);\n    return;\n  }" if (parenthesized_expression "(p3 != 0)" ( (binary_expression "p3 != 0" identifier != number_literal) )) (compound_statement "{\n    sqlite3ReleaseTempReg(pParse,p3);\n    return;\n  }" { (expression_statement "sqlite3ReleaseTempReg(pParse,p3);" (call_expression "sqlite3ReleaseTempReg(pParse,p3)" identifier (argument_list "(pParse,p3)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3\nFUN_0004abb0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n            )\n\n{\n  int iVar1;\n  int iVar2;\n  byte bVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 8);\n  if (*(char *)(param_1 + 0x13) == '\0') {\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }\n  else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }\n  FUN_00049940(param_3,param_5,param_4);\n  FUN_000497a0(param_4,iVar4);\n  FUN_00049940(iVar4,param_5,param_4);\n  iVar2 = *(int *)(iVar1 + 0x68);\n  if (0 < iVar2) {\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }\n  if (iVar4 != 0) {\n    FUN_0002f640();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3\nFUN_0004abb0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n            )\n\n{\n  int iVar1;\n  int iVar2;\n  byte bVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 8);\n  if (*(char *)(param_1 + 0x13) == '\0') {\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }\n  else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }\n  FUN_00049940(param_3,param_5,param_4);\n  FUN_000497a0(param_4,iVar4);\n  FUN_00049940(iVar4,param_5,param_4);\n  iVar2 = *(int *)(iVar1 + 0x68);\n  if (0 < iVar2) {\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }\n  if (iVar4 != 0) {\n    FUN_0002f640();\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0004abb0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n            )" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n            )" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  byte bVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 8);\n  if (*(char *)(param_1 + 0x13) == '\0') {\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }\n  else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }\n  FUN_00049940(param_3,param_5,param_4);\n  FUN_000497a0(param_4,iVar4);\n  FUN_00049940(iVar4,param_5,param_4);\n  iVar2 = *(int *)(iVar1 + 0x68);\n  if (0 < iVar2) {\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }\n  if (iVar4 != 0) {\n    FUN_0002f640();\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 8);" (assignment_expression "iVar1 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(param_1 + 0x13) == '\0') {\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }\n  else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x13) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x13) == '\0'" (pointer_expression "*(char *)(param_1 + 0x13)" * (cast_expression "(char *)(param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13)" ( (binary_expression "param_1 + 0x13" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }" { (expression_statement "iVar4 = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "iVar4 = *(int *)(param_1 + 0x2c) + 1" identifier = (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x2c) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x2c) = iVar4" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }" else (compound_statement "{\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }" { (expression_statement "bVar3 = *(char *)(param_1 + 0x13) - 1;" (assignment_expression "bVar3 = *(char *)(param_1 + 0x13) - 1" identifier = (binary_expression "*(char *)(param_1 + 0x13) - 1" (pointer_expression "*(char *)(param_1 + 0x13)" * (cast_expression "(char *)(param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13)" ( (binary_expression "param_1 + 0x13" identifier + number_literal) )))) - number_literal)) ;) (expression_statement "*(byte *)(param_1 + 0x13) = bVar3;" (assignment_expression "*(byte *)(param_1 + 0x13) = bVar3" (pointer_expression "*(byte *)(param_1 + 0x13)" * (cast_expression "(byte *)(param_1 + 0x13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13)" ( (binary_expression "param_1 + 0x13" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4)" identifier = (pointer_expression "*(int *)(param_1 + 0x90 + (uint)bVar3 * 4)" * (cast_expression "(int *)(param_1 + 0x90 + (uint)bVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90 + (uint)bVar3 * 4)" ( (binary_expression "param_1 + 0x90 + (uint)bVar3 * 4" (binary_expression "param_1 + 0x90" identifier + number_literal) + (binary_expression "(uint)bVar3 * 4" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) ))))) ;) }))) (expression_statement "FUN_00049940(param_3,param_5,param_4);" (call_expression "FUN_00049940(param_3,param_5,param_4)" identifier (argument_list "(param_3,param_5,param_4)" ( identifier , identifier , identifier ))) ;) (expression_statement "FUN_000497a0(param_4,iVar4);" (call_expression "FUN_000497a0(param_4,iVar4)" identifier (argument_list "(param_4,iVar4)" ( identifier , identifier ))) ;) (expression_statement "FUN_00049940(iVar4,param_5,param_4);" (call_expression "FUN_00049940(iVar4,param_5,param_4)" identifier (argument_list "(iVar4,param_5,param_4)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar2 = *(int *)(iVar1 + 0x68);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x68)" identifier = (pointer_expression "*(int *)(iVar1 + 0x68)" * (cast_expression "(int *)(iVar1 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x68)" ( (binary_expression "iVar1 + 0x68" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar2) {\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }" { (expression_statement "*(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;" (assignment_expression "*(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10" (pointer_expression "*(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12)" * (cast_expression "(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12)" ( (binary_expression "*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12" (binary_expression "*(int *)(iVar1 + 100) + iVar2 * 0x14" (pointer_expression "*(int *)(iVar1 + 100)" * (cast_expression "(int *)(iVar1 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 100)" ( (binary_expression "iVar1 + 100" identifier + number_literal) )))) + (binary_expression "iVar2 * 0x14" identifier * number_literal)) + number_literal) )))) = number_literal) ;) })) (if_statement "if (iVar4 != 0) {\n    FUN_0002f640();\n    return;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0002f640();\n    return;\n  }" { (expression_statement "FUN_0002f640();" (call_expression "FUN_0002f640()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(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) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) ))))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (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 IDENT * LIT)) + LIT) )))) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void __regparm3\nFUN_0004abb0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n            )\n\n{\n  int iVar1;\n  int iVar2;\n  byte bVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 8);\n  if (*(char *)(param_1 + 0x13) == '\0') {\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }\n  else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }\n  FUN_00049940(param_3,param_5,param_4);\n  FUN_000497a0(param_4,iVar4);\n  FUN_00049940(iVar4,param_5,param_4);\n  iVar2 = *(int *)(iVar1 + 0x68);\n  if (0 < iVar2) {\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }\n  if (iVar4 != 0) {\n    FUN_0002f640();\n    return;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0004abb0(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n            )" (identifier "FUN_0004abb0") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n            )" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (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 "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  byte bVar3;\n  int iVar4;\n  \n  iVar1 = *(int *)(param_1 + 8);\n  if (*(char *)(param_1 + 0x13) == '\0') {\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }\n  else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }\n  FUN_00049940(param_3,param_5,param_4);\n  FUN_000497a0(param_4,iVar4);\n  FUN_00049940(iVar4,param_5,param_4);\n  iVar2 = *(int *)(iVar1 + 0x68);\n  if (0 < iVar2) {\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }\n  if (iVar4 != 0) {\n    FUN_0002f640();\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 8);" (assignment_expression "iVar1 = *(int *)(param_1 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (*(char *)(param_1 + 0x13) == '\0') {\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }\n  else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x13) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x13) == '\0'" (pointer_expression "*(char *)(param_1 + 0x13)" (* "*") (cast_expression "(char *)(param_1 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13)" (( "(") (binary_expression "param_1 + 0x13" (identifier "param_1") (+ "+") (number_literal "0x13")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar4 = *(int *)(param_1 + 0x2c) + 1;\n    *(int *)(param_1 + 0x2c) = iVar4;\n  }" ({ "{") (expression_statement "iVar4 = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "iVar4 = *(int *)(param_1 + 0x2c) + 1" (identifier "iVar4") (= "=") (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x2c) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x2c) = iVar4" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (} "}")) (else_clause "else {\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }" (else "else") (compound_statement "{\n    bVar3 = *(char *)(param_1 + 0x13) - 1;\n    *(byte *)(param_1 + 0x13) = bVar3;\n    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);\n  }" ({ "{") (expression_statement "bVar3 = *(char *)(param_1 + 0x13) - 1;" (assignment_expression "bVar3 = *(char *)(param_1 + 0x13) - 1" (identifier "bVar3") (= "=") (binary_expression "*(char *)(param_1 + 0x13) - 1" (pointer_expression "*(char *)(param_1 + 0x13)" (* "*") (cast_expression "(char *)(param_1 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13)" (( "(") (binary_expression "param_1 + 0x13" (identifier "param_1") (+ "+") (number_literal "0x13")) () ")")))) (- "-") (number_literal "1"))) (; ";")) (expression_statement "*(byte *)(param_1 + 0x13) = bVar3;" (assignment_expression "*(byte *)(param_1 + 0x13) = bVar3" (pointer_expression "*(byte *)(param_1 + 0x13)" (* "*") (cast_expression "(byte *)(param_1 + 0x13)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13)" (( "(") (binary_expression "param_1 + 0x13" (identifier "param_1") (+ "+") (number_literal "0x13")) () ")")))) (= "=") (identifier "bVar3")) (; ";")) (expression_statement "iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_1 + 0x90 + (uint)bVar3 * 4)" (* "*") (cast_expression "(int *)(param_1 + 0x90 + (uint)bVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x90 + (uint)bVar3 * 4)" (( "(") (binary_expression "param_1 + 0x90 + (uint)bVar3 * 4" (binary_expression "param_1 + 0x90" (identifier "param_1") (+ "+") (number_literal "0x90")) (+ "+") (binary_expression "(uint)bVar3 * 4" (cast_expression "(uint)bVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar3")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}")))) (expression_statement "FUN_00049940(param_3,param_5,param_4);" (call_expression "FUN_00049940(param_3,param_5,param_4)" (identifier "FUN_00049940") (argument_list "(param_3,param_5,param_4)" (( "(") (identifier "param_3") (, ",") (identifier "param_5") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "FUN_000497a0(param_4,iVar4);" (call_expression "FUN_000497a0(param_4,iVar4)" (identifier "FUN_000497a0") (argument_list "(param_4,iVar4)" (( "(") (identifier "param_4") (, ",") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "FUN_00049940(iVar4,param_5,param_4);" (call_expression "FUN_00049940(iVar4,param_5,param_4)" (identifier "FUN_00049940") (argument_list "(iVar4,param_5,param_4)" (( "(") (identifier "iVar4") (, ",") (identifier "param_5") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar1 + 0x68);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x68)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 0x68)" (* "*") (cast_expression "(int *)(iVar1 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x68)" (( "(") (binary_expression "iVar1 + 0x68" (identifier "iVar1") (+ "+") (number_literal "0x68")) () ")"))))) (; ";")) (if_statement "if (0 < iVar2) {\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }" (if "if") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;\n  }" ({ "{") (expression_statement "*(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;" (assignment_expression "*(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10" (pointer_expression "*(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12)" (* "*") (cast_expression "(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12)" (( "(") (binary_expression "*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12" (binary_expression "*(int *)(iVar1 + 100) + iVar2 * 0x14" (pointer_expression "*(int *)(iVar1 + 100)" (* "*") (cast_expression "(int *)(iVar1 + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 100)" (( "(") (binary_expression "iVar1 + 100" (identifier "iVar1") (+ "+") (number_literal "100")) () ")")))) (+ "+") (binary_expression "iVar2 * 0x14" (identifier "iVar2") (* "*") (number_literal "0x14"))) (+ "+") (number_literal "-0x12")) () ")")))) (= "=") (number_literal "0x10")) (; ";")) (} "}"))) (if_statement "if (iVar4 != 0) {\n    FUN_0002f640();\n    return;\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0002f640();\n    return;\n  }" ({ "{") (expression_statement "FUN_0002f640();" (call_expression "FUN_0002f640()" (identifier "FUN_0002f640") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *pParse,int iTab,int addrRepeat,int N,int iMem)

{
  type_2 *p;
  type_3 bVar1;
  int var_3;
  
  p = pParse->pVdbe;
  if (pParse->nTempReg == '\0') {
    var_3 = pParse->nMem + 1;
    pParse->nMem = var_3;
  }
  else {
    bVar1 = pParse->nTempReg - 1;
    pParse->nTempReg = bVar1;
    var_3 = pParse->aTempReg[bVar1];
  }
  var_1(p,0x1d,iTab,addrRepeat,iMem,N);
  var_2(p,0x66,iMem,N,var_3);
  var_1(p,0x84,iTab,var_3,iMem,N);
  if (0 < p->nOp) {
    p->aOp[p->nOp + -1].p5 = 0x10;
  }
  if (var_3 != 0) {
    var_4(pParse,var_3);
    return;
  }
  return;
}


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

void __regparm3
MASKED(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5
            )

{
  int iVar1;
  int iVar2;
  byte bVar3;
  int iVar4;
  
  iVar1 = *(int *)(param_1 + 8);
  if (*(char *)(param_1 + 0x13) == '\0') {
    iVar4 = *(int *)(param_1 + 0x2c) + 1;
    *(int *)(param_1 + 0x2c) = iVar4;
  }
  else {
    bVar3 = *(char *)(param_1 + 0x13) - 1;
    *(byte *)(param_1 + 0x13) = bVar3;
    iVar4 = *(int *)(param_1 + 0x90 + (uint)bVar3 * 4);
  }
  FUN_00049940(param_3,param_5,param_4);
  FUN_000497a0(param_4,iVar4);
  FUN_00049940(iVar4,param_5,param_4);
  iVar2 = *(int *)(iVar1 + 0x68);
  if (0 < iVar2) {
    *(undefined2 *)(*(int *)(iVar1 + 100) + iVar2 * 0x14 + -0x12) = 0x10;
  }
  if (iVar4 != 0) {
    FUN_0002f640();
    return;
  }
  return;
}

