Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6146367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:56:11+00:00 2026-05-23T18:56:11+00:00

Well I just made a question asking how to simply ~(i + -1) <

  • 0

Well I just made a question asking how to simply
~(i + -1) < -1 which turned out to be i > 1

Making a JAVA deobfuscator and here is what I have so far.. I just want people to tell me which ones I did wrong? if any just double checking.

~i > -1 is i < 0

~i < -1 is i > 0

~i > ~classA.var is i < classA.var

~i >= ~j is i <= j

~i <= ~b is i >= b

~i == -1 is i == 0

~classA.var < -1 is classA.var > 0

~classA.var > -1 is classA.var < 0

~classA.var == ~classB.var is classA.var == classB.var

~(-1 + i) < -1 is i > 1

~(i + -1) < -1 is i > 1

~(i & 0x22) != -1 is (i & 0x22) == 0 <- seems wrong..

Seems the correct answer by Eng.Fouad is

~(i & 0x22) != -1 is (i & 0x22) != 0 <- correct so far.

These are all the patterns my deobfuscator supports so far.. probably will find a bunch more.

(Any wrong ones?) I Fear the ones with == signs may be wrong.. i’ve tested them and they seem to work..

Thanks I appreciate the support, i’m a beginner to programming only programmed half a year and math isn’t my strong point.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:56:11+00:00Added an answer on May 23, 2026 at 6:56 pm

    Just replace each ~x with -x - 1:

    • ~i > -1 ==> -i - 1 > -1 ==> -i > 0 ==> i < 0
    • ~i < -1 ==> -i - 1 < -1 ==> -i < 0 ==> i > 0

    and so on.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well, I'm gonna be pretty straightforward here, I just have a piece of code
A Java version of this question was just answered, and, well, I don't know
Ok another WPF question, well I guess this is just general .NET. I have
Well this is not the first time im asking these question here but I
Well, just to keep it simple: I have a webform. On it a button
Maybe I just don't know .NET well enough yet, but I have yet to
Hello I have a question for a c programmer out there, we have a
I am pretty dumb to 3D, just like my question may be: I made
I have recently made the transition from a Java web developer to a C#
i've made a C# winforms application. Now i have a form which has lots

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.