| 502 | |
| 503 | |
| 504 | static void Pop(LowLevelILFunction& il, uint32_t regs) |
| 505 | { |
| 506 | for (int32_t i = 0; i <= 15; i++) |
| 507 | { |
| 508 | if (((regs >> i) & 1) == 1) |
| 509 | { |
| 510 | if (i == 15) |
| 511 | il.AddInstruction(il.Return(il.Pop(4))); |
| 512 | else |
| 513 | il.AddInstruction(il.SetRegister(4, GetRegisterByIndex(i), il.Pop(4))); |
| 514 | } |
| 515 | } |
| 516 | } |
| 517 | |
| 518 | |
| 519 | static bool WritesToStatus(decomp_result* instr, bool ifThenBlock) |
no test coverage detected