
int sqlite3_transfer_bindings(sqlite3_stmt *pFromStmt,sqlite3_stmt *pToStmt)

{
  int iVar1;
  
  if (*(int *)(pFromStmt + 0x10) == *(int *)(pToStmt + 0x10)) {
    if (*(int *)(pToStmt + 200) != 0) {
      pToStmt[0x8d] = (sqlite3_stmt)((byte)pToStmt[0x8d] & 0xfc | 1);
    }
    if (*(int *)(pFromStmt + 200) != 0) {
      pFromStmt[0x8d] = (sqlite3_stmt)((byte)pFromStmt[0x8d] & 0xfc | 1);
    }
    iVar1 = sqlite3TransferBindings(pFromStmt,pToStmt);
    return iVar1;
  }
  return 1;
}



undefined4 FUN_00061510(int param_1,int param_2)

{
  undefined4 uVar1;
  
  if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {
    if (*(int *)(param_2 + 200) != 0) {
      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;
    }
    if (*(int *)(param_1 + 200) != 0) {
      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;
    }
    uVar1 = FUN_00061410();
    return uVar1;
  }
  return 1;
}


MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [EDX + 0x10]
CMP dword ptr [EAX + 0x10],ECX
JNZ 0x00061550
MOV ECX,dword ptr [EDX + 0xc8]
TEST ECX,ECX
JNZ 0x00061560
MOV ECX,dword ptr [EAX + 0xc8]
TEST ECX,ECX
JZ 0x00061547
MOVZX ECX,byte ptr [EAX + 0x8d]
AND ECX,0xfffffffc
OR ECX,0x1
MOV byte ptr [EAX + 0x8d],CL
JMP 0x00061410
MOV EAX,0x1
RET
MOVZX ECX,byte ptr [EDX + 0x8d]
AND ECX,0xfffffffc
OR ECX,0x1
MOV byte ptr [EDX + 0x8d],CL
JMP 0x0006152a
(translation_unit "undefined4 FUN_00061510(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_00061510(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_00061510(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  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }\n  return 1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10))" ( (binary_expression "*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }" { (if_statement "if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }" if (parenthesized_expression "(*(int *)(param_2 + 200) != 0)" ( (binary_expression "*(int *)(param_2 + 200) != 0" (pointer_expression "*(int *)(param_2 + 200)" * (cast_expression "(int *)(param_2 + 200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 200)" ( (binary_expression "param_2 + 200" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }" { (expression_statement "*(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;" (assignment_expression "*(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1" (pointer_expression "*(byte *)(param_2 + 0x8d)" * (cast_expression "(byte *)(param_2 + 0x8d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x8d)" ( (binary_expression "param_2 + 0x8d" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_2 + 0x8d) & 0xfc | 1" (binary_expression "*(byte *)(param_2 + 0x8d) & 0xfc" (pointer_expression "*(byte *)(param_2 + 0x8d)" * (cast_expression "(byte *)(param_2 + 0x8d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x8d)" ( (binary_expression "param_2 + 0x8d" identifier + number_literal) )))) & number_literal) | number_literal)) ;) })) (if_statement "if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 200) != 0)" ( (binary_expression "*(int *)(param_1 + 200) != 0" (pointer_expression "*(int *)(param_1 + 200)" * (cast_expression "(int *)(param_1 + 200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 200)" ( (binary_expression "param_1 + 200" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }" { (expression_statement "*(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;" (assignment_expression "*(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1" (pointer_expression "*(byte *)(param_1 + 0x8d)" * (cast_expression "(byte *)(param_1 + 0x8d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8d)" ( (binary_expression "param_1 + 0x8d" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 0x8d) & 0xfc | 1" (binary_expression "*(byte *)(param_1 + 0x8d) & 0xfc" (pointer_expression "*(byte *)(param_1 + 0x8d)" * (cast_expression "(byte *)(param_1 + 0x8d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8d)" ( (binary_expression "param_1 + 0x8d" identifier + number_literal) )))) & number_literal) | number_literal)) ;) })) (expression_statement "uVar1 = FUN_00061410();" (assignment_expression "uVar1 = FUN_00061410()" identifier = (call_expression "FUN_00061410()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int sqlite3_transfer_bindings(sqlite3_stmt *pFromStmt,sqlite3_stmt *pToStmt)\n\n{\n  int iVar1;\n  \n  if (*(int *)(pFromStmt + 0x10) == *(int *)(pToStmt + 0x10)) {\n    if (*(int *)(pToStmt + 200) != 0) {\n      pToStmt[0x8d] = (sqlite3_stmt)((byte)pToStmt[0x8d] & 0xfc | 1);\n    }\n    if (*(int *)(pFromStmt + 200) != 0) {\n      pFromStmt[0x8d] = (sqlite3_stmt)((byte)pFromStmt[0x8d] & 0xfc | 1);\n    }\n    iVar1 = sqlite3TransferBindings(pFromStmt,pToStmt);\n    return iVar1;\n  }\n  return 1;\n}\n\n" (function_definition "int sqlite3_transfer_bindings(sqlite3_stmt *pFromStmt,sqlite3_stmt *pToStmt)\n\n{\n  int iVar1;\n  \n  if (*(int *)(pFromStmt + 0x10) == *(int *)(pToStmt + 0x10)) {\n    if (*(int *)(pToStmt + 200) != 0) {\n      pToStmt[0x8d] = (sqlite3_stmt)((byte)pToStmt[0x8d] & 0xfc | 1);\n    }\n    if (*(int *)(pFromStmt + 200) != 0) {\n      pFromStmt[0x8d] = (sqlite3_stmt)((byte)pFromStmt[0x8d] & 0xfc | 1);\n    }\n    iVar1 = sqlite3TransferBindings(pFromStmt,pToStmt);\n    return iVar1;\n  }\n  return 1;\n}" primitive_type (function_declarator "sqlite3_transfer_bindings(sqlite3_stmt *pFromStmt,sqlite3_stmt *pToStmt)" identifier (parameter_list "(sqlite3_stmt *pFromStmt,sqlite3_stmt *pToStmt)" ( (parameter_declaration "sqlite3_stmt *pFromStmt" type_identifier (pointer_declarator "*pFromStmt" * identifier)) , (parameter_declaration "sqlite3_stmt *pToStmt" type_identifier (pointer_declarator "*pToStmt" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(pFromStmt + 0x10) == *(int *)(pToStmt + 0x10)) {\n    if (*(int *)(pToStmt + 200) != 0) {\n      pToStmt[0x8d] = (sqlite3_stmt)((byte)pToStmt[0x8d] & 0xfc | 1);\n    }\n    if (*(int *)(pFromStmt + 200) != 0) {\n      pFromStmt[0x8d] = (sqlite3_stmt)((byte)pFromStmt[0x8d] & 0xfc | 1);\n    }\n    iVar1 = sqlite3TransferBindings(pFromStmt,pToStmt);\n    return iVar1;\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(pFromStmt + 0x10) == *(int *)(pToStmt + 0x10)) {\n    if (*(int *)(pToStmt + 200) != 0) {\n      pToStmt[0x8d] = (sqlite3_stmt)((byte)pToStmt[0x8d] & 0xfc | 1);\n    }\n    if (*(int *)(pFromStmt + 200) != 0) {\n      pFromStmt[0x8d] = (sqlite3_stmt)((byte)pFromStmt[0x8d] & 0xfc | 1);\n    }\n    iVar1 = sqlite3TransferBindings(pFromStmt,pToStmt);\n    return iVar1;\n  }" if (parenthesized_expression "(*(int *)(pFromStmt + 0x10) == *(int *)(pToStmt + 0x10))" ( (binary_expression "*(int *)(pFromStmt + 0x10) == *(int *)(pToStmt + 0x10)" (pointer_expression "*(int *)(pFromStmt + 0x10)" * (cast_expression "(int *)(pFromStmt + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pFromStmt + 0x10)" ( (binary_expression "pFromStmt + 0x10" identifier + number_literal) )))) == (pointer_expression "*(int *)(pToStmt + 0x10)" * (cast_expression "(int *)(pToStmt + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pToStmt + 0x10)" ( (binary_expression "pToStmt + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n    if (*(int *)(pToStmt + 200) != 0) {\n      pToStmt[0x8d] = (sqlite3_stmt)((byte)pToStmt[0x8d] & 0xfc | 1);\n    }\n    if (*(int *)(pFromStmt + 200) != 0) {\n      pFromStmt[0x8d] = (sqlite3_stmt)((byte)pFromStmt[0x8d] & 0xfc | 1);\n    }\n    iVar1 = sqlite3TransferBindings(pFromStmt,pToStmt);\n    return iVar1;\n  }" { (if_statement "if (*(int *)(pToStmt + 200) != 0) {\n      pToStmt[0x8d] = (sqlite3_stmt)((byte)pToStmt[0x8d] & 0xfc | 1);\n    }" if (parenthesized_expression "(*(int *)(pToStmt + 200) != 0)" ( (binary_expression "*(int *)(pToStmt + 200) != 0" (pointer_expression "*(int *)(pToStmt + 200)" * (cast_expression "(int *)(pToStmt + 200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pToStmt + 200)" ( (binary_expression "pToStmt + 200" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      pToStmt[0x8d] = (sqlite3_stmt)((byte)pToStmt[0x8d] & 0xfc | 1);\n    }" { (expression_statement "pToStmt[0x8d] = (sqlite3_stmt)((byte)pToStmt[0x8d] & 0xfc | 1);" (assignment_expression "pToStmt[0x8d] = (sqlite3_stmt)((byte)pToStmt[0x8d] & 0xfc | 1)" (subscript_expression "pToStmt[0x8d]" identifier [ number_literal ]) = (call_expression "(sqlite3_stmt)((byte)pToStmt[0x8d] & 0xfc | 1)" (parenthesized_expression "(sqlite3_stmt)" ( identifier )) (argument_list "((byte)pToStmt[0x8d] & 0xfc | 1)" ( (binary_expression "(byte)pToStmt[0x8d] & 0xfc | 1" (binary_expression "(byte)pToStmt[0x8d] & 0xfc" (cast_expression "(byte)pToStmt[0x8d]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pToStmt[0x8d]" identifier [ number_literal ])) & number_literal) | number_literal) )))) ;) })) (if_statement "if (*(int *)(pFromStmt + 200) != 0) {\n      pFromStmt[0x8d] = (sqlite3_stmt)((byte)pFromStmt[0x8d] & 0xfc | 1);\n    }" if (parenthesized_expression "(*(int *)(pFromStmt + 200) != 0)" ( (binary_expression "*(int *)(pFromStmt + 200) != 0" (pointer_expression "*(int *)(pFromStmt + 200)" * (cast_expression "(int *)(pFromStmt + 200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pFromStmt + 200)" ( (binary_expression "pFromStmt + 200" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      pFromStmt[0x8d] = (sqlite3_stmt)((byte)pFromStmt[0x8d] & 0xfc | 1);\n    }" { (expression_statement "pFromStmt[0x8d] = (sqlite3_stmt)((byte)pFromStmt[0x8d] & 0xfc | 1);" (assignment_expression "pFromStmt[0x8d] = (sqlite3_stmt)((byte)pFromStmt[0x8d] & 0xfc | 1)" (subscript_expression "pFromStmt[0x8d]" identifier [ number_literal ]) = (call_expression "(sqlite3_stmt)((byte)pFromStmt[0x8d] & 0xfc | 1)" (parenthesized_expression "(sqlite3_stmt)" ( identifier )) (argument_list "((byte)pFromStmt[0x8d] & 0xfc | 1)" ( (binary_expression "(byte)pFromStmt[0x8d] & 0xfc | 1" (binary_expression "(byte)pFromStmt[0x8d] & 0xfc" (cast_expression "(byte)pFromStmt[0x8d]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pFromStmt[0x8d]" identifier [ number_literal ])) & number_literal) | number_literal) )))) ;) })) (expression_statement "iVar1 = sqlite3TransferBindings(pFromStmt,pToStmt);" (assignment_expression "iVar1 = sqlite3TransferBindings(pFromStmt,pToStmt)" identifier = (call_expression "sqlite3TransferBindings(pFromStmt,pToStmt)" identifier (argument_list "(pFromStmt,pToStmt)" ( identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00061510(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_00061510(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_00061510(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  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }\n  return 1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10))" ( (binary_expression "*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }" { (if_statement "if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }" if (parenthesized_expression "(*(int *)(param_2 + 200) != 0)" ( (binary_expression "*(int *)(param_2 + 200) != 0" (pointer_expression "*(int *)(param_2 + 200)" * (cast_expression "(int *)(param_2 + 200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 200)" ( (binary_expression "param_2 + 200" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }" { (expression_statement "*(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;" (assignment_expression "*(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1" (pointer_expression "*(byte *)(param_2 + 0x8d)" * (cast_expression "(byte *)(param_2 + 0x8d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x8d)" ( (binary_expression "param_2 + 0x8d" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_2 + 0x8d) & 0xfc | 1" (binary_expression "*(byte *)(param_2 + 0x8d) & 0xfc" (pointer_expression "*(byte *)(param_2 + 0x8d)" * (cast_expression "(byte *)(param_2 + 0x8d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x8d)" ( (binary_expression "param_2 + 0x8d" identifier + number_literal) )))) & number_literal) | number_literal)) ;) })) (if_statement "if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 200) != 0)" ( (binary_expression "*(int *)(param_1 + 200) != 0" (pointer_expression "*(int *)(param_1 + 200)" * (cast_expression "(int *)(param_1 + 200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 200)" ( (binary_expression "param_1 + 200" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }" { (expression_statement "*(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;" (assignment_expression "*(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1" (pointer_expression "*(byte *)(param_1 + 0x8d)" * (cast_expression "(byte *)(param_1 + 0x8d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8d)" ( (binary_expression "param_1 + 0x8d" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 0x8d) & 0xfc | 1" (binary_expression "*(byte *)(param_1 + 0x8d) & 0xfc" (pointer_expression "*(byte *)(param_1 + 0x8d)" * (cast_expression "(byte *)(param_1 + 0x8d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8d)" ( (binary_expression "param_1 + 0x8d" identifier + number_literal) )))) & number_literal) | number_literal)) ;) })) (expression_statement "uVar1 = FUN_00061410();" (assignment_expression "uVar1 = FUN_00061410()" identifier = (call_expression "FUN_00061410()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (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 (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | LIT)) ;) })) (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 (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00061510(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00061510(int param_1,int param_2)" (identifier "FUN_00061510") (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  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }\n  return 1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10))" (( "(") (binary_expression "*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (compound_statement "{\n    if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }\n    if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }\n    uVar1 = FUN_00061410();\n    return uVar1;\n  }" ({ "{") (if_statement "if (*(int *)(param_2 + 200) != 0) {\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 200) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 200) != 0" (pointer_expression "*(int *)(param_2 + 200)" (* "*") (cast_expression "(int *)(param_2 + 200)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 200)" (( "(") (binary_expression "param_2 + 200" (identifier "param_2") (+ "+") (number_literal "200")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;\n    }" ({ "{") (expression_statement "*(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;" (assignment_expression "*(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1" (pointer_expression "*(byte *)(param_2 + 0x8d)" (* "*") (cast_expression "(byte *)(param_2 + 0x8d)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x8d)" (( "(") (binary_expression "param_2 + 0x8d" (identifier "param_2") (+ "+") (number_literal "0x8d")) () ")")))) (= "=") (binary_expression "*(byte *)(param_2 + 0x8d) & 0xfc | 1" (binary_expression "*(byte *)(param_2 + 0x8d) & 0xfc" (pointer_expression "*(byte *)(param_2 + 0x8d)" (* "*") (cast_expression "(byte *)(param_2 + 0x8d)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x8d)" (( "(") (binary_expression "param_2 + 0x8d" (identifier "param_2") (+ "+") (number_literal "0x8d")) () ")")))) (& "&") (number_literal "0xfc")) (| "|") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 200) != 0) {\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 200) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 200) != 0" (pointer_expression "*(int *)(param_1 + 200)" (* "*") (cast_expression "(int *)(param_1 + 200)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 200)" (( "(") (binary_expression "param_1 + 200" (identifier "param_1") (+ "+") (number_literal "200")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;\n    }" ({ "{") (expression_statement "*(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;" (assignment_expression "*(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1" (pointer_expression "*(byte *)(param_1 + 0x8d)" (* "*") (cast_expression "(byte *)(param_1 + 0x8d)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x8d)" (( "(") (binary_expression "param_1 + 0x8d" (identifier "param_1") (+ "+") (number_literal "0x8d")) () ")")))) (= "=") (binary_expression "*(byte *)(param_1 + 0x8d) & 0xfc | 1" (binary_expression "*(byte *)(param_1 + 0x8d) & 0xfc" (pointer_expression "*(byte *)(param_1 + 0x8d)" (* "*") (cast_expression "(byte *)(param_1 + 0x8d)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x8d)" (( "(") (binary_expression "param_1 + 0x8d" (identifier "param_1") (+ "+") (number_literal "0x8d")) () ")")))) (& "&") (number_literal "0xfc")) (| "|") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar1 = FUN_00061410();" (assignment_expression "uVar1 = FUN_00061410()" (identifier "uVar1") (= "=") (call_expression "FUN_00061410()" (identifier "FUN_00061410") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int function_1(type_1 *var_1,type_1 *var_2)

{
  int iVar1;
  
  if (*(int *)(var_1 + 0x10) == *(int *)(var_2 + 0x10)) {
    if (*(int *)(var_2 + 200) != 0) {
      var_2[0x8d] = (type_1)((type_2)var_2[0x8d] & 0xfc | 1);
    }
    if (*(int *)(var_1 + 200) != 0) {
      var_1[0x8d] = (type_1)((type_2)var_1[0x8d] & 0xfc | 1);
    }
    iVar1 = var_3(var_1,var_2);
    return iVar1;
  }
  return 1;
}


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

undefined4 MASKED(int param_1,int param_2)

{
  undefined4 uVar1;
  
  if (*(int *)(param_1 + 0x10) == *(int *)(param_2 + 0x10)) {
    if (*(int *)(param_2 + 200) != 0) {
      *(byte *)(param_2 + 0x8d) = *(byte *)(param_2 + 0x8d) & 0xfc | 1;
    }
    if (*(int *)(param_1 + 200) != 0) {
      *(byte *)(param_1 + 0x8d) = *(byte *)(param_1 + 0x8d) & 0xfc | 1;
    }
    uVar1 = FUN_00061410();
    return uVar1;
  }
  return 1;
}

