
void __regparm3 minMaxValueFinalize(sqlite3_context *context,int bValue)

{
  Mem *pMVar1;
  
  pMVar1 = context->pMem;
  if ((pMVar1->flags & 0x2000) == 0) {
    pMVar1 = (Mem *)createAggContext((sqlite3_context *)&context->pFunc,(int)pMVar1,
                                     (sqlite3_context *)0x0);
  }
  else {
    pMVar1 = (Mem *)pMVar1->z;
  }
  if (pMVar1 != (Mem *)0x0) {
    if (pMVar1->flags == 0) {
      if (bValue != 0) {
        return;
      }
    }
    else {
      sqlite3VdbeMemCopy(context->pOut,pMVar1);
      if (bValue != 0) {
        return;
      }
      if ((pMVar1->flags & 0x2400) != 0) {
        vdbeMemClear(pMVar1);
        return;
      }
    }
    if (pMVar1->szMalloc != 0) {
      vdbeMemClear(pMVar1);
      return;
    }
  }
  return;
}



void __regparm3 FUN_00065a60(int param_1,int param_2)

{
  int iVar1;
  
  if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {
    iVar1 = FUN_00062700();
  }
  else {
    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);
  }
  if (iVar1 != 0) {
    if (*(short *)(iVar1 + 8) == 0) {
      if (param_2 != 0) {
        return;
      }
    }
    else {
      FUN_000658b0();
      if (param_2 != 0) {
        return;
      }
      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {
        FUN_00042c60();
        return;
      }
    }
    if (*(int *)(iVar1 + 0x18) != 0) {
      FUN_00042c60();
      return;
    }
  }
  return;
}


