Skip to content

Instantly share code, notes, and snippets.

@FioraAeterna
Created September 7, 2014 13:41
Show Gist options
  • Select an option

  • Save FioraAeterna/544a98afd2b04676b740 to your computer and use it in GitHub Desktop.

Select an option

Save FioraAeterna/544a98afd2b04676b740 to your computer and use it in GitHub Desktop.
if (((next.OPCD == 16 /* bcx */) ||
((next.OPCD == 19) && (next.SUBOP10 == 528) /* bcctrx */) ||
((next.OPCD == 19) && (next.SUBOP10 == 16) /* bclrx */)))
{
if (next.BO & BO_DONT_DECREMENT_FLAG)
{
if (!(next.BO & BO_DONT_CHECK_CONDITION))
{
if ((next.BI >> 2) == crf)
return true;
}
}
}
return false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment