View Single Post
  #1  
Old 04-10-2021, 20:17
jonwil jonwil is offline
VIP
 
Join Date: Feb 2004
Posts: 367
Rept. Given: 2
Rept. Rcvd 21 Times in 9 Posts
Thanks Given: 2
Thanks Rcvd at 57 Times in 32 Posts
jonwil Reputation: 21
Hex-rays PPC decompiler and bctr instruction

I have a PPC binary (XBOX 360 to be specific) and when I decompile functions with a bctr instruction, I get "__asm { bctr }" in the decompilation instead of proper decompilation of the switch statement (its clear from looking at the ASM and from very similar code in a different binary on x86 that its meant to be a switch statement).

Is there a way to get IDA to properly decompile these switch statements?
Reply With Quote