
/* WARNING: Unknown calling convention */

int sqlite3changeset_concat(int nLeft,void *pLeft,int nRight,void *pRight,int *pnOut,void **ppOut)

{
  int iVar1;
  int in_GS_OFFSET;
  sqlite3_changegroup *pGrp;
  int local_20;
  
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar1 = sqlite3changegroup_new(&pGrp);
  if (iVar1 == 0) {
    iVar1 = sqlite3changegroup_add(pGrp,nLeft,pLeft);
    if (iVar1 == 0) {
      iVar1 = sqlite3changegroup_add(pGrp,nRight,pRight);
      if (iVar1 == 0) {
        iVar1 = sessionChangegroupOutput
                          ((sqlite3_changegroup *)&pGrp->bPatch,
                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,
                           (void **)pnOut,(sqlite3_changegroup *)ppOut);
      }
    }
  }
  if (pGrp != (sqlite3_changegroup *)0x0) {
    sqlite3changegroup_delete(pGrp);
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



int FUN_001152a0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                undefined4 param_5,undefined4 param_6)

{
  int iVar1;
  int in_GS_OFFSET;
  int local_24;
  int local_20;
  
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar1 = FUN_001150c0(&local_24);
  if (iVar1 == 0) {
    iVar1 = FUN_00115130(local_24,param_1,param_2);
    if (iVar1 == 0) {
      iVar1 = FUN_00115130(local_24,param_3,param_4);
      if (iVar1 == 0) {
        iVar1 = FUN_0008d1d0(0,param_5,param_6);
      }
    }
  }
  if (local_24 != 0) {
    FUN_00055310();
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00116110();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x38
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x28],EAX
XOR EAX,EAX
LEA EAX,[ESP + 0x24]
MOV EBP,dword ptr [ESP + 0x50]
MOV EDI,dword ptr [ESP + 0x58]
MOV EBX,dword ptr [ESP + 0x5c]
MOV ESI,dword ptr [ESP + 0x60]
PUSH EAX
CALL 0x001150c0
ADD ESP,0x10
MOV EDX,EAX
TEST EAX,EAX
JZ 0x00115308
MOV EAX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JZ 0x001152eb
MOV dword ptr [ESP + 0xc],EDX
CALL 0x00055310
MOV EDX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x1c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,EDX
JNZ 0x0011535e
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
PUSH EBP
PUSH dword ptr [ESP + 0x48]
PUSH dword ptr [ESP + 0x24]
CALL 0x00115130
ADD ESP,0x10
MOV EDX,EAX
TEST EAX,EAX
JNZ 0x001152d6
SUB ESP,0x4
PUSH EDI
PUSH dword ptr [ESP + 0x50]
PUSH dword ptr [ESP + 0x24]
CALL 0x00115130
ADD ESP,0x10
MOV EDX,EAX
TEST EAX,EAX
JNZ 0x001152d6
MOV EAX,dword ptr [ESP + 0x18]
SUB ESP,0x4
XOR ECX,ECX
MOV EDX,dword ptr [EAX + 0x8]
PUSH ESI
ADD EAX,0x4
PUSH EBX
PUSH 0x0
CALL 0x0008d1d0
ADD ESP,0x10
MOV EDX,EAX
JMP 0x001152d6
CALL 0x00116110
(translation_unit "int FUN_001152a0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_001150c0(&local_24);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }\n  if (local_24 != 0) {\n    FUN_00055310();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00116110();\n}\n\n" (function_definition "int FUN_001152a0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_001150c0(&local_24);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }\n  if (local_24 != 0) {\n    FUN_00055310();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00116110();\n}" primitive_type (function_declarator "FUN_001152a0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier 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) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_001150c0(&local_24);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }\n  if (local_24 != 0) {\n    FUN_00055310();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00116110();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = FUN_001150c0(&local_24);" (assignment_expression "iVar1 = FUN_001150c0(&local_24)" identifier = (call_expression "FUN_001150c0(&local_24)" identifier (argument_list "(&local_24)" ( (pointer_expression "&local_24" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }" { (expression_statement "iVar1 = FUN_00115130(local_24,param_1,param_2);" (assignment_expression "iVar1 = FUN_00115130(local_24,param_1,param_2)" identifier = (call_expression "FUN_00115130(local_24,param_1,param_2)" identifier (argument_list "(local_24,param_1,param_2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }" { (expression_statement "iVar1 = FUN_00115130(local_24,param_3,param_4);" (assignment_expression "iVar1 = FUN_00115130(local_24,param_3,param_4)" identifier = (call_expression "FUN_00115130(local_24,param_3,param_4)" identifier (argument_list "(local_24,param_3,param_4)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }" { (expression_statement "iVar1 = FUN_0008d1d0(0,param_5,param_6);" (assignment_expression "iVar1 = FUN_0008d1d0(0,param_5,param_6)" identifier = (call_expression "FUN_0008d1d0(0,param_5,param_6)" identifier (argument_list "(0,param_5,param_6)" ( number_literal , identifier , identifier )))) ;) })) })) })) (if_statement "if (local_24 != 0) {\n    FUN_00055310();\n  }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00055310();\n  }" { (expression_statement "FUN_00055310();" (call_expression "FUN_00055310()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) comment (expression_statement "FUN_00116110();" (call_expression "FUN_00116110()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint sqlite3changeset_concat(int nLeft,void *pLeft,int nRight,void *pRight,int *pnOut,void **ppOut)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  sqlite3_changegroup *pGrp;\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = sqlite3changegroup_new(&pGrp);\n  if (iVar1 == 0) {\n    iVar1 = sqlite3changegroup_add(pGrp,nLeft,pLeft);\n    if (iVar1 == 0) {\n      iVar1 = sqlite3changegroup_add(pGrp,nRight,pRight);\n      if (iVar1 == 0) {\n        iVar1 = sessionChangegroupOutput\n                          ((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut);\n      }\n    }\n  }\n  if (pGrp != (sqlite3_changegroup *)0x0) {\n    sqlite3changegroup_delete(pGrp);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "int sqlite3changeset_concat(int nLeft,void *pLeft,int nRight,void *pRight,int *pnOut,void **ppOut)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  sqlite3_changegroup *pGrp;\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = sqlite3changegroup_new(&pGrp);\n  if (iVar1 == 0) {\n    iVar1 = sqlite3changegroup_add(pGrp,nLeft,pLeft);\n    if (iVar1 == 0) {\n      iVar1 = sqlite3changegroup_add(pGrp,nRight,pRight);\n      if (iVar1 == 0) {\n        iVar1 = sessionChangegroupOutput\n                          ((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut);\n      }\n    }\n  }\n  if (pGrp != (sqlite3_changegroup *)0x0) {\n    sqlite3changegroup_delete(pGrp);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "sqlite3changeset_concat(int nLeft,void *pLeft,int nRight,void *pRight,int *pnOut,void **ppOut)" identifier (parameter_list "(int nLeft,void *pLeft,int nRight,void *pRight,int *pnOut,void **ppOut)" ( (parameter_declaration "int nLeft" primitive_type identifier) , (parameter_declaration "void *pLeft" primitive_type (pointer_declarator "*pLeft" * identifier)) , (parameter_declaration "int nRight" primitive_type identifier) , (parameter_declaration "void *pRight" primitive_type (pointer_declarator "*pRight" * identifier)) , (parameter_declaration "int *pnOut" primitive_type (pointer_declarator "*pnOut" * identifier)) , (parameter_declaration "void **ppOut" primitive_type (pointer_declarator "**ppOut" * (pointer_declarator "*ppOut" * identifier))) ))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  sqlite3_changegroup *pGrp;\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = sqlite3changegroup_new(&pGrp);\n  if (iVar1 == 0) {\n    iVar1 = sqlite3changegroup_add(pGrp,nLeft,pLeft);\n    if (iVar1 == 0) {\n      iVar1 = sqlite3changegroup_add(pGrp,nRight,pRight);\n      if (iVar1 == 0) {\n        iVar1 = sessionChangegroupOutput\n                          ((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut);\n      }\n    }\n  }\n  if (pGrp != (sqlite3_changegroup *)0x0) {\n    sqlite3changegroup_delete(pGrp);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "sqlite3_changegroup *pGrp;" type_identifier (pointer_declarator "*pGrp" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = sqlite3changegroup_new(&pGrp);" (assignment_expression "iVar1 = sqlite3changegroup_new(&pGrp)" identifier = (call_expression "sqlite3changegroup_new(&pGrp)" identifier (argument_list "(&pGrp)" ( (pointer_expression "&pGrp" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = sqlite3changegroup_add(pGrp,nLeft,pLeft);\n    if (iVar1 == 0) {\n      iVar1 = sqlite3changegroup_add(pGrp,nRight,pRight);\n      if (iVar1 == 0) {\n        iVar1 = sessionChangegroupOutput\n                          ((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut);\n      }\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = sqlite3changegroup_add(pGrp,nLeft,pLeft);\n    if (iVar1 == 0) {\n      iVar1 = sqlite3changegroup_add(pGrp,nRight,pRight);\n      if (iVar1 == 0) {\n        iVar1 = sessionChangegroupOutput\n                          ((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut);\n      }\n    }\n  }" { (expression_statement "iVar1 = sqlite3changegroup_add(pGrp,nLeft,pLeft);" (assignment_expression "iVar1 = sqlite3changegroup_add(pGrp,nLeft,pLeft)" identifier = (call_expression "sqlite3changegroup_add(pGrp,nLeft,pLeft)" identifier (argument_list "(pGrp,nLeft,pLeft)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      iVar1 = sqlite3changegroup_add(pGrp,nRight,pRight);\n      if (iVar1 == 0) {\n        iVar1 = sessionChangegroupOutput\n                          ((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut);\n      }\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = sqlite3changegroup_add(pGrp,nRight,pRight);\n      if (iVar1 == 0) {\n        iVar1 = sessionChangegroupOutput\n                          ((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut);\n      }\n    }" { (expression_statement "iVar1 = sqlite3changegroup_add(pGrp,nRight,pRight);" (assignment_expression "iVar1 = sqlite3changegroup_add(pGrp,nRight,pRight)" identifier = (call_expression "sqlite3changegroup_add(pGrp,nRight,pRight)" identifier (argument_list "(pGrp,nRight,pRight)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n        iVar1 = sessionChangegroupOutput\n                          ((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut);\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar1 = sessionChangegroupOutput\n                          ((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut);\n      }" { (expression_statement "iVar1 = sessionChangegroupOutput\n                          ((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut);" (assignment_expression "iVar1 = sessionChangegroupOutput\n                          ((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut)" identifier = (call_expression "sessionChangegroupOutput\n                          ((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut)" identifier (argument_list "((sqlite3_changegroup *)&pGrp->bPatch,\n                           (_func_int_void_ptr_void_ptr_int *)pGrp->pList,(void *)0x0,(int *)0x0,\n                           (void **)pnOut,(sqlite3_changegroup *)ppOut)" ( (cast_expression "(sqlite3_changegroup *)&pGrp->bPatch" ( (type_descriptor "sqlite3_changegroup *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pGrp->bPatch" & (field_expression "pGrp->bPatch" identifier -> field_identifier))) , (cast_expression "(_func_int_void_ptr_void_ptr_int *)pGrp->pList" ( (type_descriptor "_func_int_void_ptr_void_ptr_int *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pGrp->pList" identifier -> field_identifier)) , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(void **)pnOut" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) , (cast_expression "(sqlite3_changegroup *)ppOut" ( (type_descriptor "sqlite3_changegroup *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) })) })) })) (if_statement "if (pGrp != (sqlite3_changegroup *)0x0) {\n    sqlite3changegroup_delete(pGrp);\n  }" if (parenthesized_expression "(pGrp != (sqlite3_changegroup *)0x0)" ( (binary_expression "pGrp != (sqlite3_changegroup *)0x0" identifier != (cast_expression "(sqlite3_changegroup *)0x0" ( (type_descriptor "sqlite3_changegroup *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sqlite3changegroup_delete(pGrp);\n  }" { (expression_statement "sqlite3changegroup_delete(pGrp);" (call_expression "sqlite3changegroup_delete(pGrp)" identifier (argument_list "(pGrp)" ( identifier ))) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int FUN_001152a0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_001150c0(&local_24);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }\n  if (local_24 != 0) {\n    FUN_00055310();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    \n  FUN_00116110();\n}\n\n" (function_definition "int FUN_001152a0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_001150c0(&local_24);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }\n  if (local_24 != 0) {\n    FUN_00055310();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    \n  FUN_00116110();\n}" primitive_type (function_declarator "FUN_001152a0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier 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) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_001150c0(&local_24);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }\n  if (local_24 != 0) {\n    FUN_00055310();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    \n  FUN_00116110();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = FUN_001150c0(&local_24);" (assignment_expression "iVar1 = FUN_001150c0(&local_24)" identifier = (call_expression "FUN_001150c0(&local_24)" identifier (argument_list "(&local_24)" ( (pointer_expression "&local_24" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }" { (expression_statement "iVar1 = FUN_00115130(local_24,param_1,param_2);" (assignment_expression "iVar1 = FUN_00115130(local_24,param_1,param_2)" identifier = (call_expression "FUN_00115130(local_24,param_1,param_2)" identifier (argument_list "(local_24,param_1,param_2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }" { (expression_statement "iVar1 = FUN_00115130(local_24,param_3,param_4);" (assignment_expression "iVar1 = FUN_00115130(local_24,param_3,param_4)" identifier = (call_expression "FUN_00115130(local_24,param_3,param_4)" identifier (argument_list "(local_24,param_3,param_4)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }" { (expression_statement "iVar1 = FUN_0008d1d0(0,param_5,param_6);" (assignment_expression "iVar1 = FUN_0008d1d0(0,param_5,param_6)" identifier = (call_expression "FUN_0008d1d0(0,param_5,param_6)" identifier (argument_list "(0,param_5,param_6)" ( number_literal , identifier , identifier )))) ;) })) })) })) (if_statement "if (local_24 != 0) {\n    FUN_00055310();\n  }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00055310();\n  }" { (expression_statement "FUN_00055310();" (call_expression "FUN_00055310()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "FUN_00116110();" (call_expression "FUN_00116110()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (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) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , IDENT )))) ;) })) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int FUN_001152a0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_001150c0(&local_24);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }\n  if (local_24 != 0) {\n    FUN_00055310();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    \n  FUN_00116110();\n}" (primitive_type "int") (function_declarator "FUN_001152a0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)" (identifier "FUN_001152a0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                undefined4 param_5,undefined4 param_6)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (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")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  int local_24;\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = FUN_001150c0(&local_24);\n  if (iVar1 == 0) {\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }\n  if (local_24 != 0) {\n    FUN_00055310();\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    \n  FUN_00116110();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar1 = FUN_001150c0(&local_24);" (assignment_expression "iVar1 = FUN_001150c0(&local_24)" (identifier "iVar1") (= "=") (call_expression "FUN_001150c0(&local_24)" (identifier "FUN_001150c0") (argument_list "(&local_24)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = FUN_00115130(local_24,param_1,param_2);\n    if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }\n  }" ({ "{") (expression_statement "iVar1 = FUN_00115130(local_24,param_1,param_2);" (assignment_expression "iVar1 = FUN_00115130(local_24,param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "FUN_00115130(local_24,param_1,param_2)" (identifier "FUN_00115130") (argument_list "(local_24,param_1,param_2)" (( "(") (identifier "local_24") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = FUN_00115130(local_24,param_3,param_4);\n      if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }\n    }" ({ "{") (expression_statement "iVar1 = FUN_00115130(local_24,param_3,param_4);" (assignment_expression "iVar1 = FUN_00115130(local_24,param_3,param_4)" (identifier "iVar1") (= "=") (call_expression "FUN_00115130(local_24,param_3,param_4)" (identifier "FUN_00115130") (argument_list "(local_24,param_3,param_4)" (( "(") (identifier "local_24") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar1 = FUN_0008d1d0(0,param_5,param_6);\n      }" ({ "{") (expression_statement "iVar1 = FUN_0008d1d0(0,param_5,param_6);" (assignment_expression "iVar1 = FUN_0008d1d0(0,param_5,param_6)" (identifier "iVar1") (= "=") (call_expression "FUN_0008d1d0(0,param_5,param_6)" (identifier "FUN_0008d1d0") (argument_list "(0,param_5,param_6)" (( "(") (number_literal "0") (, ",") (identifier "param_5") (, ",") (identifier "param_6") () ")")))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (if_statement "if (local_24 != 0) {\n    FUN_00055310();\n  }" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00055310();\n  }" ({ "{") (expression_statement "FUN_00055310();" (call_expression "FUN_00055310()" (identifier "FUN_00055310") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return iVar1;\n  }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "FUN_00116110();" (call_expression "FUN_00116110()" (identifier "FUN_00116110") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(int nLeft,void *pLeft,int nRight,void *pRight,int *pnOut,void **ppOut)

{
  int var_3;
  int var_1;
  type_1 *var_6;
  int var_8;
  
  var_8 = *(int *)(var_1 + 0x14);
  var_3 = var_2(&var_6);
  if (var_3 == 0) {
    var_3 = var_4(var_6,nLeft,pLeft);
    if (var_3 == 0) {
      var_3 = var_4(var_6,nRight,pRight);
      if (var_3 == 0) {
        var_3 = var_5
                          ((type_1 *)&var_6->bPatch,
                           (type_2 *)var_6->pList,(void *)0x0,(int *)0x0,
                           (void **)pnOut,(type_1 *)ppOut);
      }
    }
  }
  if (var_6 != (type_1 *)0x0) {
    var_7(var_6);
  }
  if (var_8 == *(int *)(var_1 + 0x14)) {
    return var_3;
  }
                    /* WARNING: Subroutine does not return */
  var_9();
}


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

int MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                undefined4 param_5,undefined4 param_6)

{
  int iVar1;
  int in_GS_OFFSET;
  int local_24;
  int local_20;
  
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar1 = FUN_001150c0(&local_24);
  if (iVar1 == 0) {
    iVar1 = FUN_00115130(local_24,param_1,param_2);
    if (iVar1 == 0) {
      iVar1 = FUN_00115130(local_24,param_3,param_4);
      if (iVar1 == 0) {
        iVar1 = FUN_0008d1d0(0,param_5,param_6);
      }
    }
  }
  if (local_24 != 0) {
    FUN_00055310();
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00116110();
}

