
int sqlite3_bind_blob64(sqlite3_stmt *pStmt,int i,void *zData,sqlite3_uint64 nData,
                       _func_void_void_ptr *xDel)

{
  int iVar1;
  
  if (nData._4_4_ == (_func_void_void_ptr *)0x0 &&
      (uint)((sqlite3_stmt *)0x7fffffff < (sqlite3_stmt *)nData) <= (uint)-(int)nData._4_4_) {
    iVar1 = vdbeUnbind((Vdbe *)pStmt,i);
    if (iVar1 == 0) {
      iVar1 = bindText((sqlite3_stmt *)nData,(int)xDel,(void *)0x0,(int)(sqlite3_stmt *)nData,
                       nData._4_4_,(u8)xDel);
      return iVar1;
    }
  }
  else {
    iVar1 = 0x12;
  }
  if (xDel + -1 < (code *)0xfffffffe) {
    (*xDel)(zData);
    return iVar1;
  }
  return iVar1;
}



int FUN_0007a4c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5,
                code *param_6)

{
  int iVar1;
  
  if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {
    iVar1 = FUN_00079820();
    if (iVar1 == 0) {
      iVar1 = FUN_00071970();
      return iVar1;
    }
  }
  else {
    iVar1 = 0x12;
  }
  if (param_6 + -1 < (code *)0xfffffffe) {
    (*param_6)(param_3);
    return iVar1;
  }
  return iVar1;
}


PUSH EBP
MOV EAX,0x7fffffff
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x3c]
MOV EDI,dword ptr [ESP + 0x30]
MOV EBP,dword ptr [ESP + 0x34]
MOV ECX,dword ptr [ESP + 0x38]
CMP EAX,ESI
MOV EAX,0x0
SBB EAX,dword ptr [ESP + 0x40]
MOV EBX,dword ptr [ESP + 0x44]
JNC 0x0007a530
LEA EDX,[EBX + -0x1]
MOV EAX,0x12
CMP EDX,-0x3
JBE 0x0007a510
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDX,[EBX + -0x1]
CMP EDX,-0x3
JA 0x0007a4fa
MOV dword ptr [ESP + 0xc],EAX
SUB ESP,0xc
PUSH ECX
CALL EBX
MOV EAX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,EBP
MOV EAX,EDI
MOV dword ptr [ESP + 0xc],ECX
CALL 0x00079820
MOV ECX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JNZ 0x0007a508
MOV dword ptr [ESP + 0x34],EBX
MOV EDX,EBP
MOV EAX,EDI
MOV dword ptr [ESP + 0x30],ESI
MOV dword ptr [ESP + 0x38],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x00071970
(translation_unit "int FUN_0007a4c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5,\n                code *param_6)\n\n{\n  int iVar1;\n  \n  if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n    return iVar1;\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0007a4c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5,\n                code *param_6)\n\n{\n  int iVar1;\n  \n  if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n    return iVar1;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0007a4c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5,\n                code *param_6)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5,\n                code *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 "uint param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "code *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n    return iVar1;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }" if (parenthesized_expression "(param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5)" ( (binary_expression "param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5" (binary_expression "param_5 == 0" identifier == number_literal) && (binary_expression "(uint)(0x7fffffff < param_4) <= (uint)-param_5" (call_expression "(uint)(0x7fffffff < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x7fffffff < param_4)" ( (binary_expression "0x7fffffff < param_4" number_literal < identifier) ))) <= (binary_expression "(uint)-param_5" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (compound_statement "{\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }" { (expression_statement "iVar1 = FUN_00079820();" (assignment_expression "iVar1 = FUN_00079820()" identifier = (call_expression "FUN_00079820()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }" { (expression_statement "iVar1 = FUN_00071970();" (assignment_expression "iVar1 = FUN_00071970()" identifier = (call_expression "FUN_00071970()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) }) (else_clause "else {\n    iVar1 = 0x12;\n  }" else (compound_statement "{\n    iVar1 = 0x12;\n  }" { (expression_statement "iVar1 = 0x12;" (assignment_expression "iVar1 = 0x12" identifier = number_literal) ;) }))) (if_statement "if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n    return iVar1;\n  }" if (parenthesized_expression "(param_6 + -1 < (code *)0xfffffffe)" ( (binary_expression "param_6 + -1 < (code *)0xfffffffe" (binary_expression "param_6 + -1" identifier + number_literal) < (cast_expression "(code *)0xfffffffe" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*param_6)(param_3);\n    return iVar1;\n  }" { (expression_statement "(*param_6)(param_3);" (call_expression "(*param_6)(param_3)" (parenthesized_expression "(*param_6)" ( (pointer_expression "*param_6" * identifier) )) (argument_list "(param_3)" ( identifier ))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int sqlite3_bind_blob64(sqlite3_stmt *pStmt,int i,void *zData,sqlite3_uint64 nData,\n                       _func_void_void_ptr *xDel)\n\n{\n  int iVar1;\n  \n  if (nData._4_4_ == (_func_void_void_ptr *)0x0 &&\n      (uint)((sqlite3_stmt *)0x7fffffff < (sqlite3_stmt *)nData) <= (uint)-(int)nData._4_4_) {\n    iVar1 = vdbeUnbind((Vdbe *)pStmt,i);\n    if (iVar1 == 0) {\n      iVar1 = bindText((sqlite3_stmt *)nData,(int)xDel,(void *)0x0,(int)(sqlite3_stmt *)nData,\n                       nData._4_4_,(u8)xDel);\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }\n  if (xDel + -1 < (code *)0xfffffffe) {\n    (*xDel)(zData);\n    return iVar1;\n  }\n  return iVar1;\n}\n\n" (function_definition "int sqlite3_bind_blob64(sqlite3_stmt *pStmt,int i,void *zData,sqlite3_uint64 nData,\n                       _func_void_void_ptr *xDel)\n\n{\n  int iVar1;\n  \n  if (nData._4_4_ == (_func_void_void_ptr *)0x0 &&\n      (uint)((sqlite3_stmt *)0x7fffffff < (sqlite3_stmt *)nData) <= (uint)-(int)nData._4_4_) {\n    iVar1 = vdbeUnbind((Vdbe *)pStmt,i);\n    if (iVar1 == 0) {\n      iVar1 = bindText((sqlite3_stmt *)nData,(int)xDel,(void *)0x0,(int)(sqlite3_stmt *)nData,\n                       nData._4_4_,(u8)xDel);\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }\n  if (xDel + -1 < (code *)0xfffffffe) {\n    (*xDel)(zData);\n    return iVar1;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "sqlite3_bind_blob64(sqlite3_stmt *pStmt,int i,void *zData,sqlite3_uint64 nData,\n                       _func_void_void_ptr *xDel)" identifier (parameter_list "(sqlite3_stmt *pStmt,int i,void *zData,sqlite3_uint64 nData,\n                       _func_void_void_ptr *xDel)" ( (parameter_declaration "sqlite3_stmt *pStmt" type_identifier (pointer_declarator "*pStmt" * identifier)) , (parameter_declaration "int i" primitive_type identifier) , (parameter_declaration "void *zData" primitive_type (pointer_declarator "*zData" * identifier)) , (parameter_declaration "sqlite3_uint64 nData" type_identifier identifier) , (parameter_declaration "_func_void_void_ptr *xDel" type_identifier (pointer_declarator "*xDel" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (nData._4_4_ == (_func_void_void_ptr *)0x0 &&\n      (uint)((sqlite3_stmt *)0x7fffffff < (sqlite3_stmt *)nData) <= (uint)-(int)nData._4_4_) {\n    iVar1 = vdbeUnbind((Vdbe *)pStmt,i);\n    if (iVar1 == 0) {\n      iVar1 = bindText((sqlite3_stmt *)nData,(int)xDel,(void *)0x0,(int)(sqlite3_stmt *)nData,\n                       nData._4_4_,(u8)xDel);\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }\n  if (xDel + -1 < (code *)0xfffffffe) {\n    (*xDel)(zData);\n    return iVar1;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (nData._4_4_ == (_func_void_void_ptr *)0x0 &&\n      (uint)((sqlite3_stmt *)0x7fffffff < (sqlite3_stmt *)nData) <= (uint)-(int)nData._4_4_) {\n    iVar1 = vdbeUnbind((Vdbe *)pStmt,i);\n    if (iVar1 == 0) {\n      iVar1 = bindText((sqlite3_stmt *)nData,(int)xDel,(void *)0x0,(int)(sqlite3_stmt *)nData,\n                       nData._4_4_,(u8)xDel);\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }" if (parenthesized_expression "(nData._4_4_ == (_func_void_void_ptr *)0x0 &&\n      (uint)((sqlite3_stmt *)0x7fffffff < (sqlite3_stmt *)nData) <= (uint)-(int)nData._4_4_)" ( (binary_expression "nData._4_4_ == (_func_void_void_ptr *)0x0 &&\n      (uint)((sqlite3_stmt *)0x7fffffff < (sqlite3_stmt *)nData) <= (uint)-(int)nData._4_4_" (binary_expression "nData._4_4_ == (_func_void_void_ptr *)0x0" (field_expression "nData._4_4_" identifier . field_identifier) == (cast_expression "(_func_void_void_ptr *)0x0" ( (type_descriptor "_func_void_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) && (binary_expression "(uint)((sqlite3_stmt *)0x7fffffff < (sqlite3_stmt *)nData) <= (uint)-(int)nData._4_4_" (call_expression "(uint)((sqlite3_stmt *)0x7fffffff < (sqlite3_stmt *)nData)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((sqlite3_stmt *)0x7fffffff < (sqlite3_stmt *)nData)" ( (binary_expression "(sqlite3_stmt *)0x7fffffff < (sqlite3_stmt *)nData" (cast_expression "(sqlite3_stmt *)0x7fffffff" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < (cast_expression "(sqlite3_stmt *)nData" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) <= (binary_expression "(uint)-(int)nData._4_4_" (parenthesized_expression "(uint)" ( identifier )) - (cast_expression "(int)nData._4_4_" ( (type_descriptor "int" primitive_type) ) (field_expression "nData._4_4_" identifier . field_identifier))))) )) (compound_statement "{\n    iVar1 = vdbeUnbind((Vdbe *)pStmt,i);\n    if (iVar1 == 0) {\n      iVar1 = bindText((sqlite3_stmt *)nData,(int)xDel,(void *)0x0,(int)(sqlite3_stmt *)nData,\n                       nData._4_4_,(u8)xDel);\n      return iVar1;\n    }\n  }" { (expression_statement "iVar1 = vdbeUnbind((Vdbe *)pStmt,i);" (assignment_expression "iVar1 = vdbeUnbind((Vdbe *)pStmt,i)" identifier = (call_expression "vdbeUnbind((Vdbe *)pStmt,i)" identifier (argument_list "((Vdbe *)pStmt,i)" ( (cast_expression "(Vdbe *)pStmt" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      iVar1 = bindText((sqlite3_stmt *)nData,(int)xDel,(void *)0x0,(int)(sqlite3_stmt *)nData,\n                       nData._4_4_,(u8)xDel);\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = bindText((sqlite3_stmt *)nData,(int)xDel,(void *)0x0,(int)(sqlite3_stmt *)nData,\n                       nData._4_4_,(u8)xDel);\n      return iVar1;\n    }" { (expression_statement "iVar1 = bindText((sqlite3_stmt *)nData,(int)xDel,(void *)0x0,(int)(sqlite3_stmt *)nData,\n                       nData._4_4_,(u8)xDel);" (assignment_expression "iVar1 = bindText((sqlite3_stmt *)nData,(int)xDel,(void *)0x0,(int)(sqlite3_stmt *)nData,\n                       nData._4_4_,(u8)xDel)" identifier = (call_expression "bindText((sqlite3_stmt *)nData,(int)xDel,(void *)0x0,(int)(sqlite3_stmt *)nData,\n                       nData._4_4_,(u8)xDel)" identifier (argument_list "((sqlite3_stmt *)nData,(int)xDel,(void *)0x0,(int)(sqlite3_stmt *)nData,\n                       nData._4_4_,(u8)xDel)" ( (cast_expression "(sqlite3_stmt *)nData" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(int)xDel" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(int)(sqlite3_stmt *)nData" ( (type_descriptor "int" primitive_type) ) (cast_expression "(sqlite3_stmt *)nData" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (field_expression "nData._4_4_" identifier . field_identifier) , (cast_expression "(u8)xDel" ( (type_descriptor "u8" type_identifier) ) identifier) )))) ;) (return_statement "return iVar1;" return identifier ;) })) }) (else_clause "else {\n    iVar1 = 0x12;\n  }" else (compound_statement "{\n    iVar1 = 0x12;\n  }" { (expression_statement "iVar1 = 0x12;" (assignment_expression "iVar1 = 0x12" identifier = number_literal) ;) }))) (if_statement "if (xDel + -1 < (code *)0xfffffffe) {\n    (*xDel)(zData);\n    return iVar1;\n  }" if (parenthesized_expression "(xDel + -1 < (code *)0xfffffffe)" ( (binary_expression "xDel + -1 < (code *)0xfffffffe" (binary_expression "xDel + -1" identifier + number_literal) < (cast_expression "(code *)0xfffffffe" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*xDel)(zData);\n    return iVar1;\n  }" { (expression_statement "(*xDel)(zData);" (call_expression "(*xDel)(zData)" (parenthesized_expression "(*xDel)" ( (pointer_expression "*xDel" * identifier) )) (argument_list "(zData)" ( identifier ))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int FUN_0007a4c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5,\n                code *param_6)\n\n{\n  int iVar1;\n  \n  if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n    return iVar1;\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0007a4c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5,\n                code *param_6)\n\n{\n  int iVar1;\n  \n  if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n    return iVar1;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0007a4c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5,\n                code *param_6)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5,\n                code *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 "uint param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "code *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n    return iVar1;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }" if (parenthesized_expression "(param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5)" ( (binary_expression "param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5" (binary_expression "param_5 == 0" identifier == number_literal) && (binary_expression "(uint)(0x7fffffff < param_4) <= (uint)-param_5" (call_expression "(uint)(0x7fffffff < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x7fffffff < param_4)" ( (binary_expression "0x7fffffff < param_4" number_literal < identifier) ))) <= (binary_expression "(uint)-param_5" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (compound_statement "{\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }" { (expression_statement "iVar1 = FUN_00079820();" (assignment_expression "iVar1 = FUN_00079820()" identifier = (call_expression "FUN_00079820()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }" { (expression_statement "iVar1 = FUN_00071970();" (assignment_expression "iVar1 = FUN_00071970()" identifier = (call_expression "FUN_00071970()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) }) (else_clause "else {\n    iVar1 = 0x12;\n  }" else (compound_statement "{\n    iVar1 = 0x12;\n  }" { (expression_statement "iVar1 = 0x12;" (assignment_expression "iVar1 = 0x12" identifier = number_literal) ;) }))) (if_statement "if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n    return iVar1;\n  }" if (parenthesized_expression "(param_6 + -1 < (code *)0xfffffffe)" ( (binary_expression "param_6 + -1 < (code *)0xfffffffe" (binary_expression "param_6 + -1" identifier + number_literal) < (cast_expression "(code *)0xfffffffe" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*param_6)(param_3);\n    return iVar1;\n  }" { (expression_statement "(*param_6)(param_3);" (call_expression "(*param_6)(param_3)" (parenthesized_expression "(*param_6)" ( (pointer_expression "*param_6" * identifier) )) (argument_list "(param_3)" ( identifier ))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return iVar1;" return identifier ;) })))
(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 (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))) <= (binary_expression (parenthesized_expression ( IDENT )) - IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0007a4c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5,\n                code *param_6)\n\n{\n  int iVar1;\n  \n  if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n    return iVar1;\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_0007a4c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5,\n                code *param_6)" (identifier "FUN_0007a4c0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4,int param_5,\n                code *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 "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "code *param_6" (type_identifier "code") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }\n  if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n    return iVar1;\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }\n  else {\n    iVar1 = 0x12;\n  }" (if "if") (parenthesized_expression "(param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5)" (( "(") (binary_expression "param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5" (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) (&& "&&") (binary_expression "(uint)(0x7fffffff < param_4) <= (uint)-param_5" (call_expression "(uint)(0x7fffffff < param_4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0x7fffffff < param_4)" (( "(") (binary_expression "0x7fffffff < param_4" (number_literal "0x7fffffff") (< "<") (identifier "param_4")) () ")"))) (<= "<=") (binary_expression "(uint)-param_5" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (- "-") (identifier "param_5")))) () ")")) (compound_statement "{\n    iVar1 = FUN_00079820();\n    if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }\n  }" ({ "{") (expression_statement "iVar1 = FUN_00079820();" (assignment_expression "iVar1 = FUN_00079820()" (identifier "iVar1") (= "=") (call_expression "FUN_00079820()" (identifier "FUN_00079820") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = FUN_00071970();\n      return iVar1;\n    }" ({ "{") (expression_statement "iVar1 = FUN_00071970();" (assignment_expression "iVar1 = FUN_00071970()" (identifier "iVar1") (= "=") (call_expression "FUN_00071970()" (identifier "FUN_00071970") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar1 = 0x12;\n  }" (else "else") (compound_statement "{\n    iVar1 = 0x12;\n  }" ({ "{") (expression_statement "iVar1 = 0x12;" (assignment_expression "iVar1 = 0x12" (identifier "iVar1") (= "=") (number_literal "0x12")) (; ";")) (} "}")))) (if_statement "if (param_6 + -1 < (code *)0xfffffffe) {\n    (*param_6)(param_3);\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(param_6 + -1 < (code *)0xfffffffe)" (( "(") (binary_expression "param_6 + -1 < (code *)0xfffffffe" (binary_expression "param_6 + -1" (identifier "param_6") (+ "+") (number_literal "-1")) (< "<") (cast_expression "(code *)0xfffffffe" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xfffffffe"))) () ")")) (compound_statement "{\n    (*param_6)(param_3);\n    return iVar1;\n  }" ({ "{") (expression_statement "(*param_6)(param_3);" (call_expression "(*param_6)(param_3)" (parenthesized_expression "(*param_6)" (( "(") (pointer_expression "*param_6" (* "*") (identifier "param_6")) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

int function_1(type_1 *pStmt,int i,void *zData,type_2 nData,
                       type_3 *var_4)

{
  int var_2;
  
  if (nData._4_4_ == (type_3 *)0x0 &&
      (uint)((type_1 *)0x7fffffff < (type_1 *)nData) <= (uint)-(int)nData._4_4_) {
    var_2 = var_1((type_4 *)pStmt,i);
    if (var_2 == 0) {
      var_2 = var_3((type_1 *)nData,(int)var_4,(void *)0x0,(int)(type_1 *)nData,
                       nData._4_4_,(type_5)var_4);
      return var_2;
    }
  }
  else {
    var_2 = 0x12;
  }
  if (var_4 + -1 < (type_6 *)0xfffffffe) {
    (*var_4)(zData);
    return var_2;
  }
  return var_2;
}


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

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

{
  int iVar1;
  
  if (param_5 == 0 && (uint)(0x7fffffff < param_4) <= (uint)-param_5) {
    iVar1 = FUN_00079820();
    if (iVar1 == 0) {
      iVar1 = FUN_00071970();
      return iVar1;
    }
  }
  else {
    iVar1 = 0x12;
  }
  if (param_6 + -1 < (code *)0xfffffffe) {
    (*param_6)(param_3);
    return iVar1;
  }
  return iVar1;
}

