Hex-Rays Decompiler Plugin Produces Incorrect Function Boundaries

I’m statically analyzing a function apple3dgs::savePly in an iOS system library. The function is very large, but it seems Hex-Rays only recognizes the first few bytes, and the decompiled output is clearly incorrect. How can I fix this issue?

it looks like the __gs_log function is incorrectly marked as no-returning. See Igor’s Tip of the Week #162: Where’s my code? The case of no-return call on how to fix this.

It worked. Thank you very much

1 Like