Riven RMAP resources
There's just one RMAP resource per Mohawk file. Its function is to assign a unique code to each card. The resource is just a block of records, each having the following structure:
The corresponding card is the one with resource ID equal to the record index, so the record count in the RMAP is equal to the greatest ID of CARD resources. The card code is used when going to another stack with command 27: it specifies the destination card in the new stack.
If you are familiar with the Riven debug shell, the CyanCardID value is exactly the card code specified in the RMAP resource.