PUSH EDI
MOV EDI,EDX
PUSH ESI
MOV ESI,EAX
PUSH EBX
MOV EDX,dword ptr [EAX + 0x8]
TEST byte ptr [EDX + 0x9],0x20
JZ 0x00065ab0
MOV EBX,dword ptr [EDX + 0x10]
TEST EBX,EBX
JZ 0x00065aa5
CMP word ptr [EBX + 0x8],0x0
JNZ 0x00065a98
TEST EDI,EDI
JNZ 0x00065aa5
MOV EAX,dword ptr [EBX + 0x18]
TEST EAX,EAX
JZ 0x00065aa5
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
JMP 0x00042c60
MOV EAX,dword ptr [ESI]
MOV EDX,EBX
CALL 0x000658b0
TEST EDI,EDI
JZ 0x00065ac0
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EAX + 0x4]
XOR ECX,ECX
CALL 0x00062700
MOV EBX,EAX
JMP 0x00065a73
TEST word ptr [EBX + 0x8],0x2400
JZ 0x00065a82
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
JMP 0x00042c60
(translation_unit "void __regparm3 FUN_00065a60(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {\n    iVar1 = FUN_00062700();\n  }\n  else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00065a60(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {\n    iVar1 = FUN_00062700();\n  }\n  else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00065a60(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {\n    iVar1 = FUN_00062700();\n  }\n  else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {\n    iVar1 = FUN_00062700();\n  }\n  else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }" if (parenthesized_expression "((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0)" ( (binary_expression "(*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0" (parenthesized_expression "(*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20)" ( (binary_expression "*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20" (pointer_expression "*(byte *)(*(int *)(param_1 + 8) + 9)" * (cast_expression "(byte *)(*(int *)(param_1 + 8) + 9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 9)" ( (binary_expression "*(int *)(param_1 + 8) + 9" (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) )))) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = FUN_00062700();\n  }" { (expression_statement "iVar1 = FUN_00062700();" (assignment_expression "iVar1 = FUN_00062700()" identifier = (call_expression "FUN_00062700()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }" else (compound_statement "{\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }" { (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 8) + 0x10)" * (cast_expression "(int *)(*(int *)(param_1 + 8) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10)" ( (binary_expression "*(int *)(param_1 + 8) + 0x10" (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) )))) + number_literal) ))))) ;) }))) (if_statement "if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }" { (if_statement "if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }" if (parenthesized_expression "(*(short *)(iVar1 + 8) == 0)" ( (binary_expression "*(short *)(iVar1 + 8) == 0" (pointer_expression "*(short *)(iVar1 + 8)" * (cast_expression "(short *)(iVar1 + 8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (param_2 != 0) {\n        return;\n      }\n    }" { (if_statement "if (param_2 != 0) {\n        return;\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }" else (compound_statement "{\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }" { (expression_statement "FUN_000658b0();" (call_expression "FUN_000658b0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (param_2 != 0) {\n        return;\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }" if (parenthesized_expression "((*(ushort *)(iVar1 + 8) & 0x2400) != 0)" ( (binary_expression "(*(ushort *)(iVar1 + 8) & 0x2400) != 0" (parenthesized_expression "(*(ushort *)(iVar1 + 8) & 0x2400)" ( (binary_expression "*(ushort *)(iVar1 + 8) & 0x2400" (pointer_expression "*(ushort *)(iVar1 + 8)" * (cast_expression "(ushort *)(iVar1 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        FUN_00042c60();\n        return;\n      }" { (expression_statement "FUN_00042c60();" (call_expression "FUN_00042c60()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) }))) (if_statement "if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x18) != 0" (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      FUN_00042c60();\n      return;\n    }" { (expression_statement "FUN_00042c60();" (call_expression "FUN_00042c60()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 minMaxValueFinalize(sqlite3_context *context,int bValue)\n\n{\n  Mem *pMVar1;\n  \n  pMVar1 = context->pMem;\n  if ((pMVar1->flags & 0x2000) == 0) {\n    pMVar1 = (Mem *)createAggContext((sqlite3_context *)&context->pFunc,(int)pMVar1,\n                                     (sqlite3_context *)0x0);\n  }\n  else {\n    pMVar1 = (Mem *)pMVar1->z;\n  }\n  if (pMVar1 != (Mem *)0x0) {\n    if (pMVar1->flags == 0) {\n      if (bValue != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3VdbeMemCopy(context->pOut,pMVar1);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pMVar1->flags & 0x2400) != 0) {\n        vdbeMemClear(pMVar1);\n        return;\n      }\n    }\n    if (pMVar1->szMalloc != 0) {\n      vdbeMemClear(pMVar1);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 minMaxValueFinalize(sqlite3_context *context,int bValue)\n\n{\n  Mem *pMVar1;\n  \n  pMVar1 = context->pMem;\n  if ((pMVar1->flags & 0x2000) == 0) {\n    pMVar1 = (Mem *)createAggContext((sqlite3_context *)&context->pFunc,(int)pMVar1,\n                                     (sqlite3_context *)0x0);\n  }\n  else {\n    pMVar1 = (Mem *)pMVar1->z;\n  }\n  if (pMVar1 != (Mem *)0x0) {\n    if (pMVar1->flags == 0) {\n      if (bValue != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3VdbeMemCopy(context->pOut,pMVar1);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pMVar1->flags & 0x2400) != 0) {\n        vdbeMemClear(pMVar1);\n        return;\n      }\n    }\n    if (pMVar1->szMalloc != 0) {\n      vdbeMemClear(pMVar1);\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "minMaxValueFinalize(sqlite3_context *context,int bValue)" identifier (parameter_list "(sqlite3_context *context,int bValue)" ( (parameter_declaration "sqlite3_context *context" type_identifier (pointer_declarator "*context" * identifier)) , (parameter_declaration "int bValue" primitive_type identifier) ))) (compound_statement "{\n  Mem *pMVar1;\n  \n  pMVar1 = context->pMem;\n  if ((pMVar1->flags & 0x2000) == 0) {\n    pMVar1 = (Mem *)createAggContext((sqlite3_context *)&context->pFunc,(int)pMVar1,\n                                     (sqlite3_context *)0x0);\n  }\n  else {\n    pMVar1 = (Mem *)pMVar1->z;\n  }\n  if (pMVar1 != (Mem *)0x0) {\n    if (pMVar1->flags == 0) {\n      if (bValue != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3VdbeMemCopy(context->pOut,pMVar1);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pMVar1->flags & 0x2400) != 0) {\n        vdbeMemClear(pMVar1);\n        return;\n      }\n    }\n    if (pMVar1->szMalloc != 0) {\n      vdbeMemClear(pMVar1);\n      return;\n    }\n  }\n  return;\n}" { (declaration "Mem *pMVar1;" type_identifier (pointer_declarator "*pMVar1" * identifier) ;) (expression_statement "pMVar1 = context->pMem;" (assignment_expression "pMVar1 = context->pMem" identifier = (field_expression "context->pMem" identifier -> field_identifier)) ;) (if_statement "if ((pMVar1->flags & 0x2000) == 0) {\n    pMVar1 = (Mem *)createAggContext((sqlite3_context *)&context->pFunc,(int)pMVar1,\n                                     (sqlite3_context *)0x0);\n  }\n  else {\n    pMVar1 = (Mem *)pMVar1->z;\n  }" if (parenthesized_expression "((pMVar1->flags & 0x2000) == 0)" ( (binary_expression "(pMVar1->flags & 0x2000) == 0" (parenthesized_expression "(pMVar1->flags & 0x2000)" ( (binary_expression "pMVar1->flags & 0x2000" (field_expression "pMVar1->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    pMVar1 = (Mem *)createAggContext((sqlite3_context *)&context->pFunc,(int)pMVar1,\n                                     (sqlite3_context *)0x0);\n  }" { (expression_statement "pMVar1 = (Mem *)createAggContext((sqlite3_context *)&context->pFunc,(int)pMVar1,\n                                     (sqlite3_context *)0x0);" (assignment_expression "pMVar1 = (Mem *)createAggContext((sqlite3_context *)&context->pFunc,(int)pMVar1,\n                                     (sqlite3_context *)0x0)" identifier = (cast_expression "(Mem *)createAggContext((sqlite3_context *)&context->pFunc,(int)pMVar1,\n                                     (sqlite3_context *)0x0)" ( (type_descriptor "Mem *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "createAggContext((sqlite3_context *)&context->pFunc,(int)pMVar1,\n                                     (sqlite3_context *)0x0)" identifier (argument_list "((sqlite3_context *)&context->pFunc,(int)pMVar1,\n                                     (sqlite3_context *)0x0)" ( (cast_expression "(sqlite3_context *)&context->pFunc" ( (type_descriptor "sqlite3_context *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&context->pFunc" & (field_expression "context->pFunc" identifier -> field_identifier))) , (cast_expression "(int)pMVar1" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(sqlite3_context *)0x0" ( (type_descriptor "sqlite3_context *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))))) ;) }) (else_clause "else {\n    pMVar1 = (Mem *)pMVar1->z;\n  }" else (compound_statement "{\n    pMVar1 = (Mem *)pMVar1->z;\n  }" { (expression_statement "pMVar1 = (Mem *)pMVar1->z;" (assignment_expression "pMVar1 = (Mem *)pMVar1->z" identifier = (cast_expression "(Mem *)pMVar1->z" ( (type_descriptor "Mem *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pMVar1->z" identifier -> field_identifier))) ;) }))) (if_statement "if (pMVar1 != (Mem *)0x0) {\n    if (pMVar1->flags == 0) {\n      if (bValue != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3VdbeMemCopy(context->pOut,pMVar1);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pMVar1->flags & 0x2400) != 0) {\n        vdbeMemClear(pMVar1);\n        return;\n      }\n    }\n    if (pMVar1->szMalloc != 0) {\n      vdbeMemClear(pMVar1);\n      return;\n    }\n  }" if (parenthesized_expression "(pMVar1 != (Mem *)0x0)" ( (binary_expression "pMVar1 != (Mem *)0x0" identifier != (cast_expression "(Mem *)0x0" ( (type_descriptor "Mem *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (pMVar1->flags == 0) {\n      if (bValue != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3VdbeMemCopy(context->pOut,pMVar1);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pMVar1->flags & 0x2400) != 0) {\n        vdbeMemClear(pMVar1);\n        return;\n      }\n    }\n    if (pMVar1->szMalloc != 0) {\n      vdbeMemClear(pMVar1);\n      return;\n    }\n  }" { (if_statement "if (pMVar1->flags == 0) {\n      if (bValue != 0) {\n        return;\n      }\n    }\n    else {\n      sqlite3VdbeMemCopy(context->pOut,pMVar1);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pMVar1->flags & 0x2400) != 0) {\n        vdbeMemClear(pMVar1);\n        return;\n      }\n    }" if (parenthesized_expression "(pMVar1->flags == 0)" ( (binary_expression "pMVar1->flags == 0" (field_expression "pMVar1->flags" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      if (bValue != 0) {\n        return;\n      }\n    }" { (if_statement "if (bValue != 0) {\n        return;\n      }" if (parenthesized_expression "(bValue != 0)" ( (binary_expression "bValue != 0" identifier != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else {\n      sqlite3VdbeMemCopy(context->pOut,pMVar1);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pMVar1->flags & 0x2400) != 0) {\n        vdbeMemClear(pMVar1);\n        return;\n      }\n    }" else (compound_statement "{\n      sqlite3VdbeMemCopy(context->pOut,pMVar1);\n      if (bValue != 0) {\n        return;\n      }\n      if ((pMVar1->flags & 0x2400) != 0) {\n        vdbeMemClear(pMVar1);\n        return;\n      }\n    }" { (expression_statement "sqlite3VdbeMemCopy(context->pOut,pMVar1);" (call_expression "sqlite3VdbeMemCopy(context->pOut,pMVar1)" identifier (argument_list "(context->pOut,pMVar1)" ( (field_expression "context->pOut" identifier -> field_identifier) , identifier ))) ;) (if_statement "if (bValue != 0) {\n        return;\n      }" if (parenthesized_expression "(bValue != 0)" ( (binary_expression "bValue != 0" identifier != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if ((pMVar1->flags & 0x2400) != 0) {\n        vdbeMemClear(pMVar1);\n        return;\n      }" if (parenthesized_expression "((pMVar1->flags & 0x2400) != 0)" ( (binary_expression "(pMVar1->flags & 0x2400) != 0" (parenthesized_expression "(pMVar1->flags & 0x2400)" ( (binary_expression "pMVar1->flags & 0x2400" (field_expression "pMVar1->flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        vdbeMemClear(pMVar1);\n        return;\n      }" { (expression_statement "vdbeMemClear(pMVar1);" (call_expression "vdbeMemClear(pMVar1)" identifier (argument_list "(pMVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) }))) (if_statement "if (pMVar1->szMalloc != 0) {\n      vdbeMemClear(pMVar1);\n      return;\n    }" if (parenthesized_expression "(pMVar1->szMalloc != 0)" ( (binary_expression "pMVar1->szMalloc != 0" (field_expression "pMVar1->szMalloc" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n      vdbeMemClear(pMVar1);\n      return;\n    }" { (expression_statement "vdbeMemClear(pMVar1);" (call_expression "vdbeMemClear(pMVar1)" identifier (argument_list "(pMVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00065a60(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {\n    iVar1 = FUN_00062700();\n  }\n  else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00065a60(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {\n    iVar1 = FUN_00062700();\n  }\n  else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00065a60(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {\n    iVar1 = FUN_00062700();\n  }\n  else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {\n    iVar1 = FUN_00062700();\n  }\n  else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }" if (parenthesized_expression "((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0)" ( (binary_expression "(*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0" (parenthesized_expression "(*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20)" ( (binary_expression "*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20" (pointer_expression "*(byte *)(*(int *)(param_1 + 8) + 9)" * (cast_expression "(byte *)(*(int *)(param_1 + 8) + 9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 9)" ( (binary_expression "*(int *)(param_1 + 8) + 9" (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) )))) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = FUN_00062700();\n  }" { (expression_statement "iVar1 = FUN_00062700();" (assignment_expression "iVar1 = FUN_00062700()" identifier = (call_expression "FUN_00062700()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }" else (compound_statement "{\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }" { (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 8) + 0x10)" * (cast_expression "(int *)(*(int *)(param_1 + 8) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10)" ( (binary_expression "*(int *)(param_1 + 8) + 0x10" (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) )))) + number_literal) ))))) ;) }))) (if_statement "if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }" { (if_statement "if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }" if (parenthesized_expression "(*(short *)(iVar1 + 8) == 0)" ( (binary_expression "*(short *)(iVar1 + 8) == 0" (pointer_expression "*(short *)(iVar1 + 8)" * (cast_expression "(short *)(iVar1 + 8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (param_2 != 0) {\n        return;\n      }\n    }" { (if_statement "if (param_2 != 0) {\n        return;\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }" else (compound_statement "{\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }" { (expression_statement "FUN_000658b0();" (call_expression "FUN_000658b0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (param_2 != 0) {\n        return;\n      }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }" if (parenthesized_expression "((*(ushort *)(iVar1 + 8) & 0x2400) != 0)" ( (binary_expression "(*(ushort *)(iVar1 + 8) & 0x2400) != 0" (parenthesized_expression "(*(ushort *)(iVar1 + 8) & 0x2400)" ( (binary_expression "*(ushort *)(iVar1 + 8) & 0x2400" (pointer_expression "*(ushort *)(iVar1 + 8)" * (cast_expression "(ushort *)(iVar1 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        FUN_00042c60();\n        return;\n      }" { (expression_statement "FUN_00042c60();" (call_expression "FUN_00042c60()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) }))) (if_statement "if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x18) != 0" (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      FUN_00042c60();\n      return;\n    }" { (expression_statement "FUN_00042c60();" (call_expression "FUN_00042c60()" 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) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00065a60(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {\n    iVar1 = FUN_00062700();\n  }\n  else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00065a60(int param_1,int param_2)" (identifier "FUN_00065a60") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {\n    iVar1 = FUN_00062700();\n  }\n  else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }\n  if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {\n    iVar1 = FUN_00062700();\n  }\n  else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }" (if "if") (parenthesized_expression "((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0" (parenthesized_expression "(*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20)" (( "(") (binary_expression "*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20" (pointer_expression "*(byte *)(*(int *)(param_1 + 8) + 9)" (* "*") (cast_expression "(byte *)(*(int *)(param_1 + 8) + 9)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 9)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 9" (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")) () ")")))) (+ "+") (number_literal "9")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = FUN_00062700();\n  }" ({ "{") (expression_statement "iVar1 = FUN_00062700();" (assignment_expression "iVar1 = FUN_00062700()" (identifier "iVar1") (= "=") (call_expression "FUN_00062700()" (identifier "FUN_00062700") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }" (else "else") (compound_statement "{\n    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 8) + 0x10)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 8) + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x10" (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")) () ")")))) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar1 != 0) {\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }\n    if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }\n  }" ({ "{") (if_statement "if (*(short *)(iVar1 + 8) == 0) {\n      if (param_2 != 0) {\n        return;\n      }\n    }\n    else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }" (if "if") (parenthesized_expression "(*(short *)(iVar1 + 8) == 0)" (( "(") (binary_expression "*(short *)(iVar1 + 8) == 0" (pointer_expression "*(short *)(iVar1 + 8)" (* "*") (cast_expression "(short *)(iVar1 + 8)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_2 != 0) {\n        return;\n      }\n    }" ({ "{") (if_statement "if (param_2 != 0) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }" (else "else") (compound_statement "{\n      FUN_000658b0();\n      if (param_2 != 0) {\n        return;\n      }\n      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }\n    }" ({ "{") (expression_statement "FUN_000658b0();" (call_expression "FUN_000658b0()" (identifier "FUN_000658b0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (param_2 != 0) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {\n        FUN_00042c60();\n        return;\n      }" (if "if") (parenthesized_expression "((*(ushort *)(iVar1 + 8) & 0x2400) != 0)" (( "(") (binary_expression "(*(ushort *)(iVar1 + 8) & 0x2400) != 0" (parenthesized_expression "(*(ushort *)(iVar1 + 8) & 0x2400)" (( "(") (binary_expression "*(ushort *)(iVar1 + 8) & 0x2400" (pointer_expression "*(ushort *)(iVar1 + 8)" (* "*") (cast_expression "(ushort *)(iVar1 + 8)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x2400")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00042c60();\n        return;\n      }" ({ "{") (expression_statement "FUN_00042c60();" (call_expression "FUN_00042c60()" (identifier "FUN_00042c60") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (if_statement "if (*(int *)(iVar1 + 0x18) != 0) {\n      FUN_00042c60();\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x18) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x18) != 0" (pointer_expression "*(int *)(iVar1 + 0x18)" (* "*") (cast_expression "(int *)(iVar1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00042c60();\n      return;\n    }" ({ "{") (expression_statement "FUN_00042c60();" (call_expression "FUN_00042c60()" (identifier "FUN_00042c60") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *context,int var_3)

{
  type_2 *var_2;
  
  var_2 = context->pMem;
  if ((var_2->flags & 0x2000) == 0) {
    var_2 = (type_2 *)var_1((type_1 *)&context->pFunc,(int)var_2,
                                     (type_1 *)0x0);
  }
  else {
    var_2 = (type_2 *)var_2->z;
  }
  if (var_2 != (type_2 *)0x0) {
    if (var_2->flags == 0) {
      if (var_3 != 0) {
        return;
      }
    }
    else {
      var_4(context->pOut,var_2);
      if (var_3 != 0) {
        return;
      }
      if ((var_2->flags & 0x2400) != 0) {
        var_5(var_2);
        return;
      }
    }
    if (var_2->szMalloc != 0) {
      var_5(var_2);
      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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))))) alternative: (else_clause (compound_statement (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: (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)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))) (return_statement))))

void __regparm3 MASKED(int param_1,int param_2)

{
  int iVar1;
  
  if ((*(byte *)(*(int *)(param_1 + 8) + 9) & 0x20) == 0) {
    iVar1 = FUN_00062700();
  }
  else {
    iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10);
  }
  if (iVar1 != 0) {
    if (*(short *)(iVar1 + 8) == 0) {
      if (param_2 != 0) {
        return;
      }
    }
    else {
      FUN_000658b0();
      if (param_2 != 0) {
        return;
      }
      if ((*(ushort *)(iVar1 + 8) & 0x2400) != 0) {
        FUN_00042c60();
        return;
      }
    }
    if (*(int *)(iVar1 + 0x18) != 0) {
      FUN_00042c60();
      return;
    }
  }
  return;
}

