MCPcopy Create free account
hub / github.com/ThirteenAG/WidescreenFixesPack / parseCommand

Function parseCommand

includes/psp/injector.c:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#define MAX(a,b) (((a)>(b))?(a):(b))
5
6uint32_t parseCommand(uint32_t command, uint32_t from, uint32_t to)
7{
8 uint32_t mask = ((1 << (to - from + 1)) - 1) << from;
9 return (command & mask) >> from;
10}
11
12void* GetGP()
13{

Callers 5

GetBranchDestinationFunction · 0.70
isDelaySlotNearbyFunction · 0.70
MakeInlineLUIORIFunction · 0.70
MakeInlineLIFunction · 0.70
ExtractStackAdjustmentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected