GameBoy\Core::getTypedArray PHP Method