When diving into a game's code, it will likely use sead::Heap to organize the memory range it's given. Heaps are used to divide up the system's RAM, and are used to keep track of where to put data games use.
Using a heap is very simple, using the operator new and operator new[] overloads, running a simple new Structure() or new Structure[size] will use the currently active heap to allocate the requested memory. There is also an overload to pass in the heap directly, or you can either set the current heap temporarily to your heap.
#include <basis/seadNew.h>
#include <heap/seadHeap.h>
#include <heap/seadHeapMgr.h